re PR lto/81925 (early lto debug link failure on aarch64_be)
authorRichard Biener <rguenther@suse.de>
Tue, 22 Aug 2017 13:54:01 +0000 (13:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 Aug 2017 13:54:01 +0000 (13:54 +0000)
commitd4c550fd0ecb17d577353074c58283e942d1f870
tree1f3e39041bb40ecde0ffe15232c4113ad0a73f32
parent17691698c98255c459b7ad78e455596c14a94a9c
re PR lto/81925 (early lto debug link failure on aarch64_be)

2017-08-22  Richard Biener  <rguenther@suse.de>

PR lto/81925
* simple-object-elf.c (simple_object_elf_write_shdr): Adjust
type of sh_addralign and sh_entsize and properly write
sh_entsize as Elf_Addr.
(simple_object_elf_write_to_file): Read sh_entsize as Elf_Addr.

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