Adjust target test.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
40cf2291
AM
12006-08-28 Alan Modra <amodra@bigpond.net.au>
2
3 * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
4 not match random object files in a path containing "crtbegin" or
5 "crtend" as part of a directory name.
6 * scripttempl/armbpabi.sc: Likewise.
7 * scripttempl/crisaout.sc: Likewise.
8 * scripttempl/elf32crx.sc: Likewise.
9 * scripttempl/elf32sh-symbian.sc: Likewise.
10 * scripttempl/elf_chaos.sc: Likewise.
11 * scripttempl/elfd10v.sc: Likewise.
12 * scripttempl/elfd30v.sc: Likewise.
13 * scripttempl/elfxtensa.sc: Likewise.
14 * scripttempl/iq2000.sc: Likewise.
15 * scripttempl/mmo.sc: Likewise.
16 * scripttempl/xstormy16.sc: Likewise.
17
74869ac7
BW
182006-08-24 Bob Wilson <bob.wilson@acm.org>
19
20 * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
21 * scripttempl/elfxtensa.sc (.text): Add .literal.*.
22
85852e36
NC
232006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
24
25 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
26 Adjust the current address of DEFAULT_MEMORY_REGION even
27 when dot hasn't changed.
28
3e23777d
AM
292006-08-23 Alan Modra <amodra@bigpond.net.au>
30
31 * ldexp.c (fold_name <LOADADDR>): Return an absolute value
32 rather than a section relative value.
33
dc0b6aa0
AM
342006-08-22 Alan Modra <amodra@bigpond.net.au>
35
36 * NEWS: Mention LMA default change.
37 * ld.texinfo (Output Section LMA): Update default description.
38 (Location Counter): Clarify backward movement.
39 * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
40 default lma equal to vma. Warn on backward movement of dot.
41
57da97f5
NC
422006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
43
44 * configure.tgt: Set targ_emul to arm_wince_pe for ARM
45 Windows CE targets.
46
7148cc28
NC
472006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
48
49 * Makefile.am: Split arm-wince into its own emulation.
50 * Makefile.in: Regenerate.
7148cc28
NC
51 * pe-dll.c : Define PE_ARCH_arm_wince.
52 (pe_detail_list): Add PE_ARCH_arm_wince case.
53 (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
54 * emulparams/arm_wince_pe.sh: New file.
55 * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
56 Remap bfd_arm_allocate_interworking_sections,
57 bfd_arm_get_bfd_for_interworking and
58 bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
59 targets too.
60 (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
61 arm-epoc bfd format names.
62
a4fd1a8e
PB
632006-08-18 Paul Brook <paul@codesourcery.com>
64
65 * emultempl/armelf.em (arm_elf_before_allocation): Call
66 gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
67
19b3b564
CF
682006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
69
70 * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
71 (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
72 and to not skipping .idata* sections.
73
cde9e0be
AM
742006-08-16 Alan Modra <amodra@bigpond.net.au>
75
76 PR 3052
77 * ldlang.h (lang_output_section_statement_type): Replace
78 "processed" field with "processed_vma" and "processed_lma".
79 * ldlang.c (lang_do_assignments_1): Move lma setting code..
80 (lang_size_sections_1): ..to here.
81 (lang_reset_memory_regions): Adjust for
82 lang_output_section_statement_type change.
83 * ldexp.c (fold_name): Likewise.
84
50571e46
MF
852006-08-08 Peter S. Mazinger <ps.m@gmx.net>
86
87 * emulparams/armelf.sh (MAXPAGESIZE): Changed to
88 "CONSTANT (MAXPAGESIZE)".
89
e6f2cbf5
L
902006-08-08 H.J. Lu <hongjiu.lu@intel.com>
91
92 PR ld/3006
93 * ldlang.c (lang_section_bst_type): Moved to ...
94 * ldlang.h: Here.
95
96 * ldlang.h (lang_wild_statement_struct): Add a tree field.
97
98 * ldlang.c (wild_sort_fast): Use the tree field for BST.
99 (wild): Likeise.
100 (analyze_walk_wild_section_handler): Initialize the tree field.
101
0d0999db
L
1022006-08-08 H.J. Lu <hongjiu.lu@intel.com>
103
104 PR ld/3009
105 * ldlang.c (update_wild_statements): Update the whole wild
106 section list.
107
a817dba3 1082006-08-04 Nick Clifton <nickc@redhat.com>
9d13c143 109 Mike Frysinger <michael.frysinger@analog.com>
a817dba3
MF
110
111 * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
112 (__preinit_array_start, __preinit_array_end, __init_array_start,
113 __init_array_end, __fini_array_start, __fini_array_end, edata, end):
114 Use ${USER_LABEL_PREFIX}.
115 * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
116 (USER_LABEL_PREFIX): Set.
117
c17d87de
NC
1182006-08-04 Marcelo Tosatti <marcelo@kvack.org>
119
120 * ldmain.c (main): Initialise print_gc_sections field of link_info
121 structure.
122 * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
123 switches.
124 * ld.texinfo: Document new switches.
125 * NEWS: Mention new switches.
126
55e6e397
RS
1272006-08-04 Richard Sandiford <richard@codesourcery.com>
128 Kazu Hirata <kazu@codesourcery.com>
129 Phil Edwards <phil@codesourcery.com>
130
131 * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
132 eshlelf_vxworks.o.
133 (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
134 * Makefile.in: Regenerate.
135 * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
136 shlelf_vxworks.
137 * emulparams/shelf_vxworks.sh: New file.
138 * emulparams/shlelf_vxworks.sh: Likewise.
139 * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
140 (OTHER_END_SYMBOLS): Likewise _ehdr.
141 (DATA_END_SYMBOLS): Likewise _edata.
142 * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
143 is indeed an ELF file before dealing with --force-dynamic.
144
9d7cbccd
NC
1452006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
146
147 PR binutils/2983
148 * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
149 elf64-x86-64-freebsd.
150
12d814e1
L
1512006-08-01 H.J. Lu <hongjiu.lu@intel.com>
152
153 * ldlang.c (init_os): Add flags. Replace bfd_make_section with
154 bfd_make_section_with_flags.
155 (exp_init_os): Updated.
156 (lang_add_section): Call init_os with flags.
157 (map_input_to_output_sections): Likewise.
158
73934d31
RS
1592006-07-29 Richard Sandiford <richard@codesourcery.com>
160
161 * Makefile.am (eelf32b4300.c): Update dependencies.
162 (eelf32bmip.c): Likewise.
163 (eelf32bsmip.c): Likewise.
164 (eelf32btsmip.c): Likewise.
165 (eelf32btsmipn32.c): Likewise.
166 (eelf32ltsmip.c): Likewise.
167 (eelf32ltsmipn32.c): Likewise.
168 (eelf32ebmip.c): Likewise.
169 (eelf32ebmipvxworks.c): Likewise.
170 (eelf32elmip.c): Likewise.
171 (eelf32elmipvxworks.c): Likewise.
172 (eelf32bmipn32.c): Likewise.
173 (eelf32lmip.c): Likewise.
174 (eelf32mipswindiss.c): Likewise.
175 (eelf32lsmip.c): Likewise.
176 (eelf64bmip.c): Likewise.
177 (eelf64btsmip.c): Likewise.
178 (eelf64ltsmip.c): Likewise.
179 (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
180 (emipsbsd.c): Likewise.
181 (emipsidt.c): Update dependencies.
182 (emipsidtl.c): Likewise.
183 (emipslit.c): Likewise.
184 (emipslnews.c): Likewise.
185 (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
186 * Makefile.in: Regenerate.
187 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
188 * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
189 * emultempl/irix.em: Include emultempl/mipself.em.
190 * emultempl/mipself.em: New file.
191
00bb149b
AM
1922006-07-26 Alan Modra <amodra@bigpond.net.au>
193
194 * emultempl/elf-generic.em (map_segments): Reorganise loop so that
195 layout happens before segment map. Don't do segment map on
196 relocatable link.
197
329c1c86
AM
1982006-07-26 Alan Modra <amodra@bigpond.net.au>
199
66e28d60
AM
200 * ldexp.c (fold_name <LOADADDR>): Use the lma.
201 * ldlang.h (lang_memory_region_type): Delete old_length. Add
202 last_os.
203 * ldlang.c (lang_memory_region_lookup): Init new field.
204 (lang_reset_memory_regions): Reset new field.
205 (lang_insert_orphan): Don't set load_base.
206 (lang_leave_overlay): Likewise.
207 (lang_size_sections_1): Delete unnecessary code setting lma_region
208 to region. Correct lma region check.
209 (lang_do_assignments_1): Rename output_section_statement parm
210 to current_os. Set lma from previous section in region.
211
329c1c86
AM
212 * ldlang.c: Formatting.
213
b2f28975
BW
2142006-07-25 Bob Wilson <bob.wilson@acm.org>
215
216 * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
217 Set discarded section's output_section to bfd_abs_section_ptr.
218
7544697a
AM
2192006-07-26 Alan Modra <amodra@bigpond.net.au>
220
221 * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
222 earlier.
223
644143c8
BW
2242006-07-24 Bob Wilson <bob.wilson@acm.org>
225
226 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
227 in dep_sec_name for null terminator. Make sure dep_sec_name has a
228 ".t" linkonce tag.
229
ff15b240
NC
2302006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
231
232 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
233 Set for *-*-solaris2*.
234
b45619c0
NC
2352006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
236
237 * ld.texinfo: Fix spelling mistakes.
238 * ldint.texinfo: Likewise.
239
50c77e5d
NC
2402006-07-23 Sonal Santan <sonal.santan@xilinx.com>
241
242 * ldlang.c (lang_section_bst): New structure for sorting sections
243 by name.
244 (wild_sort_fast): New function: Insert a section into a binary
245 search tree.
246 (output_section_callback_fast): New function: Store a section in
247 BST.
248 (output_section_callback_tree_to_list): New function: Convert a
249 BST into a list.
250 (analyze_walk_wild_section_handler): Initialize handler_data
251 elements.
252 (wild): If the data is sorted by name use the BST method to sort
253 the names.
254
5061a885
AM
2552006-07-19 Alan Modra <amodra@bigpond.net.au>
256
257 * ld.h (handle_asneeded_cref): Declare.
258 * ldcref.c: Include objalloc.h.
259 (old_table, old_count, old_tab, alloc_mark): New variables.
260 (tabsize, entsize, refsize, old_symcount): Likewise.
261 (add_cref): Use bfd_hash_allocate for refs.
262 (handle_asneeded_cref): New function.
263 * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
264
d19628a5
DJ
2652006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
266
267 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
268 typo setting targ_extra_libpath.
269
fdc90cb4
JJ
2702006-07-10 Jakub Jelinek <jakub@redhat.com>
271
272 * scripttempl/elf.sc: Add .gnu.hash section.
273 * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
274 (gld${EMULATION_NAME}_add_options): Register --hash-style option.
275 (gld${EMULATION_NAME}_handle_option): Handle it.
276 (gld${EMULATION_NAME}_list_options): Document it.
277 * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
278 * ld.texinfo: Document --hash-style option.
279
b83ef3ee
NC
2802006-07-10 Nick Clifton <nickc@redhat.com>
281
282 * po/zh_TW.po: New Chinese (traditional) translation.
283 * configure.in (ALL_LINGUAS): Add zh_TW.
284 * configure: Regenerate.
285
71ba23f6
NC
2862006-07-07 Nick Clifton <nickc@redhat.com>
287
288 PR ld/2874
289 * ld.texinfo: Remove "Using LD" from the title since it is
290 redundant.
291
ba1be17e
NC
2922006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
293
71ba23f6 294 PR ld/2877
ba1be17e
NC
295 * ld.texinfo: Fix spelling mistakes.
296
b1d9458a
NC
2972006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
298 Nick Clifton <nickc@redhat.com>
299
300 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
301 length of format strings in the libname_fmt[] array, rather than
302 relying upon a statically chosen value. Adjust xmalloc call to
303 use this longest length.
304
ece2d90e
NC
3052006-06-27 Nick Clifton <nickc@redhat.com>
306
307 * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
308 -rpath-link.
309
0faaaeb8
DJ
3102006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
311
312 * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
313 targ_extra_libpath.
314
5b8273bf
NC
3152006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
316
317 * pe-dll.c (pe_details_type): Add new pointer for symbols list
318 autofilter.
319 (autofilter_symbollist): Split into autofilter_symbollist_generic
320 and autofilter_symbollist_i386.
321 (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
322 autofilter_symbollist_generic for all the others.
323 (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
324 cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
325 into autofilter_symbollist_i386.
326 (auto_export): Get autofilter_symbollist from pe_details.
327
b952b98f
NC
3282006-06-22 Nick Clifton <nickc@redhat.com>
329
330 PR ld/2757
331 * emultempl/pe.em (gld_$_after_open): When reporting non PE format
332 output files mention the file name and the fact that it is an
333 output file.
334
45e948fe
NC
3352006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
336
337 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
338 Restructure. Add native "%s.lib" format to search list
339 * ld.texinfo (node WIN32): Update documentation on dynamic lib
340 search order. Add another reason for using import libs.
341
5e542ba7
MS
3422006-06-21 Mark Shinwell <shinwell@codesourcery.com>
343
344 * ldlang.c (lang_insert_orphan): Correctly handle the case where
345 the section is to end up after the section currently at the end
346 of the list in output_bfd.
347
a4308b79
HPN
3482006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
349
350 * emultempl/mmo.em: Improve comments. Explain why there's
351 ELF-stuff here.
352
f5ff60a6
AM
3532006-06-21 Alan Modra <amodra@bigpond.net.au>
354
355 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
356 loop to ten iterations. Throw away any previous linker generated
357 segment map.
358 * ldlang.c (lang_phdr_list): Make global.
359 * ldlang.h (lang_phdr_list): Declare.
360 * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
361 * Makefile.in: Regenerate.
362
8ded5a0f
AM
3632006-06-20 Alan Modra <amodra@bigpond.net.au>
364
365 * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
366 many ELF emul file deps that incorrectly said they needed elf32.em
367 instead of generic.em. Add genelf.em as required.
368 * Makefile.in: Regenerate.
369 * ldlang.c (lang_process): Call ldemul_finish before
370 lang_check_section_addresses.
371 * emulparams/arcelf.sh: Generic elf target needs genelf.
372 * emulparams/d30v_e.sh: Likewise.
373 * emulparams/d30v_o.sh: Likewise.
374 * emulparams/d30velf.sh: Likewise.
375 * emulparams/elf32_dlx.sh: Likewise.
376 * emulparams/elf32_i860.sh: Likewise.
377 * emulparams/elf32fr30.sh: Likewise.
378 * emulparams/elf32frv.sh: Likewise.
379 * emulparams/elf32iq10.sh: Likewise.
380 * emulparams/elf32iq2000.sh: Likewise.
381 * emulparams/elf32mt.sh: Likewise.
382 * emulparams/mn10200.sh: Likewise.
383 * emulparams/or32.sh: Likewise.
384 * emulparams/or32elf.sh: Likewise.
385 * emulparams/pjelf.sh: Likewise.
386 * emulparams/msp430all.sh: Likewise. Extract common entries.
387 * emulparams/pjlelf.sh: Include pjelf.sh.
388 * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
389 * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
390 * emultempl/elf-generic.em: New file.
391 * emultempl/genelf.em: New file.
392 * emultempl/elf32.em: Include elf-generic.em.
393 (gld${EMULATION_NAME}_layout_sections_again): Delete.
394 (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
395 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
396 (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
397 gld${EMULATION_NAME}_map_segments.
398 (LDEMUL_FINISH): Update.
399 * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
400 source elf-generic.em.
401 (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
402 * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
403 (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
404 gld${EMULATION_NAME}_map_segments.
405 (LDEMUL_FINISH): Update.
406
a6b96beb
AM
4072006-06-19 Alan Modra <amodra@bigpond.net.au>
408
409 * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
410
5fa222e4
AM
4112006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
412
413 * ld.texinfo: Document new -z lazy option.
414 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
415 new option.
416 (gld${EMULATION_NAME}_list_options): Update help text.
417
ce28273f
FF
4182006-06-12 Fred Fish <fnf@specifix.com>
419
420 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
421 ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
422 generated by mips gcc.
423
7fd91fe0
TS
4242006-06-12 Thiemo Seufer <ths@mips.com>
425
426 * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
427 Define.
428
409d7240
AM
4292006-06-09 Alan Modra <amodra@bigpond.net.au>
430
431 * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
432 * ldlang.c (struct out_section_hash_entry): Rename from
433 output_statement_hash_entry. Delete output_section_statement_type
434 entry. Add statement_union_type entry. Adjust all users.
435 (output_section_statement_table): Rename from output_statement_table.
436 Adjust all users.
437 (output_section_statement_newfunc): Rename from
438 output_statement_newfunc. Adjust all users.
439 (output_section_statement_table_init): Rename from
440 output_statement_table_init. Adjust all users.
441 (output_section_statement_table_free): Rename from
442 output_statement_table_free. Adjust all users.
443
6648b7cf
JM
4442006-06-07 Joseph S. Myers <joseph@codesourcery.com>
445
446 * po/Make-in (pdf, ps): New dummy targets.
447
02a38f92
AM
4482006-06-07 Alan Modra <amodra@bigpond.net.au>
449
450 * ldlang.h (enum section_type): Delete dsect_section, copy_section,
451 info_section and overlay_section. Add noalloc_section.
452 * ldlang.c (lang_add_section): Adjust.
453 * ldgram.y (type): Adjust.
454
e0f6802f
AM
4552006-06-06 Alan Modra <amodra@bigpond.net.au>
456
457 * ldlang.c (init_os): Whitespace.
458 (map_input_to_output_sections): Don't init_os for lang_input_section.
459 (print_all_symbols): Remove forward declaration. Convert to ISO C.
460
4cfe2c59
DJ
4612006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
462
463 * po/Make-in (top_builddir): Define.
464
65ede3f4
AM
4652006-06-05 Alan Modra <amodra@bigpond.net.au>
466
467 * ldexp.c (exp_get_abs_int): Make error message the same as
468 others emitted in this file.
469
8c61c153
AM
4702006-06-05 Alan Modra <amodra@bigpond.net.au>
471
472 * config.in: Regenerate.
473
87aa7f19
AM
4742006-06-05 Alan Modra <amodra@bigpond.net.au>
475
476 * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
477
e13629bc
AM
4782006-06-03 Alan Modra <amodra@bigpond.net.au>
479
480 * emultempl/elf32.em (global_found): Make it a pointer.
481 (stat_needed, try_needed): Adjust.
482 (check_needed): Don't skip non-loaded as-needed entries. Only
483 consider entries with both filename and the_bfd non-null.
484 (after_open): Try loading non-loaded as-needed libs to satisfy
485 DT_NEEDED libs.
486
e10fad12
JM
4872006-06-02 Joseph S. Myers <joseph@codesourcery.com>
488
489 * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
490 * Makefile.in: Regenerate.
491
20e95c23
DJ
4922006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
493
494 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
495 and LIBINTL_DEP everywhere.
496 (INTLLIBS): Remove.
497 (INCLUDES): Use @INCINTL@.
498 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
499 Remove local code for po/Makefile.
500 * Makefile.in, configure: Regenerated.
501
24718e3b
L
5022006-05-30 H.J. Lu <hongjiu.lu@intel.com>
503
504 * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
505 "CONSTANT (MAXPAGESIZE)".
506 * emulparams/armelf_nbsd.sh: Likewise.
507 * emulparams/armelf_vxworks.sh: Likewise.
508 * emulparams/armnto.sh: Likewise.
509 * emulparams/armsymbian.sh: Likewise.
510 * emulparams/crislinux.sh: Likewise.
511 * emulparams/elf32_i860.sh: Likewise.
512 * emulparams/elf32_i960.sh: Likewise.
513 * emulparams/elf32am33lin.sh: Likewise.
514 * emulparams/elf32bfinfd.sh: Likewise.
515 * emulparams/elf32bmipn32-defs.sh: Likewise.
516 * emulparams/elf32frvfd.sh: Likewise.
517 * emulparams/elf32i370.sh: Likewise.
518 * emulparams/elf32lppcnto.sh: Likewise.
519 * emulparams/elf32mcore.sh: Likewise.
520 * emulparams/elf32openrisc.sh: Likewise.
521 * emulparams/elf32ppcnto.sh: Likewise.
522 * emulparams/elf32ppcwindiss.sh: Likewise.
523 * emulparams/elf32vax.sh: Likewise.
524 * emulparams/elf32xc16x.sh: Likewise.
525 * emulparams/elf32xc16xl.sh: Likewise.
526 * emulparams/elf32xc16xs.sh: Likewise.
527 * emulparams/elf64_aix.sh: Likewise.
528 * emulparams/elf64hppa.sh: Likewise.
529 * emulparams/elf64mmix.sh: Likewise.
530 * emulparams/elf_i386_be.sh: Likewise.
531 * emulparams/elf_i386_chaos.sh: Likewise.
532 * emulparams/elf_i386_ldso.sh: Likewise.
533 * emulparams/hppa64linux.sh: Likewise.
534 * emulparams/hppalinux.sh: Likewise.
535 * emulparams/hppaobsd.sh: Likewise.
536 * emulparams/i386lynx.sh: Likewise.
537 * emulparams/i386moss.sh: Likewise.
538 * emulparams/i386nto.sh: Likewise.
539 * emulparams/i386nw.sh: Likewise.
540 * emulparams/m32relf_linux.sh: Likewise.
541 * emulparams/m68kpsos.sh: Likewise.
542 * emulparams/or32elf.sh: Likewise.
543 * emulparams/pjelf.sh: Likewise.
544 * emulparams/pjlelf.sh: Likewise.
545 * emulparams/ppclynx.sh: Likewise.
546 * emulparams/ppcnw.sh: Likewise.
547 * emulparams/shelf32_nbsd.sh : Likewise.
548 * emulparams/shelf_nbsd.sh: Likewise.
549 * emulparams/shelf_nto.sh: Likewise.
550 * emulparams/shlelf_nto.sh: Likewise.
551 * emulparams/xtensa-config.sh: Likewise.
552
553 * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
554 "CONSTANT (MAXPAGESIZE)".
555 (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
556 * emulparams/elf32_sparc.sh: Likewise.
557 * emulparams/elf32bmip.sh: Likewise.
558 * emulparams/elf32ppccommon.sh: Likewise.
559 * emulparams/elf64_ia64.sh: Likewise.
560 * emulparams/elf64_s390.sh: Likewise.
561 * emulparams/elf64_sparc.sh: Likewise.
562 * emulparams/elf64alpha.sh: Likewise.
563 * emulparams/elf64ppc.sh: Likewise.
564 * emulparams/elf_i386.sh: Likewise.
565 * emulparams/elf_i386_vxworks.sh: Likewise.
566 * emulparams/elf_s390.sh: Likewise.
567 * emulparams/elf_x86_64.sh: Likewise.
568 * emulparams/shlelf32_linux.sh: Likewise.
569 * emulparams/shlelf_linux.sh: Likewise.
570
571 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
572 "CONSTANT (COMMONPAGESIZE)".
573 * emulparams/elf32btsmipn32.sh: Likewise.
574
575 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
576 "-z max-page-size=" and "-z common-page-size=".
577 (gld${EMULATION_NAME}_list_options): Likewise.
578
579 * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
580
581 * ld.texinfo: Document "-z max-page-size=" and
582 "-z common-page-size=".
583
584 * ldexp.c (exp_print_token): Handle CONSTANT.
585 (fold_name): Likewise.
586 * ldgram.y: Likewise.
587 * ldlex.l: Likewise.
588
589 * ldmain.c (main): Initiliaze config.maxpagesize and
590 config.commonpagesize. Call bfd_emul_set_maxpagesize if
591 config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
592 config.commonpagesize config.maxpagesize isn't 0.
593
eebf07fb
NC
5942006-05-30 Nick Clifton <nickc@redhat.com>
595
596 * po/es.po: Updated Spanish translation.
597
f7661549
L
5982006-05-25 H.J. Lu <hongjiu.lu@intel.com>
599
600 * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
601
314e9a4e
L
6022006-05-24 H.J. Lu <hongjiu.lu@intel.com>
603
604 PR ld/1485
605 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
606 bfd. Support 64bit host for --enable-targets=all.
607 * configure: Regenerated.
608
4a4d496a
NC
6092006-05-24 Nick Clifton <nickc@redhat.com>
610
611 * po/vi.po: Updated Vietnamese translation.
612
28c9d252
NC
6132006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
614
615 * configure.tgt: Add avr6 to emulation list.
616 * Makefile.am: Add eavr6.o and corresponding rule.
617 * Makefile.in: Regenerate.
618 * emulparams/avr6.sh: New file.
619 * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
620 for target option support.
621 (EXTRA_EM_FILE): Add reference to new em template file avrelf.
622 * scripttempl/avr.sc: Add ".trampolines" section.
623 * emultempl/avrelf.em: Add new file for target specific options.
624
b7309ada
NC
6252006-05-22 Nick Clifton <nickc@redhat.com>
626
627 * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
628
f0636a44
AM
6292006-05-19 Alan Modra <amodra@bigpond.net.au>
630
631 * ldlang.c (lang_size_sections_1): Don't check mem regions for
632 os->ignored sections.
633
f86a8756
DJ
6342005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
635
636 * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
637 before redoing one_lang_size_sections_pass.
638
370b66a1
CD
6392006-05-11 Carlos O'Donell <carlos@codesourcery.com>
640
641 * ld.texinfo: Rename "Index" to "LD Index"
642
53baae48
NC
6432006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
644
645 * pe-dll.c (autofilter_symbollist): Add Dllmain,
646 DllMainCRTStartup, _DllMainCRTStartup and .text.
647 (autofilter_liblist): Add libcegcc.
648 (autofilter_symbolprefixlist): Add __imp_ and .idata$.
649 (generate_reloc): Do not skip sections without a SEC_LOAD flag,
650 they can still contain relocs that need processing.
651 Skip the .idata$6 section.
652 (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
653 (make_one): Use the new array.
654 (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
655 * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
656
2a60a7a8
AM
6572006-05-05 Alan Modra <amodra@bigpond.net.au>
658
659 * ld.texinfo: Document PowerPC and PowerPC64 options.
660 * gen-doc.texi: Enable.
661
38fc1cb1
DJ
6622006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
663
664 * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
665 (TEXI2POD): Use AM_MAKEINFOFLAGS.
666 (configdoc.texi): Don't set top_srcdir.
667 * ld.texinfo: Don't use top_srcdir.
668 * aclocal.m4, Makefile.in: Regenerated.
669
241a6c40
AM
6702006-04-19 Alan Modra <amodra@bigpond.net.au>
671
abe6ac95
AM
672 * ldlang.c (wild): Tidy default_common_section loop.
673 (print_input_section): Format.
674
241a6c40
AM
675 * configure: Regenerate.
676
e7403566
DJ
6772006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
678
679 * po/POTFILES.in: Regenerated.
680
b030a24e
DJ
6812006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
682
683 * config.in: Regenerated.
684
a255b6c7
BW
6852006-04-14 David Heine <dlheine@tensilica.com>
686 Bob Wilson <bob.wilson@acm.org>
687
688 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
689 function to strip inconsistent linkonce sections.
690 (input_section_linked_worker, input_section_linked): New.
691 (is_inconsistent_linkonce_section): New.
692 (xtensa_strip_inconsistent_linkonce_sections): New.
693