* elf32-cris.c: Tweak comments related to dynamic linking.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 17 Apr 2001 12:32:30 +0000 (12:32 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 17 Apr 2001 12:32:30 +0000 (12:32 +0000)
commit4d96d12825ba8ca59248bca05e7691c449ad55df
tree8779e28a6e47986ea5d648dfbf6cf5e99b130c62
parente5434c3d1a4cffba60c138697cad28e269850949
* elf32-cris.c: Tweak comments related to dynamic linking.
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression.  Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
  (elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies.  Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.
bfd/ChangeLog
bfd/elf32-cris.c