aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-09-11 16:46:38 +0000
committerJakub Jelinek <jakub@redhat.com>2001-09-11 16:46:38 +0000
commit9469ddf0d068d5acf914b0bed7272f9a4edfa05c (patch)
tree77510a5ba253a24aec1d7b260dc8dc81dd5aa7bb /gas/config
parentbd7c9df68b3a0d97e93d022cd55e94a86bd31dbe (diff)
downloadgdb-9469ddf0d068d5acf914b0bed7272f9a4edfa05c.zip
gdb-9469ddf0d068d5acf914b0bed7272f9a4edfa05c.tar.gz
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/config')
-rw-r--r--gas/config/obj-elf.c6
-rw-r--r--gas/config/tc-i370.c2
-rw-r--r--gas/config/tc-ppc.c2
3 files changed, 5 insertions, 5 deletions
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;
}