summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-26 00:39:02 +0000
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-26 00:39:02 +0000
commitc3fa91b89eadb0ac89a9104edcc137517b1437e5 (patch)
tree5030e6763c9020974b0ec45da2488eccd1a6fa4c /gcc
parent362bf8e7b9e3e3e62c92783f60454bd2b18ff9a0 (diff)
downloadgcc-c3fa91b89eadb0ac89a9104edcc137517b1437e5.tar.gz
* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
addition of __PIC__ and __pic__ macros. * config/xtensa/xtensa.h: Clean up indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/xtensa/linux.h2
-rw-r--r--gcc/config/xtensa/xtensa.h2
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ded408e1ba5..f3d9bc68548 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2003-04-25 Bob Wilson <bob.wilson@acm.org>
+ * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
+ addition of __PIC__ and __pic__ macros.
+ * config/xtensa/xtensa.h: Clean up indentation.
+
+2003-04-25 Bob Wilson <bob.wilson@acm.org>
+
* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
_GNU_SOURCE. Add definitions of __PIC__ and __pic__.
(SUBTARGET_CPP_SPEC): Define.
diff --git a/gcc/config/xtensa/linux.h b/gcc/config/xtensa/linux.h
index 4a1b5f626ad..1930bac0b53 100644
--- a/gcc/config/xtensa/linux.h
+++ b/gcc/config/xtensa/linux.h
@@ -26,8 +26,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
builtin_define ("__ELF__"); \
builtin_define ("__gnu_linux__"); \
builtin_assert ("system=posix"); \
- builtin_define ("__PIC__"); \
- builtin_define ("__pic__"); \
} while (0)
#undef SUBTARGET_CPP_SPEC
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index ace3f4b9a9f..84f131dd2df 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -214,7 +214,7 @@ extern unsigned xtensa_current_frame_size;
#define SUBTARGET_CPP_SPEC ""
#endif
-#define EXTRA_SPECS \
+#define EXTRA_SPECS \
{ "subtarget_cpp_spec", SUBTARGET_CPP_SPEC },
#ifdef __XTENSA_EB__