]> granicus.if.org Git - yasm/commit
* elf-objfmt.c (elf_objfmt_symtab_append): Don't append symbol a second
authorPeter Johnson <peter@tortall.net>
Tue, 1 Nov 2005 04:23:54 +0000 (04:23 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 1 Nov 2005 04:23:54 +0000 (04:23 -0000)
commit2e2fc30f468400c4bb66c5b6fe632db0a6d5b05c
treebf35ad69acccec29e318029e475c1a17eb50efc9
parentb165660ece3266b4e295d5b53c76b0976b6d793c
* elf-objfmt.c (elf_objfmt_symtab_append): Don't append symbol a second
time if it already has associated data.  This keeps global followed by
extern from generating duplicate symbol table entries.

svn path=/trunk/yasm/; revision=1300
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/elf/tests/Makefile.inc
modules/objfmts/elf/tests/elfglobext2.asm [new file with mode: 0644]
modules/objfmts/elf/tests/elfglobext2.errwarn [new file with mode: 0644]
modules/objfmts/elf/tests/elfglobext2.hex [new file with mode: 0644]