mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 19:11:18 +08:00
re PR target/6123 (__pic__/__PIC__ not defined when -fpic/-fPIC is specified)
2004-11-16 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> PR target/6123 * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ if PIC. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r90770
This commit is contained in:
parent
0b43493272
commit
d3f2f8aec2
@ -1,3 +1,10 @@
|
||||
2004-11-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR target/6123
|
||||
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and
|
||||
__pic__ if PIC.
|
||||
|
||||
2004-11-16 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* regmove.c (regmove_optimize): Use lowpart_subreg instead of
|
||||
|
@ -72,6 +72,11 @@ Boston, MA 02111-1307, USA. */
|
||||
builtin_define ("_LARGEFILE64_SOURCE=1"); \
|
||||
builtin_define ("__EXTENSIONS__"); \
|
||||
} \
|
||||
if (flag_pic) \
|
||||
{ \
|
||||
builtin_define ("__PIC__"); \
|
||||
builtin_define ("__pic__"); \
|
||||
} \
|
||||
TARGET_SUB_OS_CPP_BUILTINS(); \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user