diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-15 19:37:24 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-15 19:37:24 +0000 |
commit | 14919cc24ccb5572d0203450d9e589002158f4b6 (patch) | |
tree | 6d7cadca1d2d2cb585e42d4f4f25ccf8cd1a5876 /gcc | |
parent | dc7b73336d43e2ed737de8150959ac5b108e6844 (diff) | |
download | gcc-14919cc24ccb5572d0203450d9e589002158f4b6.tar.gz |
2004-01-15 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
around it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75940 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b6837260d7..0d962340fe7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-15 Andrew Pinski <apinski@apple.com> + + * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF + around it. + 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300.c (h8300_return_in_memory): New. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 8c8c54b87a0..eeabb66ebe2 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -11140,7 +11140,7 @@ get_TOC_alias_set (void) /* This returns nonzero if the current function uses the TOC. This is determined by the presence of (use (unspec ... UNSPEC_TOC)), which is generated by the ABI_V4 load_toc_* patterns. */ - +#if TARGET_ELF static int uses_TOC (void) { @@ -11167,6 +11167,7 @@ uses_TOC (void) } return 0; } +#endif rtx create_TOC_reference (rtx symbol) |