Commit d3f2f8ae by Daniel Jacobowitz Committed by Joseph Myers

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
parent 0b434932
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> 2004-11-16 Ulrich Weigand <uweigand@de.ibm.com>
* regmove.c (regmove_optimize): Use lowpart_subreg instead of * regmove.c (regmove_optimize): Use lowpart_subreg instead of
......
...@@ -72,6 +72,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -72,6 +72,11 @@ Boston, MA 02111-1307, USA. */
builtin_define ("_LARGEFILE64_SOURCE=1"); \ builtin_define ("_LARGEFILE64_SOURCE=1"); \
builtin_define ("__EXTENSIONS__"); \ builtin_define ("__EXTENSIONS__"); \
} \ } \
if (flag_pic) \
{ \
builtin_define ("__PIC__"); \
builtin_define ("__pic__"); \
} \
TARGET_SUB_OS_CPP_BUILTINS(); \ TARGET_SUB_OS_CPP_BUILTINS(); \
} while (0) } while (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment