From 07ce72c9bb9208355eac382572f4aa6a95338943 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 22 Jan 1996 16:53:42 +0000 Subject: [PATCH] * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class XMC_PR. --- gas/ChangeLog | 5 +++++ gas/config/tc-ppc.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index f684fe96c18..07e8663faf5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 22 11:53:00 1996 Ian Lance Taylor + + * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class + XMC_PR. + Mon Jan 22 10:59:48 1996 Michael Meissner * 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 6a0714a99ea..6158c3dc96c 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 == ',') -- 2.30.2