* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
0eddce27
AM
12003-12-01 Alan Modra <amodra@bigpond.net.au>
2
3 * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
4 * elf.c (_bfd_elf_merge_sections): Adjust to suit.
5 (_bfd_elf_link_just_syms): Likewise.
6 (bfd_elf_get_needed_list): Likewise.
7 (bfd_elf_get_runpath_list): Likewise.
8 (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
9 * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
10 creator flavour.
11 (elf32_hppa_set_gp): Look up output sections rather than using htab.
12 * elf32-i960.c: Comment fix. Formatting.
13 * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
14 rather than testing creator flavour.
15 * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
16 * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
17 * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
18 is_elf_hash_table change. Remove redundant test.
19 (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
20 testing creator flavour.
21 (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
22 (_bfd_elf_fix_symbol_flags): Likewise.
23 (_bfd_elf_adjust_dynamic_symbol): Likewise.
24 * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
25 checks. Use is_elf_hash_table rather than testing creator flavour.
26 Use hash_table throughout in place of info->hash.
27 (elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
28 (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
29 check.
30 (elf_bfd_final_link): Adjust for is_elf_hash_table change.
31 (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
32 testing creator flavour.
33 (elf_gc_sections): Add is_elf_hash_table check.
34 (elf_gc_common_finalize_got_offsets): Likewise.
35 (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
36 redundant check.
37 * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
38 rather than testing creator flavour.
39
552585ed
CG
402003-11-28 Christian Groessler <chris@groessler.org>
41
42 * cpu-z8k.c: Convert to ISO C90.
43 * coff-z8k.c: Likewise.
44
c84fca4d
AO
452003-11-27 Alexandre Oliva <aoliva@redhat.com>
46
47 * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
48 Add link info argument.
49 * elf32-i370.c (elf_backend_modify_segment_map): Likewise.
50 * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
51 * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
52 * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
53 * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
54 * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
55 * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
56 * elf.c (assign_file_positions_except_relocs,
57 assign_file_positions_for_segments): Likewise. Adjust calls.
58
7720ba9f
MK
592003-11-27 Mark Kettenis <kettenis@gnu.org>
60
61 * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
62 of the note.
63
0626d451 642003-11-26 Daniel Jacobowitz <drow@mvista.com>
0eddce27 65 Richard Sandiford <rsandifo@redhat.com>
0626d451
RS
66
67 * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
68 (mips_elf_set_no_stub): New function.
69 (mips_elf_multi_got): Call it.
70 (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
71 a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
72 use mips_elf_create_dynamic_relocation to deal with any compatibility
73 issues. Store the adjusted addend in the GOT slot.
74