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