* ldlang.c (lang_size_sections_1): Don't check mem regions for
[external/binutils.git] / ld / ChangeLog
1 2006-05-19  Alan Modra  <amodra@bigpond.net.au>
2
3         * ldlang.c (lang_size_sections_1): Don't check mem regions for
4         os->ignored sections.
5
6 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
7
8         * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
9         before redoing one_lang_size_sections_pass.
10
11 2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
12
13         * ld.texinfo: Rename "Index" to "LD Index" 
14
15 2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
16
17         * pe-dll.c (autofilter_symbollist): Add Dllmain,
18         DllMainCRTStartup, _DllMainCRTStartup and .text.
19         (autofilter_liblist): Add libcegcc.
20         (autofilter_symbolprefixlist): Add __imp_ and .idata$.
21         (generate_reloc): Do not skip sections without a SEC_LOAD flag,
22         they can still contain relocs that need processing.
23         Skip the .idata$6 section.
24         (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
25         (make_one): Use the new array.
26         (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
27         * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
28
29 2006-05-05  Alan Modra  <amodra@bigpond.net.au>
30
31         * ld.texinfo: Document PowerPC and PowerPC64 options.
32         * gen-doc.texi: Enable.
33
34 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
35
36         * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
37         (TEXI2POD): Use AM_MAKEINFOFLAGS.
38         (configdoc.texi): Don't set top_srcdir.
39         * ld.texinfo: Don't use top_srcdir.
40         * aclocal.m4, Makefile.in: Regenerated.
41
42 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
43
44         * ldlang.c (wild): Tidy default_common_section loop.
45         (print_input_section): Format.
46
47         * configure: Regenerate.
48
49 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
50
51         * po/POTFILES.in: Regenerated.
52
53 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
54
55         * config.in: Regenerated.
56
57 2006-04-14  David Heine  <dlheine@tensilica.com>
58             Bob Wilson  <bob.wilson@acm.org>
59
60         * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
61         function to strip inconsistent linkonce sections.
62         (input_section_linked_worker, input_section_linked): New.
63         (is_inconsistent_linkonce_section): New.
64         (xtensa_strip_inconsistent_linkonce_sections): New.
65
66 2006-04-11  Diego Pettenò  <flameeyes@gentoo.org>
67
68         * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
69         and Dragonfly targets.
70         * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
71         * Makefile.am (HFILES): Add elf-hints-local.h.
72         * elf-hints-local.h: New file.
73         * Makefile.in: Regenerate.
74         * configure: Regenerate.
75
76 2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
77
78         * ld.texinfo: Fix typo in documentation of --check-sections.
79
80 2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81
82         * ldlang.c (load_symbols): Set as_needed and add_needed according
83         to the corresponding script's fields while processing it.
84
85 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
86
87         * Makefile.am: Add install-html, install-html-am, and
88         install-html-recursive targets.
89         * Makefile.in: Regenerate.
90         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
91         * configure: Regenerate.
92         * po/Make-in: Add install-html target.
93
94 2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
95
96         * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
97         link_info.need_relax_finalize.
98
99         * ldlang.c (relax_sections): New.
100         (lang_process): Use. Call relax_sections link_info.relax_pass
101         times.
102
103         * ldmain.c (main): Set link_info.relax_pass to 1. Remove
104         link_info.need_relax_finalize.
105
106 2006-04-05  Alan Modra  <amodra@bigpond.net.au>
107
108         * Makefile.am (GENSCRIPTS): Pass prefix.
109         * Makefile.in: Regenerate.
110         * genscripts.sh: Adjust for extra parameter.
111         * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
112         exists.
113         (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
114         * NEWS: Update.
115
116 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
117             Daniel Jacobowitz  <dan@codesourcery.com>
118
119         * configure.tgt (sparc*-*-vxworks*): New stanza.
120         * emulparams/elf32_sparc_vxworks.sh: New file.
121         * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
122         (eelf32_sparc_vxworks.c): New rule.
123         * Makefile.in: Regenerate.
124
125 2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
126
127         * ldlang.c (lang_map): Print the list of discarded input sections.
128         (print_input_section): Change parameter and print zero-sized sections.
129         (print_statement): Adjust call to print_input_section.
130
131 2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
132
133         * deffilep.y (def_image_name): If LIBRARY or NAME statement
134         specifies an empty string, retain the name specified on command
135         line.
136         * ld.texinfo: Document above.
137
138 2006-03-31  Jakub Jelinek  <jakub@redhat.com>
139
140         * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
141         bfd_find_nearest_line succeeded for %C or %D, but filename
142         is NULL, print section+offset at the end.
143
144 2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
145
146         * emulparams/elf32bfinfd.sh: New file.
147         * emultempl/bfin.em: Delete.
148         * emulparams/bfin.sh: Lose reference to bfin.em.
149         * Makefile.am (eelf32bfin.c): Likewise.
150         (eelf32bfinfd.c): New.
151         * Makefile.in: Regenerate.
152         * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
153         targ_extra_emuls.
154
155 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
156             Daniel Jacobowitz  <dan@codesourcery.com>
157             Phil Edwards  <phil@codesourcery.com>
158             Zack Weinberg  <zack@codesourcery.com>
159             Mark Mitchell  <mark@codesourcery.com>
160             Nathan Sidwell  <nathan@codesourcery.com>
161
162         * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
163         separate VxWorks emulations.
164         * emulparams/elf32ebmipvxworks.sh: New file.
165         * emulparams/elf32elmipvxworks.sh: New file.
166         * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
167         eelf32elmipvxworks.o.
168         (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
169         * Makefile.in: Regenerate.
170
171 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
172
173         PR 2434
174         * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
175         * ldlang.c (output_statement_table_init, lang_init): Likewise.
176         * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
177         (undefined_symbol): Likewise.
178
179 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
180             Daniel Jacobowitz  <dan@codesourcery.com>
181             Zack Weinberg  <zack@codesourcery.com>
182             Nathan Sidwell  <nathan@codesourcery.com>
183             Paul Brook  <paul@codesourcery.com>
184             Ricardo Anguiano  <anguiano@codesourcery.com>
185             Phil Edwards  <phil@codesourcery.com>
186
187         * emulparams/armelf_vxworks.sh: Include vxworks.sh.
188         (MAXPAGESIZE): Define.
189         * emulparams/vxworks.sh: Undefine EMBEDDED.
190         * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
191         * Makefile.in: Regenerate.
192
193 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
194
195         * scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
196         Add KEEP() directives.
197         Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
198         .bss output sections.
199
200 2006-03-03  Richard Sandiford  <richard@codesourcery.com>
201
202         * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
203         (EXTRA_EM_FILE): Define.
204         * emultempl/vxworks.em: New file.
205         * ld.texinfo (--force-dynamic): Document.
206         * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
207         on vxworks.em.
208         * Makefile.in: Regenerate.
209
210 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
211
212         * emulparams/elf32ppccommon.sh: New file, extracted from...
213         * emulparams/elf32ppc.sh: ...here.
214         * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
215         instead of elf32ppc.sh.
216         (BSS_PLT): Remove override.
217         * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
218         (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
219         (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
220         (eelf32ppclinux.c): Likewise.
221         (eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
222         * Makefile.in: Regenerate.
223
224 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
225
226         * Makefile.am: Add html target.
227         * Makefile.in: Regenerate.
228         * po/Make-in: Add html target.
229
230 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
231             Anil Paranjape   <anilp1@kpitcummins.com>
232             Shilin Shakti    <shilins@kpitcummins.com>
233
234         * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
235         * scripttemp/elf32xc16xl.sc: Default linker script for large model.
236         * scripttemp/elf32xc16xs.sc: Default linker script for small model.
237         * emulparams/elf32xc16x.sh: Emulation script for tiny model.
238         * emulparams/elf32xc16xl.sh: Emulation script for large model.
239         * emulparams/elf32xc16xs.sh: Emulation script for small model.
240         * Makefile.am: Add entry to make xc16x target.
241         * Makefile.in: Regenerate.
242         * configure.tgt: Specify default and other emulation parameters
243         for xc16x.
244         * NEWS: Announce the support for the new target.
245
246 2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
247
248         * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
249         Use the traditional target.
250
251 2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
252
253         * configure.tgt (arm*b-*-linux-gnueabi): Change to
254         arm*b-*-linux-*eabi.
255         (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
256
257 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
258
259         PR ld/2290
260         * NEWS: Updated for the Linux linker search order change.
261
262         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
263         gld${EMULATION_NAME}_check_ld_so_conf before checking default
264         search directories for DT_NEEDED entries.
265
266 2006-02-07  Paul Brook  <paul@codesourcery.com>
267
268         * emultempl/armelf.em: Include elf/arm.h.
269         (arm_elf_finish): Set low address bit if enty point is a Thumb
270         function.
271
272 2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
273
274         * deffilep.y (def_image_name): If the image name does not have
275         a suffix, append the default.
276         * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
277
278 2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
279
280         * NEWS: Mention support for forward exports in PE-COFF dll's.
281         * ld.texinfo: Expand documentation of EXPORT statements in
282         PE-COFF .def files.
283
284 2006-01-31  Filip Navara  <navaraf@reactos.com>
285
286         * deffile.h (struct def_file_export): Add field flag_forward.
287         * pe-dll.c (process_def_file): Check for forward exports.
288         (generate_edata): Generate forward export symbols.
289         (fill_edata): Emit them.
290
291         * pe-dll.c (process_def_file): Don't crash on malformed
292         fastcall symbol names in .def file.
293
294 2006-01-30  Nick Clifton  <nickc@redhat.com>
295
296         * po/vi.po: Updated Vietnamese translation.
297
298 2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
299
300         * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
301         file:" as informational message, not a warning.
302
303 2006-01-18  Roger Sayle  <roger@eyesopen.com>
304
305         * emultempl/irix.em: Use lbasename instead of basename.
306
307 2006-01-16  Nick Clifton  <nickc@redhat.com>
308
309         * po/zh_CN.po: New Chinese (simplified) translation.
310         * configure.in (ALL_LINGUAS): Add "zh_CH".
311         * configure: Regenerate.
312
313 2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
314
315         * ld.texinfo (Options): Fix typo.
316
317 For older changes see ChangeLog-2005
318 \f
319 Local Variables:
320 mode: change-log
321 left-margin: 8
322 fill-column: 74
323 version-control: never
324 End: