diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-10-31 22:55:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-10-31 22:55:22 +0000 |
commit | 7ab1edc8f0070c300e6edcab31d8be26bddec07a (patch) | |
tree | 057f66cddbf50ec0802e80958c9d31ee41bdd9f4 /gas/config/tc-ppc.c | |
parent | d7b2038fac1564c4225cd80340383ffaf463dae8 (diff) | |
download | gdb-7ab1edc8f0070c300e6edcab31d8be26bddec07a.zip gdb-7ab1edc8f0070c300e6edcab31d8be26bddec07a.tar.gz gdb-7ab1edc8f0070c300e6edcab31d8be26bddec07a.tar.bz2 |
* config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
(ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
(ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
* config/obj-coff.c (coff_frob_symbol): Don't call
SA_SET_SYM_ENDNDX with the current symbol; call it with the next
one. If OBJ_XCOFF, try to figure out whether the symbol is going
to be dropped.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 4683b2f..f2d9b22 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2515,6 +2515,8 @@ ppc_bb (ignore) sym->sy_tc.output = 1; + SF_SET_PROCESS (sym); + ppc_frob_label (sym); demand_empty_rest_of_line (); @@ -2533,11 +2535,13 @@ ppc_eb (ignore) S_SET_SEGMENT (sym, text_section); sym->sy_frag = frag_now; S_SET_VALUE (sym, frag_now_fix ()); - S_SET_STORAGE_CLASS (sym, C_FCN); + S_SET_STORAGE_CLASS (sym, C_BLOCK); S_SET_NUMBER_AUXILIARY (sym, 1); SA_SET_SYM_LNNO (sym, get_absolute_expression ()); sym->sy_tc.output = 1; + SF_SET_PROCESS (sym); + ppc_frob_label (sym); demand_empty_rest_of_line (); @@ -3547,6 +3551,7 @@ ppc_frob_symbol (sym) && (sym->bsym->flags & BSF_SECTION_SYM) == 0 && S_GET_STORAGE_CLASS (sym) != C_FILE && S_GET_STORAGE_CLASS (sym) != C_FCN + && S_GET_STORAGE_CLASS (sym) != C_BLOCK && S_GET_STORAGE_CLASS (sym) != C_BSTAT && S_GET_STORAGE_CLASS (sym) != C_ESTAT && S_GET_STORAGE_CLASS (sym) != C_BINCL |