]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix *-nacl* target objcopy/strip of binary made with custom linker script
authorRoland McGrath <mcgrathr@google.com>
Tue, 19 Nov 2013 22:57:54 +0000 (14:57 -0800)
committerRoland McGrath <mcgrathr@google.com>
Tue, 19 Nov 2013 23:05:26 +0000 (15:05 -0800)
commit58140105768ee0dc7cc162507ce6e92748f4f8a0
tree47eafaa82f85b1bf22493582a4c7e98e83279c07
parentb429d8692153039ec542e31e3ca0fb1a3509767e
Fix *-nacl* target objcopy/strip of binary made with custom linker script

bfd/
* elf-nacl.c (nacl_modify_segment_map): Calculate SIZEOF_HEADERS
when not doing linking (i.e. INFO is a null pointer).

(cherry picked from commit 33aa641a5d20d54adaac9b21b5a3e19b03f0bd4f)
bfd/ChangeLog
bfd/elf-nacl.c