aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-01-08 16:30:20 +0000
committerNick Clifton <nickc@redhat.com>2020-01-08 16:30:20 +0000
commitf1f28025c3ea75d5368ddd3046461648145b89b3 (patch)
treefb1d76e45031da950adaf8f42cc90c9a43cd749e /gas/ChangeLog
parent030a2e78acf66c5c12e073ec3887a167da7a7195 (diff)
downloadgdb-f1f28025c3ea75d5368ddd3046461648145b89b3.zip
gdb-f1f28025c3ea75d5368ddd3046461648145b89b3.tar.gz
gdb-f1f28025c3ea75d5368ddd3046461648145b89b3.tar.bz2
Make the assembler generate an error if there is an attempt to define a section with the same name as an already defined symbol.
PR 14891 * config/obj-elf.c (obj_elf_section): Fail if the section name is already defined as a different symbol type. * testsuite/gas/elf/pr14891.s: New test source file. * testsuite/gas/elf/pr14891.d: New test driver. * testsuite/gas/elf/pr14891.s: New test expected error output. * testsuite/gas/elf/elf.exp: Run the new test.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 46ce02e..799c591 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,13 @@
+2020-01-08 Nick Clifton <nickc@redhat.com>
+
+ PR 14891
+ * config/obj-elf.c (obj_elf_section): Fail if the section name is
+ already defined as a different symbol type.
+ * testsuite/gas/elf/pr14891.s: New test source file.
+ * testsuite/gas/elf/pr14891.d: New test driver.
+ * testsuite/gas/elf/pr14891.s: New test expected error output.
+ * testsuite/gas/elf/elf.exp: Run the new test.
+
2020-01-08 Alan Modra <amodra@gmail.com>
* config/tc-z8k.c (md_begin): Make idx unsigned.