summaryrefslogtreecommitdiff
path: root/gcc/config/freebsd-spec.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-22 03:09:59 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-22 03:09:59 +0000
commita3b9d369501884ed81bb84239df3727f47fb64e4 (patch)
tree07d9f6c22713fe789abf1b85c1fcab98db070107 /gcc/config/freebsd-spec.h
parent4f5bcdbdf334ba80e3f4890bb752e457601f3e9e (diff)
downloadgcc-a3b9d369501884ed81bb84239df3727f47fb64e4.tar.gz
* c-cppbuiltin.c (c_cpp_builtins): Define __pic__ and __PIC__ when
flag_pic is set. * config/alpha/freebsd.h, config/alpha/linux.h, config/arm/linux-elf.h, config/bfin/bfin.h, config/cris/linux.h, config/darwin.h, config/freebsd-spec.h, config/i386/beos-elf.h, config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h, config/i386/nto.h, config/i386/sco5.h, config/m32r/m32r.h, config/m68k/linux.h, config/m68k/m68k.h, config/mips/linux.h, config/pa/pa-linux.h, config/rs6000/linux64.h, config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h, config/s390/tpf.h, config/sh/linux.h, config/sh/sh.h, config/sol2.h, config/sparc/linux.h, config/sparc/linux64.h, config/xtensa/xtensa.h: Don't define __pic__ or __PIC__. * doc/invoke.texi: Document that the macros __pic__ and __PIC__ are both defined when either flag -fpic or -fPIC are used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/freebsd-spec.h')
-rw-r--r--gcc/config/freebsd-spec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h
index f0e0bcd2e13..f60e94f3aed 100644
--- a/gcc/config/freebsd-spec.h
+++ b/gcc/config/freebsd-spec.h
@@ -85,7 +85,6 @@ Boston, MA 02110-1301, USA. */
#define FBSD_CPP_SPEC " \
%(cpp_cpu) \
%(cpp_arch) \
- %{fPIC|fpic|fPIE|fpie:-D__PIC__ -D__pic__} \
%{posix:-D_POSIX_SOURCE}"
/* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add