From 0e3dd9a0718a8eddcdad60d7560b9064d1cbda75 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 31 Oct 1995 20:22:04 +0000 Subject: [PATCH] * config/tc-ppc.c (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux entries. --- gas/ChangeLog | 2 ++ gas/config/tc-ppc.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 79888c9aa3f..53808e88aed 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -10,6 +10,8 @@ Tue Oct 31 13:29:08 1995 Ian Lance Taylor 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 534c7543877..4683b2f4d6b 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) { -- 2.30.2