diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-22 16:53:42 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-22 16:53:42 +0000 |
commit | 07ce72c9bb9208355eac382572f4aa6a95338943 (patch) | |
tree | 57c12c9700b616c021f1efc41ca25fad78471f95 /gas/config/tc-ppc.c | |
parent | 3b3753b874c1af8b5f24183294720a79b056bfcb (diff) | |
download | gdb-07ce72c9bb9208355eac382572f4aa6a95338943.zip gdb-07ce72c9bb9208355eac382572f4aa6a95338943.tar.gz gdb-07ce72c9bb9208355eac382572f4aa6a95338943.tar.bz2 |
* config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
XMC_PR.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 6a0714a..6158c3d 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2028,6 +2028,12 @@ ppc_csect (ignore) *input_line_pointer = endc; + if (S_GET_NAME (sym)[0] == '\0') + { + /* An unnamed csect is assumed to be [PR]. */ + sym->sy_tc.class = XMC_PR; + } + ppc_change_csect (sym); if (*input_line_pointer == ',') |