* config/tc-ppc.c (ppc_frob_symbol): Set BSF_NOT_AT_END for
authorIan Lance Taylor <ian@airs.com>
Tue, 31 Oct 1995 20:22:04 +0000 (20:22 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 31 Oct 1995 20:22:04 +0000 (20:22 +0000)
symbols with csect aux entries.

gas/ChangeLog
gas/config/tc-ppc.c

index 79888c9aa3f225aa8b671787cb2d01a1d3fdd212..53808e88aed295d2be41bffa6e818c2374d439a6 100644 (file)
@@ -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.
 
index 534c75438773d03bf017b8ecd5184645583247cc..4683b2f4d6bf1595282b38a2ab8e0dd26f215466 100644 (file)
@@ -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)
     {