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