diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-01-31 00:11:33 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-01-31 00:11:33 +0000 |
commit | 8a5863beeb2c3e3040a1d0aeed57bb7a2eaae157 (patch) | |
tree | 4d4cad8e765ee9267b0cc5042a7003c161ed357f /bfd | |
parent | b6675c1a8e75809c4a58ea2e19b625a36dc6abcf (diff) | |
download | binutils-8a5863beeb2c3e3040a1d0aeed57bb7a2eaae157.zip binutils-8a5863beeb2c3e3040a1d0aeed57bb7a2eaae157.tar.gz binutils-8a5863beeb2c3e3040a1d0aeed57bb7a2eaae157.tar.bz2 |
Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure
to create .dynsbss and .rela.sbss sections.
(ppc_elf_adjust_dynamic_symbol): Put space for small data to be
copied from dynamic objects into .sbss.
(ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't
use it. Correct typo of .rela.sdata2.
(ppc_elf_finish_dynamic_symbol): Generate reloc to where we
put the data, which may now be in .sbss.
(ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss.
(elf_backend_create_dynamic_sections): Define as
ppc_elf_create_dynamic_sections.
* elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs
against _GLOBAL_OFFSET_TABLE_.
(ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in
shared libraries which refer to local symbols. Make sure that the
test for allocating space for a reloc in a shared object is the
same as the test for emitting a reloc.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4c043df..b390118 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,24 @@ +Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure + to create .dynsbss and .rela.sbss sections. + (ppc_elf_adjust_dynamic_symbol): Put space for small data to be + copied from dynamic objects into .sbss. + (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't + use it. Correct typo of .rela.sdata2. + (ppc_elf_finish_dynamic_symbol): Generate reloc to where we + put the data, which may now be in .sbss. + (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. + (elf_backend_create_dynamic_sections): Define as + ppc_elf_create_dynamic_sections. + + * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs + against _GLOBAL_OFFSET_TABLE_. + (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in + shared libraries which refer to local symbols. Make sure that the + test for allocating space for a reloc in a shared object is the + same as the test for emitting a reloc. + start-sanitize-sky Thu Jan 29 17:44:53 1998 Doug Evans <devans@canuck.cygnus.com> |