diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-29 09:11:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-07-29 09:14:05 -0700 |
commit | e77e648e93adf564fb10e725e4d8800d30a83eb5 (patch) | |
tree | 8c6397934779a223689d59b7a7cc21cf9d080ec6 /bfd/ChangeLog | |
parent | 1eef6428112a1c1fe0295f36f92d7a3cf9908228 (diff) | |
download | gdb-e77e648e93adf564fb10e725e4d8800d30a83eb5.zip gdb-e77e648e93adf564fb10e725e4d8800d30a83eb5.tar.gz gdb-e77e648e93adf564fb10e725e4d8800d30a83eb5.tar.bz2 |
Don't set link_info.executable for "ld -r"
This patch changes "ld -r" not to set link_info.executable. It
removes !info->relocatable check for info->executable and adds it
for !info->executable in elflink.c.
bfd/
* elflink.c (elf_link_add_object_symbols): Remove
!info->relocatable check for info->executable. Add
!info->relocatable check for !info->executable.
(elf_link_output_extsym): Remove
!info->relocatable check for info->executable.
ld/
* lexsup.c (parse_args): Don't set link_info.executable to
TRUE for link_info.relocatable.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fd17ed6..e3339d0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2015-07-29 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_add_object_symbols): Remove + !info->relocatable check for info->executable. Add + !info->relocatable check for !info->executable. + (elf_link_output_extsym): Remove + !info->relocatable check for info->executable. + 2015-07-29 Hans-Peter Nilsson <hp@bitrange.com> * mmo.c (mmo_write_symbols_and_terminator): Skip symbol-type |