*** empty log message ***
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
baea7ef1
AM
12008-07-27 Alan Modra <amodra@bigpond.net.au>
2
3 * elf.c (_bfd_elf_make_section_from_shdr): Ignore return from
4 elf_parse_notes. Use bfd_malloc_and_get_section.
5 (elf_parse_notes): Validate note namesz and descsz.
6
3c7b9897
AM
72008-07-26 Michael Eager <eager@eagercon.com>
8
9 * elf32-ppc.c (ppc_elf_merge_obj_attributes): Check compatibility
10 between single-float, double-float, and soft-float.
11
20163277
DJ
122008-07-24 Daniel Jacobowitz <dan@codesourcery.com>
13
14 * elf32-mips.c (elf_backend_write_section): Define.
15
4ff73856
NC
162008-07-24 Nick Clifton <nickc@redhat.com>
17
18 * elf.c (_bfd_elf_map_sections_to_segments): Catch off by one
19 error assigning sections to segments.
20
39948a60
NC
212008-07-22 Nick Clifton <nickc@redhat.com>
22
23 * elf.c (_bfd_elf_map_sections_to_segments): Allow sections in
24 adjoining pages to be included in the same segment.
25
bda987c2
CD
262008-07-22 Simon Baldwin <simonb@google.com>
27
28 * elflink.c (elf_link_output_extsym): Set st_size to zero for
29 symbols from dynamic libraries.
30
88ba32a0
L
312008-07-21 H.J. Lu <hongjiu.lu@intel.com>
32
33 PR ld/4424
34 * elflink.c (_bfd_elf_merge_symbol): Call bed->relocs_compatible
35 to check if 2 inputs are compatible.
36
37c43c55
NC
372008-07-21 Sterling Augustine <sterling@tensilica.com>
38
39 * elf.c (assign_file_positions_for_load_sections): Print vma in
40 error message about overlapping section vmas.
41
50403a1f
L
422008-07-21 H.J. Lu <hongjiu.lu@intel.com>
43
44 PR ld/6747
45 * elf32-frv.c (elf32_frv_relocate_section): Revert the change
46 for PR ld/6446 checked in by accident on May 21, 2008.
47
799c00e0
NC
482008-07-21 Nick Clifton <nickc@redhat.com>
49
50 * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non
51 COFF_WITH_PE based SH ports.
52 * libpei.h (_bfd_XX_print_ce_compressed_pdata): Prototype.
53 * arm-wince-pe.c (bfd_pe_print_pdata): Use
54 _bfd_pe_print_ce_compressed_pdata.
55 (slurp_symcache, cleanup_syms, pe_print_ce_compressed_pdata): Move
56 to...
57 * peXXigen.c: ... here and rename pe_print_ce_compressed_pdata to
58 _bfd_XX_print_ce_compressed_pdata.
59
f60e73e9
AM
602008-07-21 Alan Modra <amodra@bigpond.net.au>
61
62 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Drop
63 unwanted zero terminators.
64
dc1859a6
AM
652008-07-21 Alan Modra <amodra@bigpond.net.au>
66
67 * elf32-spu.c (spu_elf_relocate_section): Expand
68 RELOC_FOR_GLOBAL_SYMBOL. Don't warn about undefined symbols for
69 R_SPU_PPU32 and R_SPU_PPU64 relocations.
70
89eeb0bc
LM
712008-07-21 Luis Machado <luisgpm@br.ibm.com>
72
73 * elf-bfd.h: Declare elfcore_write_ppc_vsx.
74 * elf.c (elfcore_grok_ppc_vsx): New function.
75 (elfcore_write_ppc_vsx): New function
76 (elfcore_grok_note): Handle VSX notes.
77 (elfcore_write_register_note): Handle VSX notes.
78
a9dc9481
JM
792008-07-18 Joseph Myers <joseph@codesourcery.com>
80
81 * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter.
82 * bfd-in2.h: Regenerate.
83 * elf32-arm.c (struct elf_arm_obj_tdata): Add field
84 no_wchar_size_warning.
85 (bfd_elf32_arm_set_target_relocs): Add new parameter
86 no_wchar_warn.
87 (elf32_arm_merge_eabi_attributes): Give a warning, not an error,
88 for conflicting wchar_t attributes. Do not warn if
89 --no-wchar-size-warning. Make diagnostic text more specific.
90
6cee0a6f
L
912008-07-18 H.J. Lu <hongjiu.lu@intel.com>
92
93 PR ld/6748
94 * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize
95 new fields added for ARM long call support.
96
2b5c217d
NC
972008-07-18 Danny Backx <dannybackx@users.sourceforge.net>
98
99 * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
100 print compressed pdata structure as described on MSDN. This only
101 applies to a limited set of architectures (ARM, SH4).
102 (slurp_symtab, my_symbol_for_address): Define static helper
103 functions for pe_print_compressed_pdata.
104 * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field.
105 (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define.
106 * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on
107 bfd_coff_backend_data, call the function if non-null.
108 * pei-mcore.c: Add target dependent initialisation for
109 bfd_coff_backend_data.
110 * coff-sh.c: Likewise.
111 * coff64-rs6000.c: Likewise.
112 * coff-rs6000.c: Likewise.
113 * libcoff-in.h: Likewise.
114 * cf-i386lynx.c: Likewise.
115 * coff-alpha.c: Likewise.
116 * coff-apollo.c: Likewise.
117 * coff-arm.c: Likewise.
118 * coff-aux.c: Likewise.
119 * coff-h8300.c: Likewise.
120 * coff-h8500.c: Likewise.
121 * coff-i386.c: Likewise.
122 * coff-i860.c: Likewise.
123 * coff-i960.c: Likewise.
124 * coff-ia64.c: Likewise.
125 * coff-m68k.c: Likewise.
126 * coff-m88k.c: Likewise.
127 * coff-maxq.c: Likewise.
128 * coff-mips.c: Likewise.
129 * coff-or32.c: Likewise.
130 * coff-sparc.c: Likewise.
131 * coff-tic30.c: Likewise.
132 * coff-tic4x.c: Likewise.
133 * coff-tic54x.c: Likewise.
134 * coff-tic80.c: Likewise.
135 * coff-w65.c: Likewise.
136 * coff-we32k.c: Likewise.
137 * coff-x86_64.c: Likewise.
138 * coff-z80.c: Likewise.
139 * coff-z8k.c: Likewise.
140 * pe-mcore.c: Likewise.
141 * pe-mips.c: Likewise.
142 * pe-ppc.c: Likewise.
143 * peXXigen.c: Likewise.
dc1859a6 144 * pei-ppc.c: Likewise.
2b5c217d
NC
145 * libcoff.h: Regenerate.
146
c96a8570
BS
1472008-07-16 Bernd Schmidt <bernd.schmidt@analog.com>
148
149 * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,
150 bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook,
151 ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE,
152 struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code
153 separate from non-FD-PIC.
154
605d18d4
DD
1552008-07-14 DJ Delorie <dj@redhat.com>
156
157 * elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow
158 checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16
159 relocs.
160 (mn10300_elf_relax_section): Correct jump offset check when target
161 is in a different section.
162
b0a0b978
JZ
1632008-07-15 Jie Zhang <jie.zhang@analog.com>
164
165 * elf32-bfin.c (elf32_bfin_special_sections[]): New.
166 (elf_backend_special_sections): Define.
167
aaf30c25
CS
1682008-07-13 Craig Silverstein <csilvers@google.com>
169
08b78292 170 PR binutils/6743
aaf30c25
CS
171 * dwarf2.c (struct dwarf2_debug): New variable info_ptr_memory.
172 (find_line): Use info_ptr_memory instead of sec_info_ptr.
173 (_bfd_dwarf2_cleanup_debug_info): Likewise.
174
1bac266e
JZ
1752008-07-12 Jie Zhang <jie.zhang@analog.com>
176
177 Revert
178 2008-07-12 Jie Zhang <jie.zhang@analog.com>
179 * elf.c (_bfd_elf_map_sections_to_segments): Don't put
180 executable sections into the same segment with other
181 read only sections if --sep-code.
182 * elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
183 (elf32_bfin_data_in_l1): New variable.
184 (elf32_bfin_final_write_processing): New.
185 (elf32_bfin_special_sections[]): New.
186 (elf_backend_final_write_processing): Define.
187 (elf_backend_special_sections): Define.
188
8c684578
JZ
1892008-07-12 Jie Zhang <jie.zhang@analog.com>
190
191 * elf.c (_bfd_elf_map_sections_to_segments): Don't put
192 executable sections into the same segment with other
193 read only sections if --sep-code.
194 * elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
195 (elf32_bfin_data_in_l1): New variable.
196 (elf32_bfin_final_write_processing): New.
197 (elf32_bfin_special_sections[]): New.
198 (elf_backend_final_write_processing): Define.
199 (elf_backend_special_sections): Define.
200
3076cd1f
AS
2012008-07-11 Andreas Schwab <schwab@suse.de>
202
203 * dwarf2.c (read_section): Take pointer to bfd_size_type instead
204 of unsigned long as last parameter.
205 (struct dwarf2_debug): Define dwarf_abbrev_size, dwarf_line_size,
206 dwarf_str_size and dwarf_ranges_size as bfd_size_type instead of
207 unsigned long.
208
0a61c8c2
RS
2092008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
210
211 * elfxx-mips.c (mips_elf_calculate_relocation): Calculate GP and GP0
212 for all relocation types. Allow any type of relocation to refer to
213 __gnu_local_gp.
214
30c09090
RS
2152008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
216
217 * elfxx-mips.c (mips_elf_check_mips16_stubs): Use ELF_ST_IS_MIPS16.
218 (mips_elf_calculate_relocation): Likewise.
219 (_bfd_mips_elf_add_symbol_hook): Likewise.
220 (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
221 (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
222
355d10dc
AS
2232008-07-10 Andreas Schwab <schwab@suse.de>
224
225 * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Add missing
226 paren.
227
1b315056
CS
2282008-07-09 Craig Silverstein <csilvers@google.com>
229
230 * Makefile.am (BFD32_LIBS): Add compress.lo.
231 (BFD32_LIBS_CFILES): Add compress.c.
232 (BFD_H_FILES): Likewise.
233 * Makefile.in: Regenerate.
234 * bfd-in2.h: Regenerate.
235 * config.in: Add HAVE_ZLIB_H
236 * configure.in: Add test for libz and zlib.h
237 * configure: Regenerate.
238 * dwarf2.c (read_section): New function.
239 (read_indirect_string): Call new function read_section.
240 (read_abbrevs): Likewise.
241 (decode_line_info): Likewise.
242 (read_debug_ranges): Likewise.
243 (find_line): Call new function read_section when just one
244 .zdebug_info section is found, otherwise read and compress
245 multiple sections.
246 (_bfd_dwarf2_cleanup_debug_info): Free sec_info_ptr.
247 * elf.c (_bfd_elf_make_section_from_shdr): Add zdebug prefix.
248 (special_sections_z): New struct.
249 (special_sections): Refer to special_sections_z.
250 * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Recognize
251 sections named .zdebug_*.
252 (_bfd_mips_elf_fake_sections): Likewise.
253 * compress.c: New file.
254 (bfd_uncompress_section_contents): New function.
dc1859a6 255
329dcd78
NC
2562008-07-07 Christophe Lyon <christophe.lyon@st.com>
257
258 * elf32-arm.c (arm_type_of_stub): Don't crash on local symbols in
259 the presence of a PLT.
260
c29aae59
AM
2612008-07-07 Alan Modra <amodra@bigpond.net.au>
262
263 * bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char.
264
7382d32a
AM
2652008-07-02 Alan Modra <amodra@bigpond.net.au>
266
267 * elf32-ppc.c (is_pic_glink_stub): New function.
268 (ppc_elf_get_synthetic_symtab): Don't generate symbols when
269 multiple shared/pie stubs per plt entry.
270
cb53bf42
RS
2712008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
272
273 * elf.c (_bfd_elf_get_synthetic_symtab): Increment p by
274 bed->s->int_rels_per_ext_rel.
275
6ba2a415
RS
2762008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
277
278 * syms.c (BSF_SYNTHETIC): New flag.
279 * elf.c (_bfd_elf_get_synthetic_symtab): Set it.
280 * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Likewise.
281 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
282 * bfd-in.h (bfd_asymbol_flavour): Return bfd_target_unknown_flavour
283 for synthetic symbols.
284 * bfd-in2.h: Regenerate.
285
3dccd7b7
DJ
2862008-06-30 Daniel Jacobowitz <dan@codesourcery.com>
287
288 * elf32-arm.c (record_arm_to_thumb_glue, record_thumb_to_arm_glue):
289 Expand comments.
290 (arm_map_one_stub): Use | 1 when setting the low bit.
291
f57718b4
AS
2922008-06-29 Andreas Schwab <schwab@suse.de>
293
294 * elf32-m68k.c (elf_m68k_relocate_section): Don't ignore existing
295 addend on _GLOBAL_OFFSET_TABLE_.
296
7413f23f
DJ
2972008-06-24 Daniel Jacobowitz <dan@codesourcery.com>
298
299 * elf32-arm.c (STUB_ENTRY_NAME): Define.
300 (arm_thumb_thumb_long_branch_stub): Use bx instead of b.n.
301 (arm_pic_long_branch_stub): Mention R_ARM_REL32 instead of
302 R_ARM_ABS32.
303 (struct elf32_arm_stub_hash_entry): Add output_name.
304 (arm_build_one_stub): Move offsets into the offset argument
305 of _bfd_final_link_relocate. Correct offset for
306 arm_thumb_arm_v4t_stub_long_branch.
307 (elf32_arm_size_stubs): Set stub_entry->output_name.
308 (elf32_arm_ouput_plt_map_sym): Rename to elf32_arm_output_map_sym.
309 Update all callers.
310 (elf32_arm_output_stub_sym): New.
311 (arm_map_one_stub): Correct formatting. Use elf32_arm_output_stub_sym.
312
7c39fb20
AM
3132008-06-20 Alan Modra <amodra@bigpond.net.au>
314
315 * elf32-spu.c (needs_ovl_stub): Correctly return nonovl_stub for
316 non-branch insns.
317
f3c29e8a
AM
3182008-06-20 Alan Modra <amodra@bigpond.net.au>
319
320 * elf32-spu.c (build_stub): Allow wraparound on stub branches.
321 (allocate_spuear_stubs, build_spuear_stubs): Return value from
322 count_stub/build_stub.
323 (spu_elf_build_stubs): Correct location of stub reloc error message.
324
de73c611
SR
3252008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
326
dc1859a6 327 * elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
de73c611 328
7a283e07
RW
3292008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
330
331 * configure: Regenerate.
332
99302af9
AM
3332008-06-17 Alan Modra <amodra@bigpond.net.au>
334
335 * elf32-spu.c (struct spu_link_hash_table): Add extra_stack_space.
336 (spu_elf_check_vma): Add extra_stack_space param, copy to htab.
337 (spu_elf_auto_overlay): Use it.
338 (RECURSE_UNMARK): Define as 0.
339 (unmark_overlay_section): Heed RECURSE_UNMARK.
340 * elf32-spu.h (spu_elf_check_vma): Update prototype.
341
ff7eeb89
DD
3422008-06-12 DJ Delorie <dj@redhat.com>
343
344 * elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD.
345
c13bb2ea
PB
3462008-06-09 Paul Brook <paul@codesourcery.com>
347
348 bfd/
349 * elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
350 libraries.
351
f4ac8484
DJ
3522008-06-09 Christophe Lyon <christophe.lyon@st.com>
353
354 * elf32-arm.c (arm_stub_is_thumb): Define.
355 (elf32_arm_final_link_relocate): Handle near mode switching stubs.
356
6a267715
AM
3572008-06-07 Alan Modra <amodra@bigpond.net.au>
358
359 * elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
360 to stack calculation.
361
23684067
PB
3622008-06-06 Paul Brook <paul@codesourcery.com>
363
364 bfd/
365 * elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input.
366
97407faf
AM
3672008-06-06 Alan Modra <amodra@bigpond.net.au>
368
369 * elf32-spu.c (spu_elf_auto_overlay): Relax requirement that
370 file names be unique. Specify archive:path in overlay script.
371
7cfbafbc
AM
3722008-06-05 Alan Modra <amodra@bigpond.net.au>
373
374 PR ld/6590
375 * elf64-ppc.c (ppc_build_one_stub): Correct reloc offsets.
376
0f0a5e58
AM
3772008-06-04 Alan Modra <amodra@bigpond.net.au>
378
379 * elf.c (ignore_section_sym): Don't test section sym value here.
380 (elf_map_symbols): Instead check zero value here as was done prior
381 to 2006-05-26 change.
382
696b7ad2
NC
3832008-06-04 Nick Clifton <nickc@redhat.com>
384
385 PR ld/6019
386 * elf32-avr.c (elf32_avr_relax_section): Handle the case where
387 there are no local symbols.
388
1f27ab8d
AM
3892008-06-04 Alan Modra <amodra@bigpond.net.au>
390
391 * elf32-spu.c (get_sym_h): Don't attempt to read global syms.
392 (process_stubs): Likewise.
393 (discover_functions): Don't used cached symbols.
394 (maybe_insert_function): Correct condition under which function
395 array is realloc'd.
396 (mark_functions_via_relocs): Delete unused variable.
397
adfef0bd
NC
3982008-05-30 Frediano Ziglio <frediano.ziglio@vodafone.com>
399 Nick Clifton <nickc@redhat.com>
400
401 PR ld/6511
402 * elf64-hppa.c (allocate_global_data_opd): Default to using the
403 dynamic symbol table for local function names in shared libraries.
404
11701589
JK
4052008-05-29 Jan Kratochvil <jan.kratochvil@redhat.com>
406
407 * elf.c (assign_file_positions_for_load_sections): Adjust pre-section
408 gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses.
409
124b52c6
AM
4102008-05-28 Alan Modra <amodra@bigpond.net.au>
411
412 * elf32-spu.c (spu_elf_object_p): New function.
413 (elf_backend_object_p): Define.
414 (build_stub): Correct second word of 8 byte overlay stubs.
415 (spu_elf_relocate_section): Formatting.
416
bb864ac1
CES
4172008-05-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
418
419 * elf.c (elfcore_write_register_note): New function.
420 * elf-bfd.h (elfcore_write_register_note): New prototype.
421
da5938a2
NC
4222008-05-22 Christophe Lyon <christophe.lyon@st.com>
423
424 * elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols.
425 (elf32_arm_stub_add_mapping_symbol): Remove.
426 (elf32_arm_add_stub): Don't generate mapping symbols. Change
427 prototype.
428 (elf32_arm_size_stubs): Use new elf32_arm_add_stub
429 prototype. Don't generate thumb to arm glue for calls.
430 (arm_map_one_stub): Define.
431 (elf32_arm_output_arch_local_syms): Generate mapping symbols for
432 long calls stubs.
dc1859a6 433
c2f950c8
L
4342008-05-21 Nick Clifton <nickc@redhat.com>
435
436 * elf32-arm.c (group_sections): Reformat comments.
437
438 PR ld/6446
439 * elf32-frv.c (elf32_frv_relocate_section): Set EF_FRV_PIC by
440 default (for FDPIC). Clear it if any inter-segment relocations
441 are found.
442
443 * elf64-hppa.c (elf64_hppa_finalize_opd): Check NULL return
444 from elf_link_hash_lookup.
445
7fb9f789 4462008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
dc1859a6 447
7fb9f789
NC
448 Add multi-GOT support for m68k.
449 * elf32-m68k.c (struct elf_m68k_link_hash_entry: got_entry_key,
450 glist): New fields.
451 (struct elf_m68k_got_entry_key, struct elf_m68k_got_entry,
452 struct elf_m68k_got, struct elf_m68k_bfd2got_entry,
453 struct elf_m68k_multi_got): New data structures.
454 (struct elf_m68k_link_hash_table: local_gp_p, use_neg_got_offsets_p,
455 allow_multigot_p, multi_got_): New fields.
456 (elf_m68k_multi_got): New macro.
457 (elf_m68k_link_hash_newfunc): Initialize new fields of
458 struct elf_m68k_link_hash_entry.
459 (elf_m68k_link_hash_table_create): Initialize new fields of
460 struct elf_m68k_link_hash_table.
461 (elf_m68k_link_hash_table_free): New static function implementing hook.
462 (elf_m68k_init_got, elf_m68k_clear_got, elf_m68k_create_empty_got): New
dc1859a6 463 static functions for struct elf_m68k_got.
7fb9f789
NC
464 (elf_m68k_init_got_entry_key, elf_m68k_got_entry_hash,
465 elf_m68k_got_entry_eq): New static functions for
466 struct elf_m68k_got_entry.
467 (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT,
468 ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): New macros.
469 (enum elf_m68k_get_entry_howto): New enum.
470 (elf_m68k_get_got_entry, elf_m68k_update_got_entry_type,
471 elf_m68k_remove_got_entry_type): New static functions for
472 struct elf_m68k_got_entry.
473 (elf_m68k_add_entry_to_got): New static function.
474 (elf_m68k_bfd2got_entry_hash, elf_m68k_bfd2got_entry_eq,
475 elf_m68k_bfd2got_entry_del, elf_m68k_get_bfd2got_entry): New static
476 functions for struct elf_m68k_bfd2got_entry.
477 (struct elf_m68k_can_merge_gots_arg, elf_m68k_can_merge_gots_1,
478 elf_m68k_can_merge_gots): New traversal.
479 (struct elf_m68k_merge_gots_arg, elf_m68k_merge_gots_1,
480 elf_m68k_merge_gots): Ditto.
481 (struct elf_m68k_finalize_got_offsets_arg,
482 elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Ditto.
483 (struct elf_m68k_partition_multi_got_arg,
484 elf_m68k_partition_multi_got_1, elf_m68k_init_symndx2h_1,
485 elf_m68k_partition_multi_got): Ditto.
486 (elf_m68k_find_got_entry_ptr, elf_m68k_remove_got_entry): New static
487 functions.
488 (elf_m68k_copy_indirect_symbol): New static function implementing
489 a hook.
490 (elf_m68k_check_relocs): Update to add entries to multi-GOT.
491 (elf_m68k_gc_sweep_hook): Update to remove entries from multi-GOT.
492 (elf_m68k_always_size_sections): Assign BFDs to GOTs.
493 (elf_m68k_relocate_section): Update to properly handle GOT relocations.
494 (elf_m68k_finish_dynamic_symbol): Update to traverse all GOT entries
495 of a global symbol.
496 (bfd_elf_m68k_set_target_options): New function.
497 (bfd_elf32_bfd_link_hash_table_free): Define hook.
498 (bfd_elf32_bfd_final_link): Change expansion to bfd_elf_final_link
499 to skip generic calculation of GOT offsets.
500 (elf_backend_copy_indirect_symbol): Define hook.
501 * bfd-in.h (bfd_elf_m68k_set_target_options): Declare function.
502 * bfd-in2.h: Regenerate.
503