diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-09-11 16:46:38 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-09-11 16:46:38 +0000 |
commit | 9469ddf0d068d5acf914b0bed7272f9a4edfa05c (patch) | |
tree | 77510a5ba253a24aec1d7b260dc8dc81dd5aa7bb /gas | |
parent | bd7c9df68b3a0d97e93d022cd55e94a86bd31dbe (diff) | |
download | fsf-binutils-gdb-9469ddf0d068d5acf914b0bed7272f9a4edfa05c.zip fsf-binutils-gdb-9469ddf0d068d5acf914b0bed7272f9a4edfa05c.tar.gz fsf-binutils-gdb-9469ddf0d068d5acf914b0bed7272f9a4edfa05c.tar.bz2 |
* config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
of 'm', 'S' instead of 's'. Update bad_msg.
* config/tc-ppc.c (ppc_section_letter): Update bad_msg.
* config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/obj-elf.c | 6 | ||||
-rw-r--r-- | gas/config/tc-i370.c | 2 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
4 files changed, 12 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 34bd68f..2bc2628 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2001-09-11 Jakub Jelinek <jakub@redhat.com> + + * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead + of 'm', 'S' instead of 's'. Update bad_msg. + * config/tc-ppc.c (ppc_section_letter): Update bad_msg. + * config/tc-i370.c (i370_sectioN_letter): Update bad_msg. + 2001-09-09 Alan Modra <amodra@bigpond.net.au> * expr.c (expr): Move code setting "retval" to the end of the loop, diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 4f4e8d4..efde9c1 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -750,15 +750,15 @@ obj_elf_parse_section_letters (str, len) case 'x': attr |= SHF_EXECINSTR; break; - case 'm': + case 'M': attr |= SHF_MERGE; break; - case 's': + case 'S': attr |= SHF_STRINGS; break; default: { - char *bad_msg = _("Unrecognized .section attribute: want a,m,s,w,x"); + char *bad_msg = _("Unrecognized .section attribute: want a,w,x,M,S"); #ifdef md_elf_section_letter int md_attr = md_elf_section_letter (*str, &bad_msg); if (md_attr >= 0) diff --git a/gas/config/tc-i370.c b/gas/config/tc-i370.c index affc957..75a5792 100644 --- a/gas/config/tc-i370.c +++ b/gas/config/tc-i370.c @@ -2462,7 +2462,7 @@ i370_section_letter (letter, ptr_msg) if (letter == 'e') return SHF_EXCLUDE; - *ptr_msg = "Bad .section directive: want a,w,x,e in string"; + *ptr_msg = "Bad .section directive: want a,e,w,x,M,S in string"; return 0; } diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index a0f18d5..f06bb58 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2440,7 +2440,7 @@ ppc_section_letter (letter, ptr_msg) if (letter == 'e') return SHF_EXCLUDE; - *ptr_msg = _("Bad .section directive: want a,w,x,e in string"); + *ptr_msg = _("Bad .section directive: want a,e,w,x,M,S in string"); return 0; } |