* annotate.h (annotate_thread_changed): Declare.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a61ca861
NC
12008-06-04 Nick Clifton <nickc@redhat.com>
2
3 * ld.texinfo (Orphan Sections): Fix texi typo.
4
0fe58ccd
NC
52008-06-04 Chris Metcalf <cmetcalf@tilera.com>
6
7 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
8 (ld_options): Add entry for --no-fatal-warnings.
9 (parse_args): Handle OPTION_NO_WARN_FATAL.
10 * ld.texinfo (Options): Document new command line switch.
11
d77ec871
AM
122008-06-04 Alan Modra <amodra@bigpond.net.au>
13
14 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
15
476d8a22
NC
162008-06-02 Nathan Sidwell <nathan@codesourcery.com>
17
18 * ldlang.c (closest_target_match): Skip generic big and little
19 endian ELF targets.
20
de7dd2bd
NC
212008-05-31 Evandro Menezes <evandro@yahoo.com>
22
23 PR ld/6430
24 * ld.h (enum sort_order): New.
25 * ldlang.c (lang_check: Fix comment.
26 (lang_common): Sort commons in ascending or descending order.
27 (lang_one_common): Likewise.
28 * lexsup.c (ld_options): Have --sort-common take an option
29 argument.
30 (parse_args): Handle argument to --sort-common.
31 * ld.texinfo (--sort-common): Document new optional argument.
32 * NEWS: Mention new feature.
33
1a51c1a4
NC
342008-05-28 Christophe Lyon <christophe.lyon@st.com>
35
36 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
37 only.
38
6ca0987a
KT
392008-05-27 Kai Tietz <kai.tietz@onevision.com>
40
41 * pe-dll.c (fill_edata): Make sure we calculate vma's in
42 type bfd_vma.
43 (generate_reloc): Likewise.
44 (pe_implied_import_dll): Likewise.
45
45f111cc
NC
462008-05-21 Nick Clifton <nickc@redhat.com>
47
48 PR ld/6519
49 * ld.texinfo (Orphan Sections): Mention that the linker will
50 provide start and stop symbols for orphaned sections if their
51 names are valid C identifiers.
52 * NEWS: Add an addendum to the description of the linker feature
53 for providing orphan section start and end symbols.
54
7fb9f789
NC
552008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
56
57 * configure.in (--enable-got): New option. Handle it.
58 * configure: Regenerate.
59 * config.in: Regenerate.
60 * emultempl/m68kelf.em: (got_handling_target_default): New shell
61 variable.
62 (GOT_HANDLING_TARGET_DEFAULT): New macro.
63 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
64 option if one was given.
65 (got_handling): New static variable.
66 (elf_m68k_create_output_section_statements): New static function
67 implementing hook.
68 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
69 (OPTION_GOT): New macro.
70 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
71 --got option.
72 (got): New linker option.
73 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
74 for --got option.
75 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
76 option.
77 * ld.texinfo: Document --got=<type> option.
78 * gen-doc.texi: Add M68K.
79 * NEWS: Mention the new feature.
80
41911f68
NC
812008-05-21 Evandro Menezes <evandro@yahoo.com>
82
83 PR ld/6430
84 * ld.texinfo (--sort-common): Correct documentation to indicate
85 that sorting is performed by alignment, not size, biggest
86 alignment first.
87
726150b7
NC
882008-05-21 Christophe Lyon <christophe.lyon@st.com>
89 Nick Clifton <nickc@redhat.com>
90
91 * ld.texinfo (ARM): Document --stub-group-size=N option.
92 Move description of --pic-veneer option into the ARM section.
93 * NEWS: Mention the support for long function calls.
94
906e58ca
NC
952008-05-15 Christophe Lyon <christophe.lyon@st.com>
96
97 * emultempl/armelf.em (build_section_lists): New function.
98 (stub_file): Define.
99 (need_laying_out): Define.
100 (group_size): Define.
101 (hook_stub_info): Define.
102 (hook_in_stub): New function.
103 (elf32_arm_add_stub_section): New function.
104 (gldarm_layout_sections_again): New function.
105 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
106 stubs for long calls if needed.
107 (arm_elf_create_output_section_statements): create stub_file bfd.
108 (arm_for_each_input_file_wrapper): New function.
109 (arm_lang_for_each_input_file): New function.
110 (lang_for_each_input_file): Define.
111 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
112 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
113 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
114 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
115 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
116 * lang.c (print_input_statement): Skip if bfd has
117 BFD_LINKER_CREATED.
118
8944f3c2
AM
1192008-05-14 Alan Modra <amodra@bigpond.net.au>
120
121 * Makefile.in: Regenerate.
122
0ead4f8d
KT
1232008-05-09 Kai Tietz <kai.tietz@onevision.com>
124
125 ld/PR6502
8944f3c2
AM
126 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
127 of long and change return type to bfd_vma.
0ead4f8d
KT
128 (definfo): Change type of address from long to bfd_vma.
129 (set_pep_value): Replace strtoul to strtoull.
130 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
8944f3c2
AM
131 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
132 ImageBase.
0ead4f8d
KT
133 (quick_reloc): Change argument address from int to bfd_size_type.
134
e7fc76dd
TT
1352008-05-08 Tom Tromey <tromey@redhat.com>
136
137 * ld.texinfo (PowerPC64 ELF64): Fix typo.
138
8374f9d4
AM
1392008-05-08 Alan Modra <amodra@bigpond.net.au>
140
141 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
142 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
143 sections at the start of ".data" and provide a symbol to locate
144 the directory of embedded spe programs.
145
8c0848b5
AM
1462008-05-08 Alan Modra <amodra@bigpond.net.au>
147
148 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
149 MAX_K.
150 (fold_binary <SEGMENT_START>): Set expld.result.section to
151 current section. Expand comment. Formatting.
152 (fold_name <DEFINED>): Set expld.result.section to current section.
153
a2cab753
NS
1542008-04-28 Nathan Sidwell <nathan@codesourcery.com>
155
156 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
157 non-load sections.
158
bec9537e
MF
1592008-04-25 Michael Frysinger <vapier@gentoo.org>
160
161 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
162 and targ_extra_emuls to elf32bfin.
163
6194aaab
L
1642008-04-23 Paolo Bonzini <bonzini@gnu.org>
165
166 * aclocal.m4: Regenerate.
167 * configure: Regenerate.
168
da6fa31a
KT
1692008-04-03 Kai Tietz <kai.tietz@onevision.com>
170
171 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
172
9be9d352
AM
1732008-04-08 Alan Modra <amodra@bigpond.net.au>
174
175 * po/POTFILES.in: Regenerate.
176
9dcc4794
AM
1772008-04-08 Alan Modra <amodra@bigpond.net.au>
178
179 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
180 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
181 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
182 (struct tflist, clean_tmp): Move.
183 (new_tmp_file): New function, extracted from..
184 (embedded_spu_file): ..here.
185 (spu_elf_open_overlay_script, spu_elf_relink): New function.
186 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
187 Warn on --auto-overlay and zero local store.
188 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
189 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
190 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
191 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
192 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
193 (PARSE_AND_LIST_OPTIONS): Likewise.
194 (PARSE_AND_LIST_ARGS_CASES): Likewise.
195 (LDEMUL_CHOOSE_TARGET): Define.
196
5f69259e
KT
1972008-04-03 Kai Tietz <kai.tietz@onevision.com>
198
199 PR ld/6026
200 * pe-dll.c (make_head): Fix iat and thunk addend offset.
201
95f0efb9
NC
2022008-03-31 Nick Clifton <nickc@redhat.com>
203
204 * po/fr.po: Updated French translation.
205
f36d5d55
ILT
2062008-03-24 Ian Lance Taylor <iant@google.com>
207
208 The sha1 code is now in libiberty.
209 * sha1.c: Remove.
210 * sha1.h: Remove.
211 * Makefile.am (CFILES): Remove sha1.c.
212 (HFILES): Remove sha1.h.
213 (OFILES): Remove sha1.o.
214 (ld_new_SOURCES): Remove sha1.c.
215 (sha1.o): Remove target.
216 * Makefile.in: Rebuild.
217
c65be8d7
AM
2182008-03-20 Alan Modra <amodra@bigpond.net.au>
219
220 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
221
58c85be7
RW
2222008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
223
224 * aclocal.m4: Regenerate.
225 * configure: Likewise.
226 * Makefile.in: Likewise.
227
771a9c5f
AM
2282008-03-14 Alan Modra <amodra@bigpond.net.au>
229
230 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
231 spu_elf_build_stubs with is_spu_target.
232
50e7d84b
AM
2332008-03-13 Alan Modra <amodra@bigpond.net.au>
234
235 * Makefile.am: Run "make dep-am".
236 * Makefile.in: Regenerate.
237 * configure: Regenerate.
238
9e448631
NC
2392008-03-06 Joseph Myers <joseph@codesourcery.com>
240 Roman Zippel <zippel@linux-m68k.org>
241
242 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
243 (COMMONPAGESIZE): Define.
244
07dfcf38
NC
2452008-02-22 Nick Clifton <nickc@redhat.com>
246
247 PR ld/5785
248 * ldlang.c (lang_size_sections_1): Honour the setting of an
249 lma_region even if there is no vma region set, or the vma region
250 is the same as the lma region.
251
b34c1498
NC
2522008-02-18 Nick Clifton <nickc@redhat.com>
253
254 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
255 relocatable link.
256 * scripttempl/elf32cr16.sc: Likewise.
257 * scripttempl/elf32cr16c.sc: Likewise.
258 * scripttempl/elf32crx.sc: Likewise.
259 * scripttempl/elf32sh-symbian.sc: Likewise.
260 * scripttempl/elf_chaos.sc: Likewise.
261 * scripttempl/elfd10v.sc: Likewise.
262 * scripttempl/elfi370.sc: Likewise.
263 * scripttempl/elfm68hc11.sc: Likewise.
264 * scripttempl/elfm68hc12.sc: Likewise.
265 * scripttempl/ip2k.sc: Likewise.
266 * scripttempl/iq2000.sc: Likewise.
267 * scripttempl/mep.sc: Likewise.
268 * scripttempl/v850.sc: Likewise.
269 * scripttempl/xstormy16.sc: Likewise.
270
819da74e
AM
2712008-02-16 Alan Modra <amodra@bigpond.net.au>
272
273 PR ld/5761
274 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
275 load_base before calling make_abs.
276
5503fea1
AM
2772008-02-15 Alan Modra <amodra@bigpond.net.au>
278
279 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
280 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
281 Likewise.
282 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
283 Likewise.
284 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
285 uses with..
286 (is_ppc_elf): ..this new macro.
287
f13a99db
AM
2882008-02-15 Alan Modra <amodra@bigpond.net.au>
289
290 * ldmain.h (output_bfd): Delete.
291 * ldmain.c (output_bfd): Delete.
292 Replace all occurrences of output_bfd with link_info.output_bfd.
293 * ldcref.c: Likewise.
294 * ldctor.c: Likewise.
295 * ldemul.c: Likewise.
296 * ldexp.c: Likewise.
297 * ldfile.c: Likewise.
298 * ldlang.c: Likewise.
299 * ldmisc.c: Likewise.
300 * ldwrite.c: Likewise.
301 * pe-dll.c: Likewise.
302 * emultempl/aix.em: Likewise.
303 * emultempl/alphaelf.em: Likewise.
304 * emultempl/armcoff.em: Likewise.
305 * emultempl/armelf.em: Likewise.
306 * emultempl/avrelf.em: Likewise.
307 * emultempl/beos.em: Likewise.
308 * emultempl/elf-generic.em: Likewise.
309 * emultempl/elf32.em: Likewise.
310 * emultempl/gld960.em: Likewise.
311 * emultempl/hppaelf.em: Likewise.
312 * emultempl/irix.em: Likewise.
313 * emultempl/linux.em: Likewise.
314 * emultempl/lnk960.em: Likewise.
315 * emultempl/m68hc1xelf.em: Likewise.
316 * emultempl/mmix-elfnmmo.em: Likewise.
317 * emultempl/mmo.em: Likewise.
318 * emultempl/pe.em: Likewise.
319 * emultempl/pep.em: Likewise.
320 * emultempl/ppc32elf.em: Likewise.
321 * emultempl/ppc64elf.em: Likewise.
322 * emultempl/scoreelf.em: Likewise.
323 * emultempl/sh64elf.em: Likewise.
324 * emultempl/spuelf.em: Likewise.
325 * emultempl/sunos.em: Likewise.
326 * emultempl/vanilla.em: Likewise.
327 * emultempl/vxworks.em: Likewise.
328 * emultempl/xtensaelf.em: Likewise.
329 * emultempl/z80.em: Likewise.
330 * ldlang.c (open_output): Don't return output, instead write
331 link_info_output_bfd directly.
332 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
333 with link_info.output_bfd->xvec.
334 * emultempl/hppaelf.em: Likewise.
335 * emultempl/ppc32elf.em: Likewise.
336 * emultempl/ppc64elf.em: Likewise.
337 * emultempl/spuelf.em: Likewise.
338
ff7a0acf
AM
3392008-02-07 Alan Modra <amodra@bigpond.net.au>
340
341 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
342 * ldfile.c (ldfile_add_library_path): Likewise.
343 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
344 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
345 * emultempl/spuelf.em (embedded_spu_file): Likewise.
346
2e444bea
AM
3472008-02-07 Alan Modra <amodra@bigpond.net.au>
348
349 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
350 a "present" bit rather than low bit of .buf. Correct indexing
351 into _ovly_buf_table. Use relative loads and stores to access
352 overlay manager local vars.
353 * emultempl/spu_ovl.o: Regenerate.
354
bb8541b9
L
3552008-02-04 H.J. Lu <hongjiu.lu@intel.com>
356
357 PR 5715
358 * configure: Regenerated.
359
f8a52b59
BW
3602008-01-31 Marc Gauthier <marc@tensilica.com>
361
362 * configure.tgt (xtensa*-*-*): Recognize processor variants.
363
00b2bfc1
NC
3642008-01-28 Fabian Groffen <grobian@gentoo.org>
365
366 * configure.tgt (x86_64-*-solaris2): Add support for this target.
367
6e73d595
NC
3682008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
369
370 PR ld/5652
371 * genscripts.sh: Check for the existence of BASH_LINENO not just
372 the BASH shell before generating line numbers in the emulation
373 file.
374
47f6dab9
AM
3752008-01-28 Alan Modra <amodra@bigpond.net.au>
376
377 * emultempl/spu_ovl.S: Rewrite.
378 * emultempl/spu_ovl.o: Regenerate.
379 * emultempl/spuelf.em (toe): Delete.
380 (spu_place_special_section): Add param to control section placement.
381 Adjust callers.
382 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
383 changes.
384 (spu_before_allocation): Adjust spu_elf_size_stubs call.
385 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
386
29183214
L
3872008-01-25 H.J. Lu <hongjiu.lu@intel.com>
388
389 PR ld/5670
390 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
391 warning.
392
53d25da6
AM
3932008-01-25 Alan Modra <amodra@bigpond.net.au>
394
395 * ld.texinfo (INSERT): Describe.
396 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
397 (INSERT_K, AFTER, BEFORE): Add as tokens.
398 (ifile_p1): Handle INSERT statements.
399 (saved_script_handle, force_make_executable): Move to..
400 * ldmain.c: ..here.
401 (previous_script_handle): New global var.
402 * ldmain.h (saved_script_handle, force_make_executable): Declare.
403 (previous_script_handle): Likewise.
404 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
405 * lexsup.c (parge_args <-T>): Set previous_script_handle.
406 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
407 (map_input_to_output_sections, print_statement): Likewise.
408 (lang_size_sections_1, lang_do_assignments_1): Likewise.
409 (insert_os_after): New function, extracted from..
410 (lang_insert_orphan): ..here.
411 (process_insert_statements): New function.
412 (lang_process): Call it.
413 (lang_add_insert): New function.
414 * ldlang.h (lang_insert_statement_enum): New.
415 (lang_insert_statement_type): New.
416 (lang_statement_union_type): Add insert_statement.
417 (lang_add_insert): Declare.
418
c19f06f2
BW
4192008-01-18 Bob Wilson <bob.wilson@acm.org>
420
421 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
422 changes from elf.sc.
8944f3c2 423
14ac84b4
AM
4242008-01-16 Alan Modra <amodra@bigpond.net.au>
425
426 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
427
3d00b095
AM
4282008-01-16 Alan Modra <amodra@bigpond.net.au>
429
430 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
431 (lang_afile_asection_pair_statement_type): Delete.
432 (lang_statement_union_type): Delete afile_asection_pair_statement.
433 * ldlang.c (lang_insert_orphan): Delete case handling the above.
434 (map_input_to_output_sections, print_statement): Likewise.
435
58da7b1b
KK
4362008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
437
438 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
439 with __data_start.
440 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
441
74f0fb50
AM
4422008-01-15 Alan Modra <amodra@bigpond.net.au>
443
444 PR 5604
445 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
446 syms to _bfd_elf_gc_keep.
447 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
448 ppc64_elf_edit_opd if no_opd_opt.
449
ac69cbc6
TG
4502008-01-11 Tristan Gingold <gingold@adacore.com>
451 Eric Botcazou <ebotcazou@adacore.com>
452
453 * ldlang.c (lang_end): Warns if the entry point is not found when
454 --gc-sections.
455 Emit an error if no root is specified when --gc-sections -r.
456 * ld.texinfo (Options): Document that --gc-sections is compatible
457 with -r and -q.
458 * ldmain.c (main): Do not error out if -r and --gc-sections.
459 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
460
71934f94
NC
4612008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
462
463 PR ld/5533
464 * ldlang.c (lang_end): Issue a warning for a missing start symbol
465 of a shared library if the symbol was specified on the command
466 line.
467
d5465ba2
AM
4682008-01-10 Alan Modra <amodra@bigpond.net.au>
469
470 * ld.texinfo (--gc-sections): Describe linker behaviour.
471
6c7ac64e 472For older changes see ChangeLog-2007
252b5132
RH
473\f
474Local Variables:
475mode: change-log
476left-margin: 8
477fill-column: 74
478version-control: never
479End:
This page took 0.436797 seconds and 4 git commands to generate.