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 | |
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.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f684fe9..07e8663 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class + XMC_PR. + Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target 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 == ',') |