bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 23 Mar 2005 04:14:46 +0000 (04:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 23 Mar 2005 04:14:46 +0000 (04:14 +0000)
commit81e1b023da77edb3576be645e73332a03407346c
treeb42b489d2b926754e85a31a187d72b3290975897
parent1ec0126d51dac1afdf19ef609cf1b35864d73247
bfd/

2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in.h (_bfd_elf_provide_symbol): New.
* bfd-in2.h: Regenerated.

* elf32-ppc.c (set_linker_sym): Moved to elflink.c.
(ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead
of set_linker_sym.

* elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed
from elf32-ppc.c.

ld/

2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
(gld${EMULATION_NAME}_finish): Call
gld${EMULATION_NAME}_provide_bound_symbols to provide
__preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start and __fini_array_end.

* scripttempl/elf.sc: Don't provide __preinit_array_start,
__preinit_array_end, __init_array_start, __init_array_end,
__fini_array_start nor __fini_array_end.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf32-ppc.c
bfd/elflink.c
ld/ChangeLog
ld/emultempl/elf32.em
ld/scripttempl/elf.sc