This fixes a problem building large (> 2Gb) binaries on 32-bit hosts. Using a
authorMaria Guseva <m.guseva@samsung.com>
Thu, 3 Apr 2014 10:42:05 +0000 (11:42 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 3 Apr 2014 10:42:05 +0000 (11:42 +0100)
commit1b6aeedbb8e8f6c65d228f0dab3dab522d2517bb
tree40021a4ccf6c6de698db9d178e4b0efe9749ce71
parent92b1b67865c719e83d12578e584ca5e20d172eac
This fixes a problem building large (> 2Gb) binaries on 32-bit hosts.  Using a
long type instead of long long meant that bfd_seek (SET) could be called with a
negative offset.

PR ld/16803
* elf.c (_bfd_elf_set_section_contents): Use correct type to hold
file position.
bfd/ChangeLog
bfd/elf.c