* emultempl/cr16elf.em (cr16_after_open): New function to handle
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
2
3 * emultempl/cr16elf.em (cr16_after_open): New function to handle
4 CR16 ELF embedded reloc creation (ld --embedded-relocs).
5 (check_sections): New function.
6 (LDEMUL_AFTER_OPEN): Define.
7 * emulparams/elf32cr16.sh (EMBEDDED): Define.
8
9 2008-11-26 Alan Modra <amodra@bigpond.net.au>
10
11 PR 7047
12 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
13 for changes to struct bfd_elf_version_expr.
14 * ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
15 (version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
16 (lang_register_vers_node): Likewise.
17 (lang_new_vers_pattern): Likewise. Ensure "literal" is set when
18 no glob chars found in "pattern".
19 (realsymbol): Correct backslash quote logic.
20 * ld.texinfo (VERSION): Warn about global wildcards.
21
22 2008-11-24 Alan Modra <amodra@bigpond.net.au>
23
24 * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
25
26 2008-11-19 Nick Clifton <nickc@redhat.com>
27
28 * fdl.texi: Update to v1.3
29 * ld.texinfo: Change license to v1.3.
30
31 2008-11-17 Ulrich Weigand <uweigand@de.ibm.com>
32
33 * configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.
34
35 2008-11-17 Nick Clifton <nickc@redhat.com>
36
37 * ldver.c: Update copyright year.
38
39 2008-11-14 Kai Tietz <kai.tietz@onevision.com>
40
41 * emultempl/pep.em (..._before_parse): initialize
42 pei386_runtime_pseudo_reloc by version 2.
43 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
44 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
45 (make_import_fixup): Use relocation size to read addend.
46 * emultempl/pe.em (..._before_parse): initialize
47 pei386_runtime_pseudo_reloc by version 1.
48 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
49 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
50 * pe-dll.c (pe-dll.h): Remove useless include.
51 (make_runtime_pseudo_reloc): Change addend to use bfd_vma.
52 Handle the two variants of pseudo-relocation.
53 (pe_create_import_fixup): Change addend to type bfd_vma.
54 Modify for the two pseudo_relocation variants.
55 (runtime_pseudp_reloc_v2_init): New static variable.
56 * pe-dll.h (pe_create_import_fixup): Change addend argument type
57 to bfd_vma.
58 * pep-dll.h (pep_create_import_fixup): Likewise.
59 * NEWS: Add comment.
60
61 2008-11-14 Alan Modra <amodra@bigpond.net.au>
62
63 * Makefile.am (spu_ovl.o_c): Add missing line continuations.
64 * Makefile.in: Regenerate.
65
66 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
67
68 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
69
70 2008-11-03 Bob Wilson <bob.wilson@acm.org>
71
72 * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set.
73 * scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS)
74 (NON_ALLOC_DYN): Import changes from elf.sc.
75
76 2008-10-25 Nick Clifton <nickc@redhat.com>
77
78 PR 6945
79 * ldlang.c (lang_size_sections_1): Do not update the VMAs of
80 output sections when performing a relocatable link on COFF
81 objects.
82
83 2008-10-22 Nick Clifton <nickc@redhat.com>
84
85 * emultempl/armelf.em (arm_elf_after_open): Move check for using a
86 non-arm output target from here...
87 (arm_elf_create_output_section_statements): ... to here, so that
88 the check is made at the earliest possible opportunity.
89
90 2008-10-22 Alan Modra <amodra@bigpond.net.au>
91
92 * emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32".
93 (EXTRA_EM_FILE): Define.
94
95 2008-10-22 Alan Modra <amodra@bigpond.net.au>
96
97 * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN):
98 Handle these defines.
99 * emulparams/criself.sh, * emulparams/crislinux.sh,
100 * emulparams/elf32am33lin.sh, * emulparams/elf32fr30.sh,
101 * emulparams/elf32_i860.sh, * emulparams/elf32ip2k.sh,
102 * emulparams/elf32mcore.sh, * emulparams/elf32ppccommon.sh,
103 * emulparams/elf32ppcwindiss.sh, * emulparams/elf32_sparc.sh,
104 * emulparams/elf32_spu.sh, * emulparams/elf32vax.sh,
105 * emulparams/elf64alpha.sh, * emulparams/elf64mmix.sh,
106 * emulparams/elf64ppc.sh, * emulparams/elf64_s390.sh,
107 * emulparams/elf64_sparc.sh, * emulparams/elf_s390.sh,
108 * emulparams/elf_x86_64.sh, * emulparams/h8300elf.sh,
109 * emulparams/hppa64linux.sh, * emulparams/hppalinux.sh,
110 * emulparams/m68kelf.sh, * emulparams/mn10200.sh,
111 * emulparams/pjelf.sh, * emulparams/ppclynx.sh,
112 * emulparams/shelf32.sh, * emulparams/shelf_nto.sh,
113 * emulparams/shelf.sh, * emulparams/shelf_vxworks.sh,
114 * emulparams/shlelf32_linux.sh, * emulparams/shlelf_linux.sh,
115 * emulparams/shlelf_nto.sh (NO_REL_RELOCS): Set.
116 * emulparams/arcelf.sh, * emulparams/elf32_i960.sh,
117 * emulparams/elf32openrisc.sh, * emulparams/elf_i386_be.sh,
118 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386.sh,
119 * emulparams/elf_i386_vxworks.sh, * emulparams/i386lynx.sh,
120 * emulparams/i386moss.sh, * emulparams/i386nto.sh,
121 * emulparams/or32elf.sh, * emulparams/scoreelf.sh (NO_RELA_RELOCS): Set.
122
123 2008-10-22 Alan Modra <amodra@bigpond.net.au>
124
125 * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc
126 sections.
127 * emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc.
128 (hold): Likewise.
129 (gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans.
130
131 2008-10-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
132
133 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo in
134 help text of --be8.
135
136 2008-10-20 Alan Modra <amodra@bigpond.net.au>
137
138 * ldemul.h (ldemul_place_orphan): Update prototype.
139 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
140 * ldemul.c (ldemul_place_orphan): Return pointer to output
141 section statement.
142 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise.
143 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
144 * emultempl/mmo.em (mmo_place_orphan): Likewise.
145 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
146 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
147
148 2008-10-08 Nick Clifton <nickc@redhat.com>
149
150 * configure.in (ALL_LINGUAS): Add "id".
151 * configure: Regenerate.
152 * po/id.po: New Indonesian translation.
153
154 2008-10-05 Alan Modra <amodra@bigpond.net.au>
155
156 PR 6943
157 * scripttempl/avr.sc (.bss): Set lma when relocating.
158 (.bss, .noinit): No need to set vma when relocating.
159 (.text, .bss, ,noinit): Set vma to zero when not relocating.
160
161 2008-10-04 Alan Modra <amodra@bigpond.net.au>
162
163 PR 6931
164 * ldemul.c (ldemul_place_orphan): Add "constraint" param.
165 * ldemul.h (ldemul_place_orphan): Update prototype.
166 (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param.
167 * ldlang.c (unique_section_p): Make static.
168 (lang_output_section_statement_lookup): Optimise creation of SPECIAL
169 sections.
170 (lang_insert_orphan): Add "constraint" param. Pass to
171 lang_enter_output_section_statement.
172 (init_os): Don't use an existing bfd section for SPECIAL sections.
173 (lang_place_orphans): Don't rename unique output sections, instead
174 mark their output section statements SPECIAL.
175 * ldlang.h (lang_insert_orphan): Update prototype.
176 (unique_section_p): Delete.
177 * emultempl/beos.em (place_orphan): Add "constraint" param.
178 * emultempl/elf32.em (place_orphan): Likewise. Don't match existing
179 output sections if set.
180 * emultempl/pe.em (place_orphan): Likewise.
181 * emultempl/pep.em (place_orphan): Likewise.
182 * emultempl/mmo.em (mmo_place_orphan): Update.
183 * emultempl/spuelf.em (spu_place_special_section): Update.
184
185 2008-10-03 Alan Modra <amodra@bigpond.net.au>
186
187 PR 6931
188 * ldemul.c (ldemul_place_orphan): Add "name" param.
189 * ldemul.h (ldemul_place_orphan): Update prototype.
190 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
191 * ldlang.c (lang_place_orphans): Generate unique section names here..
192 * emultempl/elf32.em (place_orphan): ..rather than here. Don't
193 directly use an existing output section statement that has no
194 bfd section.
195 * emultempl/pe.em (place_orphan): Likewise.
196 * emultempl/pep.em (place_orphan): Likewise.
197 * emultempl/beos.em (place_orphan): Adjust.
198 * emultempl/spuelf.em (spu_place_special_section): Adjust
199 place_orphan call.
200 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
201 (LDEMUL_AFTER_OPEN): Define.
202
203 2008-09-30 Joseph Myers <joseph@codesourcery.com>
204
205 * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd
206 and .rela.branch_lt.
207
208 2008-09-30 Alan Modra <amodra@bigpond.net.au>
209
210 * Makefile.am: Run "make dep-am".
211 * Makefile.in: Regenerate.
212
213 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
214 Steve Ellcey <sje@cup.hp.com>
215
216 * configure: Regenerate for new libtool.
217 * aclocal.m4: Ditto.
218 * Makefile.in: Ditto.
219
220 2008-09-29 Kai Tietz <kai.tietz@onevision.com>
221
222 * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
223
224 2008-09-29 Nick Clifton <nickc@redhat.com>
225
226 * po/vi.po: Updated Vietnamese translation.
227
228 2008-09-25 Alan Modra <amodra@bigpond.net.au>
229
230 * ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
231
232 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
233
234 * configure.in: Call AC_SYS_LARGEFILE.
235 * config.in: Regenerate.
236 * configure: Regenerate.
237
238 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
239
240 * emultempl/pe.em (pe_find_data_imports): Add trailing newline
241 to warning message.
242 * emultempl/pep.em (pep_find_data_imports): Likewise.
243
244 2008-09-08 H.J. Lu <hongjiu.lu@intel.com>
245
246 2008-09-07 Alan Modra <amodra@bigpond.net.au>
247
248 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
249 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
250
251 2008-09-08 Tristan Gingold <gingold@adacore.com>
252
253 * NEWS: Add a marker for the 2.19 features.
254
255 2008-09-07 Alan Modra <amodra@bigpond.net.au>
256
257 * ldlang.h (lang_output_section_find): Define.
258 (lang_output_section_statement_lookup): Update prototype.
259 * ldlang.c (lang_output_section_find,
260 lang_output_section_statement_lookup_1): Merge into..
261 (lang_output_section_statement_lookup): ..here. Update all callers.
262 (process_insert_statements): Set constraint negative
263 for output section statements we might be inserting. Make error
264 fatal on not finding insertion section.
265 (lang_output_section_find): Rather than comparing
266 output_section_statement.constraint against -1, test whether
267 it is postive.
268 (lang_output_section_statement_lookup_1): Likewise.
269 (output_prev_sec_find, strip_excluded_output_sections): Likewise.
270 (lang_record_phdrs): Likewise.
271 * emultempl/elf32.em (output_rel_find): Likewise.
272 * NEWS: Mention INSERT.
273
274 2008-08-26 Nick Clifton <nickc@redhat.com>
275
276 PR 6727
277 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
278 input sections in all input bfds and always select the last
279 suitable one, so that interworking stubs are always processed
280 after all other input sections.
281 (arm_elf_before_allocation): Remove redundant use of
282 output_has_begun flag.
283
284 2008-08-24 Alan Modra <amodra@bigpond.net.au>
285
286 * configure.in: Update a number of obsolete autoconf macros.
287 * configure: Regenerate.
288 * aclocal.m4: Regenerate.
289
290 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 PR ld/6833
293 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
294 EXPLD.DATASEG.MIN_BASE.
295 * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename
296 OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
297 Use OLD_BASE now for the minimal base check after the base decrease by
298 the maximum alignment found.
299
300 2008-08-17 Alan Modra <amodra@bigpond.net.au>
301
302 PR 6478
303 * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
304 Don't free symbol pointer array.
305 (check_refs): Likewise.
306 * ldmain.c (warning_callback): Likewise.
307 * ldmisc.c (vfinfo): Likewise.
308 * pe-dll.c (process_def_file): Likewise.
309 (pe_walk_relocs_of_symbol, generate_reloc): Likewise.
310 * emultempl/pe.em (pe_find_data_imports): Likewise.
311 (gld_${EMULATION_NAME}_after_open): Likewise.
312 * emultempl/pep.em (pep_find_data_imports): Likewise.
313 (gld_${EMULATION_NAME}_after_open): Likewise.
314 * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
315 passive_position, closed.
316 * ldlang.c (new_afile): Don't set asymbols and symbol_count.
317 * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
318
319 2008-08-15 Alan Modra <amodra@bigpond.net.au>
320
321 PR 6526
322 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
323 * Makefile.in: Regenerate.
324 * aclocal.m4: Regenerate.
325 * config.in: Regenerate.
326 * configure: Regenerate.
327
328 2008-08-09 Alan Modra <amodra@bigpond.net.au>
329
330 PR 6753
331 * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
332 (main): Don't set_scripts_dir here.
333 * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
334 largely based on ldmain.c versions.
335 (ldfile_find_command_file): Set up search in script dir here without
336 affecting library search.
337 * Makefile.am (ldmain.o): No need to define SCRIPTDIR.
338 (ldfile.o): New rule.
339 * Makefile.in: Regenerate.
340
341 2008-08-08 Anatoly Sokolov <aesok@post.ru>
342
343 * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
344 and eavr51.o.
345 Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
346 * Makefile.in: Regenerate.
347 * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
348 and avr51.
349 * emulparams/avr25.sh: New file.
350 * emulparams/avr31.sh: New file.
351 * emulparams/avr35.sh: New file.
352 * emulparams/avr51.sh: New file.
353
354 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
355 Daniel Jacobowitz <dan@codesourcery.com>
356
357 * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
358 (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
359 two variables.
360 * emulparams/elf32bmipn32-defs.sh: Likewise.
361 * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
362 (is_mips_elf): New macro.
363 (stub_file, stub_bfd): New variables.
364 (hook_stub_info): New structure.
365 (hook_in_stub): New function.
366 (mips_add_stub_section): Likewise.
367 (mips_create_output_section_statements): Likewise.
368 (mips_before_allocation): Likewise.
369 (real_func): New variable.
370 (mips_for_each_input_file_wrapper): New function.
371 (mips_lang_for_each_input_file): Likewise.
372 (lang_for_each_input_file): Define.
373 (LDEMUL_BEFORE_ALLOCATION): Likewise.
374 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
375
376 2008-08-08 Alan Modra <amodra@bigpond.net.au>
377
378 * ldfile.c (ldfile_open_file_search): Use concat.
379 (try_open): Don't use a fixed size pathname buffer.
380 (ldfile_find_command_file): Likewise.
381 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
382 using EXTRA_SHLIB_EXTENSION, don't open twice.
383
384 2008-08-04 Alan Modra <amodra@bigpond.net.au>
385
386 * Makefile.am (POTFILES.in): Set LC_ALL=C.
387 * Makefile.in: Regenerate.
388 * po/POTFILES.in: Regenerate.
389
390 2008-08-03 Alan Modra <amodra@bigpond.net.au>
391
392 * Makefile.am (spu_ovl.o): Merge rule into..
393 (spu_ovl.o_c): ..this one. Only run cpp for spu target.
394 * Makefile.in: Regenerate.
395
396 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
397
398 Include the spu_ovl ASCII form in the repository files.
399 * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
400 * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
401 ($(srcdir)/emultempl/spu_ovl.o_c): New target.
402 ($(srcdir)/emultempl/spu_ovl.o): Rename to...
403 (spu_ovl.o): ...this one.
404 * Makefile.in: Regenerate.
405 * emultempl/spu_ovl.o_c: New file.
406 * emultempl/spu_ovl.o: File removed.
407
408 2008-07-31 Takashi Ono <t_ono@hkfreak.net>
409
410 * pe-dll.c (generate_relocs): Don't generate relocs for
411 undefined weak symbols.
412
413 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
416
417 2008-07-30 Alan Modra <amodra@bigpond.net.au>
418
419 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
420
421 2008-07-18 Joseph Myers <joseph@codesourcery.com>
422
423 * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
424 * emultempl/armelf.em (no_wchar_size_warning): New.
425 (arm_elf_create_output_section_statements): Pass
426 no_wchar_size_warning to arm_elf_create_output_section_statements.
427 (OPTION_NO_WCHAR_SIZE_WARNING): New.
428 (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
429 (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
430 (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
431
432 2008-07-15 Jie Zhang <jie.zhang@analog.com>
433
434 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
435
436 2008-07-12 Craig Silverstein <csilvers@google.com>
437
438 PR ld/6741
439 * configure.in: Check for, and include, libz.a if it is present.
440 * configure: Regenerate.
441 * config.in: Regenerate.
442
443 2008-07-12 Jie Zhang <jie.zhang@analog.com>
444
445 Revert
446 2008-07-12 Jie Zhang <jie.zhang@analog.com>
447 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
448 (eelf32bfinfd.c): Likewise.
449 * Makefile.in: Regenerate.
450 * gen-doc.texi: Set Blackfin.
451 * ld.texinfo: Document --sep-code and Blackfin specific
452 options.
453 * ldmain.c (main): Initialize link_info.sep_code.
454 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
455 (ld_options[]): Add --sep-code.
456 (parse_args): Deal with --sep-code.
457 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
458 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
459 * emultempl/bfin.em: New file.
460
461 2008-07-12 Jie Zhang <jie.zhang@analog.com>
462
463 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
464 (eelf32bfinfd.c): Likewise.
465 * Makefile.in: Regenerate.
466 * gen-doc.texi: Set Blackfin.
467 * ld.texinfo: Document --sep-code and Blackfin specific
468 options.
469 * ldmain.c (main): Initialize link_info.sep_code.
470 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
471 (ld_options[]): Add --sep-code.
472 (parse_args): Deal with --sep-code.
473 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
474 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
475 * emultempl/bfin.em: New file.
476
477 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
478
479 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
480 starting with ".".
481 Exclude "_IMPORT_DESCRIPTOR_".
482 (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
483 (autofilter_symbollist_generic): Don't check for ".text".
484 Exclude "_NULL_IMPORT_DESCRIPTOR".
485 (autofilter_symbollist_i386): Likewise.
486
487 2008-07-07 Alan Modra <amodra@bigpond.net.au>
488
489 * emultempl/armelf.em (elf32_arm_add_stub_section): Use
490 bfd_make_section_with_flags.
491 * emultempl/avrelf.em (avr_elf_create_output_section_statements):
492 Likewise.
493 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
494 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
495 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
496 * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
497 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
498 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
499 Likewise.
500
501 2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
502
503 * ld.texinfo (File Commands): Document that INCLUDE can be used in
504 several different places.
505 * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
506 (memory, memory_spec_list): Simplify BNF
507 (memory_spec_list_opt): New rule.
508 * ldlex.l (INCLUDE): Recognize in EXPRESSION.
509
510 2008-06-20 Alan Modra <amodra@bigpond.net.au>
511
512 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
513 build overlay stubs" a fatal error.
514
515 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
516
517 * config.in: Regenerate.
518 * configure: Regenerate.
519
520 2008-06-17 Alan Modra <amodra@bigpond.net.au>
521
522 * emultempl/spuelf.em (extra_stack_space): New variable.
523 (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
524 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
525 PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
526 * emultempl/spu_ovl.S: Mask interrupts during dma and update of
527 overlay manager structures.
528 * emultempl/spu_ovl.o: Regenerate.
529
530 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
531
532 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
533 mention it as being special for global symbols.
534
535 2008-06-12 Nick Clifton <nickc@redhat.com>
536
537 * ldlang.c (print_output_section_statement): If the output section
538 statement has an update_dot_tree expression, apply it to
539 print_dot.
540 (print_input_section): Do not update print_dot if it would move
541 print_dot backwards.
542 (lang_do_assignments_1): If the output section statement has an
543 update_dot_tree expression apply it to dot.
544
545 2008-06-07 Alan Modra <amodra@bigpond.net.au>
546
547 * NEWS: Mention archive:path patterns.
548 * ld.texinfo: Likewise.
549 * ldlang.c: Formatting throughout.
550 (archive_path): Only assume "[A-Za-z]:" is a dos drive.
551 (input_statement_is_archive_path): New function, extracted from..
552 (walk_wild): ..here.
553 (walk_wild_consider_section): Match archive:path here too.
554 (init_map_userdata, sort_def_symbol): Convert to ISO C.
555 * ldmain.c (main): Set link_info.path_separator.
556 * emultempl/spuelf.em (choose_target): Don't set it here.
557
558 2008-06-06 Alan Modra <amodra@bigpond.net.au>
559
560 * ldlang.c (name_match): New function.
561 (unique_section_p, walk_wild_consider_section): Use it here.
562 (walk_wild_section_general): And here.
563 (archive_path): New function.
564 (walk_wild): Match archive:path filespecs.
565 (open_input_bfds): Don't load archive:path files.
566 * emultempl/spuelf.em (choose_target): Set path_separator.
567 * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
568
569 2008-06-04 Nick Clifton <nickc@redhat.com>
570
571 * ld.texinfo (Orphan Sections): Fix texi typo.
572
573 2008-06-04 Chris Metcalf <cmetcalf@tilera.com>
574
575 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
576 (ld_options): Add entry for --no-fatal-warnings.
577 (parse_args): Handle OPTION_NO_WARN_FATAL.
578 * ld.texinfo (Options): Document new command line switch.
579
580 2008-06-04 Alan Modra <amodra@bigpond.net.au>
581
582 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
583
584 2008-06-02 Nathan Sidwell <nathan@codesourcery.com>
585
586 * ldlang.c (closest_target_match): Skip generic big and little
587 endian ELF targets.
588
589 2008-05-31 Evandro Menezes <evandro@yahoo.com>
590
591 PR ld/6430
592 * ld.h (enum sort_order): New.
593 * ldlang.c (lang_check: Fix comment.
594 (lang_common): Sort commons in ascending or descending order.
595 (lang_one_common): Likewise.
596 * lexsup.c (ld_options): Have --sort-common take an option
597 argument.
598 (parse_args): Handle argument to --sort-common.
599 * ld.texinfo (--sort-common): Document new optional argument.
600 * NEWS: Mention new feature.
601
602 2008-05-28 Christophe Lyon <christophe.lyon@st.com>
603
604 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
605 only.
606
607 2008-05-27 Kai Tietz <kai.tietz@onevision.com>
608
609 * pe-dll.c (fill_edata): Make sure we calculate vma's in
610 type bfd_vma.
611 (generate_reloc): Likewise.
612 (pe_implied_import_dll): Likewise.
613
614 2008-05-21 Nick Clifton <nickc@redhat.com>
615
616 PR ld/6519
617 * ld.texinfo (Orphan Sections): Mention that the linker will
618 provide start and stop symbols for orphaned sections if their
619 names are valid C identifiers.
620 * NEWS: Add an addendum to the description of the linker feature
621 for providing orphan section start and end symbols.
622
623 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
624
625 * configure.in (--enable-got): New option. Handle it.
626 * configure: Regenerate.
627 * config.in: Regenerate.
628 * emultempl/m68kelf.em: (got_handling_target_default): New shell
629 variable.
630 (GOT_HANDLING_TARGET_DEFAULT): New macro.
631 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
632 option if one was given.
633 (got_handling): New static variable.
634 (elf_m68k_create_output_section_statements): New static function
635 implementing hook.
636 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
637 (OPTION_GOT): New macro.
638 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
639 --got option.
640 (got): New linker option.
641 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
642 for --got option.
643 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
644 option.
645 * ld.texinfo: Document --got=<type> option.
646 * gen-doc.texi: Add M68K.
647 * NEWS: Mention the new feature.
648
649 2008-05-21 Evandro Menezes <evandro@yahoo.com>
650
651 PR ld/6430
652 * ld.texinfo (--sort-common): Correct documentation to indicate
653 that sorting is performed by alignment, not size, biggest
654 alignment first.
655
656 2008-05-21 Christophe Lyon <christophe.lyon@st.com>
657 Nick Clifton <nickc@redhat.com>
658
659 * ld.texinfo (ARM): Document --stub-group-size=N option.
660 Move description of --pic-veneer option into the ARM section.
661 * NEWS: Mention the support for long function calls.
662
663 2008-05-15 Christophe Lyon <christophe.lyon@st.com>
664
665 * emultempl/armelf.em (build_section_lists): New function.
666 (stub_file): Define.
667 (need_laying_out): Define.
668 (group_size): Define.
669 (hook_stub_info): Define.
670 (hook_in_stub): New function.
671 (elf32_arm_add_stub_section): New function.
672 (gldarm_layout_sections_again): New function.
673 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
674 stubs for long calls if needed.
675 (arm_elf_create_output_section_statements): create stub_file bfd.
676 (arm_for_each_input_file_wrapper): New function.
677 (arm_lang_for_each_input_file): New function.
678 (lang_for_each_input_file): Define.
679 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
680 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
681 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
682 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
683 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
684 * lang.c (print_input_statement): Skip if bfd has
685 BFD_LINKER_CREATED.
686
687 2008-05-14 Alan Modra <amodra@bigpond.net.au>
688
689 * Makefile.in: Regenerate.
690
691 2008-05-09 Kai Tietz <kai.tietz@onevision.com>
692
693 ld/PR6502
694 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
695 of long and change return type to bfd_vma.
696 (definfo): Change type of address from long to bfd_vma.
697 (set_pep_value): Replace strtoul to strtoull.
698 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
699 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
700 ImageBase.
701 (quick_reloc): Change argument address from int to bfd_size_type.
702
703 2008-05-08 Tom Tromey <tromey@redhat.com>
704
705 * ld.texinfo (PowerPC64 ELF64): Fix typo.
706
707 2008-05-08 Alan Modra <amodra@bigpond.net.au>
708
709 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
710 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
711 sections at the start of ".data" and provide a symbol to locate
712 the directory of embedded spe programs.
713
714 2008-05-08 Alan Modra <amodra@bigpond.net.au>
715
716 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
717 MAX_K.
718 (fold_binary <SEGMENT_START>): Set expld.result.section to
719 current section. Expand comment. Formatting.
720 (fold_name <DEFINED>): Set expld.result.section to current section.
721
722 2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
723
724 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
725 non-load sections.
726
727 2008-04-25 Michael Frysinger <vapier@gentoo.org>
728
729 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
730 and targ_extra_emuls to elf32bfin.
731
732 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
733
734 * aclocal.m4: Regenerate.
735 * configure: Regenerate.
736
737 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
738
739 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
740
741 2008-04-08 Alan Modra <amodra@bigpond.net.au>
742
743 * po/POTFILES.in: Regenerate.
744
745 2008-04-08 Alan Modra <amodra@bigpond.net.au>
746
747 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
748 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
749 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
750 (struct tflist, clean_tmp): Move.
751 (new_tmp_file): New function, extracted from..
752 (embedded_spu_file): ..here.
753 (spu_elf_open_overlay_script, spu_elf_relink): New function.
754 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
755 Warn on --auto-overlay and zero local store.
756 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
757 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
758 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
759 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
760 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
761 (PARSE_AND_LIST_OPTIONS): Likewise.
762 (PARSE_AND_LIST_ARGS_CASES): Likewise.
763 (LDEMUL_CHOOSE_TARGET): Define.
764
765 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
766
767 PR ld/6026
768 * pe-dll.c (make_head): Fix iat and thunk addend offset.
769
770 2008-03-31 Nick Clifton <nickc@redhat.com>
771
772 * po/fr.po: Updated French translation.
773
774 2008-03-24 Ian Lance Taylor <iant@google.com>
775
776 The sha1 code is now in libiberty.
777 * sha1.c: Remove.
778 * sha1.h: Remove.
779 * Makefile.am (CFILES): Remove sha1.c.
780 (HFILES): Remove sha1.h.
781 (OFILES): Remove sha1.o.
782 (ld_new_SOURCES): Remove sha1.c.
783 (sha1.o): Remove target.
784 * Makefile.in: Rebuild.
785
786 2008-03-20 Alan Modra <amodra@bigpond.net.au>
787
788 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
789
790 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
791
792 * aclocal.m4: Regenerate.
793 * configure: Likewise.
794 * Makefile.in: Likewise.
795
796 2008-03-14 Alan Modra <amodra@bigpond.net.au>
797
798 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
799 spu_elf_build_stubs with is_spu_target.
800
801 2008-03-13 Alan Modra <amodra@bigpond.net.au>
802
803 * Makefile.am: Run "make dep-am".
804 * Makefile.in: Regenerate.
805 * configure: Regenerate.
806
807 2008-03-06 Joseph Myers <joseph@codesourcery.com>
808 Roman Zippel <zippel@linux-m68k.org>
809
810 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
811 (COMMONPAGESIZE): Define.
812
813 2008-02-22 Nick Clifton <nickc@redhat.com>
814
815 PR ld/5785
816 * ldlang.c (lang_size_sections_1): Honour the setting of an
817 lma_region even if there is no vma region set, or the vma region
818 is the same as the lma region.
819
820 2008-02-18 Nick Clifton <nickc@redhat.com>
821
822 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
823 relocatable link.
824 * scripttempl/elf32cr16.sc: Likewise.
825 * scripttempl/elf32cr16c.sc: Likewise.
826 * scripttempl/elf32crx.sc: Likewise.
827 * scripttempl/elf32sh-symbian.sc: Likewise.
828 * scripttempl/elf_chaos.sc: Likewise.
829 * scripttempl/elfd10v.sc: Likewise.
830 * scripttempl/elfi370.sc: Likewise.
831 * scripttempl/elfm68hc11.sc: Likewise.
832 * scripttempl/elfm68hc12.sc: Likewise.
833 * scripttempl/ip2k.sc: Likewise.
834 * scripttempl/iq2000.sc: Likewise.
835 * scripttempl/mep.sc: Likewise.
836 * scripttempl/v850.sc: Likewise.
837 * scripttempl/xstormy16.sc: Likewise.
838
839 2008-02-16 Alan Modra <amodra@bigpond.net.au>
840
841 PR ld/5761
842 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
843 load_base before calling make_abs.
844
845 2008-02-15 Alan Modra <amodra@bigpond.net.au>
846
847 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
848 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
849 Likewise.
850 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
851 Likewise.
852 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
853 uses with..
854 (is_ppc_elf): ..this new macro.
855
856 2008-02-15 Alan Modra <amodra@bigpond.net.au>
857
858 * ldmain.h (output_bfd): Delete.
859 * ldmain.c (output_bfd): Delete.
860 Replace all occurrences of output_bfd with link_info.output_bfd.
861 * ldcref.c: Likewise.
862 * ldctor.c: Likewise.
863 * ldemul.c: Likewise.
864 * ldexp.c: Likewise.
865 * ldfile.c: Likewise.
866 * ldlang.c: Likewise.
867 * ldmisc.c: Likewise.
868 * ldwrite.c: Likewise.
869 * pe-dll.c: Likewise.
870 * emultempl/aix.em: Likewise.
871 * emultempl/alphaelf.em: Likewise.
872 * emultempl/armcoff.em: Likewise.
873 * emultempl/armelf.em: Likewise.
874 * emultempl/avrelf.em: Likewise.
875 * emultempl/beos.em: Likewise.
876 * emultempl/elf-generic.em: Likewise.
877 * emultempl/elf32.em: Likewise.
878 * emultempl/gld960.em: Likewise.
879 * emultempl/hppaelf.em: Likewise.
880 * emultempl/irix.em: Likewise.
881 * emultempl/linux.em: Likewise.
882 * emultempl/lnk960.em: Likewise.
883 * emultempl/m68hc1xelf.em: Likewise.
884 * emultempl/mmix-elfnmmo.em: Likewise.
885 * emultempl/mmo.em: Likewise.
886 * emultempl/pe.em: Likewise.
887 * emultempl/pep.em: Likewise.
888 * emultempl/ppc32elf.em: Likewise.
889 * emultempl/ppc64elf.em: Likewise.
890 * emultempl/scoreelf.em: Likewise.
891 * emultempl/sh64elf.em: Likewise.
892 * emultempl/spuelf.em: Likewise.
893 * emultempl/sunos.em: Likewise.
894 * emultempl/vanilla.em: Likewise.
895 * emultempl/vxworks.em: Likewise.
896 * emultempl/xtensaelf.em: Likewise.
897 * emultempl/z80.em: Likewise.
898 * ldlang.c (open_output): Don't return output, instead write
899 link_info_output_bfd directly.
900 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
901 with link_info.output_bfd->xvec.
902 * emultempl/hppaelf.em: Likewise.
903 * emultempl/ppc32elf.em: Likewise.
904 * emultempl/ppc64elf.em: Likewise.
905 * emultempl/spuelf.em: Likewise.
906
907 2008-02-07 Alan Modra <amodra@bigpond.net.au>
908
909 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
910 * ldfile.c (ldfile_add_library_path): Likewise.
911 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
912 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
913 * emultempl/spuelf.em (embedded_spu_file): Likewise.
914
915 2008-02-07 Alan Modra <amodra@bigpond.net.au>
916
917 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
918 a "present" bit rather than low bit of .buf. Correct indexing
919 into _ovly_buf_table. Use relative loads and stores to access
920 overlay manager local vars.
921 * emultempl/spu_ovl.o: Regenerate.
922
923 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
924
925 PR 5715
926 * configure: Regenerated.
927
928 2008-01-31 Marc Gauthier <marc@tensilica.com>
929
930 * configure.tgt (xtensa*-*-*): Recognize processor variants.
931
932 2008-01-28 Fabian Groffen <grobian@gentoo.org>
933
934 * configure.tgt (x86_64-*-solaris2): Add support for this target.
935
936 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
937
938 PR ld/5652
939 * genscripts.sh: Check for the existence of BASH_LINENO not just
940 the BASH shell before generating line numbers in the emulation
941 file.
942
943 2008-01-28 Alan Modra <amodra@bigpond.net.au>
944
945 * emultempl/spu_ovl.S: Rewrite.
946 * emultempl/spu_ovl.o: Regenerate.
947 * emultempl/spuelf.em (toe): Delete.
948 (spu_place_special_section): Add param to control section placement.
949 Adjust callers.
950 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
951 changes.
952 (spu_before_allocation): Adjust spu_elf_size_stubs call.
953 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
954
955 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
956
957 PR ld/5670
958 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
959 warning.
960
961 2008-01-25 Alan Modra <amodra@bigpond.net.au>
962
963 * ld.texinfo (INSERT): Describe.
964 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
965 (INSERT_K, AFTER, BEFORE): Add as tokens.
966 (ifile_p1): Handle INSERT statements.
967 (saved_script_handle, force_make_executable): Move to..
968 * ldmain.c: ..here.
969 (previous_script_handle): New global var.
970 * ldmain.h (saved_script_handle, force_make_executable): Declare.
971 (previous_script_handle): Likewise.
972 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
973 * lexsup.c (parge_args <-T>): Set previous_script_handle.
974 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
975 (map_input_to_output_sections, print_statement): Likewise.
976 (lang_size_sections_1, lang_do_assignments_1): Likewise.
977 (insert_os_after): New function, extracted from..
978 (lang_insert_orphan): ..here.
979 (process_insert_statements): New function.
980 (lang_process): Call it.
981 (lang_add_insert): New function.
982 * ldlang.h (lang_insert_statement_enum): New.
983 (lang_insert_statement_type): New.
984 (lang_statement_union_type): Add insert_statement.
985 (lang_add_insert): Declare.
986
987 2008-01-18 Bob Wilson <bob.wilson@acm.org>
988
989 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
990 changes from elf.sc.
991
992 2008-01-16 Alan Modra <amodra@bigpond.net.au>
993
994 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
995
996 2008-01-16 Alan Modra <amodra@bigpond.net.au>
997
998 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
999 (lang_afile_asection_pair_statement_type): Delete.
1000 (lang_statement_union_type): Delete afile_asection_pair_statement.
1001 * ldlang.c (lang_insert_orphan): Delete case handling the above.
1002 (map_input_to_output_sections, print_statement): Likewise.
1003
1004 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1005
1006 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
1007 with __data_start.
1008 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
1009
1010 2008-01-15 Alan Modra <amodra@bigpond.net.au>
1011
1012 PR 5604
1013 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
1014 syms to _bfd_elf_gc_keep.
1015 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
1016 ppc64_elf_edit_opd if no_opd_opt.
1017
1018 2008-01-11 Tristan Gingold <gingold@adacore.com>
1019 Eric Botcazou <ebotcazou@adacore.com>
1020
1021 * ldlang.c (lang_end): Warns if the entry point is not found when
1022 --gc-sections.
1023 Emit an error if no root is specified when --gc-sections -r.
1024 * ld.texinfo (Options): Document that --gc-sections is compatible
1025 with -r and -q.
1026 * ldmain.c (main): Do not error out if -r and --gc-sections.
1027 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
1028
1029 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
1030
1031 PR ld/5533
1032 * ldlang.c (lang_end): Issue a warning for a missing start symbol
1033 of a shared library if the symbol was specified on the command
1034 line.
1035
1036 2008-01-10 Alan Modra <amodra@bigpond.net.au>
1037
1038 * ld.texinfo (--gc-sections): Describe linker behaviour.
1039
1040 For older changes see ChangeLog-2007
1041 \f
1042 Local Variables:
1043 mode: change-log
1044 left-margin: 8
1045 fill-column: 74
1046 version-control: never
1047 End:
This page took 0.066142 seconds and 5 git commands to generate.