* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
commit361de32e85c8054769d522b2372aa7b49546a711
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Sep 2014 15:24:56 +0000 (19 15:24 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Sep 2014 15:24:56 +0000 (19 15:24 +0000)
tree0c675b8d2f0af407a8b37d404c1f9aa556efe958
parenta37314b244b019fdf178675b8bb2755f04abc4e5
* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
handle objects with more than SHN_LORESERVE sections.
(simple_object_elf_write_shdr): Add sh_link parameter.
(simple_object_elf_write_to_file): Correctly handle objects with
more than SHN_LORESERVE sections.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215394 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/simple-object-elf.c