aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-31 20:22:04 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-31 20:22:04 +0000
commit0e3dd9a0718a8eddcdad60d7560b9064d1cbda75 (patch)
tree2e0a5288850b9937e5f21e488b5c2ed6433a77e2 /gas
parent82dbdc50e7f3efd192102a6e798efd47ecf80ed9 (diff)
downloadgdb-0e3dd9a0718a8eddcdad60d7560b9064d1cbda75.zip
gdb-0e3dd9a0718a8eddcdad60d7560b9064d1cbda75.tar.gz
gdb-0e3dd9a0718a8eddcdad60d7560b9064d1cbda75.tar.bz2
* config/tc-ppc.c (ppc_frob_symbol): Set BSF_NOT_AT_END for
symbols with csect aux entries.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-ppc.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 79888c9..53808e8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -10,6 +10,8 @@ Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
do anything.
(ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
suffix.
+ (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
+ entries.
* input-scrub.c (input_scrub_push): Reset sb_index.
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 534c754..4683b2f 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -3685,6 +3685,9 @@ ppc_frob_symbol (sym)
a->x_csect.x_smclas = sym->sy_tc.class;
a->x_csect.x_stab = 0;
a->x_csect.x_snstab = 0;
+
+ /* Don't let the COFF backend resort these symbols. */
+ sym->bsym->flags |= BSF_NOT_AT_END;
}
else if (S_GET_STORAGE_CLASS (sym) == C_BSTAT)
{