* ldlang.c (load_symbols): Set as_needed and add_needed according
[binutils-gdb.git] / ld / ChangeLog
1 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2
3 * ldlang.c (load_symbols): Set as_needed and add_needed according
4 to the corresponding script's fields while processing it.
5
6 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
7
8 * Makefile.am: Add install-html, install-html-am, and
9 install-html-recursive targets.
10 * Makefile.in: Regenerate.
11 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
12 * configure: Regenerate.
13 * po/Make-in: Add install-html target.
14
15 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
16
17 * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
18 link_info.need_relax_finalize.
19
20 * ldlang.c (relax_sections): New.
21 (lang_process): Use. Call relax_sections link_info.relax_pass
22 times.
23
24 * ldmain.c (main): Set link_info.relax_pass to 1. Remove
25 link_info.need_relax_finalize.
26
27 2006-04-05 Alan Modra <amodra@bigpond.net.au>
28
29 * Makefile.am (GENSCRIPTS): Pass prefix.
30 * Makefile.in: Regenerate.
31 * genscripts.sh: Adjust for extra parameter.
32 * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
33 exists.
34 (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
35 * NEWS: Update.
36
37 2006-04-05 Richard Sandiford <richard@codesourcery.com>
38 Daniel Jacobowitz <dan@codesourcery.com>
39
40 * configure.tgt (sparc*-*-vxworks*): New stanza.
41 * emulparams/elf32_sparc_vxworks.sh: New file.
42 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
43 (eelf32_sparc_vxworks.c): New rule.
44 * Makefile.in: Regenerate.
45
46 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
47
48 * ldlang.c (lang_map): Print the list of discarded input sections.
49 (print_input_section): Change parameter and print zero-sized sections.
50 (print_statement): Adjust call to print_input_section.
51
52 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
53
54 * deffilep.y (def_image_name): If LIBRARY or NAME statement
55 specifies an empty string, retain the name specified on command
56 line.
57 * ld.texinfo: Document above.
58
59 2006-03-31 Jakub Jelinek <jakub@redhat.com>
60
61 * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
62 bfd_find_nearest_line succeeded for %C or %D, but filename
63 is NULL, print section+offset at the end.
64
65 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
66
67 * emulparams/elf32bfinfd.sh: New file.
68 * emultempl/bfin.em: Delete.
69 * emulparams/bfin.sh: Lose reference to bfin.em.
70 * Makefile.am (eelf32bfin.c): Likewise.
71 (eelf32bfinfd.c): New.
72 * Makefile.in: Regenerate.
73 * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
74 targ_extra_emuls.
75
76 2006-03-22 Richard Sandiford <richard@codesourcery.com>
77 Daniel Jacobowitz <dan@codesourcery.com>
78 Phil Edwards <phil@codesourcery.com>
79 Zack Weinberg <zack@codesourcery.com>
80 Mark Mitchell <mark@codesourcery.com>
81 Nathan Sidwell <nathan@codesourcery.com>
82
83 * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
84 separate VxWorks emulations.
85 * emulparams/elf32ebmipvxworks.sh: New file.
86 * emulparams/elf32elmipvxworks.sh: New file.
87 * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
88 eelf32elmipvxworks.o.
89 (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
90 * Makefile.in: Regenerate.
91
92 2006-03-16 Alan Modra <amodra@bigpond.net.au>
93
94 PR 2434
95 * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
96 * ldlang.c (output_statement_table_init, lang_init): Likewise.
97 * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
98 (undefined_symbol): Likewise.
99
100 2006-03-07 Richard Sandiford <richard@codesourcery.com>
101 Daniel Jacobowitz <dan@codesourcery.com>
102 Zack Weinberg <zack@codesourcery.com>
103 Nathan Sidwell <nathan@codesourcery.com>
104 Paul Brook <paul@codesourcery.com>
105 Ricardo Anguiano <anguiano@codesourcery.com>
106 Phil Edwards <phil@codesourcery.com>
107
108 * emulparams/armelf_vxworks.sh: Include vxworks.sh.
109 (MAXPAGESIZE): Define.
110 * emulparams/vxworks.sh: Undefine EMBEDDED.
111 * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
112 * Makefile.in: Regenerate.
113
114 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
115
116 * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
117 Add KEEP() directives.
118 Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
119 .bss output sections.
120
121 2006-03-03 Richard Sandiford <richard@codesourcery.com>
122
123 * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
124 (EXTRA_EM_FILE): Define.
125 * emultempl/vxworks.em: New file.
126 * ld.texinfo (--force-dynamic): Document.
127 * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
128 on vxworks.em.
129 * Makefile.in: Regenerate.
130
131 2006-03-02 Richard Sandiford <richard@codesourcery.com>
132
133 * emulparams/elf32ppccommon.sh: New file, extracted from...
134 * emulparams/elf32ppc.sh: ...here.
135 * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
136 instead of elf32ppc.sh.
137 (BSS_PLT): Remove override.
138 * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
139 (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
140 (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
141 (eelf32ppclinux.c): Likewise.
142 (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
143 * Makefile.in: Regenerate.
144
145 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
146
147 * Makefile.am: Add html target.
148 * Makefile.in: Regenerate.
149 * po/Make-in: Add html target.
150
151 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
152 Anil Paranjape <anilp1@kpitcummins.com>
153 Shilin Shakti <shilins@kpitcummins.com>
154
155 * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
156 * scripttemp/elf32xc16xl.sc: Default linker script for large model.
157 * scripttemp/elf32xc16xs.sc: Default linker script for small model.
158 * emulparams/elf32xc16x.sh: Emulation script for tiny model.
159 * emulparams/elf32xc16xl.sh: Emulation script for large model.
160 * emulparams/elf32xc16xs.sh: Emulation script for small model.
161 * Makefile.am: Add entry to make xc16x target.
162 * Makefile.in: Regenerate.
163 * configure.tgt: Specify default and other emulation parameters
164 for xc16x.
165 * NEWS: Announce the support for the new target.
166
167 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
168
169 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
170 Use the traditional target.
171
172 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
173
174 * configure.tgt (arm*b-*-linux-gnueabi): Change to
175 arm*b-*-linux-*eabi.
176 (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
177
178 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
179
180 PR ld/2290
181 * NEWS: Updated for the Linux linker search order change.
182
183 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
184 gld${EMULATION_NAME}_check_ld_so_conf before checking default
185 search directories for DT_NEEDED entries.
186
187 2006-02-07 Paul Brook <paul@codesourcery.com>
188
189 * emultempl/armelf.em: Include elf/arm.h.
190 (arm_elf_finish): Set low address bit if enty point is a Thumb
191 function.
192
193 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
194
195 * deffilep.y (def_image_name): If the image name does not have
196 a suffix, append the default.
197 * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
198
199 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
200
201 * NEWS: Mention support for forward exports in PE-COFF dll's.
202 * ld.texinfo: Expand documentation of EXPORT statements in
203 PE-COFF .def files.
204
205 2006-01-31 Filip Navara <navaraf@reactos.com>
206
207 * deffile.h (struct def_file_export): Add field flag_forward.
208 * pe-dll.c (process_def_file): Check for forward exports.
209 (generate_edata): Generate forward export symbols.
210 (fill_edata): Emit them.
211
212 * pe-dll.c (process_def_file): Don't crash on malformed
213 fastcall symbol names in .def file.
214
215 2006-01-30 Nick Clifton <nickc@redhat.com>
216
217 * po/vi.po: Updated Vietnamese translation.
218
219 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
220
221 * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
222 file:" as informational message, not a warning.
223
224 2006-01-18 Roger Sayle <roger@eyesopen.com>
225
226 * emultempl/irix.em: Use lbasename instead of basename.
227
228 2006-01-16 Nick Clifton <nickc@redhat.com>
229
230 * po/zh_CN.po: New Chinese (simplified) translation.
231 * configure.in (ALL_LINGUAS): Add "zh_CH".
232 * configure: Regenerate.
233
234 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
235
236 * ld.texinfo (Options): Fix typo.
237
238 For older changes see ChangeLog-2005
239 \f
240 Local Variables:
241 mode: change-log
242 left-margin: 8
243 fill-column: 74
244 version-control: never
245 End: