From: Ian Lance Taylor Date: Mon, 22 Jan 1996 16:53:42 +0000 (+0000) Subject: * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07ce72c9bb9208355eac382572f4aa6a95338943;p=binutils-gdb.git * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class XMC_PR. --- 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 == ',')