]> Git Repo - binutils.git/blame - ld/ChangeLog
Pass argc and argv to ldemul_choose_target.
[binutils.git] / ld / ChangeLog
CommitLineData
742aeb63
TR
12001-12-02 Tom Rix <[email protected]>
2
3 * configure.tgt : Remove eaixppc64 emulations.
4 * Makefile.in : Remove eaixppc64.c
5 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
6 (ldemul_default_target): Same.
7 * emultempl/gld960.em (gld960_choose_target): Same.
8 * emultempl/gld960c.em (gld960_choose_target): Same.
9 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
10 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
11 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
12 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
13 * emultempl/aix.em (choose_target): New function. Handle emulation of
14 -b32 and -b64.
15
48459341
L
162001-11-27 H.J. Lu <[email protected]>
17
18 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
19 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
20 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
21 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
22 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
23 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
24 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
25 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
26
27 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
28 is not empty.
29 (SDATA): Likewise.
30 (REL_SDATA): Likewise.
31 (REL_SBSS): Likewise.
32 (REL_SDATA2): Likewise.
33 (REL_SBSS2): Likewise.
34 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
35 (SDATA2): Likewise.
36
ecfdd20c
SC
372001-11-25 Stephane Carrez <[email protected]>
38
39 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
40 destructor in rom.
41 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
42
da54c6eb
L
432001-11-22 H.J. Lu <[email protected]>
44
45 * Makefile.in: Regenerated with automake based on automake
46 1.4-8 in RedHat 7.1.
47
465bc359
AM
482001-11-22 Alan Modra <[email protected]>
49
50 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
51 (config.status): Delete rule.
52 Add extra dependencies to cover sourced emulparams files.
53 * Makefile.in: Regenerate.
54
55 * scripttempl/elf.sc: Order <section>, <section>.* and
56 corresponding linkonce sections as seen in input files.
57 Formatting fixes. Zero vma of all sections if not relocating.
58 (STACK): Define and insert if STACK_ADDR defined.
59 (OTHER_RELOCATING_SECTIONS): Delete.
60 (OTHER_END_SYMBOLS): Define.
61 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
62 (OTHER_READWRITE_SECTIONS): Likewise.
63 (OTHER_GOT_SECTIONS): Likewise.
64 (OTHER_SDATA_SECTIONS): Likewise.
65 (OTHER_BSS_SECTIONS): Likewise.
66 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
67 (OTHER_READWRITE_SECTIONS): Likewise.
68 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
69 (OTHER_READWRITE_SECTIONS): Likewise
70
71 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
72 (STACK_ADDR): Define.
73 * emulparams/armelf_oabi.sh: As for armelf.sh.
74 * emulparams/elf32mcore.sh: As for armelf.sh.
75 * emulparams/h8300elf.sh: As for armelf.sh.
76 * emulparams/mn10200.sh: As for armelf.sh.
77 * emulparams/shelf.sh: As for armelf.sh.
78
79 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
80 (OTHER_END_SYMBOLS): Define.
81 * emulparams/m32relf.sh: As for elf32fr30.sh.
82 * emulparams/h8300helf.sh: As for elf32fr30.sh.
83 * emulparams/h8300self.sh: As for elf32fr30.sh.
84
85 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
86 defines with RELOCATING test.
87 (OTHER_SDATA_SECTIONS): Likewise.
88 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
89 (OTHER_END_SYMBOLS): ..this.
90 * emulparams/crislinux.sh: As for criself.sh.
91
92 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
93 if not relocating.
94 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
95 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
96 normal and linkonce sections as seen in input files.
97 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
98 (TEXT_DYNAMIC): Likewise.
99 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
100 (OTHER_SDATA_SECTIONS): Likewise.
101 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
102 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
103 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
104 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
105 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
106 (OTHER_PLT_RELOC_SECTIONS): Likewise.
107 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
108 sections as seen in input files.
109 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
110 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
111 if not relocating.
112 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
113 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
114 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
115 (OTHER_SECTIONS): Instead, use this..
116 (OTHER_END_SYMBOLS): ..and this.
117
118 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
119 * emulparams/elf32bsmip.sh: Likewise.
120 * emulparams/elf32btsmip.sh: Likewise.
121 * emulparams/elf32ebmip.sh: Likewise.
122 * emulparams/elf32lmip.sh: Likewise.
123 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
124 * emulparams/elf32lsmip.sh: Likewise.
125 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
126 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
127 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
128 * emulparams/elf64btsmip.sh: Likewise.
129 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
130 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
131 * emulparams/elf32ppclinux.sh: Likewise.
132 * emulparams/elf32ppcsim.sh: Likewise.
133 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
134 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
135 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
136 * emulparams/h8300self.sh: Likewise.
137 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
138 * emulparams/sh.sh: Comment.
139 * emulparams/shl.sh: Source sh.sh, remove duplicates.
140 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
141 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
142
abc6ab0a
AM
1432001-11-21 David Heine <[email protected]>
144 Alan Modra <[email protected]>
145
146 * ldlang.c (map_input_to_output_sections): Replace "break"
147 accidentally removed with 2001-08-03 change.
148 (lang_gc_sections_1): Likewise.
149
2181f54f
AM
1502001-11-21 Alan Modra <[email protected]>
151
152 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
153
ca0b5847
AM
1542001-11-20 Angela Marie Thomas <[email protected]>
155
156 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
157 of false when calling lang_size_sections.
158 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 159
c56feb2b
AM
1602001-11-15 Alan Modra <[email protected]>
161
162 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
163 function when LDEMUL_FINISH isn't set to the same name. Don't
164 call ${LDEMUL_FINISH}.
165 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
166 * emultempl/armelf.em (arm_elf_finish): Call
167 gld${EMULATION_NAME}_finish.
168 * emultempl/hppaelf.em (hppaelf_finish): Rename to
169 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
170 hppaelf_layout_sections_again if necessary.
171 (need_laying_out): New var.
172 (hppaelf_layaout_sections_again): Rename to
173 hppaelf_layout_sections_again. Clear need_laying_out.
174 (PARSE_AND_LIST_OPTIONS): Format text.
175
a48ca7f2
L
1762001-11-14 H.J. Lu <[email protected]>
177
178 * emultempl/armelf.em (arm_elf_finish): Renamed from
179 gld${EMULATION_NAME}_finish.
180 (LDEMUL_FINISH): Set to arm_elf_finish.
181
73d074b4
DJ
1822001-11-14 Daniel Jacobowitz <[email protected]>
183
184 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
185 (struct ld_emulation_xfer_struct): Use it.
186
fc65c602
JL
187Tue Nov 13 11:27:14 2001 Ross Alexander <[email protected]>
188
465bc359 189 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
190 additional symbols referenced by newer crt0.o files from HP.
191
f11b7027
NC
1922001-11-12 Anthony Green <[email protected]>
193
194 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
195
3bf2994f
AM
1962001-11-12 Alfred M. Szmidt <[email protected]>
197
198 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
199 * Makefile.in: Regenerate.
200
ff5dcc92
SC
2012001-11-02 Stephane Carrez <[email protected]>
202
203 * ld.texinfo: Use @command for commands, @option for options.
204 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
205 the page man title.
206 * Makefile.in: Rebuild.
207
9fb9af6e
CD
2082001-11-04 Chris Demetriou <[email protected]>
209
210 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
211 Add support for targets.
2181f54f 212
3c62831e
NC
2132001-11-02 Nick Clifton <[email protected]>
214
215 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
216 * configure: Regernate.
217 * po/fr.po: New file.
218 * po/sv.po: New file.
219
3a9091c4
NC
2202001-11-01 NIIBE Yutaka <[email protected]>
221
222 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
223 as little endian default and to support big endian.
2181f54f 224
361b220e
CD
2252001-11-01 Chris Demetriou <[email protected]>
226
227 * ld.texinfo (Options): Document new option, -nostdlib.
228 * lexsup.c (OPTION_NOSTDLIB): New definition.
229 (ld_options): Add entry for "nostdlib".
230 (parse_args): Handle OPTIONS_NOSTDLIB.
231 * ldfile.c (ldfile_add_library_path): Don't add directories
232 to the search path if they weren't specified on the command line
233 and -nostdlib was specified.
234 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
235
210a7bd1
NC
2362001-10-31 Nick Clifton <[email protected]>
237
238 * lexsup.c (parse_args): Prevent infinite parsing loop when
239 "-rpath.a" is specified on the command line.
240 Replace calls to fprintf with calls to einfo.
241
114283d8
NC
2422001-10-31 John Marshall <[email protected]>
243
244 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
245 appear only once across all the linker scripts involved in a link
246 invocation no longer applies. Make the documentation reflect
247 that.
248
7649aa50
NC
2492001-10-31 NIIBE Yutaka <[email protected]>
250
251 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
252 targets.
253 (sh-*-linux*): Added targ_extra_libpath.
254
6e814ff8
AM
2552001-10-31 David Heine <[email protected]>
256
257 * ldlang.c (lang_size_sections): Keep a valid output_offset field
258 for padding statements.
259
3c3bdf30
NC
2602001-10-30 Hans-Peter Nilsson <[email protected]>
261
262 * configure.tgt (mmix-*-*): New target.
263 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
264 Add dependencies to match.
265 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
266 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
267 scripttempl/mmo.sc: New files.
268 * gen-doc.texi: @set MMIX.
269 * ld.texinfo: Ditto.
6e814ff8 270 [MMIX] Add MMIX node.
3c3bdf30
NC
271 * Makefile.in: Regenerate.
272
ca0c1d3e
KH
2732001-10-29 Kazu Hirata <[email protected]>
274
275 * ldlang.c: Fix a comment typo.
276
1a3d33ce
AM
2772001-10-23 Alan Modra <[email protected]>
278
279 * configure.host: Move alpha*-*-linux-gnu* entry to generic
280 entries, and match *-*-linux*.
281
b47c4208
AM
2822001-10-20 Alan Modra <[email protected]>
283
284 * ldgram.y (mri_script_command): Surround processing of INCLUDE
285 with ldlex_script, ldlex_popstate.
286 (ifile_p1): Likewise.
287 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
288 correct slot.
289 (lex_push_file): Save current lineno to lineno_stack. Set lineno
290 to 1. Don't BEGIN(SCRIPT).
291 (lex_redirect): Similarly.
292 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
293
fd521b47
NC
2942001-10-20 Nick Clifton <[email protected]>
295
296 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
297 __EH_FRAME_END__ and accept eh frames into data section.
298 Add ctor and dtor sections.
299
59d28a94
DD
3002001-10-19 Danny Smith <[email protected]>
301
302 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
303 (auto-export): Fix indentation.
304
663dd378
DD
3052001-10-18 Danny Smith <[email protected]>
306
307 * pe-dll.c (autofilter_objectlist): Add startup objects
308 for profiling.
309 (auto-export): Constify char * p.
6e814ff8 310 Extract file basename and use strcmp rather than ststr
663dd378
DD
311 for object lookup.
312
31d677f9
CD
3132001-10-18 Chris Demetriou <[email protected]>
314
315 * ldmain.c (get_emulation): Improve comment about the handling
316 of -mipsN options.
317
aa200fe8
AM
3182001-10-17 Alan Modra <[email protected]>
319
320 * po/POTFILES.in: Regenerate.
321
146e7110
AM
3222001-10-16 Vassili Karpov <[email protected]>
323
324 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
325 -z nocopyreloc and -z nocombreloc usage strings.
326
b4330e85
NC
3272001-10-12 Vassili Karpov <[email protected]>
328
146e7110 329 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
330 in usage.
331
5af8a2fb
NC
3322001-10-11 Aleksey Romanov <[email protected]>
333
334 * scripttempl/armaout.sc: Place .bss section after end of aligned
335 data section to match behaviour of aout code in constructrion of
336 header.
337
5b784096
DD
3382001-10-11 Danny Smith <[email protected]>
339
340 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
341 startup files for mingw32 dlls to list.
342
61585df2
CD
3432001-10-10 Chris Demetriou <[email protected]>
344
345 * emultempl/elf32.em: Fix shell 'if' usage for portability.
346
45cf6f3e
AH
3472001-10-08 Aldy Hernandez <[email protected]>
348
349 * configure.tgt (targ): Add arm9e-*-elf.
350
e24d7c12
L
3512001-10-05 H.J. Lu <[email protected]>
352
353 * genscripts.sh: Fix a typo in the last change.
354
ec38dd05
JJ
3552001-10-05 Jakub Jelinek <[email protected]>
356
357 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
358 -z nocombreloc in usage.
359
cedd6b0d
JB
3602001-10-03 Jim Blandy <[email protected]>
361
362 * genscripts.sh: Include a comment at the top of each generated
363 script, explaining its purpose.
364
8bd621d8
AM
3652001-10-03 Vassili Karpov <[email protected]>
366
367 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
368 * NEWS: Mention -z nocopyreloc.
369 * ld.texinfo (Options): Describe nocopyreloc.
370
fcd8210c
AM
3712001-10-03 Alan Modra <[email protected]>
372
373 * configure: Regenerate.
374
d32820f2
AM
3752001-10-02 Alan Modra <[email protected]>
376
377 * ldver.h (ld_program_version): Remove declaration.
378 * lexsup.c (parse_args): Move printing of copyright message..
379 * ldver.c (ldversion): .. to here.
380 Use BFD_VERSION_STRING in place of BFD_VERSION.
381 (ld_program_version): Remove.
382 * Makefile.am (Makefile): Depend on bfd/configure.in.
383 Run "make dep-am".
384 * Makefile.in: Regenerate.
385
af46bcdc
HPN
3862001-09-30 Hans-Peter Nilsson <[email protected]>
387
388 * Makefile.am: Update dependencies with "make dep-am".
389 * Makefile.in: Regenerate.
390
4818e05f 3912001-09-29 John Reiser <[email protected]>
862517b6 392
4818e05f
AM
393 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
394 * lexsup.c: Add --no-define-common commandline option.
395 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
396 * ldlex.l: Likewise.
397 * ld.h: Add command_line.inhibit_common_definition.
398 * ldmain.c (main): Initialize.
399 * ld.texinfo: Document.
862517b6 400
d5e0ebeb
AM
4012001-09-26 Alan Modra <[email protected]>
402
403 * ldmisc.c (USE_STDARG): Remove.
404 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
405 (einfo): Likewise.
406 (minfo): Likewise.
407 (lfinfo): Likewise.
408
409 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
410 declarations. Update copyright.
411
2f8d8971
NC
4122001-09-24 Charles Wilson <[email protected]>
413
85c77458
NC
414 * pe-dll.c: Remove obsoleted declaration of
415 pe_get_data_import_dll_name.
416 (pe_create_import_fixup): Fix thinko.
417
2f8d8971
NC
418 * ld.texinfo(enable-auto-import): Clarify the explanation.
419
4202001-09-24 Nick Clifton <[email protected]>
421
422 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
423 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
424 DLL_SUPPORT controlled code.
425
72358f65 4262001-09-24 Charles Wilson <[email protected]>
146e7110 427
72358f65
NC
428 * emultempl/pe.em(pe_data_import_dll): Make static.
429 (pe_get_data_import_dll_name): New accessor function.
146e7110 430 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
431 pe_get_data_import_dll_name() from pe.em, instead of
432 directly accessing pe_data_import_dll variable from pe.em.
433
3882b010
L
4342001-09-18 Bruno Haible <[email protected]>
435
436 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
437 (def_file_add_directive): Use ISSPACE instead of isspace.
438 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
439 isdigit/isxdigit/isalpha/isalnum.
440 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
441 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
442 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
443 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
444 isalnum.
445 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
446 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
447 isupper/tolower.
448 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
449 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
450 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
451 (ctor_prio): Use ISDIGIT instead of isdigit.
452 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
453 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
454 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
455 isupper/tolower.
456 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
457 (stricpy): Use TOLOWER instead of isupper/tolower.
458 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
459 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
460 (lex_warn_invalid): Use ISPRINT instead of isprint.
461 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
462 (main): For gettext, also set the LC_CTYPE locate facet.
463 (add_keepsyms_file): Use ISSPACE instead of isspace.
464 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
465 (is_num, parse_args): Use ISDIGIT instead of isdigit.
466 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
467 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
468 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
469 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
470 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
471 (quoteput): Use ISSPACE instead of isspace.
472 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
473 instead of isalnum.
474
db09f25b
AM
4752001-09-18 Alan Modra <[email protected]>
476
477 * deffilep.y (def_stash_module): Constify "name" param.
478
479 * pe-dll.c: Replace CONST with const throughout.
480 (quick_symbol): Constify "n1", "n2", "n3" params.
481 (make_singleton_name_thunk): Constify "import" param. Make
482 "buffer_len" a size_t.
483 (make_import_fixup_entry): Constify "name", "fixup_name",
484 "dll_symname" params.
485 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
486 (pe_get32): Likewise.
487 (pe_implied_import_dll): Likewise.
488
489 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
490 (sort_by_section_name): Likewise.
491
492 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
493 (make_import_fixup): Cast printf arg, rel->address to long rather
494 than int.
495 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
496
74699268
AM
4972001-09-15 Alan Modra <[email protected]>
498
499 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
500 defines BufferSize. Increase buffer size by one.
501
775cabad
NC
5022001-09-14 Ralf Habacker <[email protected]>
503
504 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
505
056a1d49
NC
5062001-09-14 Kevin Lo <[email protected]>
507
508 * configure.tgt: Add arm-openbsd target.
509
a7d792bb
L
5102001-09-12 H.J. Lu <[email protected]>
511
512 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
513 eelf64lppc.o to ...
514 (ALL_64_EMULATIONS): Here.
515 * Makefile.in: Regenerated.
516
0d888aac
CW
5172001-09-12 Paul Sokolovsky <[email protected]>
518
519 * emultempl/pe.em(make_import_fixup): change signature to
520 take asection as well as arelec; we need this for proper
146e7110 521 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
522 there is no attempt to add a constant addend to the reloc;
523 otherwise, report error condition.
524 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
525 since final argument is a pointer to make_import_fixup().
526 Change call to cb() to match make_import_fixup() signature.
527 (make_import_fixup_mark): make buffer_len unsigned.
528 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
529
5302001-09-12 Charles Wilson <[email protected]>
531
532 * ld.texinfo: add verbose documentation for auto-import
146e7110 533 direct-addressing workaround, to compliment the terse
0d888aac
CW
534 error message.
535
cedacdc0
CM
5362001-09-12 Andrew MacLeod <[email protected]>
537
146e7110 538 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 539
38be0bb1
JL
540Fri Sep 7 11:34:24 2001 Jeffrey A Law ([email protected])
541
542 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
543 * emulparams/h8300self.sh: Similarly.
544
559e4713
NC
5452001-09-05 Danny Smith <[email protected]>
546
547 * ld.texinfo (Options, --stack): Correct default value for stack
548 reserve.
549
1fdf0249
TR
5502001-09-05 Tom Rix <[email protected]>
551
552 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 553
9b5799b8
AJ
5542001-09-03 Andreas Jaeger <[email protected]>
555
556 * emultempl/beos.em: Declare prototypes for comparions functions,
557 adjust definitions.
558
48f6162b
AJ
5592001-09-02 Andreas Jaeger <[email protected]>
560
561 * emultempl/aix.em: Add missing prototype.
562 * emultempl/lnk960.em: Likewise.
563 * emultempl/vanilla.em: Likewise.
564 * emultempl/armcoff.em: Likewise.
565 * emultempl/armelf_oabi.em: Likewise.
566 * emultempl/beos.em: Likewise.
567 * emultempl/gld960c.em: Likewise.
568 * emultempl/gld960.em: Likewise.
569
570 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
571 for prototype declaration.
572
39e5585e
EC
5732001-08-31 Eric Christopher <[email protected]>
574 Jason Eckhardt <[email protected]>
575
576 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
577
3fc90ddb
AJ
5782001-08-31 Andreas Jaeger <[email protected]>
579
580 * emultempl/pe.em: Add missing prototypes.
581 (gld_${EMULATION_NAME}_after_open): Remove extra args to
582 pe_find_data_imports.
583 (pr_sym): Add unused attribute.
584
d43ded80
PB
5852001-08-29 Joel Sherrill <[email protected]>
586
39e5585e 587 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
588 default from coff to elf.
589
3946dd2f
JL
5902001-08-29 Jeff Law <[email protected]>
591
592 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
593 ARCH specification.
594 * emulparams/h8300self.sh: Similarly.
595
596Wed Aug 28 13:37:20 2001 J"orn Rennecke <[email protected]>
8af6dd41
JR
597
598 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
599 eh8300self.o .
600 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
601 * configure.tgt (h8300-*-elf*): New case.
602 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
603 * emulparams/h8300self.sh: New file.
604 * Makefile.in: Regenerated.
605
70d0c6e9
NC
6062001-08-28 Nick Clifton <[email protected]>
607
608 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
609 with macro name.
610
5c67d4bb
AM
6112001-08-27 Linus Nordberg <[email protected]>
612 Alan Modra <[email protected]>
613
614 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
615 (eelf64ppc.c, eelf64lppc.c): Add make targets.
616 Run "make dep-am"
617 * Makefile.in: Regenerate.
618 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
619 entries to correct alphabetical position.
620 * emulparams/elf64ppc.sh: New.
621 * emulparams/elf64lppc.sh: New.
622
08131015
NC
6232001-08-27 Nick Clifton <[email protected]>
624
625 * ldmain.c (main): Declare BSIZE as static.
626
db6751f2
JJ
6272001-08-23 Jakub Jelinek <[email protected]>
628
629 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
630 into .rel.dyn resp. .rela.dyn if combreloc.
631 (get_script): If .x linker script is equal to .xn, only put it
632 once into the binary.
633 Add .xc and .xsc scripts.
634 (parse_args): Handle -z combreloc and -z nocombreloc.
635 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
636 For .xc and .xsc scripts put all .rel* or .rela* input sections
637 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
638 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
639 is elf.
640 Strip trailing whitespace from script.
641 Generate .xc and .xsc scripts if requested.
642 * ldmain.c (main): Initialize link_info.combreloc and
643 link_info.spare_dynamic_tags.
644 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
645 (ld_options): Add --spare-dynamic-tags option.
646 (parse_args): Likewise.
647 * ld.texinfo: Document -z combreloc and -z nocombreloc.
648 * ldint.texinfo: Document .xc and .xsc linker scripts.
649 * NEWS: Add notes about -z combreloc and SHF_MERGE.
650
63d069c0
L
6512001-08-22 H.J. Lu <[email protected]>
652
653 * emulparams/elf32fr30.sh: Add a newline.
654
948f9114
AJ
6552001-08-21 Andreas Jaeger <[email protected]>
656
657 * deffilep.y: Add missing prototypes.
658 * pe-dll.c: Likewise.
659
ae7fb08f
AM
6602001-08-20 Alan Modra <[email protected]>
661
2af02257
AM
662 * ldlang.c (insert_pad): Fix typos in last patch.
663
664 * ldlang.c: When traversing lang_statement_union_type lists,
665 consistently use "header.next" rather than "next".
666 * mpw-eppcmac.c: Likewise.
667 * emultempl/beos.em: Likewise.
668 * emultempl/hppaelf.em: Likewise.
669 * emultempl/pe.em: Likewise.
670 * ldlang.h (union lang_statement_union): Remove "next" field.
671
c0c330a7
AM
672 * ldlang.c (insert_pad): Use offsetof macro.
673 (lang_size_sections): Always neuter padding statements.
674 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
675
ae7fb08f
AM
676 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
677 passed to lang_size_sections.
678 (pe_exe_fill_sections): Likewise.
679 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
680 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
681
fab80407
AM
6822001-08-18 Alan Modra <[email protected]>
683
684 * emultempl/aix.em: Formatting fixes.
685
b3327aad
AM
6862001-08-18 Alan Modra <[email protected]>
687
688 * ldlang.c (insert_pad): Make use of an existing pad statement if
689 available. Move code calculating alignment, adjusting section
690 alignment power, and adjusting dot to ..
691 (size_input_section): .. here. Remove unused relax param.
692 (lang_size_sections): Change boolean `relax' param to boolean *.
693 Adjust call to size_input_section. Make use of insert_pad to
694 place pad after the assignment statement. If relaxing, zap
695 padding statements.
696 (reset_memory_regions): Reset output_bfd section sizes too.
697 (relax_again): Move to..
698 (lang_process): ..here. Adjust call to lang_size_sections, and
699 remove duplicated code.
700 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
701
563e308f
AM
7022001-08-17 Alan Modra <[email protected]>
703
704 * ld.texinfo: Document that fill values now use the four least
705 significant bytes.
706 * emulparams/elf32fr30.sh (NOP): Update.
707 * emulparams/elf32mcore.sh: Likewise.
708 * emulparams/elf64_s390.sh: Likewise.
709 * emulparams/elf_i386.sh: Likewise.
710 * emulparams/elf_i386_be.sh: Likewise.
711 * emulparams/elf_i386_chaos.sh: Likewise.
712 * emulparams/elf_i386_ldso.sh: Likewise.
713 * emulparams/elf_s390.sh: Likewise.
714 * emulparams/elf_x86_64.sh: Likewise.
715 * emulparams/i386moss.sh: Likewise.
716 * emulparams/i386nw.sh: Likewise.
717 * emulparams/m68kelf.sh: Likewise.
718 * scripttempl/elf.sc: Update NOP comment.
719 * scripttempl/elfi370.sc: Likewise.
720 * scripttempl/elfm68hc11.sc: Likewise.
721 * scripttempl/elfm68hc12.sc: Likewise.
722 * scripttempl/nw.sc: Likewise.
723
b90e1c6f
TR
7242001-08-15 Tom Rix <[email protected]>
725
726 * ldgram.y (saved_script_handle): Initialize to NULL.
727 * ldmain.c (main): Change check on saved_script_handle.
948f9114 728
39dcfe18
AM
7292001-08-14 Alan Modra <[email protected]>
730
cde43e70
AM
731 * emultempl/elf32.em: Formatting fixes.
732 (output_prev_sec_find): Test for bfd_ind_section too; do so by
733 looking at sec->owner.
734 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
735 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
736 unused code, and reorganize orphan section placement code.
737
39dcfe18
AM
738 * ldlang.c (wild_doit): Rename to lang_add_section.
739 * ldlang.h: Here too.
740 * mpw-elfmips.c: And here.
741 * emultempl/beos.em: And here.
742 * emultempl/elf32.em: And here.
743 * emultempl/hppaelf.em: And here.
744 * emultempl/pe.em: And here.
745
908d20b3
RH
7462001-08-13 Richard Henderson <[email protected]>
747
748 * emultempl/needrelax.em: New file.
749 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
750 * Makefile.am (eelf64_ia64.c): Depend on it.
751 * Makefile.in: Rebuild.
752
0f33d40b
AM
7532001-08-13 Alan Modra <[email protected]>
754
22af9fd3
AM
755 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
756 output_section is set non-NULL.
757
0f33d40b
AM
758 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
759 `true' for SEC_EXCLUDE sections so that the generic code doesn't
760 needlessly create an output_section_statement. Treat a correctly
761 named output_section_statement with NULL bfd_section as compatible.
762
55ab6103
HPN
7632001-08-13 Hans-Peter Nilsson <[email protected]>
764
765 * emultempl/generic.em: Support EXTRA_EM_FILE.
766 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
767 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
768 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
769 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
770 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
771 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
772 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
773 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
774 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
775 LDEMUL_FIND_POTENTIAL_LIBRARIES.
776
24098abb
RH
7772001-08-12 Richard Henderson <[email protected]>
778
779 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
780 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
781 scripttempl/v850.sc: Keep .jcr data.
782
b9a8de1e 7832001-08-12 H.J. Lu <[email protected]>
146e7110
AM
784 Andrew Haley <[email protected]>
785 Nick Clifton <[email protected]>
b9a8de1e 786
146e7110 787 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
788 Change type to file handle.
789 * ld.h (had_script): Rename and retype.
790 * ldfile.c (ldfile_open_command_file): Save the file handle
791 used in saved_script_handle.
792 * lexsup.c (parse_args): Do not allow -c option to alter
793 saved_script_handle.
794 * ldmain.c (main): Print out the linker script used if
795 --verbose is given. Check saved_script_handle to obtain the
796 external linker script used, or if NULL, dump the builtin
797 script.
798 * ld.texinfo: Document that --verbose now dumps the linker
799 script used, regardless of whether it was an internal or an
800 external script.
801
0218d1e4
AJ
8022001-08-10 Andreas Jaeger <[email protected]>
803
804 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
805 to build warnings.
806 * configure: Regenerate.
807
5253f23b
AM
8082001-08-09 Alan Modra <[email protected]>
809
73810896
AM
810 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
811
5253f23b
AM
812 * scripttempl/elf.sc: Move non-text .dynamic section before
813 .plt/.got/.sdata* group.
814 (OTHER_GOT_SECTIONS): Move to immediately after .got.
815 (OTHER_SDATA_SECTIONS): Add.
816 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
817 OTHER_GOT_SECTIONS.
818 * emulparams/crislinux.sh: Likewise.
819 * emulparams/elf32b4300.sh: Likewise.
820 * emulparams/elf32bmip.sh: Likewise.
821 * emulparams/elf32bmipn32.sh: Likewise.
822 * emulparams/elf32bsmip.sh: Likewise.
823 * emulparams/elf32btsmip.sh: Likewise.
824 * emulparams/elf32ebmip.sh: Likewise.
825 * emulparams/elf32elmip.sh: Likewise.
826 * emulparams/elf32l4300.sh: Likewise.
827 * emulparams/elf32lmip.sh: Likewise.
828 * emulparams/elf32lsmip.sh: Likewise.
829 * emulparams/elf32ltsmip.sh: Likewise.
830 * emulparams/elf64bmip.sh: Likewise.
831 * emulparams/elf64btsmip.sh: Likewise.
832 * emulparams/elf64ltsmip.sh: Likewise.
833
179c732c
AM
8342001-08-08 Alan Modra <[email protected]>
835
836 * genscripts.sh: Source the emulparams script before each output
837 script is generated so that variables like `RELOCATING' may affect
838 variables defined in the emulparams script.
839
3fd36710
AM
8402001-08-04 Alan Modra <[email protected]>
841
20713691
AM
842 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
843 order.
844
3fd36710
AM
845 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
846 ie. iterate over wild_statement.section_list.
847 (gld${EMULATION_NAME}_place_orphan): Likewise.
848
de0b1853
SC
8492001-08-03 Stephane Carrez <[email protected]>
850
851 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
852 .fini[0-4] sections used by _exit
853 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
854 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
855 * scripttempl/elfm68hc11.sc: Likewise.
856
ff7e6f88
L
8572001-08-03 H.J. Lu <[email protected]>
858
859 * emultempl/beos.em (init): Add the missing initialization.
860
b6bf44ba
AM
8612001-08-03 Alan Modra <[email protected]>
862
863 * ld.texinfo (Input Section Basics): Clarify ordering of output
864 sections.
865 * ldlang.c (callback_t): Add wildcard_list param.
866 (walk_wild_section): Remove "section" param. Rewrite for
867 lang_wild_statement_type change. Remove unique_section_p test.
868 (walk_wild_file): Remove "section" param.
869 (walk_wild): Remove "section" and "file" params.
870 (lang_gc_wild): Likewise.
871 (wild): Likewise. Modify for lang_wild_statement_type change.
872 (wild_sort): Likewise. Add "sec" param.
873 (gc_section_callback): Likewise.
874 (output_section_callback): Likewise. Do unique_section_p test.
875 (map_input_to_output_sections): Modify call to wild.
876 (lang_gc_sections_1): Likewise.
877 (print_wild_statement): Modify for lang_wild_statement_type
878 change.
879 (lang_add_wild): Replace filename, filenames_sorted param with
880 filespec. Replace section_name, sections_sorted,
881 exclude_filename_list with section_list.
882 * ldlang.h (lang_add_wild): Here too.
883 (lang_wild_statement_type): Replace section_name, sections_sorted,
884 and exclude_filename_list with section_list.
885 * ldgram.y (current_file): Delete.
886 (%union): Add wildcard_list.
887 (file_NAME_list): Set type to wildcard_list. Build a linked list
888 rather than calling lang_add_wild for each entry.
889 (input_section_spec_no_keep): Call lang_add_wild here instead.
890 * ld.h (struct wildcard_list): Declare.
891 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
892
b044cda1
CW
8932001-08-02 Charles Wilson <[email protected]>
894
895 * ldmain.c (main): initialize link_info.pei386_auto_import
896 * pe-dll.c: new tables for auto-export filtering
897 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 898 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
899 "by hand".
900
9012001-08-02 Paul Sokolovsky <[email protected]>
902
b6bf44ba
AM
903 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
904 static variable current_sec (static struct sec *). Add
b044cda1 905 forward declaration for add_bfd_to_link.
b6bf44ba
AM
906 (process_def_file): Don't export undefined symbols. Do not
907 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
908 with new API.
909 (pe_walk_relocs_of_symbol): New function.
910 (generate_reloc): add optional extra debugging
b6bf44ba 911 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 912 line in output
b6bf44ba 913 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
914 (DATA auto-import support).
915 (make_singleton_name_thunk): New function.
916 (make_import_fixup_mark): New function.
917 (make_import_fixup_entry): New function.
918 (pe_create_import_fixup): New function.
b6bf44ba 919 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 920 char *.
b6bf44ba
AM
921 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
922 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
923 pe_create_import_fixup.
924 * emultempl/pe.em: add new options --enable-auto-import,
925 --disable-auto-import, and --enable-extra-pe-debug.
926 (make_import_fixup): New function.
927 (pe_find_data_imports): New function.
928 (pr_sym): New function.
b6bf44ba 929 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
930 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
931 CODE.
932
9332001-08-02 Charles Wilson <[email protected]>
b6bf44ba 934
b044cda1
CW
935 * ld.texinfo: add additional documentation for
936 --export-all-symbols. Document --out-implib,
937 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
938 --dll-search-prefix, --enable-auto-import, and
939 --disable-auto-import.
b044cda1
CW
940 * ldint.texinfo: Add detailed documentation on auto-import
941 implementation.
942
156e34dd
NC
9432001-07-30 Nick Clifton <[email protected]>
944
945 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
946 example.
947
d6231427
AM
9482001-07-24 Alan Modra <[email protected]>
949
950 * Makefile.am: Update dependencies with "make dep-am".
951 * Makefile.in: Regenerate
952
e14ec88b
AM
9532001-07-23 Alan Modra <[email protected]>
954
955 * ldcref.c (check_section_sym_xref): New function.
956 (check_nocrossrefs): Call it.
957 (check_nocrossref): Interate over h->refs here instead of..
958 (check_refs): ..here. Pass in the symbol name, section, and bfd
959 rather than hash_entry pointers.
960 (struct check_refs_info): Keep symbol name rather than hash entry.
961 Remove "same".
962 (check_reloc_refs): Tweak for above changes in check_refs_info.
963 Only report references to section syms when symname is NULL to
964 prevent duplicate messages for the same reloc.
965
1b577b00
NC
9662001-07-19 Nick Clifton <[email protected]>
967
c7d701b0
NC
968 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
969 available. Do not print NULL trees.
970 (exp_print_token): Print unknown tokens with values > 126 as
971 decimal values not ASCII characters.
972
1545243b
NC
973 * ldlang.c (lang_leave_overlay): If a region is specified assign
974 it to all sections inside the overlay unless they have been
975 assigned to the own, non-default, memory region.
976
1b577b00
NC
977 * README: Add header for consistency with other README files.
978
5030876b
L
9792001-07-14 H.J. Lu <[email protected]>
980
981 * emultempl/elf32.em (output_prev_sec_find): Never return
982 bfd_abs_section_ptr, bfd_com_section_ptr nor
983 bfd_und_section_ptr.
984
18c7a9a5
NC
9852001-07-14 Nick Clifton <[email protected]>
986
22af9fd3 987 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
988 elf32.em.
989 * Makefile.in: Regenerate.
990
9ffecff1
MG
9912001-07-14 matthew green <[email protected]>
992
993 * configure.tgt (i386-*-netbsdelf*): New target.
994 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
995
95500e1c
JJ
9962001-07-13 Jakub Jelinek <[email protected]>
997
998 * emultempl/elf32.em (output_prev_sec_find): New.
999 (place_orphan): Use it.
1000
e97cb84f
L
10012001-07-11 H.J. Lu <[email protected]>
1002
1003 * ldmain.c (main): Fix typos in the last change.
1004
7333607e
JJ
10052001-07-11 Jakub Jelinek <[email protected]>
1006
1007 * ldmain.c (main): Disallow -F and -f without -shared.
1008
d29d80f2
NC
10092001-07-11 Nick Clifton <[email protected]>
1010
1011 * emultempl/pe.em (after_open): Check for the output_bfd not
1012 having any coff_data structure allocated to it.
1013
c2a1a436
DB
10142001-07-09 David O'Brien <[email protected]>
1015
1016 * emultempl/elf32.em: Do not assuming that contents of the buffer
1017 returned from basename function will remain unchanged accross other
1018 function calls.
1019
63653551
L
10202001-07-03 H.J. Lu <[email protected]>
1021
1022 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1023 2001-07-03. It creates dynamic entries even for static binaries.
1024
d303a449
L
10252001-07-03 Jakub Jelinek <[email protected]>
1026
1027 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1028 (DYNAMIC): Use it to reserve few dynamic entries for
1029 post-linking tools.
1030
9f22353f
AM
10312001-06-27 Alan Modra <[email protected]>
1032
1033 * emulparams/hppa64linux.sh: New file.
1034 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1035 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1036 (ehppa64linux.c): Add rule to make it.
1037 Run "make dep-am".
1038 * Makefile.in: Regenerate.
1039
62bf86b4
HPN
10402001-06-21 Hans-Peter Nilsson <[email protected]>
1041
1042 * ld.texinfo (Options, -r): Mention restrictions when using
1043 different object formats.
1044
429d935d
HPN
10452001-06-19 Hans-Peter Nilsson <[email protected]>
1046
1047 * ldlang.c (lang_check): Emit fatal error if relocatable link
1048 between different object flavours with relocations in input.
1049
cb840a31
L
10502001-06-19 H.J. Lu <[email protected]>
1051
1052 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1053 (--version-script): Mention the language support.
1054
9bf03acc
L
10552001-06-19 H.J. Lu <[email protected]>
1056
1057 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1058
c45021f2
NC
10592001-06-18 H.J. Lu <[email protected]>
1060
b6bf44ba
AM
1061 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1062 (diststuff): Add $(MANS).
1063 * Makefile.in: Regenerated.
c45021f2 1064
b6bf44ba 1065 * ld.1: Removed.
c45021f2 1066
6caa99ab
HPN
10672001-06-18 Hans-Peter Nilsson <[email protected]>
1068
605d9b3a
HPN
1069 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1070 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1071 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1072 * ld.h (args_type): Remove member export_dynamic. All users
1073 changed to use struct bfd_link_info member.
1074
6caa99ab
HPN
1075 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1076 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1077 * Makefile.in: Regenerate.
1078
6f9efd97
L
10792001-06-18 H.J. Lu <[email protected]>
1080
1081 * ldlang.c (init_os): Add the newline to the einfo call.
1082 (lang_check): Likewise.
1083 (lang_do_version_exports_section): Likewise.
1084
5af9fd8b
L
10852001-06-15 H.J. Lu <[email protected]>
1086
1087 * lexsup.c (parse_args); Save optind to report unrecognized
1088 option.
1089
2a096f04
HPN
10902001-06-15 Hans-Peter Nilsson <[email protected]>
1091
7e66c3f5
HPN
1092 * ldlang.c (lang_check): Emit fatal error if relocatable link
1093 between different object flavours.
1094
2a096f04
HPN
1095 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1096 Set new link_info member export_dynamic.
1097 * ldmain.c (main): Initialize new link_info member export_dynamic.
1098
6770ec8c
NC
10992001-06-12 Nick Clifton <[email protected]>
1100
1101 * ldlang.c (walk_wild): Only call walk_wild_file if
1102 lookup_name returns something.
b6bf44ba 1103 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 1104 (load_symbols): Change to a boolean function.
b6bf44ba 1105 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
1106 executable.
1107
8529105a
AM
11082001-06-08 Alan Modra <[email protected]>
1109
1110 * ldlang.c (record_bfd_errors): Remove.
1111
1112 * emultempl/aix.em: Fix copyright dates.
1113
8f3aa7a0
AJ
11142001-06-07 Andreas Jaeger <[email protected]>
1115
1116 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1117 (TEXT_START_ADDR): Likewise.
1118
3277f888
AM
11192001-06-06 Martin Schwidefsky <[email protected]>
1120
1121 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1122
3763134d
DD
11232001-06-05 Danny Smith <[email protected]>
1124
1125 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1126
5929ebc0
L
11272001-05-31 H.J. Lu <[email protected]>
1128
1129 * ldlang.c (open_input_bfds): Don't change the bfd error
1130 handler whilst loading symbols.
1131
c04a062d
NC
11322001-05-28 Nick Clifton <[email protected]>
1133
1134 * configure.tgt: Remove i370-mvs architecture, it is not currently
1135 supported.
1136
96fcab3e
L
11372001-05-25 H.J. Lu <[email protected]>
1138
1139 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1140 like emulparams/aixppc.sh.
1141
db8d4f23
L
11422001-05-25 H.J. Lu <[email protected]>
1143
1144 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1145 setting of output_filename after bfd_scan_arch.
1146 * emultempl/pe.em: Likewise.
1147
5f642101
L
11482001-05-25 H.J. Lu <[email protected]>
1149
1150 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1151 like emulparams/aixppc.sh.
1152
1153 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1154 instead of ${srcdir}/emultempl/stringify.sed.
1155
64e9ece0
TW
11562001-05-25 Timothy Wall <[email protected]>
1157
1158 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 1159 output.
64e9ece0 1160
c709b096
AM
11612001-05-25 Alan Modra <[email protected]>
1162
1163 * configure.host: Replace linuxoldld with linux*oldld.
1164 * configure.tgt: Likewise.
1165
6cbdcc6f
L
11662001-05-24 H.J. Lu <[email protected]>
1167
1168 * emultempl/stringify.sed: Removed again.
1169
86af25fe
L
11702001-05-24 H.J. Lu <[email protected]>
1171
1172 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1173 (gld${EMULATION_NAME}_before_parse): Initialize
1174 ldfile_output_architecture, ldfile_output_machine and
1175 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1176 * emultempl/beos.em: Likewise.
1177 * emultempl/elf32.em: Likewise.
1178 * emultempl/linux.em: Likewise.
1179 * emultempl/mipsecoff.em: Likewise.
1180 * emultempl/pe.em: Likewise.
1181 * emultempl/sunos.em: Likewise.
1182
3b1b01cf
TR
11832001-05-24 Tom Rix <[email protected]>
1184
8f3aa7a0 1185 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
1186 udate import file format.
1187 (change_symbol_mode) New, same
1188 (is_syscall) New, same
1189 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1190 * emulparams/aixppc64.sh : same
1191 * emulparams/aixrs6.sh : same
1192 * emulparams/ppcmacos.sh : same
1193 * emultempl/aix.em : use strtoull to parse options
1194 * Makefile.am : add eaixppc64 emulation for xcoff64
1195 * Makefile.in : same
1196 * configure.tgt : same
1197
1198 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 1199 default data section offset to 0x20000000
3b1b01cf 1200 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 1201 loader and debug sections use the currect section offset.
3b1b01cf
TR
1202
1203 * emultempl/aix.em : Add xcoff64 support
1204 Add -binitfini support
8f3aa7a0 1205 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 1206 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 1207 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
1208 sections
1209
1210 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 1211
57e6abd2
AO
12122001-05-23 Alexandre Oliva <[email protected]>
1213
1214 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1215 variable to avoid non-portable shell construct.
1216
d1cf510e
NC
12172001-05-23 Thiemo Seufer <[email protected]>
1218
1219 * ldmain.c (get_emulation): Add -mips5 command line argument.
1220
506eee22
NC
12212001-05-22 Alexandre Oliva <[email protected]>
1222
1223 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1224 (ELF_INTERPRETER_NAME): Define it.
1225 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1226 it.
1227 * configure.tgt (targ_emul, targ_extra_emuls)
1228 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1229 as primary, elf_i386 as extra.
1230 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1231 (eelf_i386_ldso.c): New rule.
1232 * Makefile.in: Rebuilt.
1233
12342001-05-22 Nick Clifton <[email protected]>
1235
1236 * lexsup.c (ld_options): Allow -I to be an alias for
1237 --dynamic-linker. This is for Solaris compatability.
1238 * ld.texinfo: Document that -I can be used.
1239 * ld.1: Regenerate.
1240
d1778b88
AM
12412001-05-16 Alan Modra <[email protected]>
1242
1243 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1244 whether an input section is the first one assigned to an output
1245 section.
1246 Assorted formatting fixes.
1247
02649152
DD
12482001-05-14 DJ Delorie <[email protected]>
1249
1250 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1251 * Makefile.in: Ditto.
1252
579f31ac
JJ
12532001-05-11 Jakub Jelinek <[email protected]>
1254
1255 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1256 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1257 output sections.
1258 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1259
8550eb6e
JJ
12602001-05-11 Jakub Jelinek <[email protected]>
1261
1262 * ldlang.c (lang_process): Call bfd_merge_sections.
1263
8e5a525c
AM
12642001-05-07 Thiemo Seufer <[email protected]>
1265
1266 * ldgram.y: Fix typo.
1267
1c9acd94
L
12682001-05-03 H.J. Lu <[email protected]>
1269
1270 * emultempl/elf32.em: Include "libiberty.h".
1271 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1272 basename of the bfd filename.
1273 (gld${EMULATION_NAME}_stat_needed): Likewise.
1274 (gld${EMULATION_NAME}_try_needed): Likewise.
1275 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1276
14fe918e
L
12772001-05-02 H.J. Lu <[email protected]>
1278
1279 * emultempl/pe.em: Include <ctype.h>.
1280
c7e40348
NC
12812001-05-02 Johan Rydberg <[email protected]>
1282
b6bf44ba 1283 * emulparams/elf32openrisc.sh: New file.
c7e40348 1284
b6bf44ba
AM
1285 * Makefile.am: Add OpenRISC target.
1286 * Makefile.in: Regenerated.
c7e40348 1287
b6bf44ba 1288 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1289
12902001-05-02 Nick Clifton <[email protected]>
1291
1292 * emultempl/aix.em: Replace buystring with xstrdup.
1293 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1294
d1b2b2dc
L
12952001-05-02 H.J. Lu <[email protected]>
1296
1297 * ldfile.c: Include "libiberty.h".
1298 * ldlex.l: Likewise.
1299
1300 * ldmisc.c (buystring): Removed.
1301 * ldmisc.h: Likewise.
1302
1303 * ldfile.c: Replace buystring with xstrdup.
1304 * ldlang.c: Likewise.
1305 * ldlex.l: Likewise.
1306 * ldmain.c: Likewise.
1307 * ldmisc.c: Likewise.
1308 * lexsup.c: Likewise.
1309 * mpw-eppcmac.c: Likewise.
1310
35714f2a
AJ
13112001-04-30 Andreas Jaeger <[email protected]>
1312
1313 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1314
884fb58e
NC
13152001-04-28 Paul Sokolovsky <[email protected]>
1316
b6bf44ba
AM
1317 * ldlang.c (load_symbols): Give emulation a chance
1318 to process unrecognized file before fatal error is
1319 reported, not after.
884fb58e 1320
87748b32
NC
13212001-04-27 Sean McNeil <[email protected]>
1322
1323 * configure.tgt: Add arm-vxworks target.
1324 * scripttempl/armcoff.sc: Support .text or .data as a section name
1325 prefix.
1326 Define _etext.
35714f2a 1327
7ce691ae
C
13282001-04-13 J.T. Conklin <[email protected]>
1329
1330 * ld.texinfo: Document --fatal-warnings.
1331 * ld.1: Regenerate.
1332
1333 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 1334 warnings have been turned into errors.
7ce691ae
C
1335 * lexsup.c (OPTION_WARN_FATAL): Define.
1336 (ld_options): Entry for --fatal-warnings.
1337 (parse_args): Handle OPTION_WARN_FATAL.
1338 * ld.h (ld_config_type): Add fatal_warnings field.
1339
f5fa8ca2
JJ
13402001-04-13 Jakub Jelinek <[email protected]>
1341
1342 * ldmain.c (main): Default to discard_sec_merge.
1343 * lexsup.c (OPTION_DISCARD_NONE): Define.
1344 (ld_options): Add --discard-none.
1345 (parse_args): Handle OPTION_DISCARD_NONE.
1346 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1347 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1348 all its input sections match.
1349
fdec3cfc
L
13502001-04-05 Steven J. Hill <[email protected]>
1351
1352 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1353 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1354 (eelf32ltsmip.c): New target.
1355 (eelf64btsmip.c): Likewise.
1356 (eelf64ltsmip.c): Likewise.
1357 * Makefile.in: Regenerated.
1358
1359 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1360 target.
1361 (mips*-*-linux-gnu*): Likewise.
1362
1363 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1364 MIPS taget.
35714f2a 1365 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
1366 target.
1367 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1368 endian target.
1369
589bad82
HPN
13702001-04-05 Hans-Peter Nilsson <[email protected]>
1371
1372 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1373 correct value of __Stext here.
1374 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1375 .startup section.
1376
1377 * emulparams/crislinux.sh: Remove FIXME.
1378
94202e16
AM
13792001-04-02 Alan Modra <[email protected]>
1380
1381 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1382 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1383
1268a053
HPN
13842001-03-27 Hans-Peter Nilsson <[email protected]>
1385
1386 * configure.tgt (cris-*-*): Change default emulation to criself.
1387 (cris-*-*aout*): New rule.
1388
d85e9ff7
AM
13892001-03-27 Matthew Wilcox <[email protected]>
1390
1391 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1392 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1393
0879a67a
AJ
13942001-03-26 Andreas Jaeger <[email protected]>
1395
1396 * ld.texinfo (Overview): Fix syntax in texi code.
1397
0285c67d
NC
13982001-03-25 Stephane Carrez <[email protected]>
1399
1400 * ld.texinfo: Put @c man indications to generate the ld man page.
1401 When generating man, define all the variables. Define SEEALSO
1402 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1403 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1404 (ld.1): Generate from ld.texinfo.
1405 * Makefile.in: Regenerate.
1406
c20ec07b
NC
14072001-03-23 Mark Elbrecht <[email protected]>
1408
1409 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 1410 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 1411
cc5ce052
UD
14122001-03-17 Ulrich Drepper <[email protected]>
1413
1414 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1415 is an absolute path look only for this file and not along the path.
1416
a1ab1d2a
UD
14172001-03-17 Ulrich Drepper <[email protected]>
1418
1419 * emultempl/elf32.em (OPTION_GROUP): New macro.
1420 Add new option Bgroup to longopts.
1421 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1422 (gld*_list_options): Add -Bgroup and -z defs.
1423 * ld.1: Document -Bgroup and -z defs.
1424 * ld.texinfo: Likewise.
1425
788fca5a
MM
14262001-03-07 Michael Meissner <[email protected]>
1427
1428 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1429 with sections created by -fdata-sections.
1430 (.dynbss,.bss): Ditto.
1431
1c7566d1
AM
14322001-03-05 Alan Modra <[email protected]>
1433
1434 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1435 after_allocation_default, not gld..._before_allocation.
1436
27b7e12d
AM
14372001-02-27 Alan Modra <[email protected]>
1438
1439 * configure.in (BFD_VERSION): New.
1440 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1441 * configure: Regenerate.
1442 * Makefile.am: Run "make dep-am"
1443 * Makefile.in: Regenerate.
1444
2bc551c7
TW
14452001-02-26 Timothy Wall <[email protected]>
1446
1447 * emulparams/elf64_aix.sh: Add additional read-only sections;
1448 uncomment lines which are now required.
1449
1276aefa
NC
14502001-02-26 H.J. Lu <[email protected]>
1451
1452 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
1453 that problems can be caught whilst loading symbols.
1454 (record_bfd_errors): New function: Report BFD errors and mark
1455 the executable output as being invalid.
1276aefa 1456
41c49998
TW
14572001-02-22 Timothy Wall <[email protected]>
1458
1459 * configure.host: Add configuration for ia64-*-aix*.
1460 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1461 Add dependencies for eelf64_aix.c.
1462 * Makefile.in: Regenerate.
1463 * configure.tgt: Add ia64-*-aix* mapping.
1464 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 1465 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
1466 AIX-specific test.
1467
78f85fd7
L
14682001-02-20 H.J. Lu <[email protected]>
1469
1470 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1471 false if we found the file.
1472
1ac7e077 14732001-02-18 David O'Brien <[email protected]>
fb33b906
DB
1474
1475 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1476 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1477
e135f41b
NC
14782001-02-18 lars brinkhoff <[email protected]>
1479
1480 * Makefile.am: Add PDP-11 target.
1481 * configure.tgt: Likewise.
1482 * emulparams/pdp11.sh: New file.
1483
a842aceb
DB
14842001-02-17 David O'Brien <[email protected]>
1485
1486 * configure.host: Add a generic FreeBSD configuration entry such that
1487 all [modern] FreeBSD systems on all platforms will look the same.
1488
24174db0
L
14892001-02-14 H.J. Lu <[email protected]>
1490
1491 * configure.tgt: Remove mention of earmelf_linux26.
1492
30c3c13a
RH
14932001-02-13 Richard Henderson <[email protected]>
1494
1495 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1496
b46a87b1
L
14972001-02-13 H.J. Lu <[email protected]>
1498
1499 * ldexp.h (node_type): Add etree_provided.
1500 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1501 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 1502 for etree_provided.
b46a87b1
L
1503 (exp_print_tree): Handle etree_provided.
1504 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1505 etree_provided.
1506
f3988fd9
RH
15072001-02-09 David Mosberger <[email protected]>
1508
1509 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1510 .IA_64.unwind.* pattern to unwind table section and
1511 .IA_64.unwind_info* pattern to unwind info section.
1512
a85d7ed0
NC
15132001-02-09 Martin Schwidefsky <[email protected]>
1514
1515 * Makefile.am: Add linux target for S/390.
1516 * Makefile.in: Likewise.
1517 * configure.host: Likewise.
1518 * configure.tgt: Likewise.
1519 * emulparams/elf64_s390.sh: New file.
1520 * emulparams/elf_s390.sh: New file.
1521
780248c4
JJ
15222001-02-09 Jakub Jelinek <[email protected]>
1523
1524 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1525 targ_extra_libpath.
1526 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1527
0e2534bd
PB
15282001-02-06 Philip Blundell <[email protected]>
1529
1530 * Makefile.am: Remove mention of earmelf_linux26.
1531 * Makefile.in: Regenerate.
1532
46c1ea57
PB
15332001-02-04 Philip Blundell <[email protected]>
1534
1535 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1536 * emulparams/armelf_linux26.sh: Delete.
1537 * configure.tgt: Remove mention of armelf_linux26 emulation.
1538
0088edd2
NC
15392001-02-01 Nick Clifton <[email protected]>
1540
1541 * ld.1: Replace occurances of -oformat with --oformat.
1542
02aa14fb
AM
15432001-01-25 Jim Driftmyer <[email protected]>
1544
1545 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1546 load_base is specified.
1547
f813923c
HPN
15482001-01-24 Hans-Peter Nilsson <[email protected]>
1549
1550 * emultempl/elf32.em: Correct spelling in comments and listed
1551 options.
1552
c1eb1488
AM
15532001-01-23 Alan Modra <[email protected]>
1554
1555 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1556 default for the first section of a group of overlay sections.
1557
d9fc3714
AM
15582001-01-22 Alan Modra <[email protected]>
1559
1560 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1561 * Makefile.in: Regenerate.
1562 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1563 Check for null tool_dir.
1564
6be0ca94
JW
15652001-01-16 Jim Wilson <[email protected]>
1566
1567 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1568 and IA_64.unwind.info.
1569
b9247304
L
15702001-01-16 H.J. Lu <[email protected]>
1571
1572 * ldlang.c (lang_check): Merge the private data only if the
1573 input file has contents.
1574
577a0623
AM
15752001-01-14 Alan Modra <[email protected]>
1576
d952f17a
AM
1577 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1578
ffd6e9de
AM
1579 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1580 enabling search for libmilli. On a relocatable link, make .text
1581 sections unique.
1582 (LDEMUL_AFTER_PARSE): Define.
1583 (hppaelf_finish): Correct spelling of relocatable in comments.
1584
577a0623
AM
1585 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1586 rummage through the script for sections on the unique list.
1587 Correct length of strncmp for ".note".
1588 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1589
1590 * ldlang.c (unique_section_list): New var.
1591 (unique_section_p): New function.
1592 (walk_wild_section): Don't match sections on unique_section_list.
1593 (lang_add_unique): New function.
ffd6e9de 1594 Correct spelling of relocatable in comments.
577a0623
AM
1595
1596 * ldlang.h (struct unique_sections): Declare.
1597 (unique_section_list): Declare.
1598 (unique_section_p): Declare.
1599 (lang_add_unique): Declare.
1600
1601 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1602 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1603
1604 * ld.texinfo (--unique): Update.
1605
b7ed8fad
NC
16062001-01-13 Nick Clifton <[email protected]>
1607
1608 * lexsup.c (parse_args): Remove spurious white space.
1609
d0398d6a
NC
16102001-01-12 Nick Clifton <[email protected]>
1611
1612 * lexsup.c (parse_args): Update copyright date.
1613
350fdb00
PB
16142001-01-12 Philip Blundell <[email protected]>
1615
1616 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1617
60c6797e
KH
16182001-01-10 Kazu Hirata <[email protected]>
1619
1620 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1621 * scripttempl/h8300h.sc: Fix formatting.
1622 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
1623 * scripttempl/h8500.sc: Likewise.
1624 * scripttempl/h8500b.sc: Likewise.
1625 * scripttempl/h8500c.sc: Likewise.
1626 * scripttempl/h8500m.sc: Likewise.
1627 * scripttempl/h8500s.sc: Likewise.
60c6797e 1628
482e8b32
DB
16292000-01-07 David O'Brien <[email protected]>
1630
1631 * emultempl/elf32.em: Only perform Linux ld hints processing when
1632 targeting Linux.
1633
d7ed7ca6
PB
16342001-01-07 Philip Blundell <[email protected]>
1635
1636 * ld.texinfo (Bug Reporting): Update email address for reports.
1637
0fc3347a
NC
16382000-12-31 Nick Clifton <[email protected]>
1639
1640 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1641 options by checking for a return value of '?' not -1.
1642
e4897a32
NC
16432000-12-28 Nick Clifton <[email protected]>
1644
1645 * lexsup.c (struct ld_option): Add new enum value:
1646 EXACTLY_TWO_DASHES.
1647 (ld_options[]): Change -omagic, -output and -oformat options
1648 to be EXACTLY_TWO_DASHES.
1649 (OUTPUT_COUNT): Use ARRAY_SIZE.
1650 (parse_args): Change parameter 'argc' to unsigned.
1651 Place EXACTLY_TWO_DASHES options into new really_longopts
1652 array.
1653 If getopt_long_only fails, try calling getopt_long using the
1654 really_longopts array.
1655 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1656 TWO_DASHES options.
1657
1658 * ldlex.h: Fix prototype of parse_args.
1659
1660 * ld.texinfo: Document that long options starting with 'o'
1661 must be preceeded by two dashes. Change example of a single
1662 dashed long option from -oformat to -trace-symbol.
1663
1122a5fc
NC
16642000-12-26 Danny Smith <[email protected]>
1665
1666 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1667 (longopts[]): New --no-default-excludes option.
1668 (gld_${EMULATION_NAME}_list_options): Document.
1669 (gld_${EMULATION_NAME}_parse_args): Handle.
1670
037849a9
NC
16712000-12-13 Michael Sokolov <[email protected]>
1672
1673 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1674 whitespace, it breaks the K&R C preprocessor.
1675
7ec229ce
DD
16762000-12-11 DJ Delorie <[email protected]>
1677
1678 * ld.texinfo: Add notes about --whole-archive and gcc.
1679
b79e8c78
NC
16802000-11-18 Fred Fish <[email protected]>
1681
1682 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1683 (ld_options): Entry for --allow-shlib-undefined.
1684 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1685 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1686 to false.
1687 * ld.texinfo: Document new command line switch.
d952f17a 1688
9a8e2505
GK
16892000-12-12 Geoffrey Keating <[email protected]>
1690
1691 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1692 .fixup is actually read/write.
1693 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1694 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1695 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1696
b8355149
JH
1697Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <[email protected]>
1698
1699 * NEWS: Add note about x86_64 architecture.
1700
93b63cd3
DD
17012000-12-06 Mark Elbrecht <[email protected]>
1702
1703 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1704 Set DWARF2 sections to a VMA of zero.
1705
24f6971a
NC
17062000-12-01 Joel Sherrill <[email protected]>
1707
d952f17a 1708 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
1709 New targets.
1710 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1711 (sparc*-*-rtems*): Switched from a.out to ELF.
1712
2be3aa03
NC
17132000-11-30 Jan Hubicka <[email protected]>
1714
1715 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1716 (eelf_x86_64.c): New.
1717 * Makefile.in: Regenerate.
1718 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1719 * emulparams/elf_x86_64.sh: New.
1720
8c899858
HPN
17212000-11-30 Hans-Peter Nilsson <[email protected]>
1722
1723 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1724 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1725
1726 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1727 merging non-a.out sections into CONSTRUCTING.
1728
e47b9e39
NC
17292000-11-28 Nick Clifton <[email protected]>
1730
1731 * ld.1 (COPYING): Mention that the GNU Free Documentation
1732 License is present in the sources, but not the output, and
1733 also available from the GNU website.
1734 (GNU Free Documentation License): Comment out this section.
1735
ad95f82a
DB
17362000-11-28 David O'Brien <[email protected]>
1737
1738 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1739 does not use them.
1740
fd89e65f
DB
17412000-11-25 David O'Brien <[email protected]>
1742
1743 * ld.1: Remove old date so it does not give the impression the manpage
1744 is way out of date.
1745
077b8428
NC
17462000-11-24 Nick Clifton <[email protected]>
1747
1748 * configure.tgt (xscale-coff): Add target.
1749 (xscale-elf): Add target.
1750
49425d28
NC
17512000-11-24 Fred Fish <[email protected]>
1752
d952f17a
AM
1753 * ldmain.c (main): Remove redundant init of config.make_executable
1754 to true.
49425d28 1755
d3480244
RH
17562000-11-15 Richard Henderson <[email protected]>
1757
1758 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1759
1ce7de8b
KH
17602000-11-14 Kazu Hirata <[email protected]>
1761
1762 * scripttempl/h8300.sc: Fix formatting.
1763 * scripttempl/h8300h.sc: Likewise.
1764 * scripttempl/h8300s.sc: Likewise.
1765
208d5cd0
DC
1766Tue Nov 14 00:59:19 2000 Denis Chertykov <[email protected]>
1767
1768 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1769
2e418547
PB
17702000-11-09 Philip Blundell <[email protected]>
1771
1772 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1773 around orphan sections whose names can be represented in C.
1774
c940e6fc
JW
17752000-11-07 Jim Wilson <[email protected]>
1776
1777 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1778 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1779
704c465c
NC
17802000-11-06 Nick Clifton <[email protected]>
1781
1782 * ld.texinfo: Add GNU Free Documentation License.
1783 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 1784 * ld.1: Add GNU Free Documentation License.
704c465c 1785
dca7760f
AM
17862000-11-05 Alan Modra <[email protected]>
1787
1788 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1789 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1790
1791 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1792 Move 2000-11-02 Makefile.in changes to this file.
1793 * Makefile.in: Regenerate.
1794
40a633d5
NC
17952000-11-03 Nick Clifton <[email protected]>
1796
1797 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1798 constructors and destructors.
1799 * scripttempl/h8300h.sc: Ditto.
1800 * scripttempl/h8300s.sc: Ditto.
1801 * scripttempl/h8500.sc: Ditto.
1802 * scripttempl/h8500b.sc: Ditto.
1803 * scripttempl/h8500c.sc: Ditto.
1804 * scripttempl/h8500m.sc: Ditto.
1805 * scripttempl/h8500s.sc: Ditto.
1806 * scripttempl/v850.sc: Ditto.
1807 * scripttempl/w65.sc: Ditto.
1808 * scripttempl/z8000.sc: Ditto.
1809
59ff2774
NC
18102000-11-02 Per Lundberg <[email protected]>
1811
1812 * Makefile.in (e_i386_chaos.c): New rule.
1813 (ALL_EMULATIONS): Added e_i386_chaos.o.
1814 * emulparams/elf_i386_chaos.sh: New file.
1815 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1816
645571e1
JJ
18172000-10-20 Jakub Jelinek <[email protected]>
1818
1819 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1820 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1821 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1822 library path suffix.
1823 Based on patch by Andrew Macleod <[email protected]>.
1824
c5975a45
HPN
18252000-10-18 Hans-Peter Nilsson <[email protected]>
1826
1827 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1828 for consecutive sections.
1829
ea20a7da
CC
18302000-10-17 Chandrakala Chavva <[email protected]>
1831
d952f17a
AM
1832 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1833 options.
1834 * ld.texinfo: Added notes about this new option.
ea20a7da 1835
6e45556a
NC
18362000-10-16 Nick Clifton <[email protected]>
1837
1838 * emultempl/pe.em (_after_open): Add tests of return values from
1839 bfd functions. Emit appropriate error messages if necessary.
1840
b9a69188
NC
18412000-10-13 Nick Clifton <[email protected]>
1842
1843 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
1844 local variables - they are not used, but leave in the call to
1845 bfd_canonicalize_symtab.
b9a69188
NC
1846 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1847 pe_dll_search_prefix.
1848
627427de 18492000-10-12 Charles Wilson <[email protected]>
d952f17a 1850
627427de
DD
1851 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1852 (longopts): New --dll-search-prefix option.
1853 (gld_${EMULATION_NAME}_list_options): Document.
1854 (gld_${EMULATION_NAME}_parse_args): Handle.
1855 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1856 dynamically, search for a dll named '<prefix><basename>.dll'
1857 in preference to 'lib<basename>.dll' if --dll-search-prefix
1858 is specified.
1859
24376d1b
AM
18602000-10-12 Alan Modra <[email protected]>
1861
1862 * ldlang.c (section_already_linked): Set kept_section instead of
1863 sec->comdat->sec.
1864
e47d05ad
KH
18652000-10-10 Kazu Hirata <[email protected]>
1866
1867 * deffile.h: Fix formatting.
1868 * lexsup.c: Likewise.
1869 * mri.c: Likewise.
1870
23a87948
DD
18712000-10-09 Paul Sokolovsky <[email protected]>
1872
1873 * pe-dll.c (make_one): Do not generate code thunk for DATA
1874 exports.
1875 (process_def_file): deduce DATA flag for auto-export sumbols.
1876
86b1cc60
KH
18772000-10-09 Kazu Hirata <[email protected]>
1878
89cdebba
KH
1879 * ld.h: Fix formatting.
1880 * ldcref.c: Likewise.
1881 * ldctor.h: Likewise.
1882 * ldemul.c: Likewise.
1883 * ldemul.h: Likewise.
1884 * ldexp.c: Likewise.
1885 * ldexp.h: Likewise.
1886 * ldfile.c: Likewise.
1887 * ldfile.h: Likewise.
1888 * ldlang.c: Likewise.
1889 * ldlang.h: Likewise.
1890 * ldmain.c: Likewise.
7bfd51a3
KH
1891 * pe-dll.c: Likewise.
1892
1893 * pe-dll.c: Revert some formatting fixes.
86b1cc60 1894
d643799d
KH
18952000-10-08 Kazu Hirata <[email protected]>
1896
1897 * pe-dll.c: Fix formatting.
1898
08da4cac
KH
18992000-10-05 Kazu Hirata <[email protected]>
1900
1901 * ldlang.c: Fix formatting.
1902
c2a94a7a
DD
19032000-10-03 DJ Delorie <[email protected]>
1904
1905 * pe-dll.c (fill_edata): initialize entire block
1906 (make_one): fill in correct section.
1907
8c95a62e
KH
19082000-10-03 Kazu Hirata <[email protected]>
1909
1910 * ldexp.c: Fix formatting.
1911
486e80e2
DD
19122000-10-02 DJ Delorie <[email protected]>
1913
1914 * emultempl/pe.em (gld_*_after_open): detect case where there two
1915 import libraries for same dll; rename one to ensure proper link
1916 order.
1917
1918 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1919 typo
1920 (generate_edata): fix typo
1921
24dd9f75
HPN
19222000-09-29 Hans-Peter Nilsson <[email protected]>
1923
1924 * scripttempl/crisaout.sc (ENTRY): Now __start.
1925 (.text): Add default setting for __start.
1926 Remove CONSTRUCTORS handling.
1927 (/DISCARD/): Add .gnu.warning.*.
1928 * emulparams/crislinux.sh (ENTRY): Now __start.
1929 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1930 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1931 (ENTRY): Now __start.
1932 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1933 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1934
4de2d33d
KH
19352000-09-29 Kazu Hirata <[email protected]>
1936
5cc18311
KH
1937 * deffile.h: Fix formatting.
1938 * ld.h: Likewise.
1939 * ldcref.c: Likewise.
4de2d33d 1940 * ldctor.c: Likewise.
5cc18311 1941 * ldctor.h: Likewise.
4de2d33d 1942 * ldemul.c: Likewise.
5cc18311 1943 * ldemul.h: Likewise.
4de2d33d 1944 * ldexp.c: Likewise.
5cc18311 1945 * ldexp.h: Likewise.
4de2d33d 1946 * ldfile.c: Likewise.
5cc18311 1947 * ldfile.h: Likewise.
4de2d33d 1948 * ldlang.c: Likewise.
5cc18311
KH
1949 * ldlang.h: Likewise.
1950 * lexsup.c: Likewise.
1951 * mri.c: Likewise.
1952 * pe-dll.c: Likewise.
4de2d33d 1953
45b1f63c
DD
19542000-09-28 Paul Sokolovsky <[email protected]>
1955
1956 * pe-dll.c (process_def_file): Uninitialized data wasn't
1957 exported with --export-all-symbols switch.
d952f17a 1958
45b1f63c
DD
19592000-09-28 DJ Delorie <[email protected]>
1960
1961 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1962 noname work properly.
1963
47d89dba
AM
19642000-09-28 Alan Modra <[email protected]>
1965
1966 * ld.texinfo (HPPA ELF32): New section.
1967
1968 * emultempl/hppaelf.em (group_size): New.
1969 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1970 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1971 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1972 options to prevent abbreviations matching.
1973 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1974 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1975
36bdbeec
NC
19762000-09-21 Michael Sokolov <[email protected]>
1977
1978 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1979 on the m68*-*-elf target. Make it support COFF input objects.
1980
6d5e62f8
KH
19812000-09-21 Kazu Hirata <[email protected]>
1982
1983 * ldmain.c: Fix formatting.
1984 * ldmisc.c: Likewise.
1985 * ldver.c: Likewise.
1986 * ldwrite.c: Likewise.
1987
e2eb67d9
AM
19882000-09-21 Alan Modra <[email protected]>
1989
1990 * ldwrite.c (clone_section): Silence gcc warnings.
1991
b3ea3584
AM
19922000-09-20 Alan Modra <[email protected]>
1993
1994 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1995 out of memory failure.
1996
1997 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1998 (clone_section): Handle out of memory failures. Rename var to
1999 avoid c++ reserved word.
2000
25f72752
AM
20012000-09-18 Alan Modra <[email protected]>
2002
2003 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2004 stub_name param to stub_sec_name.
2005 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2006
0752970e
NC
20072000-09-10 Michael Sokolov <[email protected]>
2008
2009 * emultempl/m68kelf.em: New file.
2010 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2011 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2012 * Makefile.in: Regenerate.
2013
92b7e9d8
AM
20142000-09-15 Alan Modra <[email protected]>
2015
2016 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2017 only as needed.
2018
9b14b192
NC
20192000-09-13 Nick Clifton <[email protected]>
2020
2021 * ldmain.c (multiple_definition): Disable relaxation if
2022 multiple symbol definitions are encountered - otherwise the
2023 linker could abort with an assertion failure.
2024
891fa266
NC
20252000-09-10 Nick Clifton <[email protected]>
2026
2027 * mri.c: Fix formatting.
2028
5d64ca4e
L
20292000-09-07 H.J. Lu <[email protected]>
2030
2031 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2032 * configure: Rebuild.
2033
dd94604f
L
20342000-09-07 H.J. Lu <[email protected]>
2035
2036 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2037 * Makefile.in: Rebuild.
2038
71bfc0ae
AM
20392000-09-07 Alan Modra <[email protected]>
2040
2041 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2042 broken list handling. Create __start_SECNAME and __stop_SECNAME
2043 when no place-holder. Add some comments. Test both SEC_CODE and
2044 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 2045 Handle case where no output section statement created.
71bfc0ae 2046
4a428502
AO
20472000-09-07 Niibe Yutaka <[email protected]>, Kaz Kojima <[email protected]>, Alexandre Oliva <[email protected]>
2048
2049 * configure.tgt (sh-*-linux*): Added.
2050 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2051 * Makefile.in: Rebuilt.
2052 * emulparams/shelf_linux.sh: New file.
2053 * emulparams/shlelf_linux.sh: New file.
2054
f9989030
AM
20552000-09-06 Alan Modra <[email protected]>
2056
2057 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2058 try shuffling sections when the orphan happens to be the place
2059 holder. Keep count of unique section names generated so we speed
2060 the search for a new name.
2061
58cccadb
AO
20622000-09-06 Alexandre Oliva <[email protected]>
2063
2064 * configure: Rebuilt with new libtool.m4.
2065
5b343f5a
NC
20662000-09-05 Nick Clifton <[email protected]>
2067
2068 * Makefile.in: Regenerate.
2069 * aclocal.m4: Regenerate.
2070 * configure: Regenerate.
2071 * config.in: Regenerate.
2072 * po/ld.pot: Regenerate.
2073
2074 * ldint.texinfo: Remove CVS revision marker - it foils local
2075 comparisons.
2076
2077 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 2078
a854a4a7
AM
20792000-09-05 Alan Modra <[email protected]>
2080
3231d22e
AM
2081 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2082 to stub section flags.
2083 (hppa_for_each_input_file_wrapper): New.
2084 (hppa_lang_for_each_input_file): New.
2085 (lang_for_each_input_file): Define to call above.
2086 (multi_subspace): New.
2087 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2088 (PARSE_AND_LIST_PROLOGUE): Define.
2089 (PARSE_AND_LIST_LONGOPTS): Define.
2090 (PARSE_AND_LIST_OPTIONS): Define.
2091 (PARSE_AND_LIST_ARGS_CASES): Define.
2092 (hppaelf_finish): Call elf32_hppa_set_gp.
2093 (hppaelf_set_output_arch): Remove.
2094 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2095
2096 * emulparams/hppalinux.sh (ELFSIZE): Define.
2097 (MACHINE): Define.
2098 (OTHER_READONLY_SECTIONS): Define.
2099 (DATA_PLT): Define.
2100 (GENERATE_SHLIB_SCRIPT): Define.
2101
5f992e62
AM
2102 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2103 to const throughout. Change `void *' to `PTR' throughout.
2104 (lang_memory_default): Function is local to file, add `static'.
2105
2106 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2107 (ehppalinux.c): Likewise.
2108 (earmelf.c): Likewise.
2109 (earmelf_linux.c): Likewise.
2110 (earmelf_linux26.c): Likewise.
2111 * Makefile.in: Regenerate.
2112
a854a4a7
AM
2113 * ld.h (ld_config_type): Add unique_orphan_sections.
2114 * lexsup.c (OPTION_UNIQUE): Define.
2115 (ld_options): Add "--unique".
2116 (parse_args): Handle it.
2117 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2118 search for an existing output section if unique_orphan_sections is
2119 set. Make use of bfd_get_unique_section_name rather than
2120 duplicating code here.
2121 * ld.texinfo: Describe --unique.
2122
2123 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2124 optional arg to split-by-file.
2125 (parse_args): Handle them.
2126 * ld.texinfo: Update description of these options.
2127 * ldwrite.c (clone_section): Pass in the section name. Replace
2128 local code with bfd_get_unique_section_name.
2129 (split_sections): Tidy code and comments. Use a list traversal
2130 more appropriate to the list construction. Handle cooked section
2131 sizes. Split when split_by_reloc reached rather than exceeded.
2132 Track section size and split when split_by_file reached. Fix
2133 link_order_tail (even though it's not used).
2134 (ldwrite): Modify condition for calling split_sections to suit
2135 changed split_by_reloc and split_by_file.
2136 * ldmain.c (main): Init config.split_by_reloc and
2137 config.split_by_file to -1.
2138 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2139 Change split_by_file to bfd_size_type.
2140
18e03609
NC
21412000-09-02 Nick Clifton <[email protected]>
2142
2143 * configure.in: Increase version number to 2.10.91.
2144 * NEWS: Mention new ability to support removal of duplicate DWARF2
2145 debug information.
2146 * configure: Regenerate.
2147 * aclocal.m4: Regenerate.
2148 * config.in: Regenerate.
2149
3a9d486c
NC
21502000-09-02 Daniel Berlin <[email protected]>
2151
2152 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2153 sections.
a2b64bed 2154 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
2155 * scripttempl/elfd10v.sc: Ditto.
2156 * scripttempl/elfd30v.sc: Ditto.
2157 * scripttempl/elfi370.sc: Ditto.
2158 * scripttempl/elfm68hc11.sc: Ditto.
2159 * scripttempl/elfm68hc12.sc: Ditto.
2160 * scripttempl/elfi386beos.sc: Ditto.
2161 * scripttempl/v850.sc: Ditto.
50bbae35 2162
ac48eca1
AO
21632000-08-31 Alexandre Oliva <[email protected]>
2164
2165 * acinclude.m4: Include libtool and gettext macros from the
2166 top level.
2167 * aclocal.m4, configure: Rebuilt.
2168
c13b1b77
NC
21692000-08-25 Nick Clifton <[email protected]>
2170
2171 * ldlang.c (open_output): When choosing the target for a
2172 particular endianness, do nothing if the target is not
2173 supported.
2174
dcb0bd0e
L
21752000-08-25 H.J. Lu <[email protected]>
2176
2177 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2178 check -rpath nor LD_RUN_PATH for cross link.
2179 * ld.texinfo: Document the change.
2180
5bcac8a4
HPN
21812000-08-24 Hans-Peter Nilsson <[email protected]>
2182
2183 * NEWS: Mention support for CRIS.
2184
6dd8c765
L
21852000-08-23 H.J. Lu <[email protected]>
2186
2187 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2188 the current runpath list from bfd_elf_get_runpath_list ()
2189 before search.
2190
ec4eb78a
L
21912000-08-22 H.J. Lu <[email protected]>
2192
2193 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2194 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2195 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2196 trace_file_tries is non-zero.
2197 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2198 if trace_file_tries is non-zero.
2199
2200 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 2201 * NEWS: Mention it.
ec4eb78a 2202
22b36938
JE
22032000-08-14 Jason Eckhardt <[email protected]>
2204
2205 * NEWS: Mention i860 support.
2206
d73e9da0
AS
22072000-08-14 Andreas Schwab <[email protected]>
2208
2209 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 2210 syntax.
d73e9da0 2211
9ac4db9c
GK
22122000-08-10 Geoff Keating <[email protected]>
2213
2214 * scripttempl/elf.sc: Add a comment giving the correspondence
2215 between sections, per-datum sections, and linkonce sections. Make
2216 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2217 .sbss2.
2218
165589e4
JE
22192000-08-10 Jason Eckhardt <[email protected]>
2220
2221 * emulparams/elf32_i860.sh: New file.
2222 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2223 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2224 (eelf32_i860.c): New rule.
2225 * Makefile.in: Regenerate.
2226
345a835d
NC
22272000-08-10 Nick Clifton <[email protected]>
2228
2229 * emulparams/mipspe.sh (ENTRY): Add definition.
2230
e374f1d9
NC
22312000-08-08 Peter Jeremy <[email protected]>
2232
2233 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2234 in error message.
2235
236d5abf
NC
22362000-08-08 Stephane Carrez <[email protected]>
2237
2238 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2239 the final size of .bss section.
2240 * scripttempl/elfm68hc12.sc: Likewise.
2241
4b209b22
AM
22422000-08-04 Alan Modra <[email protected]>
2243
2244 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2245 gld${EMULATION_NAME}_parse_args for consistency. Combine
2246 lastoptind and prevoptind vars, and keep track of last optind.
2247 (gld_${EMULATION_NAME}_list_options): Rename to
2248 gld${EMULATION_NAME}_list_options.
2249
28423a68
AM
22502000-08-03 Rodney Brown <[email protected]>
2251
2252 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2253 (i586-sco-sysv5uw7.1.0).
2254
b2009ff7
L
22552000-07-27 H.J. Lu <[email protected]>
2256
2257 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2258 (PARSE_AND_LIST_PROLOGUE): New.
2259 (PARSE_AND_LIST_LONGOPTS): Likewise.
2260 (PARSE_AND_LIST_OPTIONS): Likewise.
2261 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2262 (PARSE_AND_LIST_EPILOGUE): Likewise.
2263
04925e1e
AM
22642000-07-28 Alan Modra <[email protected]>
2265
41392f03
AM
2266 * emultempl/armelf.em: Elide functions common to elf32.em,
2267 ie. most of the file.
2268 (arm_elf_after_open): New. Do arm specific things then call
2269 gld${EMULATION_NAME}_after_open.
2270 (arm_elf_before_allocation): New. Call
2271 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2272 (PARSE_AND_LIST_PROLOGUE): Define.
2273 (PARSE_AND_LIST_SHORTOPTS): Define.
2274 (PARSE_AND_LIST_LONGOPTS): Define.
2275 (PARSE_AND_LIST_OPTIONS): Define.
2276 (PARSE_AND_LIST_ARGS_CASES): Define.
2277 (LDEMUL_AFTER_OPEN): Define.
2278 (LDEMUL_BEFORE_ALLOCATION): Define.
2279 (LDEMUL_BEFORE_PARSE): Define.
2280 (LDEMUL_FINISH): Define.
2281
2282 * emultempl/hppaelf.em: Similarly zap most of this file.
2283 (hppaelf_add_stub_section): Prototype.
2284 (hppaelf_layaout_sections_again): Prototype.
2285 (hook_in_stub): Prototype.
2286 (LDEMUL_SET_OUTPUT_ARCH): Define.
2287 (LDEMUL_FINISH): Define.
2288 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2289
2290 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2291 (EXTRA_EM_FILE): New.
2292 * emulparams/armelf_linux.sh: Likewise.
2293 * emulparams/armelf_linux26.sh: Likewise.
2294 * emulparams/hppalinux.sh: Likewise.
2295 * emulparams/hppaelf.sh: Likewise.
2296 (NOP): Define.
2297
2298 * emultempl/elf32.em: Fix formatting.
2299 (EXTRA_EM_FILE): Source it.
2300 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2301 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2302 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2303 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2304 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2305 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2306 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2307 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2308 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2309 allow functions in this file to be overridden.
2310 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2311
2312 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2313
04925e1e
AM
2314 * emultempl/elf32.em: Reorganize file.
2315
88cdf297
NC
23162000-07-27 Ivan Kokshaysky <[email protected]>
2317
2318 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2319 specific option to fit 64-bit executable in the lower
2320 31-bit address range. This is done by changing start
2321 address of .interp (the very first section of executable)
2322 and then setting EF_ALPHA_32BIT elf header flag.
2323
20bccb34
NC
23242000-07-21 Michael Sokolov <[email protected]>
2325
2326 * emultempl/m68kcoff.em: New file.
2327 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2328 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2329 generic.em.
2330 * Makefile.in: Regenerate.
2331
699845ef
L
23322000-07-20 H.J. Lu <[email protected]>
2333
2334 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2335 and "disable-new-dtags" to stop getopt from treating -d/-e as
2336 abbreviations for these options.
2337
6c1439be
L
23382000-07-20 H.J. Lu <[email protected]>
2339
2340 * ld.texinfo: Add documentation for --disable-new-dtags and
2341 --enable-new-dtags.
2342
2343 * ldmain.c (main): Initialize link_info.new_dtags to false.
2344
2345 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2346 --disable-new-dtags and --enable-new-dtags.
2347 (gld_${EMULATION_NAME}_list_options): Likewise.
2348
28c309a2
NC
23492000-07-05 Kenneth Block <[email protected]>
2350
a2b64bed
NC
2351 * lexsup.c: Add optional style to demangle switch
2352 * ld.texinfo: Document optional style to demangle switch.
50bbae35 2353
9d06555c
HPN
23542000-07-20 Hans-Peter Nilsson <[email protected]>
2355
2356 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2357 ecrislinux.o.
2358 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2359 Regenerate dependencies.
2360 * Makefile.in: Rebuild.
2361 * configure.tgt (cris-*-*): New target.
2362 * emulparams/crisaout.sh, emulparams/criself.sh,
2363 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2364 * po/POTFILES.in, po/ld.pot: Regenerate.
2365
19e3be22
L
23662000-07-20 H.J. Lu <[email protected]>
2367
2368 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2369 Print out ignored -z options.
2370
e0ee487b
L
23712000-07-19 H.J. Lu <[email protected]>
2372
19e3be22
L
2373 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2374 (PARSE_AND_LIST_PROLOGUE): New.
2375 (PARSE_AND_LIST_LONGOPTS): Likewise.
2376 (PARSE_AND_LIST_OPTIONS): Likewise.
2377 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2378
2379 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2380
2381 * lexsup.c (ld_options): Comment out 'z'.
2382 (parse_args): Likewise.
2383
2384 * emultempl/elf32.em: Include "elf/common.h".
2385 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2386 options.
2387 (gld_${EMULATION_NAME}_list_options): Likewise.
2388
2389 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 2390
49e56c49
L
23912000-07-19 H.J. Lu <[email protected]>
2392
2393 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2394 bfd_elf_set_dt_needed_soname ().
2395
9d68bc82
DD
23962000-07-18 DJ Delorie <[email protected]>
2397
2398 * pe-dll.c (pe_dll_id_target): check object target name also
2399
53db15ed
HPN
24002000-07-18 Hans-Peter Nilsson <[email protected]>
2401
2402 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2403 ${INIT_END} if relocating.
2404 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2405
0ad8cf4c
DD
24062000-07-16 Charles Wilson <[email protected]>
2407
a2b64bed 2408 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
2409 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2410 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2411 errors introduced by the old dynamic lib search order.
2412
874c8c99
DD
24132000-07-17 DJ Delorie <[email protected]>
2414
2415 * pe-dll.c (process_def_file): auto-export data items also
2416 (pe_process_import_defs): also see if _imp_ form needed
2417
5b4cf3f4
DD
24182000-07-12 Charles Wilson <[email protected]>
2419
2420 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2421 for dll import libraries
2422
062739d1
NC
24232000-07-12 Mark Elbrecht <[email protected]>
2424
2425 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 2426 gcc 2.95.2 and later.
062739d1 2427
1c64c4ed
NC
24282000-07-11 Kazu Hirata <[email protected]>
2429
50bbae35
AM
2430 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2431 message.
1c64c4ed 2432
b71e2778
AM
24332000-07-10 Alan Modra <[email protected]>
2434
2435 * ldemul.h (struct lang_input_statement_struct): Remove forward
2436 declaration.
2437 (struct search_dirs): Likewise.
2438 * ldfile.h (struct lang_input_statement_struct): Likewise.
2439 Protect file from multiple inclusion.
2440 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2441 declaration from macro to file scope.
2442
2443 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2444 * ldgram.y: Likewise here.
2445 * ldlang.c: And here.
2446 * ldmain.c: And here.
2447 * mpw-elfmips.c: And here.
2448 * mpw-eppcmac.c: And here.
2449 * emultempl/aix.em: And here.
2450 * emultempl/armcoff.em: And here.
2451 * emultempl/armelf.em: And here.
2452 * emultempl/armelf_oabi.em: And here.
2453 * emultempl/beos.em: And here.
2454 * emultempl/elf32.em: And here.
2455 * emultempl/hppaelf.em: And here.
2456 * emultempl/linux.em: And here.
2457 * emultempl/lnk960.em: And here.
2458 * emultempl/pe.em: And here.
2459 * emultempl/sunos.em: And here.
2460 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2461 * mpw-idtmips.c: Ditto.
2462 * emultempl/generic.em: Ditto.
2463 * emultempl/gld960.em: Ditto.
2464 * emultempl/gld960c.em: Ditto.
2465 * emultempl/mipsecoff.em: Ditto.
2466 * emultempl/ticoff.em: Ditto.
2467 * emultempl/vanilla.em: Ditto.
2468
2469 * pe-dll.c: Include ldfile.h
2470 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2471
2472 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2473 arguments to bfd_elf32_size_dynamic_sections call.
2474 (gldelf32ebmip_place_orphan): Add missing arguments to
2475 lang_leave_output_section_statement call.
2476
2ef53d66
L
24772000-07-10 H.J. Lu <[email protected]>
2478
2479 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2480 DLL_SUPPORT.
2481 (strhash): Likewise.
2482 (compute_dll_image_base): Likewise.
2483 (pe_undef_found_sym): Likewise.
2484 (pe_undef_cdecl_match): Likewise.
2485 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2486 argument "arch" with ATTRIBUTE_UNUSED.
2487
9a8cbb09
AM
24882000-07-10 Alan Modra <[email protected]>
2489
2490 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2491
2492 From Ryan Bradetich <[email protected]>
2493 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 2494
4900fc06
AM
24952000-07-09 Alan Modra <[email protected]>
2496
2497 Changes to create multiple linker stubs, positioned immediately
2498 before the section where they are required.
2499 * emultempl/hppaelf.em: Include elf32-hppa.h.
2500 (stub_sec, file_chain): Delete.
2501 (hppaelf_create_output_section_statements): Don't make a stub
2502 section here.
2503 (hook_stub_info): New struct.
2504 (hook_in_stub): New function.
2505 (hppaelf_add_stub_section): New function.
2506 (hppaelf_finish): Do nothing for relocateable links. Modify the
2507 call to elf32_hppa_size_stubs. Move code for updating section
2508 layout from here...
2509 (hppaelf_layaout_sections_again): ..to here, a new function.
2510
2511 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2512 broken list handling. Pass in a pointer to the list.
2513 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2514 for above changes.
2515 (hppaelf_before_parse): Prototype.
2516 (hppaelf_set_output_arch): Prototype.
2517 (hppaelf_create_output_section_statements): Prototype.
2518 (hppaelf_delete_padding_statements): Prototype.
2519 (hppaelf_finish): Prototype.
2520
2521 Merge from elf32.em
2522 * emultempl/hppaelf.em: Include ctype.h.
2523 (struct orphan_save): New.
2524 (gld${EMULATION_NAME}_place_orphan): New.
2525 (output_rel_find): New.
2526 (hppaelf_get_script): Update from elf32.em.
2527 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2528 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 2529 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
2530
2531 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2532 ehppalinux.o, sort it. Regenerate dependencies.
2533 (ehppalinux.c): Depend on hppaelf.em
2534 * Makefile.in: Regenerate.
2535
2536 * configure.tgt: targ_emul=hppalinux for hppa*linux
2537
2538 * emulparams/hppalinux.sh: New.
2539 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2540
227aeb07
AM
25412000-07-08 Alan Modra <[email protected]>
2542
2543 * lexsup.c (parse_args): Copy section name.
2544
28609fd4 25452000-07-07 Charles Wilson <[email protected]>
602e90d3 2546
2ef53d66 2547 * emultempl/pe.em: institute the following search order for
602e90d3
DD
2548 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2549 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2550 static lib (libfoo.a) if none of the above are found.
2551
5f577f7d
DD
25522000-07-07 Mumit Khan <[email protected]>
2553
50bbae35 2554 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 2555 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 2556 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
2557 (gld_${EMULATION_NAME}_parse): Handle.
2558 (strhash): New static function.
50bbae35 2559 (compute_dll_image_base): New static function.
5f577f7d
DD
2560 (gld_${EMULATION_NAME}_set_symbols): Use.
2561
9a8cbb09 25622000-07-05 DJ Delorie <[email protected]>
302ab118
DD
2563
2564 * MAINTAINERS: new
2565
3548145d 25662000-07-01 Koundinya K <[email protected]>
50bbae35
AM
2567
2568 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2569 * emulparams/elf32btsmip.sh: New file.
2570 * Makefile.am: Add traditional mips target.
2571 * Makefile.in: Rebuild.
2572
67798033
L
25732000-07-01 H.J. Lu <[email protected]>
2574
2575 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2576 automake to use YLWRAP.
2577 * Makefile.in: Rebuild.
2578
0bdaf48b
AM
25792000-07-01 Alan Modra <[email protected]>
2580
2581 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2582 (CLEANFILES): Add DEPA.
2583 * Makefile.in: Regenerate.
2584
c9e769c2
TW
25852000-06-30 Timothy Wall <twall@ppc>
2586
2587 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2588 the page in the upper octet of the address.
2589
65aa24b6
NC
25902000-06-26 Marek Michalkiewicz <[email protected]>
2591
2592 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2593
4667035e
AM
25942000-06-24 Alan Modra <[email protected]>
2595
2596 * NEWS: arm-elf does --gc-sections too.
2597
1581f8c9
AM
25982000-06-22 Alan Modra <[email protected]>
2599
2600 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2601 find one.
2602 * Makefile.in: Regenerate.
2603
01580992
L
26042000-06-21 H.J. Lu <[email protected]>
2605
2606 * Makefile.am: Rebuild dependency.
2607 * Makefile.in: Rebuild.
2608
bbeb2e03
L
26092000-06-20 H.J. Lu <[email protected]>
2610
2611 * Makefile.am: Rebuild dependency.
2612 * Makefile.in: Rebuild.
2613
74459f0e
TW
26142000-06-20 Timothy Wall <[email protected]>
2615
2616 * scripttempl/tic54xcoff.sc: New.
2617 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2618 * gen-doc.texi: Add flag for TI COFF.
2619 * ld.texinfo: Add documentation for TI COFF handling switches.
2620 * emultempl/ticoff.em: New. TI COFF handling.
2621 * configure.tgt: Add tic54x target.
2622 * Makefile.am: Add tic54x target.
2623 * Makefile.in: Ditto.
2624
2ab47eed
AM
26252000-06-20 Alan Modra <[email protected]>
2626
2627 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2628 checking for backslashes.
2629
919e4093
AM
26302000-06-19 Alan Modra <[email protected]>
2631
2632 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2633
987fd5b4
AM
26342000-06-18 Alan Modra <[email protected]>
2635
2636 * NEWS: Update list of targets supporting --gc-sections.
2637
2638 * scripttempl/elf.sc: KEEP .eh_frame contents.
2639 * scripttempl/elfd30v.sc: Same here.
2640
60bcf0fa
NC
26412000-06-18 Stephane Carrez <[email protected]>
2642
2643 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2644 and m68hc11 (elf).
2645 * Makefile.in: Rebuild.
2646 * configure.tgt: Recognize m68hc12 and m68hc11.
2647 * scripttempl/elfm68hc12.sc: New file.
2648 * emulparams/m68hc12elfb: New emulation.
2649 * emulparams/m68hc12elf: New emulation.
2650 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2651 (includes a memory.x script to define the ROM and RAM banks).
2652 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2653 New configuration files for support of Motorola 68hc11
2654
c7c54483
AM
26552000-06-15 Alan Modra <[email protected]>
2656
2657 * ldmain.c (main): Only change SEC_READONLY for final link.
2658
bcef29e6
L
26592000-06-13 H.J. Lu <[email protected]>
2660
2661 * configure: Regenerate.
2662
946efd95
DB
26632000-06-08 David O'Brien <[email protected]>
2664
2665 * configure.in (VERSION): Update to show this is the CVS mainline.
2666
57a6fd07
DB
26672000-06-07 Michael Sokolov <[email protected]>
2668
2669 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2670 input objects to be ECOFF.
2671 (check_sections): einfo takes %B, not %P, to print a BFD name.
2672
e06cae36
L
26732000-06-05 Michael Matz <[email protected]>
2674
2675 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 2676 version scripts.
e06cae36 2677
d952f17a 2678 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 2679
2f0b56c0
DC
26802000-05-23 Marek Michalkiewicz <[email protected]>
2681
2682 * emulparams/avr1200.sh (STACK): Define as 0.
2683 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2684 * emulparams/avr4433.sh (STACK): Likewise.
2685 * emulparams/avr44x4.sh (STACK): Likewise.
2686 * emulparams/avr85xx.sh (STACK): Likewise.
2687 * emulparams/avrmega103.sh (STACK): Likewise.
2688 * emulparams/avrmega161.sh (STACK): Likewise.
2689 * emulparams/avrmega603.sh (STACK): Likewise.
2690 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2691 (__stack): Define from ${STACK} for main().
2692
2114f57b
AM
26932000-05-26 Alan Modra <[email protected]>
2694
2695 * Makefile.am: Update dependencies with "make dep-am"
2696 * Makefile.in: Regenerate.
2697
5af11cab
AM
26982000-05-26 Eli Zaretskii <[email protected]>
2699
2700 * ldmain.c: Include filenames.h.
2701 (set_scripts_dir): Support backslashes in program name.
2702
1f0df59a
NC
27032000-05-22 Igor Shevlyakov <[email protected]>
2704
2705 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
2706 read-only, don't forget to reset SEC_READONLY because it
2707 could be already set.
1f0df59a 2708
176355da
NC
27092000-05-22 Thomas de Lellis <[email protected]>
2710
50bbae35
AM
2711 * ld.1: Add documentation for new command line option:
2712 --section-start <sectionname>=<sectionorg>
2713 This is a generic version of -Ttext etc. which accepts
2714 any section name as a parameter instead of just text/data/
2715 bss.
2716 * ld.texinfo: More docs.
2717 * NEWS: More docs.
2718 * lexsup.c: (parse_args): Recognize new command line option.
176355da 2719 (ld_options): Add new option.
50bbae35 2720
8c5ff972
L
27212000-05-18 H.J. Lu <[email protected]>
2722
2723 * lexsup.c (parse_args): `i' == `r', not `q'.
2724
0b76fe77
JL
2725Thu May 18 10:47:57 2000 Jeffrey A Law ([email protected])
2726
2727 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2728
a712da20
NC
27292000-05-17 S. Bharadwaj Yadavalli <[email protected]>
2730 Rick Gorton <[email protected]>
50bbae35 2731
a712da20
NC
2732 Add support for '-q' == '--emit-relocs' switch.
2733 * ldmain.c (main): Default to false.
2734 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2735 * NEWS: Describe the emitrelocations switch.
2736 * ld.texinfo: Describe the emitrelocations switch.
2737
690a460e
NC
27382000-05-16 Charles Wilson <[email protected]>
2739
a2b64bed 2740 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
2741 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2742 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2743 link options.
50bbae35 2744
c2f1343c
AM
27452000-05-15 David O'Brien <[email protected]>
2746
2747 * lexsup.c (parse_args): Update the year in the copyright notice.
2748
897083bd
AM
27492000-05-13 Alan Modra <[email protected]>
2750
2751 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2752 Replace defines with those from intl/libgettext.h to quieten gcc
2753 warnings.
2754
cd4c806a
L
27552000-05-10 H.J. Lu <[email protected]>
2756
2757 * ldlang.c (open_input_bfds): Don't load the same file within
2758 a group again if the whole archive has been loaded already.
2759
93697284
AM
27602000-05-03 Alan Modra <[email protected]>
2761
2762 From Ulf Carlsson <[email protected]> and Andreas Jaeger <[email protected]>
2763 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2764 strtoul.
2765
ebd6fc29
JW
2766Mon May 1 17:34:34 2000 Jim Wilson <[email protected]>
2767
99a4150f 2768 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 2769
ebd6fc29
JW
2770 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2771 host "ia64-*-linux-gnu*".
2772
a1934524
AM
27732000-04-29 Andreas Jaeger <[email protected]>
2774
2775 * ld.h: Correctly check GCC version.
2776
730a39a0
JL
2777Tue Apr 25 11:20:43 2000 Jeffrey A Law ([email protected])
2778
2779 * Makefile.am: Add PA64 support. Add missing dependencies for
2780 PA32 elf support.
2781 * Makefile.in: Rebuilt.
2782 * configure.tgt: Add PA64 support (currently disabled).
2783
aea4bd9d
AM
27842000-04-25 Alan Modra <[email protected]>
2785
2786 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2787 (output_rel_find): New function.
2788 (hold_section, hold_use): Delete.
2789 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2790 hold_interp): Make local to place_orphan.
2791 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2792 rather than place_section to find possible previous use of orphan.
2793 Similarly find the place-holder output sections. Use returned
2794 value from lang_enter_output_section_statement rather than calling
2795 lang_output_section_statement_lookup.
2796 * emultempl/armelf.em: Same here.
2797 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2798
2799 * ldlang.c (lang_enter_output_section_statement): Return output
2800 section statement.
2801 * ldlang.h (lang_enter_output_section_statement): Change
2802 declaration too.
2803
2804 * ldlang.h (lang_output_section_statement): Export it.
2805 * ldlang.c (lang_output_section_statement): Ditto.
2806
2b5fc1f5
NC
28072000-04-24 Nick Clifton <[email protected]>
2808
2809 * ld.texinfo (Output Section Data): Add note that section data
2810 commands cannot appear outside of section directives.
2811
d8475ff6
JL
28122000-04-2 Matthew Green <[email protected]>
2813
2814 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2815
800eeca4
JW
2816Fri Apr 21 13:20:53 2000 Richard Henderson <[email protected]>
2817 David Mosberger <[email protected]>
2818
2819 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2820 (eelf64_ia64.c): New rule.
2821 * Makefile.in: Rebuild.
2822 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2823 * emulparams/elf64_ia64.sh: New file.
50bbae35 2824
c9637625
RH
28252000-04-21 Richard Henderson <[email protected]>
2826
2827 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2828
28ea9521
AM
28292000-04-19 Alan Modra <[email protected]>
2830
2831 * dep-in.sed: Match space at start of file name, not at end.
2832
20d04697
L
28332000-04-18 H.J. Lu <[email protected]>
2834
2835 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2836 lang_leave_output_section_statement () after calling
2837 lang_enter_output_section_statement ().
2838 * emultempl/armelf.em: Likewise.
2839
5ba47421
AM
28402000-04-18 Alan Modra <[email protected]>
2841
2842 * emultempl/elf32.em (struct orphan_save): Add section field.
2843 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2844 better order, and place first orphan section as we did before the
2845 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2846 Don't call make_bfd_section here, let wild_doit do the job for us.
2847 Don't build a statement list when we'll only throw it away.
2848 * emultempl/armelf.em: Ditto.
2849 * emultempl/pe.em: Similarly.
2850
bdbe5705
GK
28512000-04-14 Geoff Keating <[email protected]>
2852
2853 * scripttempl/elfppc.sc: Remove.
2854 * emulparams/elf32ppc.sh: Use elf.sc.
2855 * emulparams/elf32lppc.sh: Use elf.sc.
2856 * emulparams/elf32ppclinux.sh: Use elf.sc.
2857 * emulparams/elf32ppcsim.sh: New file.
2858 * emulparams/elf32lppcsim.sh: New file.
2859 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2860 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2861 * Makefile.in: Regenerate.
2862 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2863
01cc8ff8
AM
28642000-04-14 Alan Modra <[email protected]>
2865
5ba47421 2866 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 2867 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
2868 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2869 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
2870 Also set all relocateable section start addresses.
2871
6c86c541
GK
28722000-04-13 Geoff Keating <[email protected]>
2873
2874 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2875 Add new BSS_PLT variable for when .plt need not be contained in
2876 the file. Move _etext so that it is also after .fini, and provide
2877 both etext and _etext with a leading underscore. Mark the start
2878 and end of .sbss.
2879
6a345e87
AM
28802000-04-12 Alan Modra <[email protected]>
2881
2882 * emultempl/elf32.em (struct orphan_save): New.
2883 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2884 hold_interp): Make them struct orphan_save.
2885 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2886 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2887 the end of the relevant section list. Also add associated section
2888 statements to the end of any previous orphan statements.
2889 * emultempl/armelf.em: Similarly.
2890 * emultempl/pe.em: Similarly.
2891
8be86746
AM
28922000-04-11 Alan Modra <[email protected]>
2893
2894 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2895
a2d91340 2896Fri Apr 7 15:56:57 2000 Andrew Cagney <[email protected]>
50bbae35 2897
a2d91340 2898 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 2899 --enable-build-warnings option.
a2d91340
AC
2900 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2901 * Makefile.in, configure: Re-generate.
2902
41b49281
AM
29032000-04-04 Alan Modra <[email protected]>
2904
8ad3436c
AM
2905 * po/ld.pot: Regenerate.
2906
2907 * lexsup.c (help): Restore translated part of bug string.
2908
41b49281
AM
2909 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2910 (DEP): Quote when passing vars to sub-make. Add warning message
2911 to end.
2912 (DEP1): Rewrite for "gcc -MM".
2913 (CLEANFILES): Add DEP2.
2914 Update dependencies.
2915 * Makefile.in: Regenerate.
2916
c20f4f8c
AM
29172000-04-03 Alan Modra <[email protected]>
2918
2919 * ld.h: #include "bin-bugs.h"
2920 * lexsup.c (help): Use REPORT_BUGS_TO.
2921
adde6300
AM
29222000-03-27 Denis Chertykov <[email protected]>
2923
2924 * configure.tgt (avr-*-*): New target support.
2925 * Makefile.am: Likewise.
2926 * scripttempl/elf32avr.sc: New script file.
2927 * emulparams/avr1200.sh: New file.
2928 * emulparams/avr23xx.sh: New file.
2929 * emulparams/avr4433.sh New file.
2930 * emulparams/avr44x4.sh New file.
2931 * emulparams/avr85xx.sh New file.
2932 * emulparams/avrmega103.sh New file.
2933 * emulparams/avrmega161.sh New file.
2934 * emulparams/avrmega603.sh New file.
2935 * Makefile.in: Regenerate.
2936
9282ff41
L
29372000-03-09 Andreas Jaeger <[email protected]>
2938
2939 * Makefile.am (check-DEJAGNU): Also unset LANG.
2940 * Makefile.in: Rebuild.
2941
a9998805
ILT
29422000-03-06 Ian Lance Taylor <[email protected]>
2943
2944 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2945 archive.
2946
f9bc20e7
NC
29472000-03-02 H.J. Lu <[email protected]>
2948
2949 * emulparams/elf32mcore.sh: Include "getopt.h".
2950
4e277b38
ILT
29512000-03-01 Ian Lance Taylor <[email protected]>
2952
2953 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2954
f0c87f88
NC
29552000-03-01 H.J. Lu <[email protected]>
2956
2957 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2958 * emulparams/shpe.sh: Likewise.
2959
29602000-03-01 Nick Clifton <[email protected]>
2961
2962 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2963 to unused parameters.
2964
2965 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2966 functions only used by DLL code.
2967 (_place_orphan): Initialise 'dollar'.
2968
b6f29aaa
L
29692000-03-01 H.J. Lu <[email protected]>
2970
2971 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2972 indicate if the undefined symbol is a fatal error or not.
2973 Don't delete the output file if "fatal" is false.
2974
af28fce3
L
29752000-02-29 H.J. Lu <[email protected]>
2976
50bbae35 2977 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
2978 Set LC_COLLATE and LC_ALL to null and export them. It is for
2979 sort which expects the C locale.
2980 Add $(LIBS) to all $(HOSTING_LIBS).
2981 * Makefile.in: Rebuild.
2982
40d109bf
AM
29832000-02-29 Alan Modra <[email protected]>
2984
2985 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2986 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2987 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2988 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2989 find_potential_libraries.
2990
db5be682
JB
29912000-02-28 Jim Blandy <[email protected]>
2992
2993 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 2994 list entries; the lexer considers commas to be valid part of a
db5be682
JB
2995 filename, so in something like `foo, bar' the comma is considered
2996 part of the first filename, `foo,'.
2997 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2998
3558ff4c
ILT
29992000-02-27 Loren J. Rittle <[email protected]>
3000
3001 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3002 host "i[3456]86-*-freebsdelf*".
3003
4eee2681
ILT
30042000-02-27 Mark Elbrecht <[email protected]>
3005
3006 * scripttempl/i386go32.sc: Move misplaced semicolons.
3007
8d75d12d
ILT
30082000-02-25 Ian Lance Taylor <[email protected]>
3009
3010 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3011 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3012 (eelf64hppa.c, ehppaelf.c): Remove targets.
3013 * Makefile.in: Rebuild.
3014
a1836d49
AO
30152000-02-25 Alexandre Oliva <[email protected]>
3016
ad51fb57
AO
3017 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3018 GNU/Linux/sparc, but keep the default as 32.
3019
a1836d49
AO
3020 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3021 it default if sparcv9 or sparc64.
3022
344a211f
NC
30232000-02-24 Nick Clifton <[email protected]>
3024
3025 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3026 * Makefile.in: Regenerate.
3027 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3028
3029 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3030 find_potential_libraries.
3031 * ldemul.c (ldemul_find_potential_libraries): New function.
3032
3033 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 3034 exported.
344a211f
NC
3035 (ldfile_open_file): Call ldemul_find_potential_libraries.
3036 * ldfile.h: Add prototype for ldfile_open_file_search.
3037
3038 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3039
3040 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3041 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3042
3043 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3044 (gld_X_find_potential_libraries): New function. Search for
3045 libraries called "*.lib".
3046
a2b64bed 3047 * scripttempl/pe.sc: Add .pdata section.
344a211f 3048
eaba1dd3
RH
30492000-02-23 Richard Henderson <[email protected]>
3050
3051 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3052 Add and use memory regions.
3053
5b93d8bb
AM
30542000-02-23 Linas Vepstas ([email protected])
3055
3056 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3057
3058 * Makefile.am: Add support for Linux/IBM 370.
3059 * configure.tgt: Likewise.
3060
3061 * Makefile.in: Regenerate.
3062
f6af82bd
AM
30632000-02-21 Alan Modra <[email protected]>
3064
3065 * ldlang.c (print_input_section, print_data_statement,
3066 print_reloc_statement, print_padding_statement, insert_pad,
3067 size_input_section, lang_check_section_addresses,
3068 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 3069 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
3070 (lang_do_assignments): Also change `size' to unsigned.
3071
9e673ad1
RH
30722000-02-16 Richard Henderson <[email protected]>
3073
3074 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3075
562d3460
TW
30762000-02-16 Timothy Wall <[email protected]>
3077
3078 * mri.c (mri_draw_tree): Add default LMA region argument to call
3079 to lang_leave_output_section_statement.
3080 * ldlang.h: Update prototypes with LMA region arguments.
3081 * ldlang.c (lang_size_sections): Encapsulate region bounds
3082 checking in os_check_region call.
3083 (os_check_region): New function.
3084 (lang_output_section_statement_lookup): Initialize lma_region.
3085 (lang_leave_output_section_statement): Add LMA region argument.
3086 (lang_leave_overlay): Ditto.
3087 * ldgram.y: Handle LMA region syntax.
3088 * ld.texinfo (Output Section Description): Describe LMA region usage.
3089 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 3090 lma region in call to lang_leave_output_section_statement.
562d3460 3091 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 3092 lma region in call to lang_leave_output_section_statement.
562d3460 3093 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 3094 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
3095
3096
9e4ed18c
TW
30972000-02-04 Timothy Wall <[email protected]>
3098
3099 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3100 octets when calculating section end addresses.
3101
32edc927
TW
31022000-02-04 Timothy Wall <[email protected]>
3103
3104 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3105
4cbfc3ac
TW
31062000-02-03 Timothy Wall <[email protected]>
3107
a2b64bed 3108 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 3109 octet count.
a2b64bed 3110 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
3111 print_reloc_statement, print_padding_statement): Print target
3112 address values and section sizes as bytes, not octets.
3113 (insert_pad) Calculate padding size in octets, and adjust "dot"
3114 by bytes.
3115 (size_input_section) Always adjust "dot" by bytes, not octets.
3116 (lang_check_section_addresses, lang_do_assignments) Adjust
3117 "dot" by bytes, not octets. Use the larger of the directive size
3118 or octets_per_byte for the number of octets actually allocated in
3119 the output section.
3120 (lang_set_startof) Make sure STARTOF returns a target address.
3121 (lang_one_common) Record size changes in octets.
3122 (lang_abs_symbol_at_end_of) Section end symbol's value is
3123 recorded in target bytes.
3124 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3125 to be clear about behavior when an octet is smaller than one byte.
50bbae35 3126
305c7206
AM
31272000-01-27 Alan Modra <[email protected]>
3128
3129 * ldcref.c (output_cref): Don't pass message strings to printf
3130 as format arg.
3131 Update copyright.
3132
3133 * ldmisc.c (vfinfo): Same here.
3134 Update copyright.
3135
e1c47aa4
AM
31362000-01-23 Alan Modra <[email protected]>
3137
3138 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3139 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3140 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3141 Add missing NULL initialisers, and comments.
3142
3143 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3144
13392b77
NC
31452000-01-21 Nick Clifton <[email protected]>
3146
3147 * ldlang.c (lang_size_sections): Fix typo in comment.
3148
cce4c4c5
NC
31492000-01-18 H.J. Lu <[email protected]>
3150
3151 * ldlang.c (lang_size_sections): Also update the current
3152 address of a region if the SEC_NEVER_LOAD bit is not set.
3153
0decc840
NC
31542000-01-10 Philip Blundell <[email protected]>
3155
3156 * configure.tgt (arm*-*-conix*): New target.
3157
4e53152f
NC
31582000-01-07 Nick Clifton <[email protected]>
3159
3160 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
3161 line switches with -Wl, (or whatever is appropriate) if it is
3162 being invoked by a comnpiler driver program.
50bbae35 3163 Fix description of the behaviour of the -n command line switch.
4e53152f 3164
18625d54
CM
3165Wed Jan 5 08:02:12 2000 Catherine Moore <[email protected]>
3166
3167 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3168 (name_list): New.
3169 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3170 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3171 (exclude_name_list): New.
3172 ldlang.c (walk_wild_section): Support list of excluded files.
3173 (print_wild_statement): Likewise.
3174 (lang_add_wild): Likewise.
3175 * ldlang.h (lang_wild_statement_type): Likewise.
3176 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 3177
5aaace27
NC
31782000-01-04 Mumit Khan <[email protected]>
3179
870df5dc
NC
3180 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3181 (process_def_file): Use.
3182 (pe_dll_compat_implib): New variable.
3183 (make_one): Use.
50bbae35 3184
870df5dc
NC
3185 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3186 pe_dll_compat_implib.
50bbae35
AM
3187
3188 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
3189 compat-implib options.
3190 (gld_${EMULATION_NAME}_list_options): List new options.
3191 (gld_${EMULATION_NAME}_parse_args): Handle.
3192
50bbae35 3193 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 3194 dll.
50bbae35
AM
3195
3196 * deffilep.y (opt_name): Allow "." in name.
5aaace27 3197
2f6d2f85 3198For older changes see ChangeLog-9899
252b5132
RH
3199\f
3200Local Variables:
3201mode: change-log
3202left-margin: 8
3203fill-column: 74
3204version-control: never
3205End:
This page took 0.719055 seconds and 4 git commands to generate.