aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c6
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 == ',')