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:15 +0000 (15:05 -0800)
commit33aa641a5d20d54adaac9b21b5a3e19b03f0bd4f
tree5ae55374f18995d0749e3ce5d861f95c3b7c5713
parentaa01e46a4cd80b8398befa84feaf87660d423602
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).
bfd/ChangeLog
bfd/elf-nacl.c