diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-05-03 16:04:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-05-03 16:04:12 +0000 |
commit | 711ef82f1d0a4fb40bcec63df99e9beddd125659 (patch) | |
tree | c761d6195de76114d16a0aa9d7315cfa44e185e7 /gas/config/tc-alpha.c | |
parent | 74cb52a637dc91275cfbf4f6b5ff003b0c782e2a (diff) | |
download | gdb-711ef82f1d0a4fb40bcec63df99e9beddd125659.zip gdb-711ef82f1d0a4fb40bcec63df99e9beddd125659.tar.gz gdb-711ef82f1d0a4fb40bcec63df99e9beddd125659.tar.bz2 |
gas/
2003-05-03 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (obj_elf_parse_section_letters): Make it a
fatal error for unknown section attribute.
* config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
unknown section attribute.
* config/tc-ia64.c (ia64_elf_section_letter): Likewise.
* config/tc-ppc.c (ppc_section_letter): Likewise.
* config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
(ia64_elf_section_type): Accept "unwind".
gas/testsuite/
2003-05-03 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add unwind.
* gas/ia64/unwind.s: New. Test the new section attribute 'o'
and the new section type "unwind".
* gas/ia64/unwind.d: Likewise.
Diffstat (limited to 'gas/config/tc-alpha.c')
-rw-r--r-- | gas/config/tc-alpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index ec4668b..fd1a0d8 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -5635,7 +5635,7 @@ alpha_elf_section_letter (letter, ptr_msg) return SHF_ALPHA_GPREL; *ptr_msg = _("Bad .section directive: want a,s,w,x,M,S,G,T in string"); - return 0; + return -1; } /* Map SHF_ALPHA_GPREL to SEC_SMALL_DATA. */ |