]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/simple-object-elf.c
simple-object-elf.c (simple_object_elf_write_ehdr): Correctly handle objects with...
authorIan Lance Taylor <iant@google.com>
Fri, 19 Sep 2014 15:24:56 +0000 (15:24 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Sep 2014 15:24:56 +0000 (15:24 +0000)
commit0f1fbc836e3c9b03fd6078bf10c6ad51a1c59bbb
tree0c675b8d2f0af407a8b37d404c1f9aa556efe958
parent4c52ada06072197bd6ec5ac1883ef08d6d87595e
simple-object-elf.c (simple_object_elf_write_ehdr): Correctly handle objects with more than SHN_LORESERVE sections.

* 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.

From-SVN: r215394
libiberty/ChangeLog
libiberty/simple-object-elf.c