[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12011] Incorrect handling of invalid ELF section flags.
From: |
amodra at gmail dot com |
Subject: |
[Bug gas/12011] Incorrect handling of invalid ELF section flags. |
Date: |
17 Sep 2010 00:13:07 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-09-16
23:55 -------
Subject: Bug 12011
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2010-09-16 23:55:10
Modified files:
gas : ChangeLog
gas/config : obj-elf.c tc-alpha.c tc-i386.c tc-ia64.c
tc-mep.c
gas/testsuite : ChangeLog
gas/testsuite/gas/elf: elf.exp
Added files:
gas/testsuite/gas/elf: bad-section-flag.d bad-section-flag.err
bad-section-flag.s
Log message:
PR gas/12011
* config/obj-elf.c (obj_elf_parse_section_letters): Correct test
for error return from md_elf_section_letter.
* config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
* config/tc-i386.c (x86_64_section_letter): Likewise.
* config/tc-ia64.c (ia64_elf_section_letter): Likewise.
* config/tc-mep.c (mep_elf_section_letter): Likewise.
* gas/elf/bad-section-flag.d, * gas/elf/bad-section-flag.err,
* gas/elf/bad-section-flag.s: New test.
* gas/elf/elf.exp: Run it.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4252&r2=1.4253
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/obj-elf.c.diff?cvsroot=src&r1=1.130&r2=1.131
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-alpha.c.diff?cvsroot=src&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-i386.c.diff?cvsroot=src&r1=1.449&r2=1.450
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-ia64.c.diff?cvsroot=src&r1=1.213&r2=1.214
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-mep.c.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1737&r2=1.1738
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/elf/bad-section-flag.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/elf/bad-section-flag.err.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/elf/bad-section-flag.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/elf/elf.exp.diff?cvsroot=src&r1=1.65&r2=1.66
------- Additional Comments From amodra at gmail dot com 2010-09-17 00:13
-------
Patch applied. I didn't add the extra error message as I think it's long enough
already!
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=12011
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.