* emultempl/ppc32elf.em (after_allocation): Don't call
ppc_elf_set_sdata_syms when relocatable.
This commit is contained in:
parent
968c98a252
commit
61f8ebf259
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-05-24 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* emultempl/ppc32elf.em (after_allocation): Don't call
|
||||||
|
ppc_elf_set_sdata_syms when relocatable.
|
||||||
|
|
||||||
2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
|
2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* Makefile.am (ld.1): Revert the last 2 changes.
|
* Makefile.am (ld.1): Revert the last 2 changes.
|
||||||
|
|
|
@ -113,8 +113,9 @@ ppc_before_allocation (void)
|
||||||
static void
|
static void
|
||||||
gld${EMULATION_NAME}_after_allocation (void)
|
gld${EMULATION_NAME}_after_allocation (void)
|
||||||
{
|
{
|
||||||
if (link_info.hash->creator == &bfd_elf32_powerpc_vec
|
if ((link_info.hash->creator == &bfd_elf32_powerpc_vec
|
||||||
|| link_info.hash->creator == &bfd_elf32_powerpcle_vec)
|
|| link_info.hash->creator == &bfd_elf32_powerpcle_vec)
|
||||||
|
&& !link_info.relocatable)
|
||||||
{
|
{
|
||||||
if (!ppc_elf_set_sdata_syms (output_bfd, &link_info))
|
if (!ppc_elf_set_sdata_syms (output_bfd, &link_info))
|
||||||
einfo ("%X%P: cannot set sdata syms %E\n");
|
einfo ("%X%P: cannot set sdata syms %E\n");
|
||||||
|
|
Loading…
Reference in a new issue