diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-02-05 01:36:05 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-02-05 01:36:05 +0000 |
commit | 663fa5434e06d80efc567e2aaa130bc17deb1257 (patch) | |
tree | b9f74a999423d9c6c05f756277d29733a95eec69 /ld/ChangeLog | |
parent | 0f87a16693dc83e0cd574fbbb4bafe0587863a04 (diff) | |
download | gdb-663fa5434e06d80efc567e2aaa130bc17deb1257.zip gdb-663fa5434e06d80efc567e2aaa130bc17deb1257.tar.gz gdb-663fa5434e06d80efc567e2aaa130bc17deb1257.tar.bz2 |
Don't enable new dtags by default with -rpath
ld/
2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR ld/15096
* emultempl/alphaelf.em (alpha_after_parse): Call
gld${EMULATION_NAME}_after_parse instead of after_parse_default.
* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
* emultempl/crxelf.em (crxelf_after_parse): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/mipself.em (mips_after_parse): Likewise.
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
to ...
(gld_${EMULATION_NAME}_after_parse): This. Call
gld${EMULATION_NAME}_after_parse instead of after_parse_default.
(LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
* emultempl/elf32.em (new_dtags_set): New variable.
(gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
here.
(gld${EMULATION_NAME}_after_parse): New function.
(ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
with gld${EMULATION_NAME}_after_parse.
(gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
when setting link_info.new_dtags.
ld/testsuite/
2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR ld/15096
* ld-elf/new-dtags-1.d: New test.
* ld-elf/new-dtags-2.d: Likewise.
* ld-elf/new-dtags-3.d: Likewise.
* ld-elf/new-dtags-4.d: Likewise.
* ld-elf/new-dtags-5.d: Likewise.
* ld-elf/new-dtags-6.d: Likewise.
* ld-elf/new-dtags-7.d: Likewise.
* ld-elf/new-dtags-8.d: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index e8bbc9b..0a08753 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,28 @@ +2013-02-04 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/15096 + * emultempl/alphaelf.em (alpha_after_parse): Call + gld${EMULATION_NAME}_after_parse instead of after_parse_default. + * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. + * emultempl/crxelf.em (crxelf_after_parse): Likewise. + * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. + * emultempl/mipself.em (mips_after_parse): Likewise. + + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed + to ... + (gld_${EMULATION_NAME}_after_parse): This. Call + gld${EMULATION_NAME}_after_parse instead of after_parse_default. + (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse. + + * emultempl/elf32.em (new_dtags_set): New variable. + (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags + here. + (gld${EMULATION_NAME}_after_parse): New function. + (ld_${EMULATION_NAME}_emulation): Replace after_parse_default' + with gld${EMULATION_NAME}_after_parse. + (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE + when setting link_info.new_dtags. + 2013-01-25 Kai Tietz <ktietz@redhat.com> * deffilep.y (def_image_name): Adjust type of base-address |