diff options
author | Stephen Clarke <stephen.clarke@earthling.net> | 2002-10-14 19:29:54 +0000 |
---|---|---|
committer | Stephen Clarke <stephen.clarke@earthling.net> | 2002-10-14 19:29:54 +0000 |
commit | 396a6083857a5e7c325e8e6edc05df3cab45a81a (patch) | |
tree | 22a58749dc0c2c54fb726f8617e8ac451c9e4281 /gdb/config | |
parent | 24d1feef42cdf9fe812be0f903a312e81593cea6 (diff) | |
download | gdb-396a6083857a5e7c325e8e6edc05df3cab45a81a.zip gdb-396a6083857a5e7c325e8e6edc05df3cab45a81a.tar.gz gdb-396a6083857a5e7c325e8e6edc05df3cab45a81a.tar.bz2 |
* elf32-sh.c (elf_sh_link_hash_entry): Replace
datalabel_got_offset with union of datalabel_got
offset and refcount.
(sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount.
(allocate_dynrelocs): Delete unnecessary code for
STT_DATALABEL type. Create entry in got for
datalabel version of symbol if datalabel_got.refcount > 0.
(sh_elf_relocate_section): Use datalabel_got union.
(sh_elf_gc_sweep_hook): Pull common code to initialize
h and eh out of switch statement. Declare seen_stt_datalabel.
Initialize it. Decrement datalabel_got.refcount for
got relocs when seen_stt_datalabel is true.
Decrement local_got_refcounts entry for datalabel got relocs
of local symbols.
(sh_elf_copy_indirect_symbol): Copy datalabel_got field over.
(sh_elf_check_relocs): Declare seen_stt_datalabel.
Initialize it. When seen_stt_datalabel is true, increment
datalabel_got refcount rather than got.refcount.
(sh_elf_finish_dynamic_symbol): Create relocs to
initialize got entry for datalabel version of symbol.
Diffstat (limited to 'gdb/config')
0 files changed, 0 insertions, 0 deletions