aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
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;
}