xref: /freebsd-12.1/contrib/binutils/ld/ChangeLog (revision dfd2f2d4)
12006-07-19  Alan Modra  <[email protected]>
2
3	* ld.h (handle_asneeded_cref): Declare.
4	* ldcref.c: Include objalloc.h.
5	(old_table, old_tab, alloc_mark): New variables.
6	(tabsize, entsize, refsize, old_symcount): Likewise.
7	(add_cref): Use bfd_hash_allocate for refs.
8	(handle_asneeded_cref): New function.
9	* ldmain.c (notice): Call handle_asneeded_cref for NULL name.
10
112006-07-04  Daniel Jacobowitz  <[email protected]>
12
13	Backport:
14	2006-05-19  Alan Modra  <[email protected]>
15	* ldlang.c (lang_size_sections_1): Don't check mem regions for
16	os->ignored sections.
17
182006-06-12  Fred Fish  <[email protected]>
19
20	* emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
21	".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
22	generated by mips gcc.
23
242006-06-09  Alan Modra  <[email protected]>
25
26	* ldlang.h (lang_input_statement_type): Use bitfields for booleans.
27	* ldlang.c (struct out_section_hash_entry): Rename from
28	output_statement_hash_entry.  Delete output_section_statement_type
29	entry.  Add statement_union_type entry.  Adjust all users.
30	(output_section_statement_table): Rename from output_statement_table.
31	Adjust all users.
32	(output_section_statement_newfunc): Rename from
33	output_statement_newfunc.  Adjust all users.
34	(output_section_statement_table_init): Rename from
35	output_statement_table_init.  Adjust all users.
36	(output_section_statement_table_free): Rename from
37	output_statement_table_free.  Adjust all users.
38
392006-06-08  Alan Modra  <[email protected]>
40
41	* emultempl/elf32.em (global_found): Make it a pointer.
42	(stat_needed, try_needed): Adjust.
43	(check_needed): Don't skip non-loaded as-needed entries.  Only
44	consider entries with both filename and the_bfd non-null.
45	(after_open): Try loading non-loaded as-needed libs to satisfy
46	DT_NEEDED libs.
47
482006-06-07  Joseph S. Myers  <[email protected]>
49
50	* po/Make-in (pdf, ps): New dummy targets.
51
522006-06-02  Joseph S. Myers  <[email protected]>
53
54	* Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
55	* Makefile.in: Regenerate.
56
572006-05-30  Nick Clifton  <[email protected]>
58
59	* po/es.po: Updated Spanish translation.
60
612006-05-24  Nick Clifton  <[email protected]>
62
63	* po/vi.po: Updated Vietnamese translation.
64
652006-05-22  Daniel Jacobowitz  <[email protected]>
66
67	* ld-mips-elf/textrel-1.d: Relax some patterns.
68
692006-05-22  Nick Clifton  <[email protected]>
70
71	* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
72
732006-05-05  Alan Modra  <[email protected]>
74
75	* ld.texinfo: Document PowerPC and PowerPC64 options.
76	* gen-doc.texi: Enable.
77	* configdoc.texi: Regenerate.
78	* ld.info: Regenerate.
79
802006-05-02  Daniel Jacobowitz  <[email protected]>
81
82	* Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
83	(TEXI2POD): Use AM_MAKEINFOFLAGS.
84	(configdoc.texi): Don't set top_srcdir.
85	* ld.texinfo: Don't use top_srcdir.
86	* aclocal.m4, Makefile.in: Regenerated.
87
882006-04-16  Daniel Jacobowitz  <[email protected]>
89
90	* po/POTFILES.in: Regenerated.
91
922006-04-16  Daniel Jacobowitz  <[email protected]>
93
94	* config.in: Regenerated.
95
962006-04-14  David Heine  <[email protected]>
97	    Bob Wilson  <[email protected]>
98
99	* emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
100	function to strip inconsistent linkonce sections.
101	(input_section_linked_worker, input_section_linked): New.
102	(is_inconsistent_linkonce_section): New.
103	(xtensa_strip_inconsistent_linkonce_sections): New.
104
1052006-04-11  Diego Petten�  <[email protected]>
106
107	* emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
108	and Dragonfly targets.
109	* configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
110	* Makefile.am (HFILES): Add elf-hints-local.h.
111	* elf-hints-local.h: New file.
112	* Makefile.in: Regenerate.
113	* configure: Regenerate.
114
1152006-04-07  Bernhard Fischer  <[email protected]>
116
117	* ld.texinfo: Fix typo in documentation of --check-sections.
118
1192006-04-07  Kaz Kojima  <[email protected]>
120
121	* ldlang.c (load_symbols): Set as_needed and add_needed according
122	to the corresponding script's fields while processing it.
123
1242006-04-06  Carlos O'Donell  <[email protected]>
125
126	* Makefile.am: Add install-html, install-html-am, and
127	install-html-recursive targets.
128	* Makefile.in: Regenerate.
129	* configure.in: AC_SUBST datarootdir, docdir, htmldir.
130	* configure: Regenerate.
131	* po/Make-in: Add install-html target.
132
1332006-04-06  H.J. Lu  <[email protected]>
134
135	* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
136	link_info.need_relax_finalize.
137
138	* ldlang.c (relax_sections): New.
139	(lang_process): Use. Call relax_sections link_info.relax_pass
140	times.
141
142	* ldmain.c (main): Set link_info.relax_pass to 1. Remove
143	link_info.need_relax_finalize.
144
1452006-04-05  Alan Modra  <[email protected]>
146
147	* Makefile.am (GENSCRIPTS): Pass prefix.
148	* Makefile.in: Regenerate.
149	* genscripts.sh: Adjust for extra parameter.
150	* emultempl/elf32.em (parse_ld_so_conf): Return true iff file
151	exists.
152	(check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
153	* NEWS: Update.
154
1552006-04-05  Richard Sandiford  <[email protected]>
156	    Daniel Jacobowitz  <[email protected]>
157
158	* configure.tgt (sparc*-*-vxworks*): New stanza.
159	* emulparams/elf32_sparc_vxworks.sh: New file.
160	* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
161	(eelf32_sparc_vxworks.c): New rule.
162	* Makefile.in: Regenerate.
163
1642006-04-04  Eric Botcazou  <[email protected]>
165
166	* ldlang.c (lang_map): Print the list of discarded input sections.
167	(print_input_section): Change parameter and print zero-sized sections.
168	(print_statement): Adjust call to print_input_section.
169
1702006-04-01  Danny Smith  <[email protected]>
171
172	* deffilep.y (def_image_name): If LIBRARY or NAME statement
173	specifies an empty string, retain the name specified on command
174	line.
175	* ld.texinfo: Document above.
176
1772006-03-31  Jakub Jelinek  <[email protected]>
178
179	* ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
180	bfd_find_nearest_line succeeded for %C or %D, but filename
181	is NULL, print section+offset at the end.
182
1832006-03-25  Bernd Schmidt  <[email protected]>
184
185	* emulparams/elf32bfinfd.sh: New file.
186	* emultempl/bfin.em: Delete.
187	* emulparams/bfin.sh: Lose reference to bfin.em.
188	* Makefile.am (eelf32bfin.c): Likewise.
189	(eelf32bfinfd.c): New.
190	* Makefile.in: Regenerate.
191	* configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
192	targ_extra_emuls.
193
1942006-03-22  Richard Sandiford  <[email protected]>
195	    Daniel Jacobowitz  <[email protected]>
196	    Phil Edwards  <[email protected]>
197	    Zack Weinberg  <[email protected]>
198	    Mark Mitchell  <[email protected]>
199	    Nathan Sidwell  <[email protected]>
200
201	* configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
202	separate VxWorks emulations.
203	* emulparams/elf32ebmipvxworks.sh: New file.
204	* emulparams/elf32elmipvxworks.sh: New file.
205	* Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
206	eelf32elmipvxworks.o.
207	(eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
208	* Makefile.in: Regenerate.
209
2102006-03-16  Alan Modra  <[email protected]>
211
212	PR 2434
213	* ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
214	* ldlang.c (output_statement_table_init, lang_init): Likewise.
215	* ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
216	(undefined_symbol): Likewise.
217
2182006-03-07  Richard Sandiford  <[email protected]>
219	    Daniel Jacobowitz  <[email protected]>
220	    Zack Weinberg  <[email protected]>
221	    Nathan Sidwell  <[email protected]>
222	    Paul Brook  <[email protected]>
223	    Ricardo Anguiano  <[email protected]>
224	    Phil Edwards  <[email protected]>
225
226	* emulparams/armelf_vxworks.sh: Include vxworks.sh.
227	(MAXPAGESIZE): Define.
228	* emulparams/vxworks.sh: Undefine EMBEDDED.
229	* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
230	* Makefile.in: Regenerate.
231
2322006-03-03  Bjoern Haase  <[email protected]>
233
234	* scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
235	Add KEEP() directives.
236	Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
237	.bss output sections.
238
2392006-03-03  Richard Sandiford  <[email protected]>
240
241	* emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
242	(EXTRA_EM_FILE): Define.
243	* emultempl/vxworks.em: New file.
244	* ld.texinfo (--force-dynamic): Document.
245	* Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
246	on vxworks.em.
247	* Makefile.in: Regenerate.
248
2492006-03-02  Richard Sandiford  <[email protected]>
250
251	* emulparams/elf32ppccommon.sh: New file, extracted from...
252	* emulparams/elf32ppc.sh: ...here.
253	* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
254	instead of elf32ppc.sh.
255	(BSS_PLT): Remove override.
256	* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
257	(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
258	(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
259	(eelf32ppclinux.c): Likewise.
260	(eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
261	* Makefile.in: Regenerate.
262
2632006-02-27  Carlos O'Donell  <[email protected]>
264
265	* Makefile.am: Add html target.
266	* Makefile.in: Regenerate.
267	* po/Make-in: Add html target.
268
2692006-02-17  Shrirang Khisti  <[email protected]>
270            Anil Paranjape   <[email protected]>
271            Shilin Shakti    <[email protected]>
272
273	* scripttemp/elf32xc16x.sc: Default linker script for tiny model.
274	* scripttemp/elf32xc16xl.sc: Default linker script for large model.
275	* scripttemp/elf32xc16xs.sc: Default linker script for small model.
276	* emulparams/elf32xc16x.sh: Emulation script for tiny model.
277	* emulparams/elf32xc16xl.sh: Emulation script for large model.
278	* emulparams/elf32xc16xs.sh: Emulation script for small model.
279	* Makefile.am: Add entry to make xc16x target.
280	* Makefile.in: Regenerate.
281	* configure.tgt: Specify default and other emulation parameters
282	for xc16x.
283	* NEWS: Announce the support for the new target.
284
2852006-02-16  Nick Hudson  <[email protected]>
286
287	* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
288	Use the traditional target.
289
2902006-02-13  Joseph S. Myers  <[email protected]>
291
292	* configure.tgt (arm*b-*-linux-gnueabi): Change to
293	arm*b-*-linux-*eabi.
294	(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
295
2962006-02-08  H.J. Lu  <[email protected]>
297
298	PR ld/2290
299	* NEWS: Updated for the Linux linker search order change.
300
301	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
302	gld${EMULATION_NAME}_check_ld_so_conf before checking default
303	search directories for DT_NEEDED entries.
304
3052006-02-07  Paul Brook  <[email protected]>
306
307	* emultempl/armelf.em: Include elf/arm.h.
308	(arm_elf_finish): Set low address bit if enty point is a Thumb
309	function.
310
3112006-02-01  Danny Smith  <[email protected]>
312
313	* deffilep.y (def_image_name): If the image name does not have
314	a suffix, append the default.
315	* ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
316
3172006-01-31  Danny Smith  [email protected]
318
319	* NEWS: Mention support for forward exports in PE-COFF dll's.
320	* ld.texinfo: Expand documentation of EXPORT statements in
321	PE-COFF .def files.
322
3232006-01-31  Filip Navara  <[email protected]>
324
325	* deffile.h (struct def_file_export): Add field flag_forward.
326	* pe-dll.c (process_def_file): Check for forward exports.
327	(generate_edata): Generate forward export symbols.
328	(fill_edata): Emit them.
329
330	* pe-dll.c (process_def_file): Don't crash on malformed
331	fastcall symbol names in .def file.
332
3332006-01-30  Nick Clifton  <[email protected]>
334
335	* po/vi.po: Updated Vietnamese translation.
336
3372006-01-27  Yitzchak Scott-Thoennes  <[email protected]>
338
339	* pe-dll.c (pe_dll_generate_implib): Issue "Creating library
340	file:" as informational message, not a warning.
341
3422006-01-18  Roger Sayle  <[email protected]>
343
344	* emultempl/irix.em: Use lbasename instead of basename.
345
3462006-01-16  Nick Clifton  <[email protected]>
347
348	* po/zh_CN.po: New Chinese (simplified) translation.
349	* configure.in (ALL_LINGUAS): Add "zh_CH".
350	* configure: Regenerate.
351
3522006-01-16  Bernhard Fischer  <[email protected]>
353
354	* ld.texinfo (Options): Fix typo.
355
356For older changes see ChangeLog-2005
357
358Local Variables:
359mode: change-log
360left-margin: 8
361fill-column: 74
362version-control: never
363End:
364