Commit | Line | Data |
---|---|---|
ff7eeb89 DD |
1 | 2008-06-12 DJ Delorie <dj@redhat.com> |
2 | ||
3 | * elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD. | |
4 | ||
c13bb2ea PB |
5 | 2008-06-09 Paul Brook <paul@codesourcery.com> |
6 | ||
7 | bfd/ | |
8 | * elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared | |
9 | libraries. | |
10 | ||
f4ac8484 DJ |
11 | 2008-06-09 Christophe Lyon <christophe.lyon@st.com> |
12 | ||
13 | * elf32-arm.c (arm_stub_is_thumb): Define. | |
14 | (elf32_arm_final_link_relocate): Handle near mode switching stubs. | |
15 | ||
6a267715 AM |
16 | 2008-06-07 Alan Modra <amodra@bigpond.net.au> |
17 | ||
18 | * elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp | |
19 | to stack calculation. | |
20 | ||
23684067 PB |
21 | 2008-06-06 Paul Brook <paul@codesourcery.com> |
22 | ||
23 | bfd/ | |
24 | * elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input. | |
25 | ||
97407faf AM |
26 | 2008-06-06 Alan Modra <amodra@bigpond.net.au> |
27 | ||
28 | * elf32-spu.c (spu_elf_auto_overlay): Relax requirement that | |
29 | file names be unique. Specify archive:path in overlay script. | |
30 | ||
7cfbafbc AM |
31 | 2008-06-05 Alan Modra <amodra@bigpond.net.au> |
32 | ||
33 | PR ld/6590 | |
34 | * elf64-ppc.c (ppc_build_one_stub): Correct reloc offsets. | |
35 | ||
0f0a5e58 AM |
36 | 2008-06-04 Alan Modra <amodra@bigpond.net.au> |
37 | ||
38 | * elf.c (ignore_section_sym): Don't test section sym value here. | |
39 | (elf_map_symbols): Instead check zero value here as was done prior | |
40 | to 2006-05-26 change. | |
41 | ||
696b7ad2 NC |
42 | 2008-06-04 Nick Clifton <nickc@redhat.com> |
43 | ||
44 | PR ld/6019 | |
45 | * elf32-avr.c (elf32_avr_relax_section): Handle the case where | |
46 | there are no local symbols. | |
47 | ||
1f27ab8d AM |
48 | 2008-06-04 Alan Modra <amodra@bigpond.net.au> |
49 | ||
50 | * elf32-spu.c (get_sym_h): Don't attempt to read global syms. | |
51 | (process_stubs): Likewise. | |
52 | (discover_functions): Don't used cached symbols. | |
53 | (maybe_insert_function): Correct condition under which function | |
54 | array is realloc'd. | |
55 | (mark_functions_via_relocs): Delete unused variable. | |
56 | ||
adfef0bd NC |
57 | 2008-05-30 Frediano Ziglio <frediano.ziglio@vodafone.com> |
58 | Nick Clifton <nickc@redhat.com> | |
59 | ||
60 | PR ld/6511 | |
61 | * elf64-hppa.c (allocate_global_data_opd): Default to using the | |
62 | dynamic symbol table for local function names in shared libraries. | |
63 | ||
11701589 JK |
64 | 2008-05-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
65 | ||
66 | * elf.c (assign_file_positions_for_load_sections): Adjust pre-section | |
67 | gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses. | |
68 | ||
124b52c6 AM |
69 | 2008-05-28 Alan Modra <amodra@bigpond.net.au> |
70 | ||
71 | * elf32-spu.c (spu_elf_object_p): New function. | |
72 | (elf_backend_object_p): Define. | |
73 | (build_stub): Correct second word of 8 byte overlay stubs. | |
74 | (spu_elf_relocate_section): Formatting. | |
75 | ||
bb864ac1 CES |
76 | 2008-05-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
77 | ||
78 | * elf.c (elfcore_write_register_note): New function. | |
79 | * elf-bfd.h (elfcore_write_register_note): New prototype. | |
80 | ||
da5938a2 NC |
81 | 2008-05-22 Christophe Lyon <christophe.lyon@st.com> |
82 | ||
83 | * elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols. | |
84 | (elf32_arm_stub_add_mapping_symbol): Remove. | |
85 | (elf32_arm_add_stub): Don't generate mapping symbols. Change | |
86 | prototype. | |
87 | (elf32_arm_size_stubs): Use new elf32_arm_add_stub | |
88 | prototype. Don't generate thumb to arm glue for calls. | |
89 | (arm_map_one_stub): Define. | |
90 | (elf32_arm_output_arch_local_syms): Generate mapping symbols for | |
91 | long calls stubs. | |
92 | ||
7fb9f789 NC |
93 | 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com> |
94 | ||
95 | Add multi-GOT support for m68k. | |
96 | * elf32-m68k.c (struct elf_m68k_link_hash_entry: got_entry_key, | |
97 | glist): New fields. | |
98 | (struct elf_m68k_got_entry_key, struct elf_m68k_got_entry, | |
99 | struct elf_m68k_got, struct elf_m68k_bfd2got_entry, | |
100 | struct elf_m68k_multi_got): New data structures. | |
101 | (struct elf_m68k_link_hash_table: local_gp_p, use_neg_got_offsets_p, | |
102 | allow_multigot_p, multi_got_): New fields. | |
103 | (elf_m68k_multi_got): New macro. | |
104 | (elf_m68k_link_hash_newfunc): Initialize new fields of | |
105 | struct elf_m68k_link_hash_entry. | |
106 | (elf_m68k_link_hash_table_create): Initialize new fields of | |
107 | struct elf_m68k_link_hash_table. | |
108 | (elf_m68k_link_hash_table_free): New static function implementing hook. | |
109 | (elf_m68k_init_got, elf_m68k_clear_got, elf_m68k_create_empty_got): New | |
110 | static functions for struct elf_m68k_got. | |
111 | (elf_m68k_init_got_entry_key, elf_m68k_got_entry_hash, | |
112 | elf_m68k_got_entry_eq): New static functions for | |
113 | struct elf_m68k_got_entry. | |
114 | (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT, | |
115 | ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): New macros. | |
116 | (enum elf_m68k_get_entry_howto): New enum. | |
117 | (elf_m68k_get_got_entry, elf_m68k_update_got_entry_type, | |
118 | elf_m68k_remove_got_entry_type): New static functions for | |
119 | struct elf_m68k_got_entry. | |
120 | (elf_m68k_add_entry_to_got): New static function. | |
121 | (elf_m68k_bfd2got_entry_hash, elf_m68k_bfd2got_entry_eq, | |
122 | elf_m68k_bfd2got_entry_del, elf_m68k_get_bfd2got_entry): New static | |
123 | functions for struct elf_m68k_bfd2got_entry. | |
124 | (struct elf_m68k_can_merge_gots_arg, elf_m68k_can_merge_gots_1, | |
125 | elf_m68k_can_merge_gots): New traversal. | |
126 | (struct elf_m68k_merge_gots_arg, elf_m68k_merge_gots_1, | |
127 | elf_m68k_merge_gots): Ditto. | |
128 | (struct elf_m68k_finalize_got_offsets_arg, | |
129 | elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Ditto. | |
130 | (struct elf_m68k_partition_multi_got_arg, | |
131 | elf_m68k_partition_multi_got_1, elf_m68k_init_symndx2h_1, | |
132 | elf_m68k_partition_multi_got): Ditto. | |
133 | (elf_m68k_find_got_entry_ptr, elf_m68k_remove_got_entry): New static | |
134 | functions. | |
135 | (elf_m68k_copy_indirect_symbol): New static function implementing | |
136 | a hook. | |
137 | (elf_m68k_check_relocs): Update to add entries to multi-GOT. | |
138 | (elf_m68k_gc_sweep_hook): Update to remove entries from multi-GOT. | |
139 | (elf_m68k_always_size_sections): Assign BFDs to GOTs. | |
140 | (elf_m68k_relocate_section): Update to properly handle GOT relocations. | |
141 | (elf_m68k_finish_dynamic_symbol): Update to traverse all GOT entries | |
142 | of a global symbol. | |
143 | (bfd_elf_m68k_set_target_options): New function. | |
144 | (bfd_elf32_bfd_link_hash_table_free): Define hook. | |
145 | (bfd_elf32_bfd_final_link): Change expansion to bfd_elf_final_link | |
146 | to skip generic calculation of GOT offsets. | |
147 | (elf_backend_copy_indirect_symbol): Define hook. | |
148 | * bfd-in.h (bfd_elf_m68k_set_target_options): Declare function. | |
149 | * bfd-in2.h: Regenerate. | |
150 |