aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-09 22:56:21 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-09 22:56:21 +0000
commite0accf0cb874d9408a621c36dfe2db2959245612 (patch)
tree9e7ba52ef4d1cf41ab77c86f28b6907afe54420e
parentb90d1146613cf2056b36db5b6087e5e739908db4 (diff)
downloadfsf-binutils-gdb-e0accf0cb874d9408a621c36dfe2db2959245612.zip
fsf-binutils-gdb-e0accf0cb874d9408a621c36dfe2db2959245612.tar.gz
fsf-binutils-gdb-e0accf0cb874d9408a621c36dfe2db2959245612.tar.bz2
* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
rather than checking for \001 and \002 in symbol name. * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-ppc.h3
-rw-r--r--gas/config/tc-sparc.h3
3 files changed, 8 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 23e9250..2abd2ee 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+1999-07-10 Ian Lance Taylor <ian@zembu.com>
+
+ * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
+ rather than checking for \001 and \002 in symbol name.
+ * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
+
Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
* configure.in (hppa*-linux-gnu*): New target.
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index e6d32d6..436b975 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -247,8 +247,7 @@ extern const char *ppc_comment_chars;
|| ((FIX)->fx_subsy != NULL \
&& (S_GET_SEGMENT ((FIX)->fx_subsy) \
== S_GET_SEGMENT ((FIX)->fx_addsy))) \
- || strchr (S_GET_NAME ((FIX)->fx_addsy), '\001') != NULL \
- || strchr (S_GET_NAME ((FIX)->fx_addsy), '\002') != NULL))
+ || S_IS_LOCAL ((FIX)->fx_addsy)))
/* We must never ever try to resolve references to externally visible
symbols in the assembler, because the .o file might go into a shared
diff --git a/gas/config/tc-sparc.h b/gas/config/tc-sparc.h
index d5031f6..2f9525f 100644
--- a/gas/config/tc-sparc.h
+++ b/gas/config/tc-sparc.h
@@ -129,8 +129,7 @@ extern int elf32_sparc_force_relocation PARAMS ((struct fix *));
|| ((FIX)->fx_subsy != NULL \
&& (S_GET_SEGMENT ((FIX)->fx_subsy) \
== S_GET_SEGMENT ((FIX)->fx_addsy))) \
- || strchr (S_GET_NAME ((FIX)->fx_addsy), '\001') != NULL \
- || strchr (S_GET_NAME ((FIX)->fx_addsy), '\002') != NULL))
+ || S_IS_LOCAL ((FIX)->fx_addsy)))
#endif
#ifdef OBJ_AOUT