From: Nick Clifton Date: Wed, 8 Jan 2020 16:30:20 +0000 (+0000) Subject: Make the assembler generate an error if there is an attempt to define a section with... X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=f1f28025c3ea75d5368ddd3046461648145b89b3;hp=f1f28025c3ea75d5368ddd3046461648145b89b3;p=deliverable%2Fbinutils-gdb.git 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. ---