Commit | Line | Data |
---|---|---|
20514338 NC |
1 | 2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> |
2 | ||
3 | * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. | |
4 | ||
f2241121 AM |
5 | 2003-12-04 Alan Modra <amodra@bigpond.net.au> |
6 | ||
7 | * ldlang.c (lang_do_assignments): Function return is void. | |
8 | * ldlang.h (lang_do_assignments): Ditto. | |
9 | * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. | |
10 | * Makefile.am (ens32knbsd.c): Depend on netbsd.em. | |
11 | * Makefile.in: Regenerate. | |
12 | ||
f8fc3443 NC |
13 | 2003-12-03 Dave Airlie <airlied@linux.ie> |
14 | ||
15 | * configure.tgt: Add vax-linux-gnu target. | |
16 | ||
f2f489ac NC |
17 | 2003-12-03 Dmitry Diky <diwil@mail.ru> |
18 | ||
19 | * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for | |
20 | forthcoming devices. | |
21 | (_etext): provide this defenition for all scripts. | |
22 | ||
021d913e KH |
23 | 2003-12-02 Kazu Hirata <kazu@cs.umass.edu> |
24 | ||
25 | * emultempl/beos.em: Remove ARGSUSED. | |
26 | ||
6ad841a1 AM |
27 | 2003-12-03 Alan Modra <amodra@bigpond.net.au> |
28 | ||
29 | * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed | |
30 | bfd_link_hash_entry field "next" -> "und_next". | |
31 | (pe_find_data_imports): Likewise. | |
32 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
33 | * emultempl/sunos.em (before_allocation): Likewise. | |
34 | ||
da8bce14 NC |
35 | 2003-12-02 Nick Clifton <nickc@redhat.com> |
36 | ||
37 | * ld.texinfo (Options): --ignore-all is no longer the default | |
38 | behaviour for shared libraries and dynamic executables. | |
39 | ||
9fa06c65 AM |
40 | 2003-12-02 Alan Modra <amodra@bigpond.net.au> |
41 | ||
42 | * Makefile.am: Run "make dep-am". | |
43 | * Makefile.in: Regenerate. | |
44 | ||
ffc18d8a AM |
45 | 2003-12-02 Alan Modra <amodra@bigpond.net.au> |
46 | ||
47 | * ldmain.c (main): Remove mpc860c0 code. | |
48 | * lexsup.c (enum option_values): Delete OPTION_MPC860C0. | |
49 | (ld_options): Delete mpc860c0 entry. | |
50 | (parse_args): Likewise. | |
51 | ||
fd574c46 AM |
52 | 2003-12-01 Alan Modra <amodra@bigpond.net.au> |
53 | ||
54 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test | |
55 | hash table type rather than testing creator flavour. | |
56 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
57 | Only create stub_file bfd if hash table creator is as expected. | |
58 | (gld${EMULATION_NAME}_finish): Test stub_file. | |
59 | ||
58ea8806 NC |
60 | 2003-11-28 Marcel Moolenaar <marcel@xcllnt.net> |
61 | ||
62 | * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define. | |
63 | (DATA_ADDR): Unset. | |
64 | ||
55936540 JW |
65 | 2003-11-18 James E Wilson <wilson@specifixinc.com> |
66 | ||
5a46fe39 JW |
67 | * ldlang.c (lang_process): Move lang_reset_memory_regions call after |
68 | lang_do_assignments call. | |
69 | ||
55936540 JW |
70 | * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include |
71 | .rela.opd if -pie. | |
72 | ||
ca6dee30 NC |
73 | 2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au> |
74 | ||
75 | * scripttempl/pe.sc: Add support for TLS sections. | |
76 | ||
00ce77f4 AM |
77 | 2003-11-09 Alan Modra <amodra@bigpond.net.au> |
78 | ||
79 | * configure.host (HOSTING_LIBS): Group libgcc and libc with | |
80 | --start-group, --end-group pair. | |
81 | (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. | |
82 | (am33_2.0-*-linux*): Edit default HOSTING_CRT0. | |
83 | (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. | |
84 | (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case. | |
85 | ||
f24ddbdd | 86 | 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org> |
00ce77f4 | 87 | |
f24ddbdd NC |
88 | * ldfile.c (ldfile_open_file): Use "No such file" error message. |
89 | ||
1be59579 NC |
90 | 2003-11-06 Bruno Rohee <bruno@rohee.com> |
91 | ||
92 | * ls.texinfo: Fix "the the" typo. | |
93 | ||
e0e97e2c AM |
94 | 2003-11-05 Alan Modra <amodra@bigpond.net.au> |
95 | ||
4b83d615 AM |
96 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do |
97 | pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. | |
98 | (pr_sym): Move inside #ifdef DLL_SUPPORT. | |
99 | ||
2c07ab8a AM |
100 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap |
101 | unused variable. | |
102 | ||
e0e97e2c AM |
103 | * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define. |
104 | ||
e1918d23 AM |
105 | 2003-11-04 Alan Modra <amodra@bigpond.net.au> |
106 | ||
107 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call | |
108 | _bfd_elf_tls_setup. | |
109 | ||
0013291d NC |
110 | 2003-10-31 Nick Clifton <nickc@redhat.com> |
111 | ||
2c07ab8a AM |
112 | * ldlang.c (lookup_name): When looking for a previously loaded |
113 | file compare the local_sym_name not the filename, as the | |
114 | filename might have been transformed via the search directory | |
115 | path lookup. | |
116 | If the sought-for file has not been found in the input file | |
117 | chain then create a new node with the search_dirs_flag set so | |
118 | that the entire set of directory paths will be scanned for it. | |
0013291d | 119 | |
fc0a2244 AC |
120 | 2003-10-30 Andrew Cagney <cagney@redhat.com> |
121 | ||
122 | * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" | |
123 | with "struct bfd_symbol". | |
124 | ||
325fab4e NC |
125 | 2003-10-30 Phil Edwards <phil@codesourcery.com> |
126 | ||
127 | * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o. | |
128 | (eelf32mipswindiss.c): New target. | |
129 | * Makefile.in: Regenerated. | |
130 | * emulparams/elf32mipswindiss.sh: New file. | |
131 | * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks, | |
132 | mips*-*-vxworks*): Use ELF now. | |
133 | (mips*-*-windiss): New stanza, use elf32mipswindiss. | |
134 | ||
d522f227 SC |
135 | 2003-10-27 Stephane Carrez <stcarrez@nerim.fr> |
136 | ||
137 | * scripttempl/elfm68hc12.sc: Define eeprom memory region. | |
138 | ||
07f3b6ad KH |
139 | 2003-10-25 Kazu Hirata <kazu@cs.umass.edu> |
140 | ||
141 | * ChangeLog-9197: Fix typos. | |
142 | * NEWS: Likewise. | |
143 | * ld.texinfo: Likewise. | |
144 | * ldlang.c: Fix comment typos. | |
145 | ||
df816215 L |
146 | 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> |
147 | ||
148 | * ldlang.c (lang_vers_match): Fix a typo. | |
149 | ||
7a995eb3 L |
150 | 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> |
151 | ||
152 | * ldlang.c (lang_vers_match): Check demangled symbols. | |
153 | ||
5e35cbc2 L |
154 | 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> |
155 | ||
156 | * ldlang.c (lang_vers_match): Check "symbol" instead of | |
157 | "wildcard" and "pattern". Fix a typo. | |
158 | (lang_finalize_version_expr_head): Likewise. | |
159 | (lang_register_vers_node): Likewise. | |
160 | (realsymbol): New function. | |
161 | (lang_new_vers_pattern): Set "symbol" and remove "wildcard". | |
162 | ||
163 | * ldlex.l (V_IDENTIFIER): Allow '\\'. | |
164 | ||
383b8428 NC |
165 | 2003-10-24 Nick Clifton <nickc@redhat.com> |
166 | ||
167 | * emultempl/m68hc1xelf.em (before_allocation): Add missing second | |
168 | parameter to lang_memory_region_lookup. | |
169 | ||
108ba305 JJ |
170 | 2003-10-22 Jakub Jelinek <jakub@redhat.com> |
171 | ||
172 | * ldlang.c: Include hashtab.h. | |
173 | (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, | |
174 | lang_vers_match_lang_java): Remove. | |
175 | (lang_vers_match): New function. | |
176 | (lang_new_vers_pattern): Initialize wildcard and mask | |
177 | fields, don't initialize match. | |
178 | (lang_new_vers_node): Use xcalloc. Adjust for globals and | |
179 | locals field type changes. Set match field. | |
180 | (version_expr_head_hash, version_expr_head_eq): New functions. | |
181 | (lang_finalize_version_expr_head): New function. | |
182 | (lang_register_vers_node): Call lang_finalize_version_expr_head. | |
183 | Search in hash table if not wildcard when looking for duplicates. | |
184 | * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with | |
185 | duplicate checking. Initialize all fields of dot_entry from entry | |
186 | with the exception of pattern and next. | |
187 | ||
a747ee4d NC |
188 | 2003-10-21 Nick Clifton <nickc@redhat.com> |
189 | ||
2c07ab8a AM |
190 | * ldlang.c (lang_memory_region_lookup): Add second parameter - |
191 | create - which is true if the region is being created. Issue | |
192 | appropriate warning messages for finding and not finding | |
193 | already created regions. | |
194 | (lang_memory_default): Use DEFAULT_MEMORY_REGION. | |
195 | (lang_leave_overlay_section): Likewise. | |
196 | (lang_size_sections_1): Likewise. | |
197 | Pass second parameter to lang_memory_region_lookup. | |
198 | (lang_get_regions): Likewise. | |
199 | * ldlang.h (DEFAULT_MEMORY_REGION): Define. | |
200 | Update prototype for lang_memory_region_lookup. | |
a747ee4d | 201 | * ldgram.y: Pass second parameter to lang_memory_region_lookup. |
2c07ab8a AM |
202 | Use DEFAULT_MEMORY_REGION instead of "*default". |
203 | ||
198beae2 AC |
204 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
205 | ||
206 | * pe-dll.c: Replace "struct sec" with "struct bfd_section". | |
207 | ||
75ca919a MM |
208 | 2003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
209 | ||
210 | * Makefile.am: Remove old (before GCC 3.3) emulations for AVR | |
211 | target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103, | |
212 | avrmega161, avrmega603. Default to avr2. | |
213 | * Makefile.in: Regenerate. | |
214 | * configure.tgt: Likewise. | |
215 | * emulparams/avr1200.sh: Remove. | |
216 | * emulparams/avr23xx.sh: Remove. | |
217 | * emulparams/avr4433.sh: Remove. | |
218 | * emulparams/avr44x4.sh: Remove. | |
219 | * emulparams/avr85xx.sh: Remove. | |
220 | * emulparams/avrmega103.sh: Remove. | |
221 | * emulparams/avrmega161.sh: Remove. | |
222 | * emulparams/avrmega603.sh: Remove. | |
223 | * scripttempl/elf32avr.sc: Remove. | |
224 | ||
655f76a2 AS |
225 | 2003-10-19 Andreas Schwab <schwab@suse.de> |
226 | ||
c2411cd2 AS |
227 | * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add |
228 | newline to message. | |
229 | ||
655f76a2 AS |
230 | * deffilep.y: Remove commas from %token lines. |
231 | ||
86d3c9a8 HPN |
232 | 2003-10-18 Hans-Peter Nilsson <hp@bitrange.com> |
233 | ||
06335781 HPN |
234 | * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker |
235 | relaxation always; don't exclude relocatable linking. Adjust for | |
236 | _bfd_mmix_prepare_linker_allocated_gregs renamed to | |
237 | _bfd_mmix_before_linker_allocation. | |
238 | (mmix_after_allocation): Adjust for | |
239 | _bfd_mmix_finalize_linker_allocated_gregs renamed to | |
240 | _bfd_mmix_after_linker_allocation. | |
241 | * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text). | |
242 | ||
86d3c9a8 HPN |
243 | * ldlang.c (lang_size_sections): Last, set _cooked_size for output |
244 | sections. | |
245 | ||
8fbdf3ab AM |
246 | 2003-10-16 Alan Modra <amodra@bigpond.net.au> |
247 | ||
248 | * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use | |
249 | GENSCRIPTS and GEN_DEPENDS in place of these. | |
250 | * Makefile.in: Regenerate. | |
251 | * genscripts_extra.sh: Delete. Merge extra functionality to.. | |
252 | * genscripts.sh: ..here. | |
253 | ||
254 | * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define. | |
255 | * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
256 | * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
257 | * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
258 | * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
259 | ||
9c4f8b73 AM |
260 | 2003-10-16 Alan Modra <amodra@bigpond.net.au> |
261 | ||
262 | * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't | |
263 | use $EMULATION_NAME to call bfd function. | |
264 | ||
2c07ab8a | 265 | 2003-10-14 Danny Smith <dannysmith@users.sourceforge.net> |
661a32f7 DS |
266 | |
267 | * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections | |
268 | to identify data symbols. | |
269 | ||
786dbcc3 RS |
270 | 2003-10-13 Richard Sandiford <rsandifo@redhat.com> |
271 | ||
272 | * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move | |
273 | definition from elf64btsmip.sh. | |
274 | (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh. | |
275 | * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove. | |
276 | * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove. | |
277 | * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define. | |
278 | (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects. | |
279 | Define __program_header_table in terms of __elf_header. | |
280 | ||
3f7deb8a L |
281 | 2003-10-10 H.J. Lu <hongjiu.lu@intel.com> |
282 | ||
283 | * Makefile.am (eelf64_ia64.c): Also depend on | |
284 | $(srcdir)/emultempl/ia64elf.em. | |
285 | * Makefile.in: Regenerated. | |
286 | ||
287 | * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. | |
288 | ||
289 | * emultempl/ia64elf.em: New. | |
290 | ||
f19ae42f KK |
291 | 2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
292 | ||
293 | * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. | |
294 | ||
420e579c HPN |
295 | 2003-10-11 Hans-Peter Nilsson <hp@bitrange.com> |
296 | ||
297 | * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols | |
298 | defined before the statement using DEFINED yield 1. | |
299 | * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum, | |
300 | call lang_track_definedness on symbol. In subsequent phases, use | |
301 | lang_symbol_definition_iteration and lang_statement_iteration to | |
302 | check whether the symbol was defined before the current statement. | |
303 | (exp_fold_tree) <case etree_assign et al>: Call | |
304 | lang_update_definedness before updating symbol type when setting | |
305 | symbol. | |
306 | * ldlang.c (lang_definedness_table): New variable. | |
307 | (lang_definedness_newfunc, lang_track_definedness) | |
308 | (lang_symbol_definition_iteration, lang_update_definedness): New | |
309 | functions. | |
310 | (lang_init): Initialize lang_definedness_table and | |
311 | lang_statement_iteration. | |
312 | (lang_finish): Destroy bfd_hash_table_free. | |
313 | (lang_size_sections): Increment lang_statement_iteration. | |
314 | (lang_do_assignments_1): New function with former | |
315 | lang_do_assignments contents. Change recursive calls to call this | |
316 | function. | |
317 | (lang_do_assignments): Evacuate contents. Increment | |
318 | lang_statement_iteration, then just call lang_do_assignments_1. | |
319 | * ldlang.h (struct lang_definedness_hash_entry) | |
320 | (lang_statement_iteration, lang_track_definedness) | |
321 | (lang_symbol_definition_iteration, lang_update_definedness): | |
322 | Declare. | |
323 | ||
c6d3b05f L |
324 | 2003-10-09 H.J. Lu <hongjiu.lu@intel.com> |
325 | ||
326 | * scripttempl/elf.sc (__executable_start): Provide. | |
327 | ||
2f857bd0 DJ |
328 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
329 | ||
330 | * emulparams/armelf.sh: Define NO_SMALL_DATA. | |
331 | * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh, | |
332 | emulparams/armnto.sh: Likewise. | |
333 | ||
a7f18fb3 AO |
334 | 2003-10-08 Alexandre Oliva <aoliva@redhat.com> |
335 | ||
336 | * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell | |
337 | whether to skip test for no memory region. | |
338 | ||
e62eb3ee NC |
339 | 2003-10-08 Nick Clifton <nickc@redhat.com> |
340 | ||
341 | * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment | |
342 | describing defaults. Change default to report unresolved symbols | |
343 | in object files as well. | |
344 | ||
6a33aff4 HPN |
345 | 2003-10-08 Hans-Peter Nilsson <hp@bitrange.com> |
346 | ||
347 | * ldexp.c (fold_name) <case DEFINED>: Set section of result to | |
348 | abs_output_section. | |
349 | ||
398b8515 BW |
350 | 2003-10-07 Bob Wilson <bob.wilson@acm.org> |
351 | ||
352 | * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, | |
353 | OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to | |
354 | zero for relocatable links. | |
355 | ||
c0d48c0b DA |
356 | 2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
357 | ||
358 | * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*. | |
359 | ||
29ca8dc5 NS |
360 | 2003-10-07 Nathan Sidwell <nathan@codesourcery.com> |
361 | ||
362 | * ldwrite.c (unsplittable_name): New. | |
363 | (clone_section): Strip existing numeric suffix. Only truncate names | |
364 | for coff targets. | |
365 | (split_sections): Use unsplittable_name. | |
366 | ||
85477099 NC |
367 | 2003-10-06 Nick Clifton <nickc@redhat.com> |
368 | ||
369 | * lexsup.c (parse_args): Report unresolved symbols in shared | |
370 | libraries when creating a dynamic executable. This is a | |
371 | restoration of the default behaviour for previous versions of | |
372 | the linker. | |
373 | ||
374 | 2003-10-06 Matt Thomas <matt@3am-software.com> | |
85cf2a8a NC |
375 | |
376 | * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT. | |
377 | * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa". | |
378 | ||
4615568e NC |
379 | 2003-10-06 Robert Millan <robertmh@gnu.org> |
380 | ||
381 | * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet. | |
382 | ||
4b7f0676 NC |
383 | 2003-10-02 Ivan Warren <ivan@vmfacility.fr> |
384 | ||
2c07ab8a | 385 | * pe-dll.c (make_one): Correct sym def order & pick right sym for |
4b7f0676 NC |
386 | .idata$7 reloc. |
387 | ||
43c58ae6 CD |
388 | 2003-09-30 Chris Demetriou <cgd@broadcom.com> |
389 | ||
390 | * NEWS: Add an indication of the cutoff for 2.14. | |
391 | ||
5f74bc13 CD |
392 | 2003-09-30 Chris Demetriou <cgd@broadcom.com> |
393 | ||
394 | * ldmain.c (get_emulation): Ignore "-mips64r2". | |
395 | ||
13dfd2d0 NC |
396 | 2003-09-03 Robert Millan <robertmh@gnu.org> |
397 | ||
398 | * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu | |
399 | triplet. | |
400 | * configure.tgt: Likewise. | |
401 | ||
71df864f AM |
402 | 2003-08-29 Jafa <jafa@silicondust.com> |
403 | ||
404 | * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. | |
405 | ||
3673a93e NC |
406 | 2003-08-21 Nick Clifton <nickc@redhat.com> |
407 | ||
408 | * po/tr.po: Updated Turkish translation. | |
409 | ||
560e09e9 NC |
410 | 2003-08-20 Nick Clifton <nickc@redhat.com> |
411 | ||
412 | * ldmain.c: Initialise the new fields in bfd_link_info to | |
2c07ab8a AM |
413 | NOT_YET_SET. |
414 | * lexsup.c (enum option_values): New enum. Use this to | |
415 | replace the handed coded values for the long switch options. | |
416 | (ld_options): Add 'unresolved-symbols', | |
417 | 'warn-unresolved-symbols' and 'error-unresolved-symbols'. | |
418 | (parse_args): Handle the new switches. Set the values of | |
419 | unresolved_symbols_in_objects and | |
420 | unresolved_symbols_in_shared_libs appropriately. If they were | |
421 | not initialised by the command line, install default values. | |
422 | * emultempl/elf32.em (handle_option): Update OPTION_GROUP and | |
423 | -z defs to use the new fields in bfd_link_info. | |
560e09e9 NC |
424 | * ld.texinfo: Document the new switches. |
425 | * NEWS: Mention this feature. | |
426 | ||
aafdb207 | 427 | 2003-08-15 Dmitry Diky <diwil@mail.ru> |
2c07ab8a | 428 | |
aafdb207 NC |
429 | * Makefile.am (GENSCRIPTS_EXTRA): New script definition which |
430 | calls genscripts_extra.sh. | |
431 | Rearrange all msp430 depends using this script. | |
432 | * Makefile.in: Regenerate. | |
433 | * genscripts_extra.sh: New file: Similar to genscripts.sh, except | |
434 | that the script to be run to generate the emulations can be passed | |
435 | as an optional parameter instead of being computed from the | |
436 | emulation name. | |
437 | * emulparams/msp430all.sh: New file: Combine all msp430 subdevice | |
438 | definitions into one file. | |
439 | * emulparams/msp430x*.sh: Removed. | |
440 | ||
cd6d6c15 NC |
441 | 2003-08-15 Nick Clifton <nickc@redhat.com> |
442 | ||
443 | * ld.texinfo (Options): Put keywords for the -z option into a | |
444 | table. Add more text describing what the -z now option does. | |
445 | ||
68cdbb4a AM |
446 | 2003-08-14 Alan Modra <amodra@bigpond.net.au> |
447 | ||
448 | * dep-in.sed: Remove libintl.h. | |
449 | * Makefile.am (POTFILES.in): Unset LC_COLLATE. | |
450 | * Makefile.in: Regenerate. | |
451 | ||
f22f5fcd AM |
452 | 2003-08-13 Alan Modra <amodra@bigpond.net.au> |
453 | ||
454 | * genscripts.sh (libpath.exp): Only generate for first emulation. | |
455 | (LIB_PATH): Correct order of paths. Don't add $tool_lib when | |
456 | already present or when LIB_PATH is set to ":". | |
457 | ||
0b28295d ILT |
458 | 2003-08-12 Ian Lance Taylor <ian@airs.com> |
459 | ||
460 | * ldmain.c (undefined_symbol): Change parameter name from `fatal' | |
461 | to `error'. If only a warning, put warning in the reported | |
462 | string. Consistently set failure flag when not a warning. | |
463 | ||
3b260895 NC |
464 | 2003-08-08 Dmitry Diky <diwil@mail.ru> |
465 | ||
466 | * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to | |
467 | gcc order. | |
468 | * Makefile.in: Regenerate. | |
469 | * configure.tgt: Add extra emulations. | |
470 | * emulparams/msp430xE423.sh: New file. | |
471 | * emulparams/msp430xE427.sh: New file. | |
472 | * emulparams/msp430xW425.sh: New file. | |
2c07ab8a AM |
473 | * emulparams/msp430xE425.sh: New file. |
474 | * emulparams/msp430xW423.sh: New file. | |
3b260895 NC |
475 | * emulparams/msp430xW427.sh: New file. |
476 | ||
1fa1d2cd DS |
477 | 2003-08-07 Danny Smith <dannysmith@users.sourceforge.net> |
478 | ||
479 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): | |
480 | Change second (cmdline) arg to lang_add_entry to FALSE. | |
481 | (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. | |
482 | ||
9d7e2ba5 | 483 | 2003-08-05 Christian Groessler <chris@groessler.org> |
2c07ab8a AM |
484 | Jason Eckhardt <jle@rice.edu> |
485 | ||
486 | * configure.tgt: Recognize new target i860-*-coff. | |
487 | * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. | |
488 | (ecoff_i860.c): New rule. | |
489 | * emulparams/coff_i860.sh: New file. | |
490 | * scripttempl/i860coff.sc: New file. | |
491 | * Makefile.in: Regenerate. | |
9d7e2ba5 | 492 | |
8c675694 NC |
493 | 2003-08-04 Nick Clifton <nickc@redhat.com> |
494 | ||
495 | * emultempl/elf32.em (before_allocation): Prepend "warning: " | |
496 | to messages produced for .gnu.warning.SYMBOL sections. | |
497 | ||
2a36a117 AM |
498 | 2003-08-04 Alan Modra <amodra@bigpond.net.au> |
499 | ||
500 | * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put | |
501 | .rel.dyn before other reloc sections. Don't stop looking for reloc | |
502 | sections on finding one that isn't allocated. Match .rel even when | |
503 | placing .rela and vice versa, when setting last_rel and | |
504 | last_rel_alloc for the first time. If no reloc sections in script, | |
505 | prefer allocated section over non-alloc. | |
506 | (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. | |
507 | ||
8a1cb159 KK |
508 | 2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
509 | ||
510 | * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack | |
511 | section for shared library. | |
512 | * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. | |
513 | * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. | |
514 | ||
83a27a96 SC |
515 | 2003-07-29 Stephane Carrez <stcarrez@nerim.fr> |
516 | ||
517 | * scripttempl/elfm68hc12.sc: Add gcc_except_table. | |
518 | * scripttempl/elfm68hc11.sc: Likewise. | |
519 | ||
c86b6a7b AM |
520 | 2003-07-28 Alan Modra <amodra@bigpond.net.au> |
521 | ||
f37f3db7 AM |
522 | * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. |
523 | ||
c86b6a7b AM |
524 | * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. |
525 | ||
7e7d5768 AM |
526 | 2003-07-27 Alan Modra <amodra@bigpond.net.au> |
527 | ||
528 | * ld.texinfo: Typo fixes. Document SUBALIGN. | |
529 | * ldgram.y (opt_subalign): Add. | |
530 | * ldlex.l (SUBALIGN): Recognize. | |
531 | * ldlang.c (overlay_subalign): New var. | |
532 | (lang_enter_overlay): Add subalign param. | |
533 | (lang_enter_overlay_section): Pass overlay_subalign to | |
534 | lang_enter_output_section_statement. | |
535 | * ldlang.h (lang_enter_overlay): Update. | |
536 | ||
834d807b NC |
537 | 2003-07-24 Nick Clifton <nickc@redhat.com> |
538 | ||
539 | * po/fr.po: Updated French translation. | |
540 | ||
494fee87 SC |
541 | 2003-07-23 Stephane Carrez <stcarrez@nerim.fr> |
542 | ||
543 | * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into | |
544 | account .tramp sections; | |
545 | * scripttempl/elfm68hc12.sc: Likewise. | |
546 | ||
602d6c6f NC |
547 | 2003-07-17 Charles Wilson <cwilson@ece.gatech.edu> |
548 | ||
549 | * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] | |
550 | ||
6c37ac4d NC |
551 | 2003-07-17 Nick Clifton <nickc@redhat.com> |
552 | ||
553 | * po/es.po: New Spanish translation. | |
554 | ||
fce00800 AM |
555 | 2003-07-11 Alan Modra <amodra@bigpond.net.au> |
556 | ||
557 | * po/ld.pot: Regenerate. | |
558 | ||
e901de89 BW |
559 | 2003-07-10 Bob Wilson <bob.wilson@acm.org> |
560 | ||
561 | * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit | |
562 | with new .got.loc section. | |
563 | (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for | |
564 | non-relocating links. | |
565 | (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce | |
566 | sections separate for non-relocating links; likewise for .xt.insn. | |
567 | ||
4a096548 AO |
568 | 2003-07-10 Alexandre Oliva <aoliva@redhat.com> |
569 | ||
570 | 2001-08-22 Alexandre Oliva <aoliva@redhat.com> | |
571 | * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. | |
572 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
573 | * configure.host (am33_2.0-*-linux*): Added. | |
574 | * configure.tgt (am33_2.0-*-linux*): Likewise. | |
575 | * emulparams/elf32am33lin.sh: New. | |
576 | * Makefile.am (eelf32am33lin.c): New rule. | |
577 | * Makefile.in: Rebuilt. | |
578 | ||
892bb326 AO |
579 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
580 | ||
581 | 2001-04-17 Alexandre Oliva <aoliva@redhat.com> | |
582 | * emulparams/mn10300.sh (TEMPLATE_NAME): Define. | |
583 | (GENERATE_SHLIB_SCRIPT): Likewise. | |
584 | ||
68f8ff14 AM |
585 | 2003-07-10 Alan Modra <amodra@bigpond.net.au> |
586 | ||
587 | * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. | |
588 | (GOT): Define. | |
589 | * emultempl/ppc64elf.em (stub_added): New static var. | |
590 | (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. | |
591 | (ppc_add_stub_section): Set stub_added. | |
592 | (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust | |
593 | ppc64_elf_size_stubs call and test for stubs. | |
594 | * scripttempl/elf.sc (GOT): Define and use. | |
595 | ||
fb319d8d JR |
596 | 2003-07-08 J"orn Rennecke <joern.rennecke@superh.com> |
597 | ||
598 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): | |
599 | Allow second call from ldemul_finish. | |
600 | ||
3a51fda6 JR |
601 | 2003-07-04 J"orn Rennecke <joern.rennecke@superh.com> |
602 | ||
603 | * emulparams/shelf32.sh (STACK_ADDR): Don't define. | |
604 | (OTHER_SECTIONS): Include .stack. | |
605 | * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. | |
606 | ||
9203ba99 JJ |
607 | 2003-07-02 Jakub Jelinek <jakub@redhat.com> |
608 | ||
609 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include | |
610 | .opd if -pie. | |
611 | (OTHER_READWRITE_SECTIONS): Include .opd if -pie. | |
612 | * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR | |
613 | if -pie. | |
614 | ||
1579bae1 AM |
615 | 2003-06-28 Alan Modra <amodra@bigpond.net.au> |
616 | ||
617 | * ld.h: Convert to C90, remove unnecessary prototypes and casts. | |
618 | Replace PTR with void *. Formatting. | |
619 | * ldcref.c: Likewise. | |
620 | * ldctor.c: Likewise. | |
621 | * ldctor.h: Likewise. | |
622 | * ldemul.h: Likewise. | |
623 | * ldexp.c: Likewise. | |
624 | * ldexp.h: Likewise. | |
625 | * ldfile.c: Likewise. | |
626 | * ldfile.h: Likewise. | |
627 | * ldlang.c: Likewise. | |
628 | * ldlang.h: Likewise. | |
629 | * ldlex.h: Likewise. | |
630 | * ldlex.l: Likewise. | |
631 | * ldmain.c: Likewise. | |
632 | * ldmain.h: Likewise. | |
633 | * ldmisc.c: Likewise. | |
634 | * ldmisc.h: Likewise. | |
635 | * ldver.h: Likewise. | |
636 | * ldwrite.c: Likewise. | |
637 | * ldwrite.h: Likewise. | |
638 | * lexsup.c: Likewise. | |
639 | * mri.c: Likewise. | |
640 | * mri.h: Likewise. | |
641 | * pe-dll.c: Likewise. | |
642 | * pe-dll.h: Likewise. | |
643 | * deffilep.y: Likewise. | |
644 | * deffile.h: Likewise. Don't include ansidecl.h. | |
645 | * emulparams/elf32mcore.sh: Remove unnecessary cast. | |
646 | * emultempl/m68kcoff.em: Likewise. | |
647 | * emultempl/m68kelf.em: Likewise. | |
648 | * emultempl/ticoff.em: Remove lang_add_output_format declaration. | |
649 | * sysdep.h: Don't include ansidecl.h. | |
650 | * Makefile.am: Run "make dep-am". | |
651 | * Makefile.in: Regenerate. | |
652 | ||
dc17f155 NC |
653 | 2003-06-27 Nick Clifton <nickc@redhat.com> |
654 | ||
655 | * deffilep.y (def_file_add_directive): Cope with NUL seperated | |
656 | directives. Fix reporting of unparseable directives. | |
657 | (def_error): Check for a NULL def_filename. | |
658 | ||
0c7a8e5a AM |
659 | 2003-06-27 Alan Modra <amodra@bigpond.net.au> |
660 | ||
661 | * emultempl/aix.em: Convert to C90, remove unnecessary prototypes | |
662 | and casts. Replace PTR with void *. Formatting. | |
1579bae1 AM |
663 | * emultempl/alphaelf.em: Likewise. |
664 | * emultempl/armcoff.em: Likewise. | |
665 | * emultempl/armelf.em: Likewise. | |
666 | * emultempl/armelf_oabi.em: Likewise. | |
667 | * emultempl/beos.em: Likewise. | |
668 | * emultempl/elf32.em: Likewise. | |
669 | * emultempl/generic.em: Likewise. | |
670 | * emultempl/gld960.em: Likewise. | |
671 | * emultempl/gld960c.em: Likewise. | |
672 | * emultempl/hppaelf.em: Likewise. | |
673 | * emultempl/linux.em: Likewise. | |
674 | * emultempl/lnk960.em: Likewise. | |
675 | * emultempl/m68hc1xelf.em: Likewise. | |
676 | * emultempl/m68kcoff.em: Likewise. | |
677 | * emultempl/m68kelf.em: Likewise. | |
678 | * emultempl/mipsecoff.em: Likewise. | |
679 | * emultempl/mipself.em: Likewise. | |
680 | * emultempl/mmix-elfnmmo.em: Likewise. | |
681 | * emultempl/mmixelf.em: Likewise. | |
682 | * emultempl/mmo.em: Likewise. | |
683 | * emultempl/needrelax.em: Likewise. | |
684 | * emultempl/netbsd.em: Likewise. | |
685 | * emultempl/pe.em: Likewise. | |
686 | * emultempl/sh64elf.em: Likewise. | |
687 | * emultempl/sunos.em: Likewise. | |
688 | * emultempl/ticoff.em: Likewise. | |
689 | * emultempl/vanilla.em: Likewise. | |
690 | * emultempl/xtensaelf.em: Likewise. | |
0c7a8e5a AM |
691 | * Makefile.am: Correct dependencies. |
692 | * Makefile.in: Regenerate. | |
693 | ||
1049f94e AM |
694 | 2003-06-25 Alan Modra <amodra@bigpond.net.au> |
695 | ||
696 | * ld.texinfo: Correct spelling of "relocatable". | |
1579bae1 AM |
697 | * ldctor.c: Likewise. |
698 | * ldexp.c: Likewise. | |
699 | * ldfile.c: Likewise. | |
700 | * ldint.texinfo: Likewise. | |
701 | * ldlang.c: Likewise. | |
702 | * ldmain.c: Likewise. | |
703 | * ldwrite.c: Likewise. | |
704 | * lexsup.c: Likewise. | |
705 | * emultempl/aix.em: Likewise. | |
706 | * emultempl/alphaelf.em: Likewise. | |
707 | * emultempl/armcoff.em: Likewise. | |
708 | * emultempl/armelf_oabi.em: Likewise. | |
709 | * emultempl/beos.em: Likewise. | |
710 | * emultempl/elf32.em: Likewise. | |
711 | * emultempl/generic.em: Likewise. | |
712 | * emultempl/gld960.em: Likewise. | |
713 | * emultempl/gld960c.em: Likewise. | |
714 | * emultempl/hppaelf.em: Likewise. | |
715 | * emultempl/linux.em: Likewise. | |
716 | * emultempl/lnk960.em: Likewise. | |
717 | * emultempl/m68hc1xelf.em: Likewise. | |
718 | * emultempl/m68kcoff.em: Likewise. | |
719 | * emultempl/m68kelf.em: Likewise. | |
720 | * emultempl/mipsecoff.em: Likewise. | |
721 | * emultempl/mipself.em: Likewise. | |
722 | * emultempl/mmix-elfnmmo.em: Likewise. | |
723 | * emultempl/mmo.em: Likewise. | |
724 | * emultempl/needrelax.em: Likewise. | |
725 | * emultempl/pe.em: Likewise. | |
726 | * emultempl/ppc64elf.em: Likewise. | |
727 | * emultempl/sh64elf.em: Likewise. | |
728 | * emultempl/sunos.em: Likewise. | |
729 | * emultempl/ticoff.em: Likewise. | |
730 | * emultempl/xtensaelf.em: Likewise. | |
1049f94e | 731 | |
7e5d8d48 AM |
732 | 2003-06-24 Alan Modra <amodra@bigpond.net.au> |
733 | ||
734 | * emultempl/ppc32elf.em: Convert to C90. | |
735 | ||
7d8a3a28 AM |
736 | 2003-06-20 Alan Modra <amodra@bigpond.net.au> |
737 | ||
738 | * emultempl/ppc64elf.em: Convert to C90 function definitions, remove | |
739 | unnecessary prototypes and casts. | |
740 | ||
bda6c678 AM |
741 | 2003-06-19 Alan Modra <amodra@bigpond.net.au> |
742 | ||
743 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out | |
744 | statistics from ppc64_elf_build_stubs. | |
745 | ||
6bc8652b AM |
746 | 2003-06-19 Alan Modra <amodra@bigpond.net.au> |
747 | ||
748 | * emultempl/ppc64elf.em (build_section_lists): Check return status | |
749 | from ppc64_elf_next_input_section. | |
750 | ||
f97b9cb8 L |
751 | 2003-06-17 H.J. Lu <hongjiu.lu@intel.com> |
752 | ||
753 | * ldlang.c (section_already_linked): Put back assignment of | |
754 | kept_section. | |
755 | ||
fea39bcb NC |
756 | 2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com> |
757 | ||
758 | * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D | |
6bc8652b | 759 | reloc. |
fea39bcb | 760 | |
40bdaaa8 NC |
761 | 2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> |
762 | ||
763 | * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 | |
764 | if not produced by gcc. | |
765 | ||
b826ae22 HPN |
766 | 2003-06-16 Hans-Peter Nilsson <hp@axis.com> |
767 | ||
768 | * configure.tgt: Add specific case for cris-*-linux-gnu* | |
769 | with crislinux emulation only. | |
770 | ||
a06a29f2 NC |
771 | 2003-06-13 Robert Millan <zeratul2@wanadoo.es> |
772 | ||
773 | * configure.tgt: Add i386-netbsd-gnu target. | |
774 | ||
728fa2f6 RS |
775 | 2003-06-12 Richard Sandiford <rsandifo@redhat.com> |
776 | ||
777 | * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations | |
778 | to $targ_extra_libpath. | |
779 | ||
3b443373 L |
780 | 2003-06-11 H.J. Lu <hongjiu.lu@intel.com> |
781 | ||
782 | * po/Make-in (DESTDIR): New. | |
783 | (install-data-yes): Support $(DESTDIR). | |
784 | (uninstall): Likewise. | |
785 | ||
cfa1ac0c DE |
786 | 2003-06-10 Doug Evans <dje@sebabeach.org> |
787 | ||
788 | * Makefile.am (ALL_EMULATIONS): Add em32relf.o. | |
789 | * Makefile.in: Regenerate. | |
790 | ||
f4984206 RS |
791 | 2003-06-10 Richard Sandiford <rsandifo@redhat.com> |
792 | ||
793 | * configure.tgt (h8300*): Add h8300sxn emulations. | |
794 | * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. | |
795 | (eh8300sxn.c, eh8300sxnelf.c): New rules. | |
796 | * Makefile.in: Regenerate. | |
797 | * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. | |
d1b2d571 | 798 | * scripttempl/h8300sxn.sc: New file. |
f4984206 | 799 | |
285272bd AM |
800 | 2003-06-10 Alan Modra <amodra@bigpond.net.au> |
801 | ||
802 | * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, | |
803 | CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. | |
804 | ||
0b9a4d73 AM |
805 | 2003-06-08 Alan Modra <amodra@bigpond.net.au> |
806 | ||
807 | * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. | |
808 | (build_toc_list): New function. | |
809 | (gld${EMULATION_NAME}_finish): Call build_toc_list and | |
810 | ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. | |
811 | (OPTION_STUBSYMS): Define. | |
812 | (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. | |
813 | (PARSE_AND_LIST_OPTIONS): Document. | |
814 | (PARSE_AND_LIST_ARGS_CASES): Handle. | |
815 | ||
c16d554d RM |
816 | 2003-06-05 Roland McGrath <roland@redhat.com> |
817 | ||
818 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove | |
819 | extra \t in -z noexecstack line. | |
820 | ||
9ee5e499 JJ |
821 | 2003-05-23 Jakub Jelinek <jakub@redhat.com> |
822 | ||
823 | * ldgram.y (phdr_type): Grok PT_GNU_STACK. | |
824 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add | |
825 | -z execstack and -z noexecstack. | |
826 | (gld${EMULATION_NAME}_list_options): Likewise. | |
827 | * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. | |
828 | ||
65982ba6 | 829 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
6bc8652b | 830 | and Bernd Schmidt <bernds@redhat.com> |
65982ba6 | 831 | and Alexandre Oliva <aoliva@redhat.com> |
9ee5e499 | 832 | |
65982ba6 MS |
833 | * Makefile.am: Add new emulations for h8300sx. |
834 | * Makefile.in: Regenerate. | |
835 | * configure.tgt: Add new emulations. | |
836 | * emulparams/h8300sx.sh: New emulation. | |
837 | * emulparams/h8300sxelf.sh: Ditto. | |
838 | * scripttempl/h8300sx.sc: Ditto. | |
839 | ||
6f6f27f8 L |
840 | 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> |
841 | ||
842 | * ldmisc.c: Include "bfdlink.h". | |
843 | (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION | |
844 | and -LD_DEFINITION_IN_DISCARDED_SECTION. | |
845 | ||
846 | * Makefile.am: Rebuild dependency. | |
847 | * Makefile.in: Regenerated. | |
848 | ||
308f753f KK |
849 | 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
850 | ||
851 | * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
852 | * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. | |
853 | ||
03a1c9a7 NC |
854 | 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> |
855 | ||
856 | * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is | |
857 | sorted alphabetically, instead of exported_symbols, which is | |
858 | sorted by ordinal. | |
859 | ||
36af4a4e JJ |
860 | 2003-05-30 Ulrich Drepper <drepper@redhat.com> |
861 | Jakub Jelinek <jakub@redhat.com> | |
862 | ||
863 | * lexsup.c (OPTION_PIE): Define. | |
864 | (ld_options): Add -pie and --pic-executable options. | |
865 | (parse_args): Handle OPTION_PIE. | |
866 | * ldmain.c (main): Initialize link_info.pie and | |
867 | link_info.executable. | |
868 | * genscripts.sh: Generate PIE scripts. | |
869 | * ld.texinfo: Document -pie and --pic-executable options. | |
870 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): | |
871 | (gld${EMULATION_NAME}_place_orphan): Likewise. | |
872 | (gld${EMULATION_NAME}_get_script): Include PIE scripts. | |
873 | * scripttempl/elf.sc: In PIE scripts set . the same way as in | |
874 | shared scripts. | |
875 | * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
876 | * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. | |
877 | * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
878 | * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
879 | * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. | |
880 | * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. | |
881 | * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
882 | * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
883 | * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. | |
884 | * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. | |
885 | * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. | |
886 | ||
cdaeef2e L |
887 | 2003-05-30 H.J. Lu <hongjiu.lu@intel.com> |
888 | ||
889 | * genscripts.sh: Create tmpdir/libpath.exp. | |
890 | ||
06aa7234 NC |
891 | 2003-05-30 Nick Clifton <nickc@redhat.com> |
892 | ||
893 | * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT | |
894 | with a test for a NULL bfd_for_interworking. | |
895 | ||
561c27b2 JT |
896 | 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
897 | ||
898 | * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS | |
899 | correctly for more recent versions of NetBSD. | |
900 | (alpha*-*-netbsd*): Remove. | |
901 | (i[3-7]86-*-netbsd*): Remove. | |
902 | ||
29e1a6e4 NC |
903 | 2003-05-29 Nick Clifton <nickc@redhat.com> |
904 | ||
905 | * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. | |
906 | ||
90be1c5c MR |
907 | 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
908 | ||
909 | * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to | |
910 | trap on pointer crops. | |
911 | ||
cea3d58d NC |
912 | 2003-05-21 Marcus Comstedt <marcus@mc.pp.se> |
913 | ||
914 | * configure.tgt: Check for a target triplet of shl-...-netbsdelf | |
915 | as well as shle-...-netbsdelf. | |
916 | ||
80c7c40a NC |
917 | 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com> |
918 | ||
919 | * configure.host: Accept i[3-7]86 variants. | |
920 | * configure.tgt: Likewise. | |
921 | ||
a6c0916f L |
922 | 2003-05-15 H.J. Lu <hongjiu.lu@intel.com> |
923 | ||
924 | * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. | |
925 | ||
d2012d17 DJ |
926 | 2003-05-09 Daniel Jacobowitz <drow@mvista.com> |
927 | ||
928 | * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. | |
929 | (earmelfb.c, earmelfb_linux.c): New rules. | |
930 | * Makefile.in: Regenerated. | |
931 | * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. | |
df9a14a1 | 932 | * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. |
d2012d17 | 933 | |
3cd9fdd5 | 934 | 2003-05-09 Nick Clifton <nickc@redhat.com> |
c16d554d | 935 | |
66184979 NC |
936 | * ldlang.c (lang_size_sections_1): Default to generating a |
937 | fatal error message if a loadable section is not allocated | |
938 | to a memory region when regions are defined. | |
939 | ||
efdffbe2 AM |
940 | 2003-05-09 Alan Modra <amodra@bigpond.net.au> |
941 | ||
942 | * Makefile.am (em68hc11elf.c): Correct dependencies. | |
943 | (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. | |
944 | * Makefile.in: Regenerate. | |
945 | * emultempl/elf32.em (find_exp_assignment): Adjust for changed | |
946 | bfd_elf_record_link_assignment name. | |
947 | ||
8aae64e6 AO |
948 | 2003-05-07 Alexandre Oliva <aoliva@redhat.com> |
949 | ||
950 | * ldmain.h (overflow_cutoff_limit): Declare. | |
951 | * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. | |
952 | (reloc_overflow): Limit error messages based on it. | |
953 | * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to | |
954 | unlimited. | |
955 | ||
5c7966bf AM |
956 | 2003-05-05 Alan Modra <amodra@bigpond.net.au> |
957 | ||
958 | * ldlex.l: Accept C style comments in version scripts. | |
959 | ||
c7996ad6 L |
960 | 2003-04-28 H.J. Lu <hjl@gnu.org> |
961 | ||
962 | * ldlang.c (lang_process): Add the relax finalize pass. | |
963 | ||
964 | * ldmain.c (main): Initialize link_info.relax_finalizing to | |
965 | FALSE. | |
966 | ||
d145330d RM |
967 | 2003-04-24 Roland McGrath <roland@redhat.com> |
968 | ||
969 | * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. | |
970 | If a name string is unknown, give an error rather than crashing later. | |
971 | ||
972 | 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> | |
973 | ||
974 | * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, | |
8d9cd6b1 NC |
975 | eh8300hnelf.o, eh8300snelf.o and respective rules. |
976 | * Makefile.in: Regenerate. | |
977 | * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf | |
978 | * emulparams/h8300hn.sh: New | |
979 | * emulparams/h8300sn.sh: New | |
d145330d | 980 | * emulparams/h8300hnelf.sh: New |
8d9cd6b1 NC |
981 | * emulparams/h8300snelf.sh: New |
982 | * scripttempl/h8300hn.sc: new | |
983 | * scripttempl/h8300sn.sc: new | |
984 | ||
0f0569c4 L |
985 | 2003-04-23 H.J. Lu <hjl@gnu.org> |
986 | ||
987 | * ldmain.c (link_callbacks): Initialize error_handler. | |
988 | ||
989 | * ldmisc.c (error_handler): New function. | |
990 | ||
991 | * ldmisc.h (error_handler): New prototype. | |
992 | ||
e2cebd4b SC |
993 | 2003-04-21 Stephane Carrez <stcarrez@nerim.fr> |
994 | ||
995 | * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. | |
996 | * emulparams/m68hc11elfb.sh: Likewise. | |
997 | * emulparams/m68hc12elf.sh: Likewise. | |
998 | * emulparams/m68hc12elfb.sh: Likewise. | |
999 | ||
67bb9940 SC |
1000 | 2003-04-19 Stephane Carrez <stcarrez@nerim.fr> |
1001 | ||
1002 | * emultempl/m68hc1xelf.em: New file to generate far trampolines on | |
1003 | 68HC11 and 68HC12. | |
1004 | (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to | |
1005 | generate. | |
1006 | (LDEMUL_FINISH): Override to generate the trampolines after gc and | |
1007 | linker relaxation. | |
1008 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the | |
1009 | stub file for trampolines. | |
1010 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options | |
1011 | --no-trampoline and --bank-window to control the memory bank window. | |
1012 | ||
97b51f20 L |
1013 | 2003-04-18 H.J. Lu <hjl@gnu.org> |
1014 | ||
1015 | * ldfile.c (ldfile_add_library_path): Remove the unused | |
1016 | variable. | |
1017 | ||
517ed485 NC |
1018 | 2003-04-18 Andrew Haley <aph@cambridge.redhat.com> |
1019 | ||
1020 | * scripttempl/xstormy16.sc (__data, __rdata): New. | |
1021 | ||
39f1ebed NC |
1022 | 2003-04-16 Nick Clifton <nickc@redhat.com> |
1023 | ||
1024 | * scripttempl/xstormy16.sc: Add .jcr section mapping. | |
1025 | ||
731e28d8 L |
1026 | 2003-04-15 H.J. Lu <hjl@gnu.org> |
1027 | ||
1028 | From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: | |
1029 | ||
1030 | * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. | |
1031 | ||
c2dcd04e NC |
1032 | 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> |
1033 | ||
1034 | * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. | |
1035 | * ld.texinfo: Likewise. | |
1036 | ||
877d60f7 AM |
1037 | 2003-04-14 Alan Modra <amodra@bigpond.net.au> |
1038 | ||
1039 | From Prashanth Tamraparni <prashanth_t@in.ibm.com> | |
1040 | * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and | |
1041 | other variants of crtbegin.o, crtend.o. | |
1042 | (DTOR): Likewise. | |
1043 | * scripttempl/crisaout.sc (ctors, dtors): Likewise. | |
1044 | * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. | |
1045 | * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. | |
1046 | * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. | |
1047 | * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. | |
1048 | * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. | |
1049 | * scripttempl/mmo.sc (ctors, dtors): Likewise. | |
1050 | * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. | |
1051 | ||
d4b6ee67 NC |
1052 | 2003-04-09 Dmitry Diky <diwil@mail.ru> |
1053 | ||
1054 | * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors | |
1055 | sections to respect C++ constructor/destructor. Add ctors/dtors | |
1056 | start/stop definitions. | |
1057 | * scripttempl/elf32msp430_3.sc: Likewise. | |
1058 | ||
bb10df36 NC |
1059 | 2003-04-06 Nick Clifton <nickc@redhat.com> |
1060 | ||
1061 | * ld.texinfo (Options): Add a reminder of the target specific | |
1062 | nature to the description of the i386 PE specific options, for | |
1063 | readers who have not read all the way through the manual. | |
1064 | ||
be33c5dd SS |
1065 | 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> |
1066 | ||
9f863369 | 1067 | * configure.tgt: Fixed bug in list of targ_extra_emuls. |
be33c5dd SS |
1068 | * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace |
1069 | cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ | |
1070 | * emulparams/tic3xcoff_onchip.sh: Ditto | |
1071 | * emulparams/tic4xcoff.sh: Ditto | |
1072 | * scripttempl/tic4xcoff.sc: Ditto | |
1073 | ||
e8fd7476 NC |
1074 | 2003-04-03 Nick Clifton <nickc@redhat.com> |
1075 | ||
1076 | * NEWS: Mention support for Xtensa architecture. | |
1077 | ||
2b817be1 NC |
1078 | 2003-04-02 Nick Clifton <nickc@redhat.com> |
1079 | ||
1080 | * pe-dll.c (pe_detail_list): arm-pe targets use underscores. | |
1081 | ||
1082 | 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> | |
1083 | ||
1084 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
1085 | Don't call pe_dll_build_section() if link_info.relocateable. | |
1086 | (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() | |
1087 | if link_info.relocateable. | |
1088 | ||
1089 | 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> | |
1090 | ||
1091 | * pe-dll.c (process_def_file): Don't create an export | |
1092 | section if there are no exports and we're building an exe | |
1093 | (pe_dll_build_sections): Ditto | |
1094 | (pe_dll_fill_sections): Conditionalize setting | |
1095 | abfd->dll true on info->shared | |
1096 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
1097 | If i386pe or armpe, call pe_dll_build_section() | |
1098 | for both exe's and dll's, not just dll's. | |
1099 | (gld_${EMULATION_NAME}_finish): For all targets except | |
1100 | shpe and mipspe, call pe_dll_fill_sections() for both | |
1101 | exe's and dll's, not just dll's. | |
1102 | ||
f6c8b716 BW |
1103 | 2003-04-02 Bob Wilson <bob.wilson@acm.org> |
1104 | ||
1105 | * emulparams/xtensa-config.sh: Remove comment indicating that this is | |
1106 | a generated file. | |
1107 | ||
e0001a05 NC |
1108 | 2003-04-01 Bob Wilson <bob.wilson@acm.org> |
1109 | ||
877d60f7 AM |
1110 | * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. |
1111 | (eelf32xtensa.c): New target. | |
1112 | * Makefile.in: Regenerate. | |
1113 | * configure.tgt: Handle xtensa-*-*. | |
1114 | * gen-doc.texi: Set XTENSA variable. | |
1115 | * ld.texinfo: Set XTENSA variable. Add new Xtensa node. | |
1116 | * emulparams/elf32xtensa.sh: New file. | |
1117 | * emulparams/xtensa-config.sh: Likewise. | |
1118 | * emultempl/xtensaelf.em: Likewise. | |
1119 | * scripttempl/elfxtensa.sc: Likewise. | |
e0001a05 | 1120 | |
276e5094 JJ |
1121 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
1122 | ||
1123 | * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 | |
1124 | targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath | |
1125 | if --enable-64-bit-bfd. | |
1126 | ||
5a6c6817 NC |
1127 | 2003-04-01 Nick Clifton <nickc@redhat.com> |
1128 | ||
394ce546 | 1129 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of |
5a6c6817 | 1130 | note section. |
394ce546 | 1131 | * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change |
5a6c6817 NC |
1132 | name of note section. |
1133 | ||
a6e02871 AO |
1134 | 2003-03-31 Alexandre Oliva <aoliva@redhat.com> |
1135 | ||
1136 | * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of | |
1137 | --section-start. | |
1138 | ||
5ed6aba4 NC |
1139 | 2003-03-31 David Heine <dlheine@suif.stanford.edu> |
1140 | ||
1141 | * ldfile.c (ldfile_add_library_path): Always allocate space for | |
1142 | the filename. | |
1143 | * ldlang.c (lang_register_vers_node): Free the node if it cannot | |
1144 | be used. | |
1145 | * ldmain.c (set_scripts_dir): Always free the constructed | |
1146 | directory name. | |
1147 | (add_keepsyms_file): Fix memory leak. | |
1148 | * ldmisc.c (vfinfo): Likewise. | |
877d60f7 | 1149 | * lexsup.c (parse_args): Likewise. |
5ed6aba4 | 1150 | |
e16bb312 NC |
1151 | 2003-03-25 Stan Cox <scox@redhat.com> |
1152 | Nick Clifton <nickc@redhat.com> | |
877d60f7 | 1153 | |
6bc8652b | 1154 | Contribute support for Intel's iWMMXt chip - an ARM variant: |
e16bb312 NC |
1155 | |
1156 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. | |
1157 | * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. | |
1158 | * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. | |
1159 | (.bss): Likewise. | |
1160 | ||
3fe38064 NC |
1161 | 2003-03-25 Alexandre Oliva <aoliva@redhat.com> |
1162 | ||
1163 | * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. | |
1164 | * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. | |
1165 | (main): Initialize them. | |
1166 | * ldfile.c: Include pathnames.h. | |
1167 | (is_sysrooted_pathname): New. | |
1168 | (ldfile_add_library_path): Use it. | |
1169 | (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't | |
1170 | search_dirs if given an absolute pathname. | |
1171 | (ldfile_open_file): Issue error message for sysrooted | |
1172 | absolute pathnames. | |
1173 | * Makefile.am: Updated dependencies. | |
1174 | * Makefile.in: Rebuild. | |
1175 |