~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to ld/ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-03-18 13:07:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050318130752-j4i37zgqclj53b94
Tags: 2.15-5ubuntu2
debian/rules: Call pkgstriptranslations if present (the package does not
use debhelper, thus it does not happen automatically).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2003-10-27  Stephane Carrez  <stcarrez@nerim.fr>
2
 
 
3
 
        * scripttempl/elfm68hc12.sc: Define eeprom memory region.
4
 
 
5
 
2003-10-25  Kazu Hirata  <kazu@cs.umass.edu>
6
 
 
7
 
        * ChangeLog-9197: Fix typos.
8
 
        * NEWS: Likewise.
9
 
        * ld.texinfo: Likewise.
10
 
        * ldlang.c: Fix comment typos.
11
 
 
12
 
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
13
 
 
14
 
        * ldlang.c (lang_vers_match): Fix a typo.
15
 
 
16
 
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
17
 
 
18
 
        * ldlang.c (lang_vers_match): Check demangled symbols.
19
 
 
20
 
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
21
 
 
22
 
        * ldlang.c (lang_vers_match): Check "symbol" instead of
23
 
        "wildcard" and "pattern". Fix a typo.
24
 
        (lang_finalize_version_expr_head): Likewise.
25
 
        (lang_register_vers_node): Likewise.
26
 
        (realsymbol): New function.
27
 
        (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
28
 
 
29
 
        * ldlex.l (V_IDENTIFIER): Allow '\\'.
30
 
 
31
 
2003-10-24  Nick Clifton  <nickc@redhat.com>
32
 
 
33
 
        * emultempl/m68hc1xelf.em (before_allocation): Add missing second
34
 
        parameter to lang_memory_region_lookup.
35
 
 
36
 
2003-10-22  Jakub Jelinek  <jakub@redhat.com>
37
 
 
38
 
        * ldlang.c: Include hashtab.h.
39
 
        (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
40
 
        lang_vers_match_lang_java): Remove.
41
 
        (lang_vers_match): New function.
42
 
        (lang_new_vers_pattern): Initialize wildcard and mask
43
 
        fields, don't initialize match.
44
 
        (lang_new_vers_node): Use xcalloc.  Adjust for globals and
45
 
        locals field type changes.  Set match field.
46
 
        (version_expr_head_hash, version_expr_head_eq): New functions.
47
 
        (lang_finalize_version_expr_head): New function.
48
 
        (lang_register_vers_node): Call lang_finalize_version_expr_head.
49
 
        Search in hash table if not wildcard when looking for duplicates.
50
 
        * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
51
 
        duplicate checking.  Initialize all fields of dot_entry from entry
52
 
        with the exception of pattern and next.
53
 
 
54
 
2003-10-21  Nick Clifton  <nickc@redhat.com>
55
 
 
56
 
        * ldlang.c (lang_memory_region_lookup): Add second parameter -
57
 
        create - which is true if the region is being created.  Issue
58
 
        appropriate warning messages for finding and not finding
59
 
        already created regions.
60
 
        (lang_memory_default): Use DEFAULT_MEMORY_REGION.
61
 
        (lang_leave_overlay_section): Likewise.
62
 
        (lang_size_sections_1): Likewise.
63
 
        Pass second parameter to lang_memory_region_lookup.
64
 
        (lang_get_regions): Likewise.
65
 
        * ldlang.h (DEFAULT_MEMORY_REGION): Define.
66
 
        Update prototype for lang_memory_region_lookup.        
67
 
        * ldgram.y: Pass second parameter to lang_memory_region_lookup.
68
 
        Use DEFAULT_MEMORY_REGION instead of "*default".
69
 
        
70
 
2003-10-20  Andrew Cagney  <cagney@redhat.com>
71
 
 
72
 
        * pe-dll.c: Replace "struct sec" with "struct bfd_section".
73
 
 
74
 
2003-10-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
75
 
 
76
 
        * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
77
 
        target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
78
 
        avrmega161, avrmega603.  Default to avr2.
79
 
        * Makefile.in: Regenerate.
80
 
        * configure.tgt: Likewise.
81
 
        * emulparams/avr1200.sh: Remove.
82
 
        * emulparams/avr23xx.sh: Remove.
83
 
        * emulparams/avr4433.sh: Remove.
84
 
        * emulparams/avr44x4.sh: Remove.
85
 
        * emulparams/avr85xx.sh: Remove.
86
 
        * emulparams/avrmega103.sh: Remove.
87
 
        * emulparams/avrmega161.sh: Remove.
88
 
        * emulparams/avrmega603.sh: Remove.
89
 
        * scripttempl/elf32avr.sc: Remove.
90
 
 
91
 
2003-10-19  Andreas Schwab  <schwab@suse.de>
92
 
 
93
 
        * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
94
 
        newline to message.
95
 
 
96
 
        * deffilep.y: Remove commas from %token lines.
97
 
 
98
 
2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
99
 
 
100
 
        * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
101
 
        relaxation always; don't exclude relocatable linking.  Adjust for
102
 
        _bfd_mmix_prepare_linker_allocated_gregs renamed to
103
 
        _bfd_mmix_before_linker_allocation.
104
 
        (mmix_after_allocation): Adjust for
105
 
        _bfd_mmix_finalize_linker_allocated_gregs renamed to
106
 
        _bfd_mmix_after_linker_allocation.
107
 
        * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
108
 
 
109
 
        * ldlang.c (lang_size_sections): Last, set _cooked_size for output
110
 
        sections.
111
 
 
112
 
2003-10-16  Alan Modra  <amodra@bigpond.net.au>
113
 
 
114
 
        * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove.  Use
115
 
        GENSCRIPTS and GEN_DEPENDS in place of these.
116
 
        * Makefile.in: Regenerate.
117
 
        * genscripts_extra.sh: Delete.  Merge extra functionality to..
118
 
        * genscripts.sh: ..here.
119
 
 
120
 
        * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
121
 
        * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
122
 
        * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
123
 
        * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
124
 
        * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
125
 
 
126
 
2003-10-16  Alan Modra  <amodra@bigpond.net.au>
127
 
 
128
 
        * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
129
 
        use $EMULATION_NAME to call bfd function.
130
 
 
131
 
2003-10-14  Danny Smith  <dannysmith@users.sourceforge.net>  
132
 
 
133
 
        * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
134
 
        to identify data symbols.
135
 
 
136
 
2003-10-13  Richard Sandiford  <rsandifo@redhat.com>
137
 
 
138
 
        * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
139
 
        definition from elf64btsmip.sh.
140
 
        (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
141
 
        * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
142
 
        * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
143
 
        * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
144
 
        (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
145
 
        Define __program_header_table in terms of __elf_header.
146
 
 
147
 
2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>
148
 
 
149
 
        * Makefile.am (eelf64_ia64.c): Also depend on
150
 
        $(srcdir)/emultempl/ia64elf.em.
151
 
        * Makefile.in: Regenerated.
152
 
 
153
 
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
154
 
 
155
 
        * emultempl/ia64elf.em: New.
156
 
 
157
 
2003-10-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
158
 
 
159
 
        * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
160
 
 
161
 
2003-10-11  Hans-Peter Nilsson  <hp@bitrange.com>
162
 
 
163
 
        * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
164
 
        defined before the statement using DEFINED yield 1.
165
 
        * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
166
 
        call lang_track_definedness on symbol.  In subsequent phases, use
167
 
        lang_symbol_definition_iteration and lang_statement_iteration to
168
 
        check whether the symbol was defined before the current statement.
169
 
        (exp_fold_tree) <case etree_assign et al>: Call
170
 
        lang_update_definedness before updating symbol type when setting
171
 
        symbol.
172
 
        * ldlang.c (lang_definedness_table): New variable.
173
 
        (lang_definedness_newfunc, lang_track_definedness)
174
 
        (lang_symbol_definition_iteration, lang_update_definedness): New
175
 
        functions.
176
 
        (lang_init): Initialize lang_definedness_table and
177
 
        lang_statement_iteration.
178
 
        (lang_finish): Destroy bfd_hash_table_free.
179
 
        (lang_size_sections): Increment lang_statement_iteration.
180
 
        (lang_do_assignments_1): New function with former
181
 
        lang_do_assignments contents.  Change recursive calls to call this
182
 
        function.
183
 
        (lang_do_assignments): Evacuate contents.  Increment
184
 
        lang_statement_iteration, then just call lang_do_assignments_1.
185
 
        * ldlang.h (struct lang_definedness_hash_entry)
186
 
        (lang_statement_iteration, lang_track_definedness)
187
 
        (lang_symbol_definition_iteration, lang_update_definedness):
188
 
        Declare.
189
 
 
190
 
2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>
191
 
 
192
 
        * scripttempl/elf.sc (__executable_start): Provide.
193
 
 
194
 
2003-10-09  Daniel Jacobowitz  <drow@mvista.com>
195
 
 
196
 
        * emulparams/armelf.sh: Define NO_SMALL_DATA.
197
 
        * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
198
 
        emulparams/armnto.sh: Likewise.
199
 
 
200
 
2003-10-08  Alexandre Oliva  <aoliva@redhat.com>
201
 
 
202
 
        * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
203
 
        whether to skip test for no memory region.
204
 
 
205
 
2003-10-08  Nick Clifton  <nickc@redhat.com>
206
 
 
207
 
        * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
208
 
        describing defaults.  Change default to report unresolved symbols
209
 
        in object files as well.
210
 
 
211
 
2003-10-08  Hans-Peter Nilsson  <hp@bitrange.com>
212
 
 
213
 
        * ldexp.c (fold_name) <case DEFINED>: Set section of result to
214
 
        abs_output_section.
215
 
 
216
 
2003-10-07  Bob Wilson  <bob.wilson@acm.org>
217
 
 
218
 
        * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
219
 
        OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
220
 
        zero for relocatable links.
221
 
 
222
 
2003-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
223
 
 
224
 
        * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
225
 
 
226
 
2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
227
 
 
228
 
        * ldwrite.c (unsplittable_name): New.
229
 
        (clone_section): Strip existing numeric suffix. Only truncate names
230
 
        for coff targets.
231
 
        (split_sections): Use unsplittable_name.
232
 
 
233
 
2003-10-06  Nick Clifton  <nickc@redhat.com>
234
 
 
235
 
        * lexsup.c (parse_args): Report unresolved symbols in shared
236
 
        libraries when creating a dynamic executable.  This is a
237
 
        restoration of the default behaviour for previous versions of
238
 
        the linker.
239
 
 
240
 
2003-10-06  Matt Thomas <matt@3am-software.com>
241
 
 
242
 
        * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
243
 
        * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
244
 
 
245
 
2003-10-06  Robert Millan  <robertmh@gnu.org>
246
 
 
247
 
        * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
248
 
 
249
 
2003-10-02  Ivan Warren <ivan@vmfacility.fr>
250
 
 
251
 
        * pe-dll.c (make_one): Correct sym def order & pick right sym for
252
 
        .idata$7 reloc.
253
 
 
254
 
2003-09-30  Chris Demetriou  <cgd@broadcom.com>
255
 
 
256
 
        * NEWS: Add an indication of the cutoff for 2.14.
257
 
 
258
 
2003-09-30  Chris Demetriou  <cgd@broadcom.com>
259
 
 
260
 
        * ldmain.c (get_emulation): Ignore "-mips64r2".
261
 
 
262
 
2003-09-03  Robert Millan  <robertmh@gnu.org>
263
 
 
264
 
        * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
265
 
        triplet.
266
 
        * configure.tgt: Likewise.
267
 
 
268
 
2003-08-29  Jafa  <jafa@silicondust.com>
269
 
 
270
 
        * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
271
 
 
272
 
2003-08-21  Nick Clifton  <nickc@redhat.com>
273
 
 
274
 
        * po/tr.po: Updated Turkish translation.
275
 
 
276
 
2003-08-20  Nick Clifton  <nickc@redhat.com>
277
 
 
278
 
        * ldmain.c: Initialise the new fields in bfd_link_info to
279
 
        NOT_YET_SET.
280
 
        * lexsup.c (enum option_values): New enum.  Use this to
281
 
        replace the handed coded values for the long switch options.
282
 
        (ld_options): Add 'unresolved-symbols',
283
 
        'warn-unresolved-symbols' and 'error-unresolved-symbols'.
284
 
        (parse_args): Handle the new switches.  Set the values of
285
 
        unresolved_symbols_in_objects and
286
 
        unresolved_symbols_in_shared_libs appropriately.  If they were
287
 
        not initialised by the command line, install default values.
288
 
        * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
289
 
        -z defs to use the new fields in bfd_link_info.
290
 
        * ld.texinfo: Document the new switches.
291
 
        * NEWS: Mention this feature.
292
 
 
293
 
2003-08-15 Dmitry Diky <diwil@mail.ru>
294
 
        
295
 
        * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
296
 
        calls genscripts_extra.sh.
297
 
        Rearrange all msp430 depends using this script.
298
 
        * Makefile.in: Regenerate.
299
 
        * genscripts_extra.sh: New file: Similar to genscripts.sh, except
300
 
        that the script to be run to generate the emulations can be passed
301
 
        as an optional parameter instead of being computed from the
302
 
        emulation name.
303
 
        * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
304
 
        definitions into one file.
305
 
        * emulparams/msp430x*.sh: Removed.
306
 
 
307
 
2003-08-15  Nick Clifton  <nickc@redhat.com>
308
 
 
309
 
        * ld.texinfo (Options): Put keywords for the -z option into a
310
 
        table.  Add more text describing what the -z now option does.
311
 
 
312
 
2003-08-14  Alan Modra  <amodra@bigpond.net.au>
313
 
 
314
 
        * dep-in.sed: Remove libintl.h.
315
 
        * Makefile.am (POTFILES.in): Unset LC_COLLATE.
316
 
        * Makefile.in: Regenerate.
317
 
 
318
 
2003-08-13  Alan Modra  <amodra@bigpond.net.au>
319
 
 
320
 
        * genscripts.sh (libpath.exp): Only generate for first emulation.
321
 
        (LIB_PATH): Correct order of paths.  Don't add $tool_lib when
322
 
        already present or when LIB_PATH is set to ":".
323
 
 
324
 
2003-08-12  Ian Lance Taylor  <ian@airs.com>
325
 
 
326
 
        * ldmain.c (undefined_symbol): Change parameter name from `fatal'
327
 
        to `error'.  If only a warning, put warning in the reported
328
 
        string.  Consistently set failure flag when not a warning.
329
 
 
330
 
2003-08-08 Dmitry Diky <diwil@mail.ru>
331
 
 
332
 
        * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
333
 
        gcc order.
334
 
        * Makefile.in: Regenerate.
335
 
        * configure.tgt: Add extra emulations.
336
 
        * emulparams/msp430xE423.sh: New file.
337
 
        * emulparams/msp430xE427.sh: New file.
338
 
        * emulparams/msp430xW425.sh: New file.
339
 
        * emulparams/msp430xE425.sh: New file.  
340
 
        * emulparams/msp430xW423.sh: New file.  
341
 
        * emulparams/msp430xW427.sh: New file.
342
 
 
343
 
2003-08-07  Danny Smith  <dannysmith@users.sourceforge.net>
344
 
 
345
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
346
 
        Change second (cmdline) arg to lang_add_entry to FALSE.
347
 
        (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
348
 
 
349
 
2003-08-05  Christian Groessler  <chris@groessler.org>
350
 
            Jason Eckhardt  <jle@rice.edu>
351
 
 
352
 
        * configure.tgt: Recognize new target i860-*-coff.
353
 
        * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
354
 
        (ecoff_i860.c): New rule.
355
 
        * emulparams/coff_i860.sh: New file.
356
 
        * scripttempl/i860coff.sc: New file.
357
 
        * Makefile.in: Regenerate.
358
 
 
359
 
2003-08-04  Nick Clifton  <nickc@redhat.com>
360
 
 
361
 
        * emultempl/elf32.em (before_allocation): Prepend "warning: "
362
 
        to messages produced for .gnu.warning.SYMBOL sections.
363
 
 
364
 
2003-08-04  Alan Modra  <amodra@bigpond.net.au>
365
 
 
366
 
        * emultempl/elf32.em (output_rel_find): Add "isdyn" param.  Put
367
 
        .rel.dyn before other reloc sections.  Don't stop looking for reloc
368
 
        sections on finding one that isn't allocated.  Match .rel even when
369
 
        placing .rela and vice versa, when setting last_rel and
370
 
        last_rel_alloc for the first time.  If no reloc sections in script,
371
 
        prefer allocated section over non-alloc.
372
 
        (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
373
 
 
374
 
2003-07-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
375
 
 
376
 
        * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
377
 
        section for shared library.
378
 
        * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
379
 
        * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
380
 
 
381
 
2003-07-29  Stephane Carrez  <stcarrez@nerim.fr>
382
 
 
383
 
        * scripttempl/elfm68hc12.sc: Add gcc_except_table.
384
 
        * scripttempl/elfm68hc11.sc: Likewise.
385
 
 
386
 
2003-07-28  Alan Modra  <amodra@bigpond.net.au>
387
 
 
388
 
        * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
389
 
 
390
 
        * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
391
 
 
392
 
2003-07-27  Alan Modra  <amodra@bigpond.net.au>
393
 
 
394
 
        * ld.texinfo: Typo fixes.  Document SUBALIGN.
395
 
        * ldgram.y (opt_subalign): Add.
396
 
        * ldlex.l (SUBALIGN): Recognize.
397
 
        * ldlang.c (overlay_subalign): New var.
398
 
        (lang_enter_overlay): Add subalign param.
399
 
        (lang_enter_overlay_section): Pass overlay_subalign to
400
 
        lang_enter_output_section_statement.
401
 
        * ldlang.h (lang_enter_overlay): Update.
402
 
 
403
 
2003-07-24  Nick Clifton  <nickc@redhat.com>
 
1
2004-05-13  Joel Sherrill <joel@oarcorp.com>
 
2
 
 
3
        * configure.tgt (or32-*-rtems*): Switch to elf and
 
4
        support versioned targets.
 
5
 
 
6
2004-05-13  Nick Clifton  <nickc@redhat.com>
404
7
 
405
8
        * po/fr.po: Updated French translation.
406
9
 
407
 
2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
408
 
 
409
 
        * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
410
 
        account .tramp sections;
411
 
        * scripttempl/elfm68hc12.sc: Likewise.
412
 
 
413
 
2003-07-17  Charles Wilson  <cwilson@ece.gatech.edu>
414
 
 
415
 
        * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
416
 
 
417
 
2003-07-17  Nick Clifton  <nickc@redhat.com>
418
 
 
419
 
        * po/es.po: New Spanish translation.
420
 
 
421
 
2003-07-11  Alan Modra  <amodra@bigpond.net.au>
422
 
 
423
 
        * po/ld.pot: Regenerate.
424
 
 
425
 
2003-07-10  Bob Wilson  <bob.wilson@acm.org>
426
 
 
427
 
        * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
428
 
        with new .got.loc section.
429
 
        (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
430
 
        non-relocating links.
431
 
        (OTHER_SECTIONS): Add .xt.lit here.  Change it to keep linkonce
432
 
        sections separate for non-relocating links; likewise for .xt.insn.
433
 
 
434
 
2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
435
 
 
436
 
        2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
437
 
        * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
438
 
        2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
439
 
        * configure.host (am33_2.0-*-linux*): Added.
440
 
        * configure.tgt (am33_2.0-*-linux*): Likewise.
441
 
        * emulparams/elf32am33lin.sh: New.
442
 
        * Makefile.am (eelf32am33lin.c): New rule.
443
 
        * Makefile.in: Rebuilt.
444
 
 
445
 
2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
446
 
 
447
 
        2001-04-17  Alexandre Oliva  <aoliva@redhat.com>
448
 
        * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
449
 
        (GENERATE_SHLIB_SCRIPT): Likewise.
450
 
 
451
 
2003-07-10  Alan Modra  <amodra@bigpond.net.au>
452
 
 
453
 
        * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
454
 
        (GOT): Define.
455
 
        * emultempl/ppc64elf.em (stub_added): New static var.
456
 
        (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
457
 
        (ppc_add_stub_section): Set stub_added.
458
 
        (gld${EMULATION_NAME}_finish): Look for .got rather than .toc.  Adjust
459
 
        ppc64_elf_size_stubs call and test for stubs.
460
 
        * scripttempl/elf.sc (GOT): Define and use.
461
 
 
462
 
2003-07-08  J"orn Rennecke <joern.rennecke@superh.com>
463
 
 
464
 
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
465
 
        Allow second call from ldemul_finish.
466
 
 
467
 
2003-07-04  J"orn Rennecke <joern.rennecke@superh.com>
468
 
 
469
 
        * emulparams/shelf32.sh (STACK_ADDR): Don't define.
470
 
        (OTHER_SECTIONS): Include .stack.
471
 
        * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
472
 
 
473
 
2003-07-02  Jakub Jelinek  <jakub@redhat.com>
474
 
 
475
 
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
476
 
        .opd if -pie.
477
 
        (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
478
 
        * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
479
 
        if -pie.
480
 
 
481
 
2003-06-28  Alan Modra  <amodra@bigpond.net.au>
482
 
 
483
 
        * ld.h: Convert to C90, remove unnecessary prototypes and casts.
484
 
        Replace PTR with void *.  Formatting.
485
 
        * ldcref.c: Likewise.
486
 
        * ldctor.c: Likewise.
487
 
        * ldctor.h: Likewise.
488
 
        * ldemul.h: Likewise.
489
 
        * ldexp.c: Likewise.
490
 
        * ldexp.h: Likewise.
491
 
        * ldfile.c: Likewise.
492
 
        * ldfile.h: Likewise.
493
 
        * ldlang.c: Likewise.
494
 
        * ldlang.h: Likewise.
495
 
        * ldlex.h: Likewise.
496
 
        * ldlex.l: Likewise.
497
 
        * ldmain.c: Likewise.
498
 
        * ldmain.h: Likewise.
499
 
        * ldmisc.c: Likewise.
500
 
        * ldmisc.h: Likewise.
501
 
        * ldver.h: Likewise.
502
 
        * ldwrite.c: Likewise.
503
 
        * ldwrite.h: Likewise.
504
 
        * lexsup.c: Likewise.
505
 
        * mri.c: Likewise.
506
 
        * mri.h: Likewise.
507
 
        * pe-dll.c: Likewise.
508
 
        * pe-dll.h: Likewise.
509
 
        * deffilep.y: Likewise.
510
 
        * deffile.h: Likewise.  Don't include ansidecl.h.
511
 
        * emulparams/elf32mcore.sh: Remove unnecessary cast.
512
 
        * emultempl/m68kcoff.em: Likewise.
513
 
        * emultempl/m68kelf.em: Likewise.
514
 
        * emultempl/ticoff.em: Remove lang_add_output_format declaration.
515
 
        * sysdep.h: Don't include ansidecl.h.
516
 
        * Makefile.am: Run "make dep-am".
517
 
        * Makefile.in: Regenerate.
518
 
 
519
 
2003-06-27  Nick Clifton  <nickc@redhat.com>
520
 
 
521
 
        * deffilep.y (def_file_add_directive): Cope with NUL seperated
522
 
        directives.  Fix reporting of unparseable directives.
523
 
        (def_error): Check for a NULL def_filename.
524
 
 
525
 
2003-06-27  Alan Modra  <amodra@bigpond.net.au>
526
 
 
527
 
        * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
528
 
        and casts.  Replace PTR with void *.  Formatting.
529
 
        * emultempl/alphaelf.em: Likewise.
530
 
        * emultempl/armcoff.em: Likewise.
531
 
        * emultempl/armelf.em: Likewise.
532
 
        * emultempl/armelf_oabi.em: Likewise.
533
 
        * emultempl/beos.em: Likewise.
534
 
        * emultempl/elf32.em: Likewise.
535
 
        * emultempl/generic.em: Likewise.
536
 
        * emultempl/gld960.em: Likewise.
537
 
        * emultempl/gld960c.em: Likewise.
538
 
        * emultempl/hppaelf.em: Likewise.
539
 
        * emultempl/linux.em: Likewise.
540
 
        * emultempl/lnk960.em: Likewise.
541
 
        * emultempl/m68hc1xelf.em: Likewise.
542
 
        * emultempl/m68kcoff.em: Likewise.
543
 
        * emultempl/m68kelf.em: Likewise.
544
 
        * emultempl/mipsecoff.em: Likewise.
545
 
        * emultempl/mipself.em: Likewise.
546
 
        * emultempl/mmix-elfnmmo.em: Likewise.
547
 
        * emultempl/mmixelf.em: Likewise.
548
 
        * emultempl/mmo.em: Likewise.
549
 
        * emultempl/needrelax.em: Likewise.
550
 
        * emultempl/netbsd.em: Likewise.
551
 
        * emultempl/pe.em: Likewise.
552
 
        * emultempl/sh64elf.em: Likewise.
553
 
        * emultempl/sunos.em: Likewise.
554
 
        * emultempl/ticoff.em: Likewise.
555
 
        * emultempl/vanilla.em: Likewise.
556
 
        * emultempl/xtensaelf.em: Likewise.
557
 
        * Makefile.am: Correct dependencies.
558
 
        * Makefile.in: Regenerate.
559
 
 
560
 
2003-06-25  Alan Modra  <amodra@bigpond.net.au>
561
 
 
562
 
        * ld.texinfo: Correct spelling of "relocatable".
563
 
        * ldctor.c: Likewise.
564
 
        * ldexp.c: Likewise.
565
 
        * ldfile.c: Likewise.
566
 
        * ldint.texinfo: Likewise.
567
 
        * ldlang.c: Likewise.
568
 
        * ldmain.c: Likewise.
569
 
        * ldwrite.c: Likewise.
570
 
        * lexsup.c: Likewise.
571
 
        * emultempl/aix.em: Likewise.
572
 
        * emultempl/alphaelf.em: Likewise.
573
 
        * emultempl/armcoff.em: Likewise.
574
 
        * emultempl/armelf_oabi.em: Likewise.
575
 
        * emultempl/beos.em: Likewise.
576
 
        * emultempl/elf32.em: Likewise.
577
 
        * emultempl/generic.em: Likewise.
578
 
        * emultempl/gld960.em: Likewise.
579
 
        * emultempl/gld960c.em: Likewise.
580
 
        * emultempl/hppaelf.em: Likewise.
581
 
        * emultempl/linux.em: Likewise.
582
 
        * emultempl/lnk960.em: Likewise.
583
 
        * emultempl/m68hc1xelf.em: Likewise.
584
 
        * emultempl/m68kcoff.em: Likewise.
585
 
        * emultempl/m68kelf.em: Likewise.
586
 
        * emultempl/mipsecoff.em: Likewise.
587
 
        * emultempl/mipself.em: Likewise.
588
 
        * emultempl/mmix-elfnmmo.em: Likewise.
589
 
        * emultempl/mmo.em: Likewise.
590
 
        * emultempl/needrelax.em: Likewise.
591
 
        * emultempl/pe.em: Likewise.
 
10
2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
 
11
 
 
12
        * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
 
13
        elf32-frvfdpic.
 
14
 
 
15
2004-04-29  Alan Modra  <amodra@bigpond.net.au>
 
16
 
 
17
        * pe-dll.c: Revert changes accidentally committed 2004-03-08.
 
18
        (fill_edata): Correct pointer arithmetic.
 
19
 
 
20
2004-04-21  Hans-Peter Nilsson  <hp@axis.com>
 
21
 
 
22
        * NEWS: Mention change in DEFINED semantics.
 
23
 
 
24
2004-04-20  Chris Demetriou  <cgd@broadcom.com>
 
25
 
 
26
        * NEWS: Note that MIPS --embedded-relocs option is deprecated.
 
27
 
 
28
2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
 
29
 
 
30
        * configure.host: Remove mips*-dec-bsd* target.
 
31
        * configure.tgt: Likewise.
 
32
 
 
33
2004-04-09  Daniel Jacobowitz  <drow@mvista.com>
 
34
 
 
35
        Merge from mainline:
 
36
        2004-03-30  Nick Clifton  <nickc@redhat.com>
 
37
        * po/sv.po: Updated Swedish translation.
 
38
 
 
39
        2004-03-20  Alexandre Oliva  <aoliva@redhat.com>
 
40
        * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
 
41
 
 
42
        2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
 
43
        * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
 
44
        private when building implib.
 
45
 
 
46
        2004-03-01  Andreas Schwab  <schwab@suse.de>
 
47
        * ld.texinfo (Options): Fix example for --wrap.
 
48
 
 
49
        2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
 
50
        * pe-dll.c (fill_edata): Check that exported_symbol_sections is
 
51
        not NULL.
 
52
 
 
53
        2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
 
54
        * ldlang.c (lang_check): Use %P, not %E, in error message.
 
55
 
 
56
2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
 
57
 
 
58
        * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
 
59
        * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
 
60
        * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
 
61
        * emultempl/irix.em: New file.
 
62
        * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
 
63
        dependencies.
 
64
        * Makefile.in: Regenerate.
 
65
 
 
66
2004-04-08  Alan Modra  <amodra@bigpond.net.au>
 
67
 
 
68
        Apply from mainline.
 
69
        2004-03-27  Alan Modra  <amodra@bigpond.net.au>
 
70
        * emultempl/elf32.em: Update new bfd_elf_discard_info name.
 
71
        * emultempl/hppaelf.em: Likewise.
592
72
        * emultempl/ppc64elf.em: Likewise.
593
73
        * emultempl/sh64elf.em: Likewise.
594
 
        * emultempl/sunos.em: Likewise.
595
 
        * emultempl/ticoff.em: Likewise.
596
 
        * emultempl/xtensaelf.em: Likewise.
597
 
 
598
 
2003-06-24  Alan Modra  <amodra@bigpond.net.au>
599
 
 
600
 
        * emultempl/ppc32elf.em: Convert to C90.
601
 
 
602
 
2003-06-20  Alan Modra  <amodra@bigpond.net.au>
603
 
 
604
 
        * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
605
 
        unnecessary prototypes and casts.
606
 
 
607
 
2003-06-19  Alan Modra  <amodra@bigpond.net.au>
608
 
 
609
 
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
610
 
        statistics from ppc64_elf_build_stubs.
611
 
 
612
 
2003-06-19  Alan Modra  <amodra@bigpond.net.au>
613
 
 
614
 
        * emultempl/ppc64elf.em (build_section_lists): Check return status
615
 
        from ppc64_elf_next_input_section.
616
 
 
617
 
2003-06-17  H.J. Lu <hongjiu.lu@intel.com>
618
 
 
619
 
        * ldlang.c (section_already_linked): Put back assignment of
620
 
        kept_section.
621
 
 
622
 
2003-06-17  Rainer Keuchel  <rkeuchel@allgeier.com>
623
 
 
624
 
        * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
625
 
        reloc.
626
 
 
627
 
2003-06-17  Loren James Rittle  <rittle@latour.rsch.comm.mot.com>
628
 
 
629
 
        * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
630
 
        if not produced by gcc.
631
 
 
632
 
2003-06-16  Hans-Peter Nilsson  <hp@axis.com>
633
 
 
634
 
        * configure.tgt: Add specific case for cris-*-linux-gnu*
635
 
        with crislinux emulation only.
636
 
 
637
 
2003-06-13  Robert Millan  <zeratul2@wanadoo.es>
638
 
 
639
 
        * configure.tgt: Add i386-netbsd-gnu target.
640
 
 
641
 
2003-06-12  Richard Sandiford  <rsandifo@redhat.com>
642
 
 
643
 
        * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
644
 
        to $targ_extra_libpath.
645
 
 
646
 
2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
647
 
 
648
 
        * po/Make-in (DESTDIR): New.
649
 
        (install-data-yes): Support $(DESTDIR).
650
 
        (uninstall): Likewise.
651
 
 
652
 
2003-06-10  Doug Evans  <dje@sebabeach.org>
653
 
 
654
 
        * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
655
 
        * Makefile.in: Regenerate.
656
 
 
657
 
2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
658
 
 
659
 
        * configure.tgt (h8300*): Add h8300sxn emulations.
660
 
        * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
661
 
        (eh8300sxn.c, eh8300sxnelf.c): New rules.
662
 
        * Makefile.in: Regenerate.
663
 
        * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
664
 
        * scripttempl/h8300sxn.sc: New file.
665
 
 
666
 
2003-06-10  Alan Modra  <amodra@bigpond.net.au>
667
 
 
668
 
        * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
669
 
        CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
670
 
 
671
 
2003-06-08  Alan Modra  <amodra@bigpond.net.au>
672
 
 
673
 
        * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
674
 
        (build_toc_list): New function.
675
 
        (gld${EMULATION_NAME}_finish): Call build_toc_list and
676
 
        ppc64_elf_reinit_toc.  Adjust ppc64_elf_build_stubs call.
677
 
        (OPTION_STUBSYMS): Define.
678
 
        (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
679
 
        (PARSE_AND_LIST_OPTIONS): Document.
680
 
        (PARSE_AND_LIST_ARGS_CASES): Handle.
681
 
 
682
 
2003-06-05  Roland McGrath  <roland@redhat.com>
683
 
 
684
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
685
 
        extra \t in -z noexecstack line.
686
 
 
687
 
2003-05-23  Jakub Jelinek  <jakub@redhat.com>
688
 
 
689
 
        * ldgram.y (phdr_type): Grok PT_GNU_STACK.
690
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
691
 
        -z execstack and -z noexecstack.
692
 
        (gld${EMULATION_NAME}_list_options): Likewise.
693
 
        * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
694
 
 
695
 
2003-06-03  Michael Snyder  <msnyder@redhat.com>
696
 
        and Bernd Schmidt   <bernds@redhat.com>
697
 
        and Alexandre Oliva <aoliva@redhat.com>
698
 
 
699
 
        * Makefile.am: Add new emulations for h8300sx.
700
 
        * Makefile.in: Regenerate.
701
 
        * configure.tgt: Add new emulations.
702
 
        * emulparams/h8300sx.sh: New emulation.
703
 
        * emulparams/h8300sxelf.sh: Ditto.
704
 
        * scripttempl/h8300sx.sc: Ditto.
705
 
 
706
 
2003-06-03  H.J. Lu <hongjiu.lu@intel.com>
707
 
 
708
 
        * ldmisc.c: Include "bfdlink.h".
709
 
        (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
710
 
        and -LD_DEFINITION_IN_DISCARDED_SECTION.
711
 
 
712
 
        * Makefile.am: Rebuild dependency.
713
 
        * Makefile.in: Regenerated.
714
 
 
715
 
2003-06-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
716
 
 
717
 
        * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
718
 
        * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
719
 
 
720
 
2003-06-02  Fabrizio Gennari  <fabrizio.ge@tiscalinet.it>
721
 
 
722
 
        * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
723
 
        sorted alphabetically, instead of exported_symbols, which is
724
 
        sorted by ordinal.
725
 
 
726
 
2003-05-30  Ulrich Drepper  <drepper@redhat.com>
727
 
            Jakub Jelinek  <jakub@redhat.com>
728
 
 
729
 
        * lexsup.c (OPTION_PIE): Define.
730
 
        (ld_options): Add -pie and --pic-executable options.
731
 
        (parse_args): Handle OPTION_PIE.
732
 
        * ldmain.c (main): Initialize link_info.pie and
733
 
        link_info.executable.
734
 
        * genscripts.sh: Generate PIE scripts.
735
 
        * ld.texinfo: Document -pie and --pic-executable options.
736
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
737
 
        (gld${EMULATION_NAME}_place_orphan): Likewise.
738
 
        (gld${EMULATION_NAME}_get_script): Include PIE scripts.
739
 
        * scripttempl/elf.sc: In PIE scripts set . the same way as in
740
 
        shared scripts.
741
 
        * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
742
 
        * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
743
 
        * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
744
 
        * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
745
 
        * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
746
 
        * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
747
 
        * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
748
 
        * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
749
 
        * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
750
 
        * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
751
 
        * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
752
 
 
753
 
2003-05-30  H.J. Lu <hongjiu.lu@intel.com>
754
 
 
755
 
        * genscripts.sh: Create tmpdir/libpath.exp.
756
 
 
757
 
2003-05-30  Nick Clifton  <nickc@redhat.com>
758
 
 
759
 
        * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
760
 
        with a test for a NULL bfd_for_interworking.
761
 
 
762
 
2003-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
763
 
 
764
 
        * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
765
 
        correctly for more recent versions of NetBSD.
766
 
        (alpha*-*-netbsd*): Remove.
767
 
        (i[3-7]86-*-netbsd*): Remove.
768
 
 
769
 
2003-05-29  Nick Clifton  <nickc@redhat.com>
770
 
 
771
 
        * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
772
 
 
773
 
2003-05-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
774
 
 
775
 
        * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
776
 
        trap on pointer crops.
777
 
 
778
 
2003-05-21  Marcus Comstedt  <marcus@mc.pp.se>
779
 
 
780
 
        * configure.tgt: Check for a target triplet of shl-...-netbsdelf
781
 
        as well as shle-...-netbsdelf.
782
 
 
783
 
2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
784
 
 
785
 
        * configure.host: Accept i[3-7]86 variants.
786
 
        * configure.tgt: Likewise.
787
 
 
788
 
2003-05-15  H.J. Lu <hongjiu.lu@intel.com>
789
 
 
790
 
        * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
791
 
 
792
 
2003-05-09  Daniel Jacobowitz  <drow@mvista.com>
793
 
 
794
 
        * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
795
 
        (earmelfb.c, earmelfb_linux.c): New rules.
796
 
        * Makefile.in: Regenerated.
797
 
        * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
798
 
        * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
799
 
 
800
 
2003-05-09  Nick Clifton  <nickc@redhat.com>
801
 
 
802
 
        * ldlang.c (lang_size_sections_1): Default to generating a
803
 
        fatal error message if a loadable section is not allocated
804
 
        to a memory region when regions are defined.
805
 
 
806
 
2003-05-09  Alan Modra  <amodra@bigpond.net.au>
807
 
 
808
 
        * Makefile.am (em68hc11elf.c): Correct dependencies.
809
 
        (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
810
 
        * Makefile.in: Regenerate.
811
 
        * emultempl/elf32.em (find_exp_assignment): Adjust for changed
812
 
        bfd_elf_record_link_assignment name.
813
 
 
814
 
2003-05-07  Alexandre Oliva  <aoliva@redhat.com>
815
 
 
816
 
        * ldmain.h (overflow_cutoff_limit): Declare.
817
 
        * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
818
 
        (reloc_overflow): Limit error messages based on it.
819
 
        * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
820
 
        unlimited.
821
 
 
822
 
2003-05-05  Alan Modra  <amodra@bigpond.net.au>
823
 
 
824
 
        * ldlex.l: Accept C style comments in version scripts.
825
 
 
826
 
2003-04-28  H.J. Lu <hjl@gnu.org>
827
 
 
828
 
        * ldlang.c (lang_process): Add the relax finalize pass.
829
 
 
830
 
        * ldmain.c (main): Initialize link_info.relax_finalizing to
831
 
        FALSE.
832
 
 
833
 
2003-04-24  Roland McGrath  <roland@redhat.com>
834
 
 
835
 
        * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
836
 
        If a name string is unknown, give an error rather than crashing later.
837
 
 
838
 
2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
839
 
 
840
 
        * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
841
 
        eh8300hnelf.o, eh8300snelf.o and respective rules.
842
 
        * Makefile.in: Regenerate.
843
 
        * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
844
 
        * emulparams/h8300hn.sh: New
845
 
        * emulparams/h8300sn.sh: New
846
 
        * emulparams/h8300hnelf.sh: New
847
 
        * emulparams/h8300snelf.sh: New
848
 
        * scripttempl/h8300hn.sc: new
849
 
        * scripttempl/h8300sn.sc: new
850
 
 
851
 
2003-04-23  H.J. Lu <hjl@gnu.org>
852
 
 
853
 
        * ldmain.c (link_callbacks): Initialize error_handler.
854
 
 
855
 
        * ldmisc.c (error_handler): New function.
856
 
 
857
 
        * ldmisc.h (error_handler): New prototype.
858
 
 
859
 
2003-04-21  Stephane Carrez  <stcarrez@nerim.fr>
860
 
 
861
 
        * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
862
 
        * emulparams/m68hc11elfb.sh: Likewise.
863
 
        * emulparams/m68hc12elf.sh: Likewise.
864
 
        * emulparams/m68hc12elfb.sh: Likewise.
865
 
 
866
 
2003-04-19  Stephane Carrez  <stcarrez@nerim.fr>
867
 
 
868
 
        * emultempl/m68hc1xelf.em: New file to generate far trampolines on
869
 
        68HC11 and 68HC12.
870
 
        (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
871
 
        generate.
872
 
        (LDEMUL_FINISH): Override to generate the trampolines after gc and
873
 
        linker relaxation.
874
 
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
875
 
        stub file for trampolines.
876
 
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
877
 
        --no-trampoline and --bank-window to control the memory bank window.
878
 
 
879
 
2003-04-18  H.J. Lu <hjl@gnu.org>
880
 
 
881
 
        * ldfile.c (ldfile_add_library_path): Remove the unused
882
 
        variable.
883
 
 
884
 
2003-04-18  Andrew Haley  <aph@cambridge.redhat.com>
885
 
 
886
 
        * scripttempl/xstormy16.sc (__data, __rdata): New.
887
 
 
888
 
2003-04-16  Nick Clifton  <nickc@redhat.com>
889
 
 
890
 
        * scripttempl/xstormy16.sc: Add .jcr section mapping.
891
 
 
892
 
2003-04-15  H.J. Lu <hjl@gnu.org>
893
 
 
894
 
        From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
895
 
 
896
 
        * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
897
 
 
898
 
2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
899
 
 
900
 
        * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
901
 
        * ld.texinfo: Likewise.
902
 
 
903
 
2003-04-14  Alan Modra  <amodra@bigpond.net.au>
904
 
 
905
 
        From Prashanth Tamraparni <prashanth_t@in.ibm.com>
906
 
        * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
907
 
        other variants of crtbegin.o, crtend.o.
908
 
        (DTOR): Likewise.
909
 
        * scripttempl/crisaout.sc (ctors, dtors): Likewise.
910
 
        * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
911
 
        * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
912
 
        * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
913
 
        * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
914
 
        * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
915
 
        * scripttempl/mmo.sc (ctors, dtors): Likewise.
916
 
        * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
917
 
 
918
 
2003-04-09   Dmitry Diky  <diwil@mail.ru>
919
 
 
920
 
        * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
921
 
        sections to respect C++  constructor/destructor. Add ctors/dtors
922
 
        start/stop definitions.
923
 
        * scripttempl/elf32msp430_3.sc: Likewise.
924
 
 
925
 
2003-04-06  Nick Clifton  <nickc@redhat.com>
926
 
 
927
 
        * ld.texinfo (Options): Add a reminder of the target specific
928
 
        nature to the description of the i386 PE specific options, for
929
 
        readers who have not read all the way through the manual.
930
 
 
931
 
2003-04-04  Svein E. Seldal  <Svein.Seldal@solidas.com>
932
 
 
933
 
        * configure.tgt: Fixed bug in list of targ_extra_emuls.
934
 
        * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
935
 
        cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
936
 
        * emulparams/tic3xcoff_onchip.sh: Ditto
937
 
        * emulparams/tic4xcoff.sh: Ditto
938
 
        * scripttempl/tic4xcoff.sc: Ditto
939
 
 
940
 
2003-04-03  Nick Clifton  <nickc@redhat.com>
941
 
 
942
 
        * NEWS: Mention support for Xtensa architecture.
943
 
 
944
 
2003-04-02  Nick Clifton  <nickc@redhat.com>
945
 
 
946
 
        * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
947
 
 
948
 
2003-04-01  Danny Smith <dannysmith@users.sourceforge.net>
949
 
 
950
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
951
 
        Don't call pe_dll_build_section() if link_info.relocateable.
952
 
        (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
953
 
        if link_info.relocateable.
954
 
 
955
 
2003-04-01  Fabrizio Gennari  <fabrizio.ge@tiscalinet.it>
956
 
 
957
 
        * pe-dll.c (process_def_file): Don't create an export
958
 
        section if there are no exports and we're building an exe
959
 
        (pe_dll_build_sections): Ditto
960
 
        (pe_dll_fill_sections): Conditionalize setting
961
 
        abfd->dll true on info->shared
962
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
963
 
        If i386pe or armpe, call pe_dll_build_section()
964
 
        for both exe's and dll's, not just dll's.
965
 
        (gld_${EMULATION_NAME}_finish): For all targets except
966
 
        shpe and mipspe, call pe_dll_fill_sections() for both
967
 
        exe's and dll's, not just dll's.
968
 
 
969
 
2003-04-02  Bob Wilson  <bob.wilson@acm.org>
970
 
 
971
 
        * emulparams/xtensa-config.sh: Remove comment indicating that this is
972
 
        a generated file.
973
 
 
974
 
2003-04-01  Bob Wilson  <bob.wilson@acm.org>
975
 
 
976
 
        * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
977
 
        (eelf32xtensa.c): New target.
978
 
        * Makefile.in: Regenerate.
979
 
        * configure.tgt: Handle xtensa-*-*.
980
 
        * gen-doc.texi: Set XTENSA variable.
981
 
        * ld.texinfo: Set XTENSA variable.  Add new Xtensa node.
982
 
        * emulparams/elf32xtensa.sh: New file.
983
 
        * emulparams/xtensa-config.sh: Likewise.
984
 
        * emultempl/xtensaelf.em: Likewise.
985
 
        * scripttempl/elfxtensa.sc: Likewise.
986
 
 
987
 
2003-04-01  Jakub Jelinek  <jakub@redhat.com>
988
 
 
989
 
        * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
990
 
        targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
991
 
        if --enable-64-bit-bfd.
992
 
 
993
 
2003-04-01  Nick Clifton  <nickc@redhat.com>
994
 
 
995
 
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
996
 
        note section.
997
 
        * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
998
 
        name of note section.
999
 
 
1000
 
2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
1001
 
 
1002
 
        * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
1003
 
        --section-start.
1004
 
 
1005
 
2003-03-31  David Heine  <dlheine@suif.stanford.edu>
1006
 
 
1007
 
        * ldfile.c (ldfile_add_library_path): Always allocate space for
1008
 
        the filename.
1009
 
        * ldlang.c (lang_register_vers_node): Free the node if it cannot
1010
 
        be used.
1011
 
        * ldmain.c (set_scripts_dir): Always free the constructed
1012
 
        directory name.
1013
 
        (add_keepsyms_file): Fix memory leak.
1014
 
        * ldmisc.c (vfinfo): Likewise.
1015
 
        * lexsup.c (parse_args): Likewise.
1016
 
 
1017
 
2003-03-25  Stan Cox   <scox@redhat.com>
1018
 
            Nick Clifton  <nickc@redhat.com>
1019
 
 
1020
 
        Contribute support for Intel's iWMMXt chip - an ARM variant:
1021
 
 
1022
 
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
1023
 
        * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
1024
 
        * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
1025
 
        (.bss): Likewise.
1026
 
 
1027
 
2003-03-25  Alexandre Oliva  <aoliva@redhat.com>
1028
 
 
1029
 
        * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
1030
 
        * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
1031
 
        (main): Initialize them.
1032
 
        * ldfile.c: Include pathnames.h.
1033
 
        (is_sysrooted_pathname): New.
1034
 
        (ldfile_add_library_path): Use it.
1035
 
        (ldfile_open_file_search): Likewise.  Use IS_ABSOLUTE_PATH.  Don't
1036
 
        search_dirs if given an absolute pathname.
1037
 
        (ldfile_open_file): Issue error message for sysrooted
1038
 
        absolute pathnames.
1039
 
        * Makefile.am: Updated dependencies.
1040
 
        * Makefile.in: Rebuild.
1041
 
 
1042
 
2003-03-24  Daniel N�ri  <dne@mayonnaise.net>
1043
 
 
1044
 
        * ld.texinfo: Rename all occurances of C54X to TIC54X.
1045
 
 
1046
 
2003-03-19  Andreas Schwab  <schwab@suse.de>
1047
 
 
1048
 
        * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
1049
 
        eof.
1050
 
 
1051
 
2003-03-18  Danny Smith  <dannysmith@users.sourceforge.net>
1052
 
 
1053
 
        * deffilep.y (opt_base): If no number given, set to default
1054
 
        (-1), not 0.
1055
 
 
1056
 
2003-03-13  Danny Smith  <dannysmith@users.sourceforge.net>
1057
 
 
1058
 
        * deffilep.y (def_import): Use default extension of "dll"
1059
 
        if no extension provided in parsed IMPORT definition.
1060
 
 
1061
 
        * deffilep.y (def_lex): Revert 2003-03-12 change.
1062
 
        (dot_name): New id type and rule.
1063
 
        (expline): Use instead of ID.
1064
 
        (opt_equal_name): Likewise.
1065
 
 
1066
 
2003-03-12  Danny Smith  <dannysmith@users.sourceforge.net>
1067
 
 
1068
 
        * deffilep.y (def_lex): Accept '.' as valid non-lead char.
1069
 
 
1070
 
2003-03-07  Christopher Faylor  <cgf@redhat.com>
1071
 
 
1072
 
        * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
1073
 
        apparent accidental removal on 2003-01-06.
1074
 
 
1075
 
2003-03-04  Dmitry Diky  <diwil@mail.ru>
1076
 
 
1077
 
        * Makefile.am: Add new devices x1122 x1132 emulation
1078
 
        * configure.tgt: Likewise.
1079
 
        * Makefile.in: Regenerate.
1080
 
        * emulparams/msp430x1122.sh: New file.
1081
 
        * emulparams/msp430x1132.sh: New file.
1082
 
 
1083
 
2003-03-03  Alexandre Oliva  <aoliva@redhat.com>
1084
 
 
1085
 
        * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
1086
 
        well.
1087
 
 
1088
 
        * ldfile.h (struct search_dirs): Added sysrooted field.
1089
 
        * ldlang.h (struct lang_input_statement_struct): Likewise.
1090
 
        * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
1091
 
        (ldfile_open_file_search): Look for sysrooted filename starting
1092
 
        with / in ld_sysroot instead of in the current directory.  Clear
1093
 
        sysrooted flag if it's found in the current directory.  Set it
1094
 
        from the search directory's sysrooted flag where it is found
1095
 
        otherwise.
1096
 
        * ldlang.c (ldlang_sysrooted_script): New static variable.
1097
 
        (new_afile): Mark search_file_enums as sysrooted if
1098
 
        ldlang_sysrooted_script.
1099
 
        (load_symbols): Set ldlang_sysrooted_script according to the
1100
 
        script's sysrooted field while processing it.
1101
 
        * ld.texinfo: Document INPUT behavior in sysroot.
1102
 
 
1103
 
2003-03-02  Danny Smith  <dannysmith@users.sourceforge.net>
1104
 
 
1105
 
        * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
1106
 
 
1107
 
2003-03-03  Alan Modra  <amodra@bigpond.net.au>
1108
 
 
1109
 
        * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
1110
 
        (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
1111
 
        PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
1112
 
        PARSE_AND_LIST_EPILOGUE): Don't define.
1113
 
        * emultempl/alphaelf.em: New file.
1114
 
 
1115
 
2003-03-01  Alan Modra  <amodra@bigpond.net.au>
1116
 
 
1117
 
        * ldemul.c: Include getopt.h.
1118
 
        * emultempl/elf32.em: Include getopt.h earlier.
1119
 
        * emultempl/ticoff.em: Likewise.
1120
 
 
1121
 
2003-02-28  Alan Modra  <amodra@bigpond.net.au>
1122
 
 
1123
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
1124
 
        support when scripts read from files.
1125
 
 
1126
 
2003-02-28  Alan Modra  <amodra@bigpond.net.au>
1127
 
 
1128
 
        * ldemul.c (ldemul_parse_args): Return FALSE by default.
1129
 
        * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
1130
 
        comment.
1131
 
 
1132
 
        * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
1133
 
        (ldemul_parse_args): Return bfd_boolean.  Formatting.
1134
 
        * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
1135
 
        (ldemul_parse_args): Adjust.
1136
 
        (struct ld_emulation_xfer_struct): Add add_options and handle_option.
1137
 
        Return bfd_boolean from parse_args.
1138
 
        * lexsup.c (parse_args): Malloc shortopts, longopts and
1139
 
        really_longopts.  Call ldemul_add_options and ldemul_handle_option.
1140
 
        * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
1141
 
        gld${EMULATION_NAME}_parse_args.
1142
 
        (gld${EMULATION_NAME}_handle_option): Likewise.
1143
 
        (ld_${EMULATION_NAME}_emulation): Adjust initializer.
1144
 
        * emultempl/armcoff.em: As for aix.em, but remove parse_args.
1145
 
        * emultempl/beos.em: Likewise.
1146
 
        * emultempl/pe.em: Likewise.
1147
 
        * emultempl/ticoff.em: Likewise.
1148
 
        * emultempl/elf32.em: Likewise.  Don't duplicate long options either.
1149
 
        (gld${EMULATION_NAME}_add_sysroot): Prototype.
1150
 
        * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
1151
 
        options.
1152
 
        * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
1153
 
        * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
1154
 
        * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
1155
 
        * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
1156
 
        initializer.
1157
 
        * emultempl/generic.em: Likewise.
1158
 
        * emultempl/gld960.em: Likewise.
1159
 
        * emultempl/gld960c.em: Likewise.
1160
 
        * emultempl/linux.em: Likewise.
1161
 
        * emultempl/lnk960.em: Likewise.
1162
 
        * emultempl/m68kcoff.em: Likewise.
1163
 
        * emultempl/mipsecoff.em: Likewise.
1164
 
        * emultempl/sunos.em: Likewise.
1165
 
        * emultempl/vanilla.em: Likewise.
1166
 
        * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
1167
 
 
1168
 
2003-02-25  Alexandre Oliva  <aoliva@redhat.com>
1169
 
 
1170
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
1171
 
        memory allocation error.
1172
 
 
1173
 
        * Makefile.am (ldmain.o): Define TOOLBINDIR.
1174
 
        * Makefile.in: Rebuilt.
1175
 
        * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
1176
 
 
1177
 
2003-02-21  Bob Wilson  <bob.wilson@acm.org>
1178
 
 
1179
 
        * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
1180
 
        call os_region_check when it is set.
1181
 
        (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
1182
 
        lang_size_sections_1.
1183
 
        (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
1184
 
        only for the last call, not on every relaxation iteration.
1185
 
        * ldlang.h (lang_size_sections): Update prototype.
1186
 
        * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
1187
 
        to lang_size_sections.
1188
 
        (pe_exe_fill_sections): Likewise.
1189
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
1190
 
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1191
 
        * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
1192
 
        (ppc_layout_sections_again): Likewise.
1193
 
 
1194
 
2003-02-21  Bob Wilson  <bob.wilson@acm.org>
1195
 
 
1196
 
        * gen-doc.texi: Set ARM and HPPA variables.
1197
 
        * ld.texinfo: Fix typos and obvious texinfo mistakes.  Make section
1198
 
        title capitalization more consistent.  Add missing menu entries for
1199
 
        machine-specific sections and conditionalize them consistently.
1200
 
        Conditionalize text that is irrelevant when SingleFormat is set.
1201
 
        Add @group divisions to improve page breaks in long examples.
1202
 
        Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
1203
 
        is correct.  Remove "FIXME" comment about not using
1204
 
        @raisesections/@lowersections.  Use @raisesections/@lowersections
1205
 
        consistently for machine-specific sections.  Change to be more polite
1206
 
        about poor bug reports.  Replace FDL appendix with include of fdl.texi.
1207
 
        Move WIN32 node to match its order in the menus.
1208
 
        * fdl.texi: New file.
1209
 
 
1210
 
2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1211
 
 
1212
 
        * configure.in (TARGET_SYSTEM_ROOT): Set default to
1213
 
        ${exec_prefix}/${target_alias}/sys-root.  Match explicit
1214
 
        '${exec_prefix}' (in addition to the expansion thereof) as
1215
 
        relocatable.
1216
 
        * configure: Rebuilt.
1217
 
 
1218
 
2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
1219
 
 
1220
 
        * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
1221
 
 
1222
 
2003-02-20  Harri Porten  <porten@kde.org>
1223
 
 
1224
 
        * ldgram.y (vers_defns): Allow optional trailing semicolon in
1225
 
        EXTERN NAME block;
1226
 
 
1227
 
2003-02-18  Alan Modra  <amodra@bigpond.net.au>
1228
 
 
1229
 
        * emultempl/ppc32elf.em: New file.
1230
 
        * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
1231
 
        * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
1232
 
        (eelf32lppcnto.c): Likewise.
1233
 
        (eelf32lppcsim.c): Likewise.
1234
 
        (eelf32ppcnto.c): Likewise.
1235
 
        (eelf32ppc.c): Likewise.
1236
 
        (eelf32ppc_fbsd.c): Likewise.
1237
 
        (eelf32ppcsim.c): Likewise.
1238
 
        (eelf32ppclinux.c): Likewise.
1239
 
        * Makefile.in: Regenerate.
1240
 
 
1241
 
2003-02-18  Alan Modra  <amodra@bigpond.net.au>
1242
 
 
1243
 
        * ld.texinfo: Remove spaces between @samp and opening brace.
1244
 
 
1245
 
2003-02-18  Alan Modra  <amodra@bigpond.net.au>
1246
 
 
1247
 
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
1248
 
        hash creator.
1249
 
        (ppc_before_allocation): Don't do optimizations if wrong hash table.
1250
 
        (gld${EMULATION_NAME}_finish): Ditto.
1251
 
 
1252
 
2003-02-17  Nick Clifton  <nickc@redhat.com>
1253
 
 
1254
 
        * ldmain.c (main) Default allow_shlib_undefined to true.
1255
 
        * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
1256
 
        (parse_args): Parse the new switch.
1257
 
        * ld.texinfo: Document new switch and default behaviour of
1258
 
        allowing undefined symbols in shared libraries.
1259
 
 
1260
 
2003-02-11 Dmitry Diky  <diwil@mail.ru>
1261
 
 
1262
 
        * scripttempl/elf32msp430.sc: Add new data anchors definitions.
1263
 
        * scripttempl/elf32msp430_3.sc: Likewise.
1264
 
 
1265
 
2003-02-11  Uwe Stieber  <uwe@wwws.de>
1266
 
 
1267
 
        * configure.tgt: Add support for kaOS as cross build target
1268
 
        system.
1269
 
 
1270
 
2003-02-10  John Daivid Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1271
 
 
1272
 
        * hppaelf.em (group_size): Change default back to 1.
1273
 
 
1274
 
2003-02-09  Alan Modra  <amodra@bigpond.net.au>
1275
 
 
1276
 
        * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
1277
 
 
1278
 
2003-02-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1279
 
 
1280
 
        * hppaelf.em (group_size): Change default to -1.
1281
 
 
1282
 
2003-02-07  Nick Clifton  <nickc@redhat.com>
1283
 
 
1284
 
        * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
1285
 
        opt.
1286
 
        (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
1287
 
        no-pipeline-knowledge.  This will prevent the getopt package from
1288
 
        thinking that there are any shorter abbreviations for
1289
 
        --no-pipeline-knowledge.
1290
 
 
1291
 
2003-02-07  Jakub Jelinek  <jakub@redhat.com>
1292
 
 
1293
 
        * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
1294
 
        which already have it.  Avoid duplicates.
1295
 
 
1296
 
2003-02-06  Jakub Jelinek  <jakub@redhat.com>
1297
 
 
1298
 
        * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
1299
 
        * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
1300
 
        * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
1301
 
 
1302
 
2003-02-05  Alan Modra  <amodra@bigpond.net.au>
1303
 
 
1304
 
        * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
1305
 
        call ppc64_elf_tls_optimize.
1306
 
 
1307
 
2003-02-03  Daniel Jacobowitz  <drow@mvista.com>
1308
 
 
1309
 
        * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
1310
 
        outside of GNU/Linux conditional.
1311
 
 
1312
 
2003-01-28  Ralf Habacker  <ralf.habacker@freenet.de>
1313
 
 
1314
 
        * deffilep.y (def_get_module): New function: locate an already
1315
 
        added module.
1316
 
        * deffile.h (def_get_module): New prototype.
1317
 
        * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
1318
 
        a dll multiple times.
1319
 
 
1320
 
2003-01-23  Alan Modra  <amodra@bigpond.net.au>
1321
 
 
1322
 
        * emultempl/sh64elf.em: Include elf32-sh64.h.
1323
 
        (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
1324
 
        sh64_elf_section_data.
1325
 
        (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
1326
 
 
1327
 
2003-01-23  Wu Yongwei  <adah@netstd.com>
1328
 
 
1329
 
        * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
1330
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
1331
 
        cross-80th-column-margin "an" to the next line.
1332
 
 
1333
 
2003-01-21  Nick Clifton  <nickc@redhat.com>
1334
 
 
1335
 
        * emulparams/tic3xcoff-onchip.sh: Rename to ...z
1336
 
        * emulparams/tic3xcoff_onchip.sh: ...this.
1337
 
        * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
1338
 
        * Makefile.in: Regenerate.
1339
 
 
1340
 
2003-01-21  Fabio Alemagna  <falemagn@aros.org>
1341
 
 
1342
 
        * configure.tgt: Handle i[3456]86-*-aros*
1343
 
 
1344
 
2003-01-19  Svein E. Seldal  <Svein.Seldal@solidas.com>
1345
 
 
1346
 
        * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
1347
 
        * Makefile.in: Regenerate
1348
 
        * configure.tgt: Added extra target emulations
1349
 
        * emulparams/tic3xcoff.sh: Remove old settings
1350
 
        * emulparams/tic4xcoff.sh: Ditto
1351
 
        * emulparams/tic3xcoff-onchip.sh: Added new
1352
 
        * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
1353
 
        * scripttempl/tic3xcoff.sc: Remove
1354
 
 
1355
 
2003-01-17  Andreas Jaeger  <aj@suse.de>
1356
 
 
1357
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
1358
 
        skip ':'.
1359
 
 
1360
 
2003-01-16  Alan Modra  <amodra@bigpond.net.au>
1361
 
 
1362
 
        * Makefile.in: Regenerate.
1363
 
 
1364
 
2002-01-14  Charles Wilson  <cwilson@ece.gatech.edu>
1365
 
 
1366
 
        * ld.texinfo (node WIN32): Some clarifications
1367
 
        and formatting fixups.
1368
 
 
1369
 
2003-01-09  Chris Demetriou  <cgd@broadcom.com>
1370
 
 
1371
 
        * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
1372
 
        order, and handle (ignore) -mips32r2.
1373
 
 
1374
 
2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
1375
 
 
1376
 
        * ldmain.c (main): Make sure ld_sysroot is initialized.
1377
 
 
1378
 
2003-01-06  Daniel Jacobowitz  <drow@mvista.com>
1379
 
 
1380
 
        * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
1381
 
 
1382
 
        * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
1383
 
        (GENSCRIPTS): Add @use_sysroot@.
1384
 
        * Makefile.in: Regenerated.
1385
 
        * configure.host: Move setting of NATIVE_LIB_DIRS to...
1386
 
        * configure.tgt: ... here.  Use ${target} instead of ${host}
1387
 
        for NATIVE_LIB_DIRS.
1388
 
        * configure.in: Add --with-sysroot.
1389
 
        * configure: Regenerated.
1390
 
        * genscripts.sh: Accept use_sysroot option.  Set new variables
1391
 
        NATIVE and USE_LIBPATH.  Prepend "=" to directory names if
1392
 
        $use_sysroot.  Don't search $tool_lib if $use_sysroot.
1393
 
        * ldfile.c (ldfile_add_library_path): Handle leading '='.
1394
 
        * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
1395
 
        (ld_sysroot): New variable.
1396
 
        (main): Initialize ld_sysroot.
1397
 
        * ldmain.h (ld_sysroot): New extern.
1398
 
        * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
1399
 
        searching $EMULATION_LIBPATH.
1400
 
        (gld${EMULATION_NAME}_add_sysroot): New function.
1401
 
        (gld${EMULATION_NAME}_check_ld_so_conf): Use it.  Honor ld_sysroot.
1402
 
        (gld${EMULATION_NAME}_after_open): Likewise.  Only search
1403
 
        environment variables if $NATIVE.
1404
 
        * ld.texinfo (Options): Mention "=" prefix in the description of -L.
1405
 
        * NEWS: Mention --with-sysroot.
1406
 
 
1407
 
        * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
1408
 
        instead of setting LIB_PATH.
1409
 
        * emulparams/elf32ppc.sh: Likewise.
1410
 
        * emulparams/elf64_s390.sh: Likewise.
1411
 
        * emulparams/elf64_sparc.sh: Likewise.
1412
 
        * emulparams/elf64ppc.sh: Likewise.
1413
 
        * emulparams/elf_x86_64.sh: Likewise.
1414
 
 
1415
 
        * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
1416
 
        * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
1417
 
 
1418
 
2003-01-03  Charles Wilson  <cwilson@ece.gatech.edu>
1419
 
 
1420
 
        * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
1421
 
 
1422
 
2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1423
 
 
1424
 
        * Makefile.am (ldmain.o): Pass BINDIR.
1425
 
        * Makefile.in: Regenerated.
1426
 
        * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
1427
 
        search path.
1428
 
 
1429
 
2003-01-02  Ben Elliston  <bje@redhat.com>
1430
 
 
1431
 
        * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
1432
 
        (eelf32iq2000.c): New target.
1433
 
        * Makefile.in: Regenerate.
1434
 
        * configure.tgt: Handle iq2000-*-elf.
1435
 
        * emulparams/elf32iq10.sh: New file.
1436
 
        * emulparams/elf32iq2000.sh: New file.
1437
 
        * scripttempl/iq2000.sc: New file.
1438
 
 
1439
 
2003-01-02 Charles Wilson <cwilson@ece.gatech.edu>
1440
 
 
1441
 
        * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
1442
 
        and _pei386_runtime_relocator to the exclude list.
1443
 
 
1444
 
2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
1445
 
 
1446
 
        * ldfile.c: Fix comment typos.
1447
 
        * ldlang.c: Likewise.
1448
 
        * mri.c: Likewise.
1449
 
        * pe-dll.c: Likewise.
1450
 
 
1451
 
2003-01-01  Daniel Jacobowitz  <drow@mvista.com>
1452
 
 
1453
 
        Suggested by Manfred Hollstein <manfred.h@gmx.net>:
1454
 
        * Makefile.am (ld.1): Depend on configdoc.texi
1455
 
        and ldver.texi.
1456
 
        * Makefile.in: Regenerated.
1457
 
 
1458
 
2002-12-24  Dmitry Diky  <diwil@mail.ru>
1459
 
 
1460
 
        * Makefile.am: Add msp430 target.
1461
 
        * configure.tgt: Likewise.
1462
 
        * Makefile.in: Regenerate.
1463
 
        * emulparams/msp430x???.sh: New files.  Linker script parameters
1464
 
        for various msp430 configurations.
1465
 
        * gen-doc.texi: Enable msp430 documenation.
1466
 
        * ld.texinfo: Document msp430 sections.
1467
 
        * scripttempl/elf32msp430.sc: New file.  Linker script for msp430.
1468
 
        * scripttempl/elf32msp430_3.sc: New file.  Linker script for msp430.
1469
 
 
1470
 
2002-12-30  Ralf Habacker  <Ralf.Habacker@freenet.de>
1471
 
            Charles Wilson  <cwilson@ece.gatech.edu>
1472
 
 
1473
 
        * config.in (HAVE_REALPATH): New entry.
1474
 
        (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
1475
 
 
1476
 
2002-12-30  Ralf Habacker  <ralf.habacker@freenet.de>
1477
 
 
1478
 
        * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
1479
 
        symbols'.
1480
 
 
1481
 
2002-12-23  Alan Modra  <amodra@bigpond.net.au>
1482
 
 
1483
 
        * ldmain.c (main): Init "strip_discarded".
1484
 
        * lexsup.c (OPTION_STRIP_DISCARDED): Define.
1485
 
        (OPTION_NO_STRIP_DISCARDED): Define.
1486
 
        (ld_options): Add "strip-discarded" and "no-strip-discarded".
 
74
 
 
75
        2004-03-25  Alan Modra  <amodra@bigpond.net.au>
 
76
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
 
77
        size_dynamic_sections call.
 
78
 
 
79
        2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
 
80
        * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
 
81
        or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
 
82
 
 
83
        2004-03-18  Alan Modra  <amodra@bigpond.net.au>
 
84
        * ld.texinfo: Add --as-needed doco.
 
85
        * ldmain.c (as_needed): New global var.
 
86
        * ldmain.h (as_needed): Declare.
 
87
        * lexsup.c (option_values): Add OPTION_AS_NEEDED and
 
88
        OPTION_NO_AS_NEEDED.
 
89
        (ld_options): Likewise.
1487
90
        (parse_args): Handle them.
1488
 
 
1489
 
2002-12-23  Nick Clifton  <nickc@redhat.com>
1490
 
 
1491
 
        * ld.h (struct args_type): Add new field
1492
 
        'accept_unknown_input_architecture'.
1493
 
        * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
1494
 
        to false.
1495
 
        * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
1496
 
        bfd_arch_get_compatible.
1497
 
        * ldfile.c (ldfile_try_open_bfd): Likewise.
1498
 
        * lexsup.c (ld_options): Add new command line switch
1499
 
        --accept-unknown-input-architecture and its inverse.
1500
 
        (parse_args): Handle --accept-unknown-input-architecture.
1501
 
        * ld.texinfo: Document new linker option.
1502
 
        * NEWS: Mention new linker option.
1503
 
 
1504
 
2002-12-20  Alan Modra  <amodra@bigpond.net.au>
1505
 
 
1506
 
        * ldmain.c (main): Re-order link_info initialization.  Init all
1507
 
        fields.
1508
 
 
1509
 
2002-12-19  Charles Wilson  <cwilson@ece.gatech.edu>
1510
 
 
1511
 
        * ld.texinfo: Clarify and extend the documentation
1512
 
        in the Machine Dependent, WIN32 section.
1513
 
 
1514
 
2002-12-18  Ralf Habacker  <ralf.habacker@freenet.de>
1515
 
 
1516
 
        * ld.texinfo: Add win32 machine depending section.
1517
 
        * gen-doc.texi: Enable win32 machine depending section.
1518
 
 
1519
 
        * configure.host: Add win32 library search path.
1520
 
 
1521
 
2002-12-17  Ralf Habacker  <ralf.habacker@freenet.de>
1522
 
 
1523
 
        * emultempl/pe.em (pe_find_data_imports): Don't search for data
1524
 
        import when auto-import is disabled.
1525
 
 
1526
 
2002-12-17  Danny Smith  <dannysmith@users.sourceforge.net>
1527
 
 
1528
 
        * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
1529
 
        account for trailing '\0'.
1530
 
 
1531
 
2002-12-17  Nick Clifton  <nickc@redhat.com>
1532
 
 
1533
 
        * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
1534
 
        so that it is not confused with -c.
1535
 
 
1536
 
2002-12-13  Ralf Habacker  <Ralf.Habacker@freenet.de>
1537
 
            Charles Wilson  <cwilson@ece.gatech.edu>
1538
 
 
1539
 
        * configure.in: Add check for realpath function.
1540
 
        * configure: Regenerate.
1541
 
        * config.in: Regenerate.
1542
 
        * aclocal.m4: Regenerate.
1543
 
        * deffile.h: Add .data field to def_file_import
1544
 
        structure.
1545
 
        * pe-dll.c (pe_proces_import_defs): Use .data field of
1546
 
        def_file_import structure to initialize flag_data field of
1547
 
        def_file_export structure.
1548
 
        (pe_implied_import_dll): New variables exp_funcbase and
1549
 
        [data|bss]_[start|end].  Use DLL's internal name to set dll_name,
1550
 
        not filename (which may be a symlink).  Scan the sections and
1551
 
        initialize [data|bss]_[start|end].  When scanning the export
1552
 
        table, skip _nm_ symbols, and mark any symbols whose rva indicates
1553
 
        that it is in the .bss or .data sections as data.
1554
 
        * sysdep.h: Include limits.h and sys/param.h, and define
1555
 
        LD_PATHMAX as appropriate.  Also define REALPATH as realpath if it
1556
 
        exists, NULL otherwise.
1557
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
1558
 
        pe_process_import_defs before pe_find_data_imports, so that
1559
 
        auto-import will check the virtual implib as well as "real"
1560
 
        implibs.
1561
 
        (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
1562
 
        symlinks to their target; check that the target's extension is
1563
 
        .dll before calling pe_implied_import_dll(), not the filename
1564
 
        itself (which may be a symlink).
1565
 
 
1566
 
2002-12-10  Alan Modra  <amodra@bigpond.net.au>
1567
 
 
1568
 
        * emultempl/elf32.em (struct orphan_save): Add os_tail field.
1569
 
        (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
1570
 
        list too.
1571
 
 
1572
 
2002-12-08  Alan Modra  <amodra@bigpond.net.au>
1573
 
 
1574
 
        * ldlang.h: Formatting.
1575
 
 
1576
 
2002-12-07  Alan Modra  <amodra@bigpond.net.au>
1577
 
 
1578
 
        * ldlang.c (init_os): Ensure sections mentioned in load_base
1579
 
        are initialized.
1580
 
 
1581
 
2002-12-05  Alan Modra  <amodra@bigpond.net.au>
1582
 
 
1583
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
1584
 
        load_base for orphans that follow a section with load_base set.
1585
 
 
1586
 
2002-12-01  H.J. Lu <hjl@gnu.org>
1587
 
 
1588
 
        * ld.texinfo: Remove the extra `;' in sample version script.
1589
 
 
1590
 
2002-11-30  Alan Modra  <amodra@bigpond.net.au>
1591
 
 
1592
 
        * configure.host: Correct dynamic-linker for powerpc64 hosts.
1593
 
 
1594
 
        * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
1595
 
        * Makefile.in: Regenerate.
1596
 
 
1597
 
        * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
1598
 
        ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
1599
 
        ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
1600
 
        emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
1601
 
        emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
1602
 
        emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
1603
 
        emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
1604
 
        emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
1605
 
        emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
1606
 
        emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
1607
 
        emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
1608
 
        boolean with bfd_boolean, true with TRUE, false with FALSE.  Simplify
1609
 
        comparisons of bfd_boolean vars with TRUE/FALSE.  Formatting.
1610
 
 
1611
 
2002-11-27  David O'Brien  <obrien@FreeBSD.org>
1612
 
 
1613
 
        * configure.host: Fix generic FreeBSD configuration entry.
1614
 
 
1615
 
2002-11-27  H.J. Lu <hjl@gnu.org>
1616
 
 
1617
 
        * ld.texinfo: Add the missing `;' to sample version scripts.
1618
 
 
1619
 
2002-11-20  Alan Modra  <amodra@bigpond.net.au>
1620
 
 
1621
 
        * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
1622
 
 
1623
 
2002-11-14  Egor Duda  <deo@logos-m.ru>
1624
 
 
1625
 
        * ldmain.c (main): Make runtime relocs disabled by default. Remove
1626
 
        assignment which has no effect.
1627
 
        * pe-dll.h (pe_create_import_fixup): Change prototype.
1628
 
        * pe-dll.c (make_runtime_pseudo_reloc): New function.
1629
 
        (pe_create_runtime_relocator_reference): Ditto.
1630
 
        (pe_create_import_fixup): Handle relocations with non-zero addends.
1631
 
        * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
1632
 
        --disable-runtime-pseudo-reloc.
1633
 
        (make_import_fixup): Handle relocations with non-zero addends. Create
1634
 
        an external reference to _pei386_runtime_relocator symbol if at least
1635
 
        one pseudo reloc was created.
1636
 
        * ld.texinfo: Document --enable-runtime-pseudo-reloc and
1637
 
        --disable-runtime-pseudo-reloc options.
1638
 
 
1639
 
2002-11-12  Earl Chew <earl_chew@agilent.com>
1640
 
 
1641
 
        * ldlang.c (lang_add_section): Discard debugging sections that have
1642
 
        been marked SEC_EXCLUDE.
1643
 
 
1644
 
2002-11-12  Nick Clifton  <nickc@redhat.com>
1645
 
 
1646
 
        * configure.in (ALL_LINGUAS): Add da.
1647
 
        * configure: Regenerate.
1648
 
        * po/da.po: New Danish translation.
1649
 
 
1650
 
2002-11-12  Alan Modra  <amodra@bigpond.net.au>
1651
 
 
1652
 
        * emultempl/ppc64elf.em (ppc_before_allocation): New function.
1653
 
        (LDEMUL_BEFORE_ALLOCATION): Define.
1654
 
        (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
1655
 
        linking.
1656
 
        * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
1657
 
 
1658
 
2002-11-11  Christopher Faylor  <cgf@redhat.com>
1659
 
 
1660
 
        * configure.tgt (LIB_PATH): Default to searching w32api directory under
1661
 
        cygwin.
1662
 
 
1663
 
2002-11-11  Charles Wilson  <cwilson@ece.gatech.edu>
1664
 
 
1665
 
        * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
1666
 
        of restricted auto-export libs.
1667
 
 
1668
 
2002-11-11  Charles Wilson  <cwilson@ece.gatech.edu>
1669
 
 
1670
 
        * pe-dll.c (autofilter_liblist): Generalize library names to catch more
1671
 
        creative library naming instances like, e.g., libstdc++-2.a.
1672
 
 
1673
 
2002-11-06  Alexandre Oliva  <aoliva@redhat.com>
1674
 
 
1675
 
        * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
1676
 
        * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
1677
 
 
1678
 
2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
1679
 
 
1680
 
        * deffilep.y (def_lex): Handle '@' as first character of an ID.
1681
 
        * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
1682
 
        (make_one): Don't prefix decorated fastcall symbols with '_'.
1683
 
        (pe_process_import_defs): Likewise.
1684
 
        * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
1685
 
        symbols to cdecl names or vise-versa.
1686
 
 
1687
 
2002-10-13  Eric Kohl  <ekohl@rz-online.de>
1688
 
 
1689
 
        * pe-dll.c (process_def_file): Handle fastcall symbols when
1690
 
        generating undecorated aliases.  Don't prefix decorated fastcall
1691
 
        symbols with '_'.
1692
 
        (fill_exported_offsets): Don't prefix decorated fastcall symbols
1693
 
        with '_'.
1694
 
 
1695
 
2002-10-29  Daniel Jacobowitz  <drow@mvista.com>
1696
 
 
1697
 
        * emultempl/aix.em: Use include <> for generated headers.
1698
 
        * emultempl/beos.em: Likewise.
1699
 
        * emultempl/elf32.em: Likewise.
1700
 
        * emultempl/pe.em: Likewise.
1701
 
        * ldctor.c: Likewise.
1702
 
        * ldexp.c: Likewise.
1703
 
        * ldfile.c: Likewise.
1704
 
        * ldlang.c: Likewise.
1705
 
        * ldlex.c: Likewise.
1706
 
        * ldlex.l: Likewise.
1707
 
        * ldmain.c: Likewise.
1708
 
        * ldmisc.c: Likewise.
1709
 
        * ldwrite.c: Likewise.
1710
 
        * lexsup.c: Likewise.
1711
 
        * mri.c: Likewise.
1712
 
        * pe-dll.c: Likewise.
1713
 
 
1714
 
2002-10-23  Jakub Jelinek  <jakub@redhat.com>
1715
 
 
1716
 
        * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
1717
 
        sections into .rel{,a}.dyn.
1718
 
 
1719
 
2002-10-23  Nick Clifton  <nickc@redhat.com>
1720
 
 
1721
 
        * lexsup.c (OPTION_NO_OMAGIC): Define.
1722
 
        (ld_options): Add "no-omagic" option.
1723
 
        (parse_args): Parse --no-omagic.
1724
 
        * ld.texinfo: Document --no-omagic.
1725
 
        * NEWS: Mention new option.
1726
 
 
1727
 
2002-10-21  Danny Smith  <dannysmith@users.sourceforeg.net>
1728
 
 
1729
 
        * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
1730
 
        __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
1731
 
 
1732
 
2002-10-22  Alexandre Oliva  <aoliva@redhat.com>
1733
 
 
1734
 
        * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
1735
 
        emulation name.  Set LIB_PATH only for native tools, and
1736
 
        search the ABI-specific versions of NATIVE_LIB_DIRS before the
1737
 
        .../lib variants, not instead of them.  Mostly copied from...
1738
 
        * emulparams/elf32ppc.sh: ... here.  Fixed typo.
1739
 
        * emulparams/elf64bmip-defs.sh: Backed out.
1740
 
        * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
1741
 
        * emulparams/elf64btsmip.sh: Likewise.
1742
 
        (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
1743
 
        TEXT_DYNAMIC): Removed.
1744
 
 
1745
 
2002-10-17  Alexandre Oliva  <aoliva@redhat.com>
1746
 
 
1747
 
        * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
1748
 
        (GENERATE_SHLIB_SCRIPT): Set to yes.
1749
 
        (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
1750
 
        * emulparams/elf32bmipn32.sh: here.
1751
 
        (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
1752
 
        * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
1753
 
        * emulparams/elf64bmip-defs.sh: New file.  Extend
1754
 
        elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
1755
 
        * emulparams/elf64bmip.sh: Bring in definitions from
1756
 
        elf64bmip-defs.sh.
1757
 
        (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
1758
 
        settings.
1759
 
        (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
1760
 
        * emulparams/elf64btsmip.sh: Bring in definitions from
1761
 
        elf64bmip-defs.sh.
1762
 
        (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
1763
 
        (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
1764
 
 
1765
 
2002-10-16  Jakub Jelinek  <jakub@redhat.com>
1766
 
 
1767
 
        * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
1768
 
        (s390-*-linux*): Add elf64_s390 emulation if want64.
1769
 
        * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
1770
 
        genscript.sh changes.
1771
 
        * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
1772
 
        * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
1773
 
 
1774
 
2002-10-15  Alan Modra  <amodra@bigpond.net.au>
1775
 
 
1776
 
        * ldlang.c (load_symbols): Revert last change.
1777
 
 
1778
 
2002-10-14  Alan Modra  <amodra@bigpond.net.au>
1779
 
 
1780
 
        * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
1781
 
        just_syms_flag.
1782
 
        (lang_reasonable_defaults): Don't compare against false.
1783
 
        (size_input_section): Likewise.
1784
 
        (lang_size_sections_1): Likewise.
1785
 
        (lang_do_assignments): Likewise.
1786
 
        (lang_add_output): Likewise.
1787
 
 
1788
 
        * Makefile.am: Run "make dep-am".
1789
 
        * Makefile.in: Regenerate.
1790
 
        * ldver.c: #include "bfdver.h".
1791
 
 
1792
 
2002-10-13  Stephane Carrez  <stcarrez@nerim.fr>
1793
 
 
1794
 
        * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
1795
 
        .finiN section.
1796
 
        * scripttempl/elfm68hc12.sc: Likewise.
1797
 
 
1798
 
2002-10-11  Alan Modra  <amodra@bigpond.net.au>
1799
 
 
1800
 
        * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
1801
 
 
1802
 
        * ldgram.y (memory_spec): Provide empty action.
1803
 
        (section <NAME>): Likewise.
1804
 
 
1805
 
2002-10-10  Jakub Jelinek  <jakub@redhat.com>
1806
 
 
1807
 
        * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
1808
 
        they have OUTPUT_FORMAT not matching actual output format.
1809
 
        * ldlang.c (lang_get_output_target): New function.
1810
 
        (open_output): Use it.
1811
 
        * ldlang.h (lang_get_output_target): New prototype.
1812
 
 
1813
 
2002-10-10  Alan Modra  <amodra@bigpond.net.au>
1814
 
 
1815
 
        * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
1816
 
        when orphan is .rel, .rela when orphan is .rela.
1817
 
        (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
1818
 
        first.  Remove outsecname var.
1819
 
 
1820
 
2002-10-09  Richard Shann <richard.shann@superh.com>
1821
 
            Stephen Clarke <stephen.clarke@superh.com>
1822
 
 
1823
 
        * Makefile.am: Add eshelf32_linux.o and
1824
 
        eshlelf32_linux.o, new emulations for sh64 Linux.
1825
 
        * Makefile.in: Regenerate.
1826
 
        * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
1827
 
        * emulparams/shelf32_linux.sh: New file.
1828
 
        * emulparams/shlelf32_linux.sh: New file.
1829
 
 
1830
 
2002-10-08  H.J. Lu <hjl@gnu.org>
1831
 
 
1832
 
        * ldlang.c (lang_file_exist): Removed.
1833
 
        (new_afile): Revert the last change.
1834
 
        * ldlang.h (lang_file_exist): Removed.
1835
 
        * lexsup.c (parse_args): Revert the last change.
1836
 
 
1837
 
2002-10-07  Ralf Habacker  <Ralf.Habacker@freenet.de>
1838
 
 
1839
 
        * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
1840
 
        auto-import symbols.
1841
 
        (make_one): Create _nm_<symbol> for data only.
1842
 
 
1843
 
2002-10-05  Elias Athanasopoulos  <eathan@otenet.gr>
1844
 
 
1845
 
        * ldlang.c (lang_file_exist): New function.
1846
 
        (new_afile): Abort if the filename to be added matches the linker
1847
 
        output filename.
1848
 
        * ldlang.h: Add prototype for lang_file_exist.
1849
 
        * lexsup.c (parse_args): Abort if the output filename matches
1850
 
        one of the input filenames.
1851
 
 
1852
 
2002-10-02  Alan Modra  <amodra@bigpond.net.au>
1853
 
 
1854
 
        * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
1855
 
 
1856
 
2002-09-30  Alan Modra  <amodra@bigpond.net.au>
1857
 
 
1858
 
        * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
1859
 
        * scripttempl/elfm68hc11.sc: Likewise.
1860
 
        * scripttempl/elfm68hc12.sc: Likewise.
1861
 
 
1862
 
        * emultempl/elf32.em (output_rel_find): Always place orphan loadable
1863
 
        reloc sections just before .rel.plt/.rela.plt.
1864
 
        (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
1865
 
        Only put loadable reloc sections in hold_rel.
1866
 
 
1867
 
2002-09-29  H.J. Lu <hjl@gnu.org>
1868
 
 
1869
 
        * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
1870
 
 
1871
 
2002-09-25  Daniel Jacobowitz  <drow@mvista.com>
1872
 
 
1873
 
        From "Anita Kulkarni" <AnitaK@kpit.com>
1874
 
        * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
1875
 
        sections.
1876
 
 
1877
 
2002-09-25  Alan Modra  <amodra@bigpond.net.au>
1878
 
 
1879
 
        * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
1880
 
        TARGET_PAGE_SIZE.
1881
 
        * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
1882
 
        SEGMENT_SIZE alignment.
1883
 
        * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
1884
 
        (SEGMENT_SIZE): Define.
1885
 
 
1886
 
        * ldexp.c (fold_unary): New.  Split out from exp_fold_tree.
1887
 
        (fold_binary): Correct abs - non-abs case.
1888
 
        (fold_trinary): New.  Split out from exp_fold_tree.
1889
 
 
1890
 
2002-09-24  Alan Modra  <amodra@bigpond.net.au>
1891
 
 
1892
 
        * emulparams/elf64ppc.sh (DATA_ADDR): Define.
1893
 
        * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
1894
 
        for start of .data, instead align up to 256M boundary.
1895
 
        * scripttempl/aix.sc: Likewise.
1896
 
 
1897
 
2002-09-22  Mark Elbrecht  <snowball3@softhome.net>
1898
 
 
1899
 
        * scripttempl/i386go32.sc: Handle bss unique sections.
1900
 
 
1901
 
2002-09-21  Alan Modra  <amodra@bigpond.net.au>
1902
 
 
1903
 
        * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
1904
 
 
1905
 
2002-09-17  Stan Cox  <scox@redhat.com>
1906
 
 
1907
 
        * emulparams/elf32bmipn32-defs.sh: New file.
1908
 
        * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
1909
 
        * emulparams/elf32btsmipn32.sh: Likewise.
1910
 
        * emulparams/elf64bmip.sh: Likewise.
1911
 
        * emulparams/elf64btsmip.sh: Likewise.
1912
 
 
1913
 
2002-09-16  Bruno Haible  <bruno@clisp.org>
1914
 
 
1915
 
        * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
1916
 
        elf32-i386-freebsd.
1917
 
        * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
1918
 
        elf64-alpha-freebsd.
1919
 
 
1920
 
2002-09-11  Nick Clifton  <nickc@redhat.com>
1921
 
 
1922
 
        * NEWS: New TI port supports both C4x and C3x series of DSPs.
1923
 
 
1924
 
        * po/tr.po: Updated Turkish translation.
1925
 
 
1926
 
2002-09-06  Jeffrey A Law  (law@redhat.com)
1927
 
 
1928
 
        * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
1929
 
 
1930
 
2002-09-02  Nick Clifton  <nickc@redhat.com>
1931
 
 
1932
 
        * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
1933
 
        __ep.
1934
 
        * emulparams/v850.sh (TEMPLATE_NAME): Define.
1935
 
 
1936
 
2002-08-30  Nick Clifton  <nickc@redhat.com>
1937
 
 
1938
 
        * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
1939
 
        used.  Change INSN to start at 0x01000000 and extend for
1940
 
        256K (ignoring holes).  Start the STACK on a word aligned
1941
 
        boundary.
1942
 
        (.rodata): Start it at the READONLY_START_ADDR.
1943
 
 
1944
 
2002-08-30  Alan Modra  <amodra@bigpond.net.au>
1945
 
 
1946
 
        * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
1947
 
 
1948
 
2002-08-28  Svein E. Seldal  <Svein.Seldal@solidas.com>
1949
 
 
1950
 
        * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
1951
 
        added makefile targets for this file.
1952
 
        * Makefile.in: Regenerate.
1953
 
        * configure.tgt: Added tic4x-coff and c4x-coff emulations.
1954
 
        * NEWS: Mention new port.
1955
 
 
1956
 
2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1957
 
 
1958
 
        * emulparams/tic3xcoff.sh: New file.
1959
 
        * emulparams/tic4xcoff.sh: New file.
1960
 
        * scripttempl/tic3xcoff.sc: New file.
1961
 
        * scripttempl/tic4xcoff.sc: New file.
1962
 
 
1963
 
2002-08-28  Alan Modra  <amodra@bigpond.net.au>
1964
 
 
1965
 
        * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
1966
 
        strtoul and strtoull with bfd_scan_vma.
1967
 
        (gld${EMULATION_NAME}_read_file): Likewise.
1968
 
 
1969
 
2002-08-28  Alan Modra  <amodra@bigpond.net.au>
1970
 
 
1971
 
        * configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.
1972
 
 
1973
 
2002-08-27  Egor Duda  <deo@logos-m.ru>
1974
 
 
1975
 
        * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
1976
 
        Add symbols for application to access them.
1977
 
 
1978
 
2002-08-27  Nick Clifton  <nickc@redhat.com>
1979
 
 
1980
 
        * emultempl/armelf.em: Revert this patch, it is not needed.
1981
 
 
1982
 
        2002-08-22  Adam Nemet  <anemet@lnxw.com>
1983
 
 
1984
 
2002-08-20 Dan Kegel <dank@kegel.com>
1985
 
 
1986
 
        * configure.in: added --with-lib-path argument to ld's configure
1987
 
        to set LIB_PATH.
1988
 
        * NEWS: Document new switch.
1989
 
        * README: Mention new switch.
1990
 
        * configure: Regenerate.
1991
 
        * Makefile.in: Regenerate.
1992
 
 
1993
 
        Based on this patch:
1994
 
        2001-04-25  Christopher Faylor <cgf@cygnus.com>
1995
 
 
1996
 
        * Makefile.in (LIB_PATH): Make configurable.
1997
 
        (GENSCRIPTS): Set LIB_PATH in environment.
1998
 
        * configure.in: Substitute LIB_PATH.
1999
 
 
2000
 
2002-08-22  Adam Nemet  <anemet@lnxw.com>
2001
 
 
2002
 
        * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
2003
 
        (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
2004
 
        depending on the type of the function.
2005
 
        (arm_elf_convert_thumb_symbol_to_address): New function.
2006
 
 
2007
 
2002-08-22  Graeme Peterson  <gp@qnx.com>
2008
 
 
2009
 
        * Makefile.am: Add esh{l}elf_nto.o files.
2010
 
        * Makefile.in: Regenerate.
2011
 
        * configure.tgt: Add support for sh-**-nto* targets.
2012
 
        * emulparams/shelf_nto.sh: New file.
2013
 
        * emulparams/shlelf_nto.sh: New file.
2014
 
 
2015
 
2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2016
 
 
2017
 
        * ldlang.c (offsetof): Define if not defined.
2018
 
 
2019
 
2002-08-14  H.J. Lu <hjl@gnu.org>
2020
 
 
2021
 
        * configure.tgt: Always enable 64bit emulations for 32bit
2022
 
        Linux/mips.
2023
 
 
2024
 
2002-08-13  Alan Modra  <amodra@bigpond.net.au>
2025
 
 
2026
 
        * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
2027
 
        (MAXPAGESIZE): Set to 1.
2028
 
 
2029
 
        * ld.h (ALIGN_N): Delete.
2030
 
        * ldexp.h (align_n): Declare.
2031
 
        * ldexp.c (align_n): New function.
2032
 
        (fold_binary): Use align_n instead of ALIGN_N.
2033
 
        (exp_fold_tree): Likewise.
2034
 
        * ldlang.c (lang_size_sections_1): Likewise.
2035
 
        (lang_one_common): Likewise.
2036
 
        * ld.texinfo (ALIGN): Remove power of 2 restriction.
2037
 
 
2038
 
2002-07-31  Graeme Peterson  <gp@qnx.com>
2039
 
 
2040
 
        * configure.tgt: Add support for powerpc{le}-*-nto* targets.
2041
 
        * Makefile.am: Add eelf32{l}ppcnto.o files.
2042
 
        * Makefile.in: Regenerate.
2043
 
        * emulparams/elf32lppcnto.sh: New file.
2044
 
        * emulparams/elf32ppcnto.sh: New file.
2045
 
 
2046
 
2002-08-07  H.J. Lu <hjl@gnu.org>
2047
 
 
2048
 
        * ld.texinfo: Document --no-undefined-version.
2049
 
 
2050
 
        * ldlang.c (lang_new_vers_pattern): Set the `symver' and
2051
 
        `script.' fields to 0.
2052
 
 
2053
 
        * ldmain.c (main): Initialize the allow_undefined_version to
2054
 
        true.
2055
 
 
2056
 
        * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
2057
 
        (ld_options): Add --no-undefined-version.
2058
 
        (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
2059
 
 
2060
 
2002-08-07  Nick Clifton  <nickc@redhat.com>
2061
 
 
2062
 
        * emultempl/armelf.em (arm_elf_before_allocation): Only search for
2063
 
        an interworking bfd if there are input bfds. (107501)
2064
 
 
2065
 
2002-08-06  Alan Modra  <amodra@bigpond.net.au>
2066
 
 
2067
 
        * emultempl/aix.em (gld*_before_parse): Set default arch.  Reverts
2068
 
        2002-05-10 change.
2069
 
 
2070
 
2002-08-01  Nick Clifton  <nickc@redhat.com>
2071
 
 
2072
 
        * emulparams/armelf.sh: Revert previous delta.
2073
 
        * scripttempl/elf.sc: Revert previous delta.
2074
 
 
2075
 
2002-07-31  H.J. Lu <hjl@gnu.org>
2076
 
 
2077
 
        * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
2078
 
        --enable-64-bit-bfd.
2079
 
 
2080
 
2002-07-31  H.J. Lu <hjl@gnu.org>
2081
 
 
2082
 
        * configure.tgt: Enable x86-64 emulation for Linux/i386 if
2083
 
        64bit BFD is selected.
2084
 
 
2085
 
2002-07-31  H.J. Lu <hjl@gnu.org>
2086
 
 
2087
 
        * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
2088
 
        if 64bit BFD is selected.
2089
 
 
2090
 
2002-07-31  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
2091
 
 
2092
 
        * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
2093
 
        link_info.common_skip_ar_aymbols.
2094
 
        * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
2095
 
 
2096
 
        * ldmain.c (main): Initialize new field
2097
 
        link_info.common_skip_ar_aymbols.
2098
 
 
2099
 
2002-07-31  Adam Nemet  <anemet@lnxw.com>
2100
 
 
2101
 
        * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable.  Set it
2102
 
        to .plt.thumb.
2103
 
        * scripttempl/elf.sc: Comment it.  Use the same way as ${PLT} is
2104
 
        used.
2105
 
 
2106
 
2002-07-31  Nick Clifton  <nickc@redhat.com>
2107
 
 
2108
 
        * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
2109
 
        of the PDP-11 and 2.11BSD a.out support.
2110
 
 
2111
 
2002-07-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2112
 
 
2113
 
        * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
2114
 
        for n32 ABI support.
2115
 
        * Makefile.in: Regenerate.
2116
 
        * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
2117
 
        n32 ABI emulations for these 64 bit targets.
2118
 
        * emulparams/elf32bmipn32.sh: Expand comment.
2119
 
        * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
2120
 
        n32 ABI.
2121
 
        * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
2122
 
 
2123
 
2002-07-30  Graeme Peterson  <gp@qnx.com>
2124
 
 
2125
 
        * configure.tgt: Add support for arm-*-nto target.
2126
 
        * Makefile.am: Add earmnto.o file.
2127
 
        * Makefile.in: Regenerate.
2128
 
        * NEWS: Mention port of ARM support to QNX.
2129
 
        * emulparams/armnto.sh: New file.
2130
 
 
2131
 
2002-07-30  Jakub Jelinek  <jakub@redhat.com>
2132
 
 
2133
 
        * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
2134
 
        for relocatable link.
2135
 
        (lang_size_sections_1): Don't make .tbss zero size for relocatable
2136
 
        link.
2137
 
 
2138
 
2002-07-26  Bernd Schmidt  <bernds@redhat.com>
2139
 
 
2140
 
        * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
2141
 
        (STACK_ADDR): New.
2142
 
 
2143
 
2002-07-25  Nick Clifton  <nickc@redhat.com>
2144
 
 
2145
 
        * po/sv.po: Updated Swedish translation.
2146
 
        * po/es.po: Updated Spanish translation.
2147
 
        * po/fr.po: Updated French translation.
2148
 
 
2149
 
2002-07-24  Nick Clifton  <nickc@redhat.com>
2150
 
 
2151
 
        * po/sv.po: Updated Swedish translation.
2152
 
        * po/es.po: Updated Spanish translation.
2153
 
 
2154
 
2002-07-23  Nick Clifton  <nickc@redhat.com>
2155
 
 
2156
 
        * po/fr.po: Updated French translation.
2157
 
 
2158
 
2002-07-20  Alan Modra  <amodra@bigpond.net.au>
2159
 
 
2160
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2161
 
        bomb on /DISCARD/ input section.
2162
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2163
 
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
2164
 
 
2165
 
2002-07-19  Hans-Peter Nilsson  <hp@bitrange.com>
2166
 
 
2167
 
        * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
2168
 
        output section.
2169
 
 
2170
 
2002-07-16  Denis Chertykov  <denisc@overta.ru>
2171
 
            Nick Clifton  <nickc@redhat.com>
2172
 
            Frank Ch. Eigler  <fche@redhat.com>
2173
 
            John Healy  <jhealy@redhat.com>
2174
 
 
2175
 
        * configure.tgt: Add support for ip2k-elf.
2176
 
        * Makefile.am: Add support for ip2k-elf.
2177
 
        * Makefile.in: Regenerate.
2178
 
        * emulparams/elf32ip2k.sh: New file.
2179
 
        * scripttempl/ip2k.sc: New file
2180
 
        * NEWS: Mention support for new port.
2181
 
 
2182
 
2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
2183
 
 
2184
 
        * NEWS: Add 'Changes in 2.13'.
2185
 
 
2186
 
2002-07-14  H.J. Lu <hjl@gnu.org>
2187
 
 
2188
 
        * ld.texinfo: Document a .symver takes precedence over a
2189
 
        version script.
2190
 
 
2191
 
2002-07-12  Alan Modra  <amodra@bigpond.net.au>
2192
 
 
2193
 
        * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
2194
 
        (COMMONPAGESIZE): Define.
2195
 
 
2196
 
2002-07-09  Alan Modra  <amodra@bigpond.net.au>
2197
 
 
2198
 
        * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
2199
 
 
2200
 
2002-07-09  Federico G. Schwindt <fgsch@olimpo.com.br>
2201
 
 
2202
 
        * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
2203
 
        powerpc-*-openbsd* and sparc64-*-openbsd*.
2204
 
        * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
2205
 
        * Makefile.in: Regenerate.
2206
 
        * emulparams/hppaobsd.sh: New file.
2207
 
 
2208
 
2002-07-05  Alan Modra  <amodra@bigpond.net.au>
2209
 
 
2210
 
        * ldlang.c (print_wild_statement): Fix output formatting.
2211
 
 
2212
 
2002-07-04  Alan Modra  <amodra@bigpond.net.au>
2213
 
 
2214
 
        * ldlang.c: (strip_excluded_output_sections): New function.
2215
 
        (lang_process): Call it.
2216
 
        (lang_size_sections_1): Revert 2002-06-10 change.
2217
 
 
2218
 
2002-07-03  Alan Modra  <amodra@bigpond.net.au>
2219
 
 
2220
 
        * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
2221
 
        Run "make dep-am".
2222
 
        * Makefile.in: Regenerate.
2223
 
 
2224
 
2002-07-02  Alan Modra  <amodra@bigpond.net.au>
2225
 
 
2226
 
        * ldfile.c (ldfile_try_open_bfd): Formatting.
2227
 
 
2228
 
        * ldmisc.c (demangle): Move so that it doesn't intrude between
2229
 
        vfinfo comment and body.  Add comment.
2230
 
 
2231
 
2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2232
 
 
2233
 
        * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
2234
 
 
2235
 
2002-07-01  Alan Modra  <amodra@bigpond.net.au>
2236
 
 
2237
 
        * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
2238
 
        * ldlang.c (entry_sym): Likewise.
2239
 
        (ldlang_undef_chain_list_type): Likewise.
2240
 
        (lang_finish): Adjust references to entry_symbol.
2241
 
        (lang_add_entry): Likewise.
2242
 
        (lang_gc_sections): Use link_info.gc_sym_list.
2243
 
        (lang_process): Set link_info.gc_sym_list.
2244
 
        * ldlex.l: Include bfdlink.h.
2245
 
        * ldmain.c (main): Init link_info.gc_sym_list.
2246
 
        * emultempl/aix.em: Adjust references to entry_symbol.
2247
 
        * emultempl/armcoff.em: Likewise.
2248
 
        * emultempl/armelf.em: Likewise.
2249
 
        * emultempl/pe.em: Likewise.
2250
 
        * emultempl/ppc64elf.em (ppc_after_open): New function.
2251
 
        (LDEMUL_AFTER_OPEN): Define.
2252
 
        * emulparams/elf64ppc.sh: KEEP .opd sections.
2253
 
 
2254
 
2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
2255
 
 
2256
 
        * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
2257
 
        * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
2258
 
        * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
2259
 
        (EEPROM_START_ADDR): Define.
2260
 
        (EEPROM_MEMORY): Define.
2261
 
        * emulparams/m68hc12elf.sh: Likewise.
2262
 
        * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
2263
 
        section to put soft registers in .page0.
2264
 
        * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
2265
 
 
2266
 
2002-06-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2267
 
 
2268
 
        * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
2269
 
        section.  Add ${RELOCATING-0}.
2270
 
 
2271
 
2002-06-26  J"orn Rennecke <joern.rennecke@superh.com>
2272
 
 
2273
 
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
2274
 
        (OTHER_SECTIONS): Define.
2275
 
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
2276
 
        (OTHER_SECTIONS): Undef.
2277
 
 
2278
 
2002-06-26  Alan Modra  <amodra@bigpond.net.au>
2279
 
 
2280
 
        * ldmisc.c (demangle): Restore dots stripped from sym name.
2281
 
 
2282
 
2002-06-25  H.J. Lu <hjl@gnu.org>
2283
 
 
2284
 
        * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
2285
 
        * Makefile.in: Regenerated.
2286
 
 
2287
 
2002-06-20  Nick Clifton  <nickc@cambridge.redhat.com>
2288
 
 
2289
 
        * ld.texinfo (Bug Reporting): Update text to suggest a limit on
2290
 
        the size of attached object files, to allow make the object files
2291
 
        available via FTP or HTTP and to mention that the mail will be
2292
 
        sent to a mailing list.
2293
 
 
2294
 
2002-06-20  Nathanael Nerode  <neroden@twcny.rr.com>
2295
 
 
2296
 
        * configure.host (romp): Drop support.
2297
 
 
2298
 
2002-06-18  Chris Demetriou  <cgd@broadcom.com>
2299
 
 
2300
 
        * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
2301
 
        section flags for SEC_DATA, rather than for SEC_CODE being unset.
2302
 
 
2303
 
2002-06-18  Chris Demetriou  <cgd@broadcom.com>
2304
 
 
2305
 
        * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
2306
 
        format specifier used to print BFD name.
2307
 
 
2308
 
2002-06-18  Dave Brolley  <brolley@redhat.com>
2309
 
 
2310
 
        From Catherine Moore, Michael Meissner, Jim Blandy:
2311
 
        * emulparams/elf32frv.sh: New file.
2312
 
        * configure.tgt: Support frv-*-*.
2313
 
        * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
2314
 
        (eelf32frv.c): New target.
2315
 
 
2316
 
2002-06-17  Tom Rix  <trix@redhat.com>
2317
 
 
2318
 
        * emultempl/elf32.em: gld*_get_script: Check for
2319
 
        GENERATE_COMBRELOC_SCRIPT.
2320
 
        * scripttempl/elfd10v.sc : Fix STACK and INSN.
2321
 
        * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
2322
 
 
2323
 
2002-06-13  J"orn Rennecke <joern.rennecke@superh.com>
2324
 
 
2325
 
        * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
2326
 
 
2327
 
2002-06-12  H.J. Lu <hjl@gnu.org>
2328
 
 
2329
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
2330
 
        false if xvec doesn't match.
2331
 
 
2332
 
2002-06-10  Richard Sandiford  <rsandifo@redhat.com>
2333
 
 
2334
 
        * ldlang.c (lang_size_sections_1): Skip removed output sections.
2335
 
 
2336
 
2002-06-08  Alan Modra  <amodra@bigpond.net.au>
2337
 
 
2338
 
        * ldexp.c: Replace CONST with const.
2339
 
        * ldfile.c: Likewise.
2340
 
        * ldfile.h: Likewise.
2341
 
        * ldlex.l: Likewise.
2342
 
        * mri.c: Likewise.
2343
 
        * pe-dll.h: Likewise.
2344
 
 
2345
 
2002-06-07  Alan Modra  <amodra@bigpond.net.au>
2346
 
 
2347
 
        * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
2348
 
 
2349
 
2002-06-07  Charles Wilson  <cwilson@ece.gatech.edu>
2350
 
 
2351
 
        * ldmain.c (main): initialize link_info.pei386_auto_import
2352
 
        to -1 == implicit enable.
2353
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
2354
 
        initialize link_info.pei386_auto_import to -1 == implicit
2355
 
        enable.
2356
 
        (gld_${EMULATION_NAME}_parse_args): When processing
2357
 
        --enable-auto-import and --disable-auto-import options, use
2358
 
        '1' and '0' instead of 'true' and 'false'.
2359
 
        (pe_find_data_imports): Only issue message about auto-import
2360
 
        when the feature is implicitly enabled.  Downgrade message to
2361
 
        informational instead of warning.
2362
 
 
2363
 
2002-06-07  Alan Modra  <amodra@bigpond.net.au>
2364
 
 
2365
 
        * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
2366
 
 
2367
 
2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2368
 
 
2369
 
        * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
2370
 
        HOSTING_CRT0 and HOSTING_LIBS.
2371
 
 
2372
 
2002-06-05  J"orn Rennecke <joern.rennecke@superh.com>
2373
 
 
2374
 
        * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
2375
 
 
2376
 
2002-06-05  Jason Thorpe  <thorpej@wasabisystems.com>
2377
 
 
2378
 
        * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
2379
 
        (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
2380
 
 
2381
 
2002-06-05  Alan Modra  <amodra@bigpond.net.au>
2382
 
 
2383
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
2384
 
        SEC_EXCLUDE sections when doing a relocatable link.
2385
 
 
2386
 
2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
2387
 
 
2388
 
        * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
2389
 
        eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
2390
 
        (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
2391
 
        (eshlelf64_nbsd.c): New rules.
2392
 
        * Makefile.in: Regenerate.
2393
 
        * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
2394
 
        (sh64-*-netbsd*): New targets.
2395
 
        * emulparams/shelf32_nbsd.sh: New file.
2396
 
        * emulparams/shelf64_nbsd.sh: New file.
2397
 
        * emulparams/shlelf32_nbsd.sh: New file.
2398
 
        * emulparams/shlelf64_nbsd.sh: New file.
2399
 
 
2400
 
2002-06-04  Alan Modra  <amodra@bigpond.net.au>
2401
 
 
2402
 
        * ldlang.c (section_already_linked): Call bfd_discard_group.  Typo fix.
2403
 
 
2404
 
2002-06-02  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2405
 
 
2406
 
        * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
2407
 
        C++ constructors/destructors, loosely based on the m68hc11 port.
2408
 
 
2409
 
2002-05-31  Alan Modra  <amodra@bigpond.net.au>
2410
 
 
2411
 
        * Makefile.in: Regenerate.
2412
 
        * aclocal.m4: Regenerate.
2413
 
        * config.in: Regenerate.
2414
 
        * configure: Regenerate.
2415
 
 
2416
 
2002-05-31  Graeme Peterson  <gp@qnx.com>
2417
 
 
2418
 
        * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
2419
 
        (ei386nto.c): Add rule.
2420
 
        * Makefile.in: Regenerate.
2421
 
        * configure.tgt: Add i[3456]86-*-nto-qnx*.
2422
 
        * emulparams/i386nto.sh: New file.
2423
 
 
2424
 
2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
2425
 
 
2426
 
        * NEWS: Add entry for VAX ELF support.
2427
 
 
2428
 
2002-05-29  Matt Thomas  <matt@3am-software.com>
2429
 
            Jason Thorpe  <thorpej@wasabisystems.com>
2430
 
 
2431
 
        * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
2432
 
        (eelf32vax.c)
2433
 
        (evaxnbsd.c): New rules.
2434
 
        * Makefile.in: Regenerate.
2435
 
        * configure.tgt (vax-*-netbsdelf*)
2436
 
        (vax-*-netbsdaout*)
2437
 
        (vax-*-netbsd*): New targets.
2438
 
        * emulparams/elf32vax.sh: New file.
2439
 
        * emulparams/vaxnbsd.sh: New file.
2440
 
 
2441
 
2002-05-29  Adam Nemet  <anemet@lnxw.com>
2442
 
 
2443
 
        * emultempl/armelf.em (arm_elf_after_open): Don't determine
2444
 
        bfd_for_interwork, instead add glue sections to each input bfd.
2445
 
        (bfd_for_interwork): New global.
2446
 
        (arm_elf_set_bfd_for_interworking): New function.
2447
 
        (arm_elf_before_allocation): Use it.
2448
 
 
2449
 
2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
2450
 
 
2451
 
        * Makefile.am: Add DLX make target.
2452
 
        * configure.tgt: Add DLX configuration.
2453
 
        * Makefile.in: Regenerate.
2454
 
        * emulparams/elf32_dlx.sh: New file
2455
 
        * scripttempl/dlx.sc: New file
2456
 
 
2457
 
2002-05-27  Per Lundberg  <per@caleb.dnsalias.org>
2458
 
 
2459
 
        * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
2460
 
        * Makefile.in: Regenerate.
2461
 
        * emulparams/elf_chaos.sh: Use elf_chaos script.
2462
 
        * scripttempl/elf_chaos.sc: New file.
2463
 
 
2464
 
2002-05-27  Richard Sandiford  <rsandifo@redhat.com>
2465
 
 
2466
 
        * ldlang.c (lang_size_sections_1): Move check for conflicting load
2467
 
        addresses and regions from here...
2468
 
        (lang_get_regions): ...to this new function.
2469
 
        (lang_leave_output_section_statement): Use lang_get_regions.
2470
 
        (lang_leave_overlay): Likewise.
2471
 
        * mri.c (mri_draw_tree): Pass null as last argument to
2472
 
        lang_leave_output_section_statement.
2473
 
        * emultempl/elf32.em (gld*_place_orphan): Likewise.
2474
 
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
2475
 
        * emultempl/pe.em (gld*_place_orphan): Likewise.
2476
 
 
2477
 
2002-05-26  Jason Thorpe  <thorpej@wasabisystems.com>
2478
 
 
2479
 
        * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
2480
 
 
2481
 
2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
2482
 
 
2483
 
        * ldemul.c: Fix formatting.
2484
 
        * ldfile.c: Likewise.
2485
 
        * pe-dll.c: Likewise.
2486
 
        * pe-dll.h: Likewise.
2487
 
 
2488
 
2002-05-25  Alan Modra  <amodra@bigpond.net.au>
2489
 
 
2490
 
        * ldlang.c (lang_process): Formatting, grammar.
2491
 
 
2492
 
        * ldlex.l: Use #include "" instead of <> for local header files.
2493
 
 
2494
 
2002-05-24  TAMURA Kent <kent@netbsd.org>
2495
 
 
2496
 
        * configure.tgt: Add a target for i386-netbsdpe.
2497
 
 
2498
 
2002-05-23  Jakub Jelinek  <jakub@redhat.com>
2499
 
 
2500
 
        * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
2501
 
        * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
2502
 
        output section if necessary.  Handle .tbss.
2503
 
        (lang_size_sections): Clear _raw_size for .tbss section
2504
 
        (it allocates space in PT_TLS segment only).
2505
 
        * ldwrite.c (build_link_order): Build link order for .tbss too.
2506
 
 
2507
 
2002-05-23  Alan Modra  <amodra@bigpond.net.au>
2508
 
 
2509
 
        * configure.in: Correct spelling of AC_PREREQ.
2510
 
 
2511
 
2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
2512
 
 
2513
 
        * pe-dll.c (autofilter_liblist): Add more system libs excluded by
2514
 
        default.
2515
 
        (autofilter_objlist): Add crtbegin.o, crtend.o.
2516
 
 
2517
 
2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
2518
 
 
2519
 
        * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
2520
 
        (longopts): Add new option --exclude-libs.
2521
 
        (gld_${EMULATION_NAME}_list_options): Give quick help about it.
2522
 
        (gld_${EMULATION_NAME}_parse_args): Use it.
2523
 
        * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
2524
 
        * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
2525
 
        from whole archives.
2526
 
        (pe_dll_add_excludes): Set excludes->type.
2527
 
        (auto_export): Add new variable libname and set to archive basename if
2528
 
        abfd.  Use it when filtering default and user-specified libarary
2529
 
        excludes.  Let string "ALL" mean all libs when filtering user-specified
2530
 
        libs.
2531
 
        * ld.texinfo: Document --exclude-libs.
2532
 
 
2533
 
2002-05-22  Alan Modra  <amodra@bigpond.net.au>
2534
 
 
2535
 
        * ldemul.c (ldemul_new_vers_pattern): New function.
2536
 
        * ldemul.h (ldemul_new_vers_pattern): Declare.
2537
 
        (struct ld_emulation_xfer_struct): Add new_vers_pattern.
2538
 
        * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
2539
 
        * emultempl/ppc64elf.em (dotsyms): New static var.
2540
 
        (gld${EMULATION_NAME}_new_vers_pattern): New function.
2541
 
        (LDEMUL_NEW_VERS_PATTERN): Define.
2542
 
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
2543
 
        (PARSE_AND_LIST_LONGOPTS): Likewise.
2544
 
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
2545
 
        * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
2546
 
        initialiser.
2547
 
        * emultempl/armcoff.em: Likewise.
2548
 
        * emultempl/armelf_oabi.em: Likewise.
2549
 
        * emultempl/beos.em: Likewise.
2550
 
        * emultempl/elf32.em: Likewise.
2551
 
        * emultempl/generic.em: Likewise.
2552
 
        * emultempl/gld960.em: Likewise.
2553
 
        * emultempl/gld960c.em: Likewise.
2554
 
        * emultempl/linux.em: Likewise.
2555
 
        * emultempl/lnk960.em: Likewise.
2556
 
        * emultempl/m68kcoff.em: Likewise.
2557
 
        * emultempl/mipsecoff.em: Likewise.
2558
 
        * emultempl/pe.em: Likewise.
2559
 
        * emultempl/sunos.em: Likewise.
2560
 
        * emultempl/ticoff.em: Likewise.
2561
 
        * emultempl/vanilla.em: Likewise.
2562
 
 
2563
 
2002-05-22  Alan Modra  <amodra@bigpond.net.au>
2564
 
 
2565
 
        * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
2566
 
        and $NATIVE_LIB_DIRS.  Add $tool_lib before other libs.
2567
 
        (LIB_SEARCH_DIRS): No need to use "tr".
2568
 
        (COMPILE_IN): Only set for native targets.
2569
 
        * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
2570
 
        here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
2571
 
        * configure.tgt (powerpc*): Set tdir_*.
2572
 
        (powerpcle*): Correct targ_extra_emuls.
2573
 
        * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
2574
 
        * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
2575
 
 
2576
 
2002-05-22  Alan Modra  <amodra@bigpond.net.au>
2577
 
 
2578
 
        * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
2579
 
        calling lang_add_entry.
2580
 
 
2581
 
2002-05-21  H.J. Lu  (hjl@gnu.org)
2582
 
 
2583
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
2584
 
        "-z muldefs".
2585
 
        (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
2586
 
 
2587
 
        * ld.texinfo: Updated for --allow-multiple-definition and
2588
 
        "-z muldefs".
2589
 
 
2590
 
        * ldmain.c (main): Initialize the allow_multiple_definition
2591
 
        field to false.
2592
 
 
2593
 
        * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
2594
 
        (ld_options): Add --allow-multiple-definition.
2595
 
        (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
2596
 
 
2597
 
2002-05-21  Jason Thorpe  <thorpej@wasabisystems.com>
2598
 
 
2599
 
        * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
2600
 
        (earmelfb_nbsd.c): New rule.
2601
 
        * Makefile.in: Regenerate.
2602
 
        * configure.tgt (armeb-*-netbsdelf*): New target.
2603
 
        (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
2604
 
        (arm-*-netbsd*): Likewise.
2605
 
        * emulparams/armelfb_nbsd.sh: New file.
2606
 
 
2607
 
2002-05-18  Tom Rix  <trix@redhat.com>
2608
 
 
2609
 
        * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
2610
 
        support.
2611
 
 
2612
 
2002-05-17  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2613
 
 
2614
 
        * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
2615
 
        * Makefile.in: Regenerate.
2616
 
        * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
2617
 
 
2618
 
2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2619
 
 
2620
 
        * emulparams/avr1.sh: New file.
2621
 
        * emulparams/avr2.sh: New file.
2622
 
        * emulparams/avr3.sh: New file.
2623
 
        * emulparams/avr4.sh: New file.
2624
 
        * emulparams/avr5.sh: New file.
2625
 
        * scripttempl/avr.sc: New file.
2626
 
 
2627
 
2002-05-15  Alan Modra  <amodra@bigpond.net.au>
2628
 
 
2629
 
        * ldlang.c (section_already_linked): Call bfd_link_just_syms.
2630
 
        (lang_place_orphans): Abort if just_syms_flag.
2631
 
 
2632
 
2002-05-10  Tom Rix  <trix@redhat.com>
2633
 
 
2634
 
        * emultempl/aix.em: (gld*_set_output_arch): New function. Use
2635
 
        architecture and machine information in the output bfd.
2636
 
        (gld*_before_parse): Remove old arch and machine code.
2637
 
        (choose_target): Rename to gld*_choose_target.
2638
 
        (rtld): Change type to int.
2639
 
        * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
2640
 
        objects in XCOFF archives.
2641
 
        * ldfile.h: Update copyright date.
2642
 
 
2643
 
2002-05-10  Jakub Jelinek  <jakub@redhat.com>
2644
 
 
2645
 
        * ldmain.c (main): Enable -z combreloc by default.
2646
 
 
2647
 
2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
2648
 
 
2649
 
        * Makefile.am: Honour DESTDIR.
2650
 
        * Makefile.in: Regenerate.
2651
 
 
2652
 
2002-05-07  Richard Sandiford  <rsandifo@redhat.com>
2653
 
 
2654
 
        * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
2655
 
        (lang_enter_overlay): Remove the last two parameters.
2656
 
        (lang_leave_overlay): Take them here instead.
2657
 
        * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
2658
 
        (section): Pass LMA and crossref flag to lang_leave_overlay rather
2659
 
        than lang_enter_overlay.
2660
 
        * ldlang.c (lang_memory_region_lookup): Return null for null names.
2661
 
        (lang_output_section_statement_lookup): Initialize update_dot_tree.
2662
 
        (lang_size_sections_1): Evaluate it.
2663
 
        (lang_leave_output_section_statement): Rework LMA lookup.
2664
 
        (overlay_lma, overlay_nocrossrefs): Remove.
2665
 
        (lang_enter_overlay): Remove LMA and crossref arguments.
2666
 
        (lang_enter_overlay_section): Don't set the LMA here.
2667
 
        (lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
2668
 
        assignment to the last section's update_dot_tree.  Unconditionally
2669
 
        use the load and run-time regions specified in the OVERLAY statement.
2670
 
        Likewise the first section's LMA.  Only set the other sections' LMAs
2671
 
        when no load region is given.
2672
 
 
2673
 
2002-05-06  Nick Clifton <nickc@redhat.com>
2674
 
 
2675
 
        * po/sv.po: New translation.
2676
 
 
2677
 
2002-05-04  Alan Modra  <amodra@bigpond.net.au>
2678
 
 
2679
 
        * emultempl/hppaelf.em (build_section_lists): New function.
2680
 
        (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
2681
 
        and build_section_lists.
2682
 
 
2683
 
2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
2684
 
 
2685
 
        * ld.h: Fix formatting.
2686
 
        * ldexp.c: Likewise.
2687
 
        * ldfile.c: Likewise.
2688
 
        * ldlang.c: Likewise.
2689
 
        * ldmain.c: Likewise.
2690
 
        * lexsup.c: Likewise.
2691
 
        * pe-dll.c: Likewise.
2692
 
 
2693
 
2002-05-02  Alan Modra  <amodra@bigpond.net.au>
2694
 
 
2695
 
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
2696
 
        Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
2697
 
        (build_section_lists): Do output_section tests here.
2698
 
 
2699
 
2002-04-30  Tom Rix  <trix@redhat.com>
2700
 
 
2701
 
        * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
2702
 
 
2703
 
2002-05-01  Alan Modra  <amodra@bigpond.net.au>
2704
 
 
2705
 
        Long branch stubs, multiple stub sections.
2706
 
        * emultempl/ppc64elf.em: Include ldctor.h.
2707
 
        (stub_file): New var.
2708
 
        (group_size): New var.
2709
 
        (ppc_create_output_section_statements): New function.
2710
 
        (struct hook_stub_info): New.
2711
 
        (hook_in_stub): New function.
2712
 
        (ppc_add_stub_section): New function.
2713
 
        (ppc_layout_sections_again): New function.
2714
 
        (build_section_lists): New function.
2715
 
        (gld${EMULATION_NAME}_finish): Rewrite.
2716
 
        (real_func): New var.
2717
 
        (ppc_for_each_input_file_wrapper): New function.
2718
 
        (ppc_lang_for_each_input_file): New function.
2719
 
        (lang_for_each_input_file): Define.
2720
 
        (PARSE_AND_LIST_PROLOGUE): Define.
2721
 
        (PARSE_AND_LIST_LONGOPTS): Define.
2722
 
        (PARSE_AND_LIST_OPTIONS): Define.
2723
 
        (PARSE_AND_LIST_ARGS_CASES): Define.
2724
 
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2725
 
 
2726
 
2002-04-30  Tom Rix  <trix@redhat.com>
2727
 
 
2728
 
        * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
2729
 
        -blibpath, -bnolibpath support.
2730
 
 
2731
 
2002-04-30  Mark Mitchell  <mark@codesourcery.com>
2732
 
 
2733
 
        * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
2734
 
        (eelf32ppcwindiss.c): New target.
2735
 
        * Makefile.in: Regenerated.
2736
 
        * configure.tgt: Add support for powerpc-*-windiss.
2737
 
        * emulparams/elf32ppcwindiss.sh: New file.
2738
 
 
2739
 
2002-04-30  Richard Sandiford  <rsandifo@redhat.com>
2740
 
 
2741
 
        * ldlang.c (print_assignment): Update print_dot for assignments to ".".
2742
 
        * ldexp.c (exp_print_token): Add "infix_p" argument.
2743
 
        (exp_print_tree): Update accordingly.
2744
 
 
2745
 
2002-04-28  Alan Modra  <amodra@bigpond.net.au>
2746
 
 
2747
 
        * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
2748
 
        * Makefile.in: Regenerate.
2749
 
        * mpw-elfmips.c: Delete.
2750
 
        * mpw-eppcmac.c: Delete.
2751
 
        * mpw-esh.c: Delete.
2752
 
        * mpw-idtmips.c: Delete.
2753
 
 
2754
 
2002-04-17  J"orn Rennecke <joern.rennecke@superh.com>
2755
 
 
2756
 
        * emulparams/shelf32.sh (MACHINE): Now sh5.
2757
 
 
2758
 
2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2759
 
 
2760
 
        * ldgram.y: Fix syntax warning.
2761
 
 
2762
 
2002-04-11  Nick Clifton  <nickc@cambridge.redhat.com>
2763
 
 
2764
 
        * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
2765
 
        to prevent "-n" from being taken as an abbreviation for
2766
 
        "--no-pipeline-knowledge".
2767
 
 
2768
 
2002-04-08  Alan Modra  <amodra@bigpond.net.au>
2769
 
 
2770
 
        * ldlang.c (lang_size_sections_1): Don't complain about
2771
 
        SEC_NEVER_LOAD sections having no memory region specified.
2772
 
 
2773
 
        * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
2774
 
 
2775
 
2002-04-07  matthew green  <mrg@redhat.com>
2776
 
 
2777
 
        * configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
2778
 
 
2779
 
2002-04-04  Alan Modra  <amodra@bigpond.net.au>
2780
 
 
2781
 
        * dep-in.sed: Cope with absolute paths.
2782
 
        * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
2783
 
        Run "make dep-am".
2784
 
        * Makefile.in: Regenerate.
2785
 
 
2786
 
2002-04-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2787
 
 
2788
 
        * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
2789
 
 
2790
 
2002-04-03  Jakub Jelinek  <jakub@redhat.com>
2791
 
 
2792
 
        * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
2793
 
        is smaller than maximum, round dot up to common page boundary.
2794
 
 
2795
 
2002-03-28  Alan Modra  <amodra@bigpond.net.au>
2796
 
 
2797
 
        * configure.host: Set up for generic hosts first, then tweak as
2798
 
        necessary in more specific targets.
2799
 
        (HOSTING_LIBS): Include libgcc_eh.a if found.
2800
 
 
2801
 
2002-03-23  Andreas Jaeger  <aj@suse.de>
2802
 
 
2803
 
        * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
2804
 
 
2805
 
2002-03-21  Alan Modra  <amodra@bigpond.net.au>
2806
 
 
2807
 
        * Makefile.am: Run "make dep-am".
2808
 
        * Makefile.in: Regenerate.
2809
 
 
2810
 
2002-03-21  Albert Chin-A-Young  <china@thewrittenword.com>
2811
 
 
2812
 
        * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
2813
 
 
2814
 
2002-03-20  Alan Modra  <amodra@bigpond.net.au>
2815
 
 
2816
 
        * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
2817
 
        add the symbol to the linker hash table immediately.
2818
 
        (lang_place_undefineds): Split symbol creation out..
2819
 
        (insert_undefined): ..to here.
2820
 
 
2821
 
2002-03-18  David O'Brien  <obrien@FreeBSD.org>
2822
 
 
2823
 
        * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
2824
 
        the contents of the buffer returned from basename function will are
2825
 
        getting overwritten while still being used.
2826
 
 
2827
 
2002-03-18  Jan Hubicka  <jh@suse.cz>
2828
 
            Andreas Jaeger  <aj@suse.de>
2829
 
            Andreas Schwab  <schwab@suse.de>
2830
 
 
2831
 
        * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
2832
 
        * elf_x86_64.sh (ARCH): Set to i386:x86-64
2833
 
        set libraries to default to lib64 paths.
2834
 
 
2835
 
2002-03-18  Tom Rix  <trix@redhat.com>
2836
 
 
2837
 
        * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
2838
 
        * configure.tgt : Same.
2839
 
        * emulparms/aix5ppc.sh : New file. For eaix5ppc.
2840
 
        * emulparms/aix5rs6.sh : New file. For eaix5rs6.
2841
 
        * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
2842
 
        emulation parameters for better -b32, -b64 support.
2843
 
        * emulparms/aixrs6.sh : Same.
2844
 
        * emulparms/ppcmacos.sh : Same.
2845
 
        * emultempl/aix.em (choose_target) : Use new emulation parameters
2846
 
        OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
2847
 
        * Makefile.in : Regenerate.
2848
 
 
2849
 
2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
2850
 
 
2851
 
        * po/fr.po: Updated version.
2852
 
 
2853
 
2002-03-18  Alan Modra  <amodra@bigpond.net.au>
2854
 
 
2855
 
        * ldmain.c (main): Move .text readonly flag fudges from here..
2856
 
        * ldlang.c (lang_process): ..to here.
2857
 
 
2858
 
2002-03-14  Alan Modra  <amodra@bigpond.net.au>
2859
 
 
2860
 
        * ldlang.c (lang_check): Remove the word size check added in last
2861
 
        change.  Treat emitrelocations case as for relocatable links.
2862
 
 
2863
 
2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
2864
 
 
2865
 
        * po/fr.po: Updated version.
2866
 
 
2867
 
2002-03-13  Alan Modra  <amodra@bigpond.net.au>
2868
 
 
2869
 
        * ldlang.c (lang_check): Do relocatable link checks first, so that
2870
 
        warn_mismatch can't override.  Check compatible and word size too.
2871
 
 
2872
 
2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
2873
 
 
2874
 
        * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2875
 
 
2876
 
2002-03-05  Jakub Jelinek  <jakub@redhat.com>
2877
 
 
2878
 
        * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
2879
 
        DATA_SEGMENT_ALIGN.
2880
 
 
2881
 
2002-03-04  H.J. Lu <hjl@gnu.org>
2882
 
 
2883
 
        * scripttempl/elf.sc: Put .preinit_array, .init_array and
2884
 
        .fini_array in the data segment.
2885
 
 
2886
 
2002-03-04  Alan Modra  <amodra@bigpond.net.au>
2887
 
 
2888
 
        * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
2889
 
 
2890
 
2002-03-01  David Mosberger  <davidm@hpl.hp.com>
2891
 
 
2892
 
        * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
2893
 
        .init_array, and .fini_array.
2894
 
 
2895
 
2002-02-20  Andreas Schwab  <schwab@suse.de>
2896
 
 
2897
 
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
2898
 
        .IA64_unwind* in a relocatable link.
2899
 
 
2900
 
2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
2901
 
 
2902
 
        * NEWS: Mark 2.12 branch.
2903
 
 
2904
 
2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2905
 
 
2906
 
        * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
2907
 
        * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
2908
 
 
2909
 
2002-02-18  Tom Rix  <trix@redhat.com>
2910
 
 
2911
 
        * emultempl/aix.em (gld*_parse_args): Add -brtl support.
2912
 
        (gld*_before_allocation): Same.
2913
 
        (gld*_create_output_section_statements): Generate
2914
 
        __rtinit if run time linking.  Add librtl.a to the link.
2915
 
        (gld*_read_file): Clean.
2916
 
 
2917
 
2002-02-18  Alan Modra  <amodra@bigpond.net.au>
2918
 
 
2919
 
        * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
2920
 
 
2921
 
2002-02-18  David O'Brien  <obrien@FreeBSD.org>
2922
 
 
2923
 
        * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
2924
 
        eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
2925
 
        and eelf64alpha_fbsd.
2926
 
        * Makefile.in: Regenerate.
2927
 
        * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
2928
 
        x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
2929
 
        use a FreeBSD-specific emulation rather than the psABI one.
2930
 
        * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
2931
 
        for all FreeBSD ELF systems.
2932
 
        * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
2933
 
        emulation.
2934
 
        * emulparams/elf32ppc_fbsd.sh: Likewise.
2935
 
        * emulparams/elf64_ia64_fbsd.sh: Likewise.
2936
 
        * emulparams/elf64_sparc_fbsd.sh: Likewise.
2937
 
        * emulparams/elf64alpha_fbsd.sh: Likewise.
2938
 
        * emulparams/elf_i386_fbsd.sh: Likewise.
2939
 
        * emulparams/elf_x86_64_fbsd.sh: Likewise.
2940
 
 
2941
 
2002-02-18  Nick Clifton  <nickc@cambridge.redhat.com>
2942
 
 
2943
 
        * po/tr.po: Updated version.
2944
 
 
2945
 
2002-02-18  Alan Modra  <amodra@bigpond.net.au>
2946
 
 
2947
 
        * ld.texinfo (Output Section Fill): Fix amateur texinfo.
2948
 
        (FILL): Likewise.
2949
 
 
2950
 
2002-02-17  Hans-Peter Nilsson  <hp@bitrange.com>
2951
 
 
2952
 
        * emultempl/mmo.em (mmo_after_open): Don't call
2953
 
        _bfd_mmix_check_all_relocs when producing ELF output.
2954
 
 
2955
 
2002-02-15  Richard Henderson  <rth@redhat.com>
2956
 
 
2957
 
        * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
2958
 
        definition.  Emit a unop+nop pair.
2959
 
 
2960
 
2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
2961
 
 
2962
 
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
2963
 
        for presence of .MMIX.reg_contents.linker_allocated before early
2964
 
        exit.
2965
 
 
2966
 
        * NEWS: Mention support for MMIX.
2967
 
 
2968
 
2002-02-15  Alan Modra  <amodra@bigpond.net.au>
2969
 
 
2970
 
        Support arbitrary length fill patterns.
2971
 
        * ld.texinfo (Output Section Fill): Describe fill expressions.
2972
 
        (FILL): Refer to the above.
2973
 
        * ldexp.h (etree_value_type): Add "str" field.
2974
 
        (union etree_union): Add "str" to "value" struct.
2975
 
        (exp_bigintop): Declare.
2976
 
        (exp_get_fill): Declare.
2977
 
        * ldexp.c: Include "safe-ctype.h".
2978
 
        (exp_intop): Set value.str to NULL.
2979
 
        (exp_bigintop): New function.
2980
 
        (new_rel): Pass in "str", and set new.str from it.
2981
 
        (new_rel_from_section): Set new.str to NULL.
2982
 
        (fold_name): Adjust calls to new_rel.
2983
 
        (exp_fold_tree): Likewise.
2984
 
        (exp_get_fill): New function.
2985
 
        * ldgram.y (struct big_int bigint, fill_type *fill): New.
2986
 
        (INT): Returns a "bigint".  Adjust all code handling INTs.
2987
 
        (fill_opt): Returns a "fill".
2988
 
        (fill_exp): Split out of fill_opt, use for FILL.
2989
 
        * ldlang.h (struct _fill_type): New.
2990
 
        (fill_type): Move typedef to ldexp.h.
2991
 
        (lang_output_section_statement_type): "fill" is now a pointer.
2992
 
        (lang_fill_statement_type): Likewise.
2993
 
        (lang_padding_statement_type): Likewise.
2994
 
        (lang_add_fill): Now takes a "fill_type *" param.
2995
 
        (lang_leave_output_section_statement): Likewise.
2996
 
        (lang_do_assignments): Likewise.
2997
 
        (lang_size_sections): Likewise.
2998
 
        (lang_leave_overlay_section): Likewise.
2999
 
        (lang_leave_overlay): Likewise.
3000
 
        * ldlang.c: Include ldgram.h after ldexp.h.
3001
 
        (lang_output_section_statement_lookup): Adjust for fill_type change.
3002
 
        (print_fill_statement): Likewise.
 
91
        * ldlang.h (lang_input_statement_type): Add as_needed field.
 
92
        * ldlang.c (new_afile): Set p->as_needed.
 
93
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
 
94
        (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
 
95
        (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
 
96
        * ldlang.c (open_input_bfds): Remove useless cast.
 
97
        (lang_do_assignments_1): Likewise.
 
98
        (lang_for_each_input_section): Delete.
 
99
 
 
100
2004-03-23  Alan Modra  <amodra@bigpond.net.au>
 
101
 
 
102
        PR 51.
 
103
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
 
104
        link_info.wrap_char.
 
105
 
 
106
2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
 
107
 
 
108
        * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
 
109
 
 
110
2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
 
111
 
 
112
        * ldlang.c (lang_add_section): Don't force SEC_LOAD on
 
113
        SEC_THREAD_LOCAL.
 
114
        (IGNORE_SECTION): Ignore .tbss sections too.
 
115
        (lang_size_sections_1): .tbss sections do not advance dot.
 
116
 
 
117
2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
 
118
 
 
119
        * ldlang.h (struct lang_output_section_state): Change processed
 
120
        field's type.
 
121
        * ldexp.c (check, invalid): Remove.
 
122
        (fold_name): Move valid_p assignments. Create undefined symbol
 
123
        when needed. Directly exampine section's processd flag.
 
124
        * ldlang.c (lang_output_section_statement_lookup): Adjust
 
125
        processed field init.
 
126
        (lang_size_sections_1): Allow LOADADDR when determining section's
 
127
        VMA. Adjust error message. Fold data statement's expr.
 
128
        (lang_size_sections): Correctly increment lang_statement_iteration.
 
129
 
 
130
2004-02-23  Alan Modra <amodra@bigpond.net.au>
 
131
 
 
132
        * ldexp.c (fold_tree): Follow indirect symbols.
 
133
 
 
134
2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
 
135
 
 
136
        * ldgram.y (exp): Add two operand ALIGN.
 
137
        * ldexp.c (fold_binary): Add ALIGN_K case.
 
138
        * ld.texinfo (ALIGN): Document two operand version.
 
139
 
 
140
2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
 
141
 
 
142
        * ldlang.c (map_input_to_output_sections): Initialize sections
 
143
        mentioned in a data statement expression.
 
144
        (lang_do_assignments_1): Add data statement's expression's
 
145
        section's vma.
 
146
 
 
147
2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
 
148
 
 
149
        * ldgram.y (statement_anywhere): Add assert rule.
 
150
        * ldlang.c (exp_init_os): Add assert case.
 
151
 
 
152
2004-02-14  Andrew Cagney  <cagney@redhat.com>
 
153
 
 
154
        * ldmain.c (remove_output): Call bfd_cache_close.
 
155
 
 
156
2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
 
157
 
 
158
        * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
 
159
        .MIPS.content* and .MIPS.events* sections.
 
160
 
 
161
2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
 
162
 
 
163
        * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
 
164
        .note.gnu.arm.ident to after allocated sections.  Mark its
 
165
        address as 0.
 
166
 
 
167
2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
 
168
 
 
169
        * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
 
170
        * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
 
171
        * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
 
172
        * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
 
173
        * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
 
174
 
 
175
2004-02-05  Nick Clifton  <nickc@redhat.com>
 
176
 
 
177
        * emultempl/pe.em (_after_open): Fix typo in previous delta.
 
178
 
 
179
2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
 
180
 
 
181
        * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
 
182
 
 
183
2004-01-28  Alan Modra  <amodra@bigpond.net.au>
 
184
 
 
185
        * genscripts.sh: Fix typo.
 
186
 
 
187
        * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
 
188
 
 
189
2004-01-24  Jakub Jelinek  <jakub@redhat.com>
 
190
 
 
191
        * emulparams/elf64_ia64.sh: Put .rela.opd into
 
192
        OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
 
193
 
 
194
2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
 
195
 
 
196
        * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
 
197
        * ld.texinfo (--omagic): Note that writable text section
 
198
        does not conform to published PE-COFF specs.
 
199
        (--enable-auto-import): Likewise.
 
200
 
 
201
2004-01-15  Alan Modra  <amodra@bigpond.net.au>
 
202
 
 
203
        * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
 
204
 
 
205
2004-01-13  Nick Clifton  <nickc@redhat.com>
 
206
 
 
207
        * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
 
208
        which if true will prevent the LMA region being used as a
 
209
        replacement for a default VMA region.
 
210
        (lang_leave_output_section_statement): Pass extra parameter.
 
211
        (lang_leave_overlay): Likewise.
 
212
        * ld.texinfo (Output Section LMA): Document that the LMA
 
213
        region can be set to the VMA region if no VMA has been set.
 
214
        * ldlang.h (struct lang_output_section_phdr_list): Create a
 
215
        typedef for this type.  Minor formatting fixes.
 
216
 
 
217
2004-01-13  Nick Clifton  <nickc@redhat.com>
 
218
 
 
219
        * ldlang.c (lang_size_sections_1): If dot is advanced, then
 
220
        assume that the section should be allocated.
 
221
 
 
222
2004-01-13  Alan Modra  <amodra@bigpond.net.au>
 
223
 
 
224
        * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
 
225
        sections.  Do ignore SEC_NEVER_LOAD sections.
 
226
        (lang_size_sections_1): Remove test made redundant with the above.
 
227
 
 
228
2004-01-09  Alan Modra  <amodra@bigpond.net.au>
 
229
 
 
230
        * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
 
231
        program_header_size.
 
232
 
 
233
2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
 
234
 
 
235
        2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
 
236
        * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
 
237
        2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
 
238
        * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
 
239
        (MAXPAGESIZE): Set to 64Kb.
 
240
        (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
 
241
        __ROFIXUP_END__.  Don't map .rofixup.got any more.
 
242
        * emulparams/elf32frv.sh (NOP): Set.
 
243
        2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
 
244
        * configure.tgt: Add frv-*-*linux*.
 
245
        2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
 
246
        * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
 
247
        (eelf32frvfd.c): New.
 
248
        * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
 
249
        * emulparams/elf32frv.sh: Reverted previous two patches.
 
250
        * emulparams/elf32frvfd.sh: New.
 
251
        * Makefile.in: Rebuilt.
 
252
        2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
 
253
        * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
 
254
        .rofixup.got to .rofixup.
 
255
        2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
 
256
        * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
 
257
        (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
 
258
 
 
259
2004-01-05  Jakub Jelinek  <jakub@redhat.com>
 
260
 
 
261
        * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
 
262
        * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
 
263
 
 
264
2004-01-03  Alan Modra  <amodra@bigpond.net.au>
 
265
 
 
266
        * ldexp.c (align_n): Make static.
 
267
        * ldexp.h (align_n): Delete declaration.
 
268
        * ldlang.h (lang_enter_output_section_statement): Remove
 
269
        block_value param.
 
270
        * ldlang.c (lang_enter_output_section_statement): Likewise.
 
271
        (TO_ADDR, TO_SIZE): Define.
 
272
        (opb_shift): New var.
 
273
        (init_opb): New function.
 
274
        (print_input_section): Call init_opb and use TO_ADDR.
 
275
        (print_data_statement, print_reloc_statement): Likewise.
3003
276
        (print_padding_statement): Likewise.
3004
 
        (insert_pad): Now takes a "fill_type *" arg.
3005
 
        (size_input_section): Likewise.
 
277
        (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
 
278
        (lang_check_section_addresses): Likewise.
3006
279
        (lang_size_sections_1): Likewise.
3007
 
        (lang_size_sections): Likewise.
3008
 
        (lang_do_assignments): Likewise.
3009
 
        (lang_add_fill): Likewise.
3010
 
        (lang_leave_output_section_statement): Likewise.
3011
 
        (lang_leave_overlay_section): Likewise.
3012
 
        (lang_leave_overlay): Likewise.
3013
 
        Adjust all callers of the above function.
3014
 
        * ldlex.l: Include ldgram.h after ldexp.h.  Allow hex numbers
3015
 
        starting with "0X" as well as "0x".  Return bigint.str for hex
3016
 
        numbers starting with "0x" or "0X", zero bigint.str otherwise.
3017
 
        Always use base 16 for numbers starting with "$".
3018
 
        * ldmain.c: Include ldgram.h after ldexp.h.
3019
 
        * ldwrite.c (build_link_order): Use bfd_data_link_order in place
3020
 
        of bfd_fill_link_order.
3021
 
        * pe-dll.c: Adjust lang_do_assignments calls.
3022
 
        * emultempl/elf32.em: Likewise.
3023
 
        * emultempl/hppaelf.em: Likewise.
3024
 
        * emultempl/ppc64elf.em: Likewise.
3025
 
        * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
3026
 
        lang_add_assignment call.
3027
 
        * emultempl/pe.em: Likewise.
3028
 
 
3029
 
2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
3030
 
 
3031
 
        * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
3032
 
        * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
3033
 
        the pattern in question is not a regexp.
3034
 
        * ldlang.c: Likewise.
3035
 
        * ldlang.h: Likewise.
3036
 
        * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
3037
 
 
3038
 
2002-02-12  Jakub Jelinek  <jakub@redhat.com>
3039
 
 
3040
 
        * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
3041
 
        * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
3042
 
        (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
3043
 
        * ldexp.c (exp_data_seg): New variable.
3044
 
        (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
3045
 
        (fold_binary): Handle DATA_SEGMENT_ALIGN.
3046
 
        (exp_fold_tree): Handle DATA_SEGMENT_END.
3047
 
        Pass allocation_done when recursing instead of hardcoding
3048
 
        lang_allocating_phase_enum.
3049
 
        * ldexp.h (exp_data_seg): New.
3050
 
        * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
3051
 
        (lang_size_sections): New.
3052
 
        * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
3053
 
        * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
3054
 
        if COMMONPAGESIZE is defined.
3055
 
        * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
3056
 
        * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
3057
 
        * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
3058
 
        * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
3059
 
        * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
3060
 
        libraries only.
3061
 
 
3062
 
2002-02-11  Alan Modra  <amodra@bigpond.net.au>
3063
 
 
3064
 
        * Makefile.in: Regenerate.
3065
 
 
3066
 
2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
3067
 
 
3068
 
        * lexsup.c: Remove strtoul declaration.
3069
 
 
3070
 
2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
3071
 
 
3072
 
        * ldmain.c: Add prototype for main ().
3073
 
        * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
3074
 
        * emultempl/lnk960.em (lnk960_choose_target): Function should
3075
 
        take two arguments.
3076
 
 
3077
 
2002-02-10  Alan Modra  <amodra@bigpond.net.au>
3078
 
 
3079
 
        * ldlang.c (entry_section): New initialised variable.
3080
 
        (lang_finish): Use it.
3081
 
        * ldlang.h (entry_section): Declare.
3082
 
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
3083
 
        entry_section to ".opd".
3084
 
 
3085
 
2002-02-09  Chris Demetriou  <cgd@broadcom.com>
3086
 
 
3087
 
        * ld.texinfo (Options): Add back in -nostdlib documentation,
3088
 
        which had been inadvertently removed.
3089
 
 
3090
 
2002-02-09  Hans-Peter Nilsson  <hp@bitrange.com>
3091
 
 
3092
 
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
3093
 
        register section vma to a sane value after emitting error.  Make
3094
 
        fatal conditions cause program exit when emitting message.
3095
 
 
3096
 
2002-02-08  Ivan Guzvinec <ivang@opencores.org>
3097
 
 
3098
 
        * configure.tgt: Add or32-*-rtems target.
3099
 
 
3100
 
2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
3101
 
 
3102
 
        Contribute sh64-elf.
3103
 
        2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
3104
 
        * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
3105
 
        in OTHER_RELOCATABLE_SECTIONS.
3106
 
        2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
3107
 
        * emulparams/shelf32.sh (STACK_ADDR): Define.
3108
 
        (OTHER_RELOCATABLE_SECTIONS): Renamed to...
3109
 
        (OTHER_SECTIONS): this.  Removed stack settings.
3110
 
        * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
3111
 
        (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
3112
 
        2001-03-12  DJ Delorie  <dj@redhat.com>
3113
 
        * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
3114
 
        relaxing if any shmedia or mixed sections are found.
3115
 
        2001-03-07  DJ Delorie  <dj@redhat.com>
3116
 
        * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
3117
 
        einfo.  Gracefully decline to output to non-elf formats.
3118
 
        2001-03-06  Hans-Peter Nilsson  <hpn@redhat.com>
3119
 
        * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
3120
 
        Default to _end aligned to next multiple of 0x40000, plus 0x40000.
3121
 
        * emulparams/shelf32.sh: Ditto.
3122
 
        2001-01-14  Hans-Peter Nilsson  <hpn@cygnus.com>
3123
 
        * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
3124
 
        comment.
3125
 
        2001-01-10  Ben Elliston  <bje@redhat.com>
3126
 
        * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
3127
 
        non-portable shell constructs. From Hans-Peter Nilsson.
3128
 
        2001-01-09  Hans-Peter Nilsson  <hpn@cygnus.com>
3129
 
        * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
3130
 
        * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
3131
 
        dependencies to the shell script include chain.
3132
 
        * Makefile.in: Regenerate.
3133
 
        2001-01-06  Hans-Peter Nilsson  <hpn@cygnus.com>
3134
 
        * emultempl/sh64elf.em: Update and tweak comments.
3135
 
        (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
3136
 
        make a .cranges section SEC_IN_MEMORY.
3137
 
        2000-12-30  Hans-Peter Nilsson  <hpn@cygnus.com>
3138
 
        * emultempl/sh64elf.em
3139
 
        (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
3140
 
        .cranges section found to be necessary; continue and set stored
3141
 
        section contents flags for sections with non-mixed contents.
3142
 
        Use a struct sh64_section_data container and sh64_elf_section_data
3143
 
        to store contents-type flags.
3144
 
        Remove unused update of "isec".
3145
 
        (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
3146
 
        sections marked SHF_SH5_ISA32_MIXED.  Use sh64_elf_section_data to
3147
 
        access contents-type flags.  Assert that the associated container
3148
 
        is initialized.  Use that container, not elf_gp_size, to hold size
3149
 
        of linker-generated cranges contents.
3150
 
        2000-12-18  Hans-Peter Nilsson  <hpn@cygnus.com>
3151
 
        * emultempl/sh64elf.em
3152
 
        (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
3153
 
        there's already a .cranges section.  When section flag difference
3154
 
        is found, don't NULL-check cranges a second time.  Tweak comments.
3155
 
        (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
3156
 
        merging, not max size, as size of ld-generated .cranges contents.
3157
 
        Don't set ELF section flags in output section.  When checking for
3158
 
        needed .cranges descriptors, don't use a variable; compare
3159
 
        incoming ELF section flags directly to SHF_SH5_ISA32_MIXED.  Tweak
3160
 
        comments.
3161
 
        2000-12-18  Hans-Peter Nilsson  <hpn@cygnus.com>
3162
 
        * emultempl/sh64elf.em: New file.
3163
 
        * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
3164
 
        * Makefile.in: Regenerate.
3165
 
        * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
3166
 
        (OTHER_RELOCATING_SECTIONS): Ditto.
3167
 
        (EXTRA_EM_FILE): New, set to sh64elf if not set.
3168
 
        * emulparams/shlelf32.sh: Stub out all settings except
3169
 
        OUTPUT_FORMAT.  Source shelf32.sh.
3170
 
        * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
3171
 
        OTHER_RELOCATING_SECTIONS.
3172
 
        (OTHER_RELOCATING_SECTIONS): Remove .cranges.
3173
 
        * emulparams/shlelf64.sh: Stub out all settings except
3174
 
        OUTPUT_FORMAT.  Source shelf64.sh.
3175
 
        2000-12-15  Hans-Peter Nilsson  <hpn@cygnus.com>
3176
 
        * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
3177
 
        .cranges section.
3178
 
        (DATA_START_SYMBOLS): Define, provide ___data.
3179
 
        (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
3180
 
        for consecutive .data section.
3181
 
        (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
3182
 
        section after .data section.
3183
 
        * emulparams/shlelf64.sh: Ditto.
3184
 
        * emulparams/shelf32.sh: Ditto.
3185
 
        (ALIGNMENT): Define to 8.
3186
 
        * emulparams/shelf32.sh: Ditto.
3187
 
        2000-12-12  Hans-Peter Nilsson  <hpn@cygnus.com>
3188
 
        * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
3189
 
        built-in linker scripts.
3190
 
        2000-11-30  Hans-Peter Nilsson  <hpn@cygnus.com>
3191
 
        * emulparams/shlelf64.sh: New.
3192
 
        * emulparams/shelf64.sh: New.
3193
 
        * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
3194
 
        targ_extra_emuls.
3195
 
        * Makefile.am: Add support for shlelf64 and shelf64.
3196
 
        * Makefile.in: Regenerate.
3197
 
        2000-11-29  Hans-Peter Nilsson  <hpn@cygnus.com>
3198
 
        * configure.tgt (sh64-*-elf*): Add shelf as default.
3199
 
        Add shlelf to targ_extra_emuls.
3200
 
        2000-11-24  Hans-Peter Nilsson  <hpn@cygnus.com>
3201
 
        * emulparams/shelf32.sh: New file.
3202
 
        * emulparams/shlelf32.sh: New file.
3203
 
        * Makefile.am: Add support for shlelf32 and shelf32.
3204
 
        * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
3205
 
        * Makefile.in: Regenerate.
3206
 
 
3207
 
2002-02-05  Hans-Peter Nilsson  <hp@axis.com>
3208
 
 
3209
 
        * ldlang.c (lang_reset_memory_regions): Rename from
3210
 
        reset_memory_regions.  Change all callers.  Make public.
3211
 
        * ldlang.h (lang_reset_memory_regions): Prototype.
3212
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
3213
 
        lang_reset_memory_regions before lang_size_sections.
3214
 
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
3215
 
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
3216
 
 
3217
 
2002-02-04  Hans-Peter Nilsson  <hp@bitrange.com>
3218
 
 
3219
 
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
3220
 
        arithmetic when checking for too many global registers.
3221
 
 
3222
 
2002-02-02  Jason Thorpe  <thorpej@wasabisystems.com>
3223
 
 
3224
 
        * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
3225
 
        (ehppanbsd.c): New rule.
3226
 
        * Makefile.in: Regenerate.
3227
 
        * configure.tgt (hppa*-*-netbsd*): New target.
3228
 
        * emulparams/hppalinux.sh: Add comment to check other files
3229
 
        that source this file it is modified, and list which
3230
 
        files that do.
3231
 
        * emulparams/hppanbsd.sh: New file.
3232
 
 
3233
 
2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
3234
 
 
3235
 
        * scripttempl/xstormy16.sc: Don't allocate extra space for the
3236
 
        stack.
3237
 
 
3238
 
2002-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
3239
 
 
3240
 
        Support on-demand global register allocation from
3241
 
        R_MMIX_BASE_PLUS_OFFSET relocs.
3242
 
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
3243
 
        mmix_set_reg_section_vma.  Call
3244
 
        _bfd_mmix_finalize_linker_allocated_gregs.
3245
 
        (mmix_before_allocation): New function.
3246
 
        (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
3247
 
        (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
3248
 
        * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
3249
 
        (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
3250
 
        before .MMIX.reg_contents.
3251
 
        * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
3252
 
        (mmo_after_open): New function.
3253
 
        (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
3254
 
        * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting.  Add
3255
 
        .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
3256
 
 
3257
 
2002-01-31  Ivan Guzvinec  <ivang@opencores.org>
3258
 
 
3259
 
        * emulparams/or32.sh: New file.
3260
 
        * emulparams/or32elf.sh: New file.
3261
 
        * scripttempl/or32.sc: New file.
3262
 
        * configure.tgt : Add support for or32.
3263
 
        * configure: Regenerate
3264
 
        * Makefile.am: Add support for or32.
3265
 
        * Makefile.in: Regenerate.
3266
 
        * NEWS: Mention support for or32.
3267
 
        * po/ld.pot: Regenerate.
3268
 
 
3269
 
2002-01-29  Chris Demetriou  <cgd@broadcom.com>
3270
 
            Mitch Lichtenberg  <mpl@broadcom.com>
3271
 
 
3272
 
        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
3273
 
        * emultempl/mipself.em: New file to handle MIPS ELF embedded
3274
 
        reloc creation (ld --embedded-relocs).
3275
 
 
3276
 
2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
3277
 
 
3278
 
        * configure: Regenerated.
3279
 
 
3280
 
2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
3281
 
 
3282
 
        * Makefile.am (install): Depend on install-info.
3283
 
        * Makefile.in: Regenerate.
3284
 
 
3285
 
2002-01-26  Christian Rose  <menthos@menthos.com>
3286
 
 
3287
 
        * ldmain.c (main): Use full sentences to ease translation.
3288
 
 
3289
 
2002-01-26  Nick Clifton  <nickc@cambridge.redhat.com>
3290
 
 
3291
 
        * po/fr.po: Updated version.
3292
 
 
3293
 
2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
3294
 
 
3295
 
        * po/es.po: Updated version.
3296
 
 
3297
 
2002-01-25  Andreas Jaeger  <aj@suse.de>
3298
 
 
3299
 
        * ldlex.l (yy_input): Correct error check.
3300
 
 
3301
 
2002-01-25  Alan Modra  <amodra@bigpond.net.au>
3302
 
 
3303
 
        * ldmisc.c (demangle): Put back dots when string not demangled.
3304
 
 
3305
 
2002-01-22  Richard Henderson  <rth@redhat.com>
3306
 
 
3307
 
        * emulparams/elf64alpha.sh (NOP): Use unop.
3308
 
 
3309
 
2002-01-21  Andreas Jaeger  <aj@suse.de>
3310
 
 
3311
 
        * ldlex.l: Use fread instead of read.
3312
 
 
3313
 
2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
3314
 
 
3315
 
        * configure.tgt (ia64-*-netbsd*): New target.
3316
 
 
3317
 
2002-01-21  H.J. Lu <hjl@gnu.org>
3318
 
 
3319
 
        * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
3320
 
        0.
3321
 
        * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
3322
 
 
3323
 
2002-01-18  Andreas Jaeger  <aj@suse.de>
3324
 
 
3325
 
        * ldver.c (ldversion): Update year.
3326
 
 
3327
 
2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3328
 
 
3329
 
        * po/ld.pot: Regenerate.
3330
 
 
3331
 
2002-01-16  Alan Modra  <amodra@bigpond.net.au>
3332
 
 
3333
 
        * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
3334
 
        * Makefile.in: Regenerate.
3335
 
        * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
3336
 
        * emultempl/ppc64elf.em: New file.
3337
 
 
3338
 
2002-01-15  DJ Delorie  <dj@redhat.com>
3339
 
 
3340
 
        * scripttempl/pe.sc: Add support for constructor priorities.
3341
 
 
3342
 
2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3343
 
 
3344
 
        * emulparams/avr1200.sh (DATA_START): Define as 0x60.
3345
 
        * emulparams/avr23xx.sh: Likewise.
3346
 
        * emulparams/avr4433.sh: Likewise.
3347
 
        * emulparams/avr44x4.sh: Likewise.
3348
 
        * emulparams/avr85xx.sh: Likewise.
3349
 
        * emulparams/avrmega103.sh: Likewise.
3350
 
        * emulparams/avrmega161.sh: Likewise.
3351
 
        * emulparams/avrmega603.sh: Likewise.
3352
 
        * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
3353
 
 
3354
 
2002-01-08  Alexandre Oliva  <aoliva@redhat.com>
3355
 
 
3356
 
        * ldlang.c (walk_wild_section): Exclude object file if enclosing
3357
 
        archive is excluded.
3358
 
 
3359
 
2002-01-07  Jason Thorpe  <thorpej@wasabisystems.com>
3360
 
 
3361
 
        * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
3362
 
        (eshelf_nbsd.c): New rule.
3363
 
        (eshlelf_nbsd.c): New rule.
3364
 
        * Makefile.in: Regenerate.
3365
 
        * configure.tgt (sh*le-*-netbsdelf*): New target.
3366
 
        (sh*-*-netbsdelf*): New target.
3367
 
        * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
3368
 
        * emulparams/shelf_nbsd.sh: New emulation.
3369
 
        * emulparams/shlelf_nbsd.sh: New emulation.
3370
 
 
3371
 
2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
3372
 
 
3373
 
        * po/es.po: New file: Spanish translation.
3374
 
        * configure.in (ALL_LINGUAS): Add es.
3375
 
        * configure: Regenerate.
3376
 
 
3377
 
2002-01-06  John Marshall  <jmarshall@acm.org>
3378
 
 
3379
 
        * ld.texinfo: Note that --emit-relocs is currently only
3380
 
        implemented for ELF.
3381
 
 
3382
 
2002-01-05  Alan Modra  <amodra@bigpond.net.au>
3383
 
 
3384
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
3385
 
        of bfd_section_list_remove and bfd_section_list_insert macros.
3386
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
 
280
        (lang_do_assignments_1): Likewise.
 
281
        (lang_set_startof): Likewise.
 
282
        (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
 
283
        (lang_process): Call init_opb.
 
284
        (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
 
285
        (lang_enter_overlay_section): Adjust
 
286
        lang_enter_output_section_statement call.
 
287
        * ldgram.y: Likewise.
 
288
        * mri.c (mri_draw_tree): Likewise.
 
289
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
3387
290
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
3388
 
 
3389
 
2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
3390
 
 
3391
 
        * configure.tgt (x86_64-*-netbsd*): New target.
3392
 
 
3393
 
2001-12-21  Tom Rix  <trix@redhat.com>
3394
 
 
3395
 
        (gld*_create_output_section_statements): New function.
3396
 
        For -binitfini support.
3397
 
        * emultempl/aix.em (gld*_before_parse): Fix comment.
3398
 
        * emultempl/aix.em (gld*_parse_args): Fix comment.
3399
 
 
3400
 
2001-12-20  Jason Thorpe  <thorpej@wasabisystems.com>
3401
 
 
3402
 
        * configure.tgt (mips*-dec-netbsd*): Delete alias for
3403
 
        mips*el-*-netbsd*.
3404
 
        (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
3405
 
 
3406
 
        * configure.tgt (arm-*-netbsdelf*): Add target.
3407
 
        (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
3408
 
        * emulparams/armelf_nbsd.sh: Added.
3409
 
        * Makefile.am: Add rules for earmelf_nbsd.
3410
 
        * Makefile.in: Regenerate.
3411
 
 
3412
 
2001-12-19  Andreas Jaeger  <aj@suse.de>,
3413
 
            Susanne Oberhauser <froh@suse.de>
3414
 
 
3415
 
        * configure.host: Add rules for x86_64-*linux-gnu.  Change
3416
 
        s390x-linux entry to use gcc to report configuration, replace gcc
3417
 
        with $CC in s390-linux
3418
 
 
3419
 
2001-12-19  Andreas Jaeger  <aj@suse.de>
3420
 
 
3421
 
        * ld.texinfo (VERSION): Fix markup.
3422
 
 
3423
 
2001-12-18  matthew green  <mrg@eterna.com.au>
3424
 
 
3425
 
        * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
3426
 
        (m68kelfnbsd.c): New rule.
3427
 
        * Makefile.in: Regenerate.
3428
 
        * configure.tgt (m68*-hp-netbsd*): Renamed to ..
3429
 
        (m68*-*-netbsd*4k*): .. this.
3430
 
        (m68*-*-netbsdelf*): New target.
3431
 
        (m68*-*-netbsd*): Also include ELF support.
3432
 
        (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
3433
 
        * emulparams/m68kelfnbsd.sh: New emulation.
3434
 
 
3435
 
2001-12-18  Jakub Jelinek  <jakub@redhat.com>
3436
 
 
3437
 
        * ldgram.y (vers_node): Support anonymous version tags.
3438
 
        * ldlang.c (lang_register_vers_node): Ensure anonymous version
3439
 
        tag is not defined together with non-anonymous versions.
3440
 
        * ld.texinfo: Document it.
3441
 
 
3442
 
2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
3443
 
 
3444
 
        * po/tr.po: New file: Turkish translation.
3445
 
        * configure.in (ALL_LINGUAS): Add tr.
3446
 
        * configure: Regenerate.
3447
 
 
3448
 
2001-12-17  Jason Thorpe  <thorpej@wasabisystems.com>
3449
 
 
3450
 
        * Makefile.am: Add rules for eelf64alpha_nbsd.
3451
 
        * Makefile.in: Regenerate.
3452
 
        * configure.tgt (alpha*-*-netbsd*): Set
3453
 
        targ_emul to elf64alpha_nbsd.
3454
 
        * emulparams/elf64alpha_nbsd.sh: Added.
3455
 
 
3456
 
2001-12-17  Alan Modra  <amodra@bigpond.net.au>
3457
 
 
3458
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
3459
 
        section_tail when fiddling with section list.
3460
 
        (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
3461
 
        broken into separate strings to make translation easier.
3462
 
        * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
3463
 
        fiddling with section list.
3464
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3465
 
 
3466
 
2001-12-16  Hans-Peter Nilsson  <hp@bitrange.com>
3467
 
 
3468
 
        * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
3469
 
 
3470
 
2001-12-15  Alan Modra  <amodra@bigpond.net.au>
3471
 
 
3472
 
        * ldmain.c (main): Initialise link_info.eh_frame_hdr.
3473
 
 
3474
 
2001-12-13  Jakub Jelinek  <jakub@redhat.com>
3475
 
 
3476
 
        * emultempl/elf32.em (finish): Supply output_bfd
3477
 
        to bfd_elf*_discard_info.
3478
 
        (OPTION_EH_FRAME_HDR): Define.
3479
 
        (longopts): Add --eh-frame-hdr.
3480
 
        (parse_args): Handle it.
3481
 
        (list_options): Add --eh-frame-hdr to help.
3482
 
        * emultempl/hppaelf.em (finish): Supply output_bfd
3483
 
        to bfd_elf*_discard_info.
3484
 
        * scripttempl/elf.sc (.eh_frame_hdr): Add.
3485
 
 
3486
 
2001-12-13  Alan Modra  <amodra@bigpond.net.au>
3487
 
 
3488
 
        * lexsup.c (parse_args): Don't pass shortopts to second call to
3489
 
        getopt functions.  Restore optind rather than decrementing before
3490
 
        second call.  Remove errind as it now duplicates last_optind.
3491
 
 
3492
 
2001-12-11  Christopher Faylor  <cgf@redhat.com>
3493
 
 
3494
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
3495
 
 
3496
 
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
3497
 
            Richard Henderson  <rth@redhat.com>
3498
 
 
3499
 
        * Makefile.am: Add support for xstormy16.
3500
 
        * configure.tgt: Add support for xstormy16.
3501
 
        * Makefile.in: Regenerate.
3502
 
        * emulparams/elf32xstormy16.sh: New file.
3503
 
        * scripttempl/xstormy16.sc: New file.
3504
 
 
3505
 
2001-10-01  Christopher Faylor <cgf@cygnus.com>
3506
 
 
3507
 
        * Makefile.in (LIB_PATH): Make configurable.
3508
 
        (GENSCRIPTS): Set LIB_PATH in environment.
3509
 
        * configure.in: Substitute LIB_PATH.
3510
 
        * configure: Regenerate.
3511
 
        * configure.tgt (*cygwin): Set LIB_PATH for cross build.
3512
 
        * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
3513
 
 
3514
 
2001-12-07  Nick Clifton  <nickc@cambridge.redhat.com>
3515
 
 
3516
 
        * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
3517
 
        describing the -N option so that it is easier to translate into
3518
 
        foreign languages.
3519
 
 
3520
 
2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
3521
 
 
3522
 
        * emultempl/pe.em (..._list_options): Replace multiple fprintf
3523
 
        statements describing a single option with a single, newline
3524
 
        escaped fprintf.  This allows better translation into other
3525
 
        languages.
3526
 
 
3527
 
        * ldmain.c (add_archive_element): Combine multiple strings
3528
 
        into a single string to permit better translation into other
3529
 
        languages.
3530
 
 
3531
 
2001-12-05  Tom Rix  <trix@redhat.com>
3532
 
 
3533
 
        * Makefile.am: Remove eaixppc64.
3534
 
        * Makefile.in: Regenerate.
3535
 
 
3536
 
2001-12-04  Tom Rix  <trix@redhat.com>
3537
 
 
3538
 
        * emultempl/aix.em (choose_target): Change default target to
3539
 
        OUTPUT_FORMAT for ppcmacos.  Add braces to remove compiler
3540
 
        warning.
3541
 
        (gld*_read_file): Fix typo.
3542
 
        (change_symbol_mode): Add prototype.
3543
 
        (is_syscall): Same.
3544
 
 
3545
 
        * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
3546
 
        * emulparams/aixrs6.sh : Same.
3547
 
        * emulparams/ppcmacos.sh : Same.
3548
 
        * emulparams/aixppc64.sh : Delete file.
3549
 
        * emultempl/aix.em : Formatting changes.
3550
 
 
3551
 
2001-12-04  Hans-Peter Nilsson  <hp@axis.com>
3552
 
 
3553
 
        * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
3554
 
        (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
3555
 
        __Sbss.
3556
 
        (OTHER_END_SYMBOLS): Fix formatting.
3557
 
        * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
3558
 
        (OTHER_END_SYMBOLS): Fix formatting.
3559
 
 
3560
 
2001-12-04  Alan Modra  <amodra@bigpond.net.au>
3561
 
 
3562
 
        * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
3563
 
 
3564
 
2001-12-02  Tom Rix  <trix@redhat.com>
3565
 
 
3566
 
        * configure.tgt : Remove eaixppc64 emulations.
3567
 
        * Makefile.in : Remove eaixppc64.c
3568
 
        * ldemul.c (ldemul_choose_target): New parameters argc, argv.
3569
 
        (ldemul_default_target): Same.
3570
 
        * emultempl/gld960.em (gld960_choose_target): Same.
3571
 
        * emultempl/gld960c.em (gld960_choose_target): Same.
3572
 
        * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
3573
 
        * emultempl/aix.em (is_syscall): syscall_mask now a variable.
3574
 
        * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
3575
 
        * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
3576
 
        * emultempl/aix.em (choose_target): New function.  Handle emulation of
3577
 
        -b32 and -b64.
3578
 
 
3579
 
2001-11-27  H.J. Lu <hjl@gnu.org>
3580
 
 
3581
 
        * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
3582
 
        * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
3583
 
        * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
3584
 
        * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
3585
 
        * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
3586
 
        * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
3587
 
        * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
3588
 
        * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
3589
 
 
3590
 
        * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
3591
 
        is not empty.
3592
 
        (SDATA): Likewise.
3593
 
        (REL_SDATA): Likewise.
3594
 
        (REL_SBSS): Likewise.
3595
 
        (REL_SDATA2): Likewise.
3596
 
        (REL_SBSS2): Likewise.
3597
 
        (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
3598
 
        (SDATA2): Likewise.
3599
 
 
3600
 
2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3601
 
 
3602
 
        * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
3603
 
        destructor in rom.
3604
 
        * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
3605
 
 
3606
 
2001-11-22  H.J. Lu  <hjl@gnu.org>
3607
 
 
3608
 
        * Makefile.in: Regenerated with automake based on automake
3609
 
        1.4-8 in RedHat 7.1.
3610
 
 
3611
 
2001-11-22  Alan Modra  <amodra@bigpond.net.au>
3612
 
 
3613
 
        * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
3614
 
        (config.status): Delete rule.
3615
 
        Add extra dependencies to cover sourced emulparams files.
3616
 
        * Makefile.in: Regenerate.
3617
 
 
3618
 
        * scripttempl/elf.sc: Order <section>, <section>.* and
3619
 
        corresponding linkonce sections as seen in input files.
3620
 
        Formatting fixes.  Zero vma of all sections if not relocating.
3621
 
        (STACK): Define and insert if STACK_ADDR defined.
3622
 
        (OTHER_RELOCATING_SECTIONS): Delete.
3623
 
        (OTHER_END_SYMBOLS): Define.
3624
 
        (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
3625
 
        (OTHER_READWRITE_SECTIONS): Likewise.
3626
 
        (OTHER_GOT_SECTIONS): Likewise.
3627
 
        (OTHER_SDATA_SECTIONS): Likewise.
3628
 
        (OTHER_BSS_SECTIONS): Likewise.
3629
 
        * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
3630
 
        (OTHER_READWRITE_SECTIONS): Likewise.
3631
 
        * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
3632
 
        (OTHER_READWRITE_SECTIONS): Likewise.
3633
 
 
3634
 
        * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
3635
 
        (STACK_ADDR): Define.
3636
 
        * emulparams/armelf_oabi.sh: As for armelf.sh.
3637
 
        * emulparams/elf32mcore.sh: As for armelf.sh.
3638
 
        * emulparams/h8300elf.sh: As for armelf.sh.
3639
 
        * emulparams/mn10200.sh: As for armelf.sh.
3640
 
        * emulparams/shelf.sh: As for armelf.sh.
3641
 
 
3642
 
        * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
3643
 
        (OTHER_END_SYMBOLS): Define.
3644
 
        * emulparams/m32relf.sh: As for elf32fr30.sh.
3645
 
        * emulparams/h8300helf.sh: As for elf32fr30.sh.
3646
 
        * emulparams/h8300self.sh: As for elf32fr30.sh.
3647
 
 
3648
 
        * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
3649
 
        defines with RELOCATING test.
3650
 
        (OTHER_SDATA_SECTIONS): Likewise.
3651
 
        (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
3652
 
        (OTHER_END_SYMBOLS): ..this.
3653
 
        * emulparams/crislinux.sh: As for criself.sh.
3654
 
 
3655
 
        * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
3656
 
        if not relocating.
3657
 
        (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
3658
 
        (OTHER_SECTIONS): ..this.  Zero vma if not relocating.  Order
3659
 
        normal and linkonce sections as seen in input files.
3660
 
        * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
3661
 
        (TEXT_DYNAMIC): Likewise.
3662
 
        (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
3663
 
        (OTHER_SDATA_SECTIONS): Likewise.
3664
 
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3665
 
        * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
3666
 
        * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
3667
 
        * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
3668
 
        * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
3669
 
        (OTHER_PLT_RELOC_SECTIONS): Likewise.
3670
 
        (OTHER_READONLY_SECTIONS): Likewise.  Order normal and linkonce
3671
 
        sections as seen in input files.
3672
 
        * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
3673
 
        * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
3674
 
        if not relocating.
3675
 
        (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
3676
 
        (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
3677
 
        * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
3678
 
        (OTHER_SECTIONS): Instead, use this..
3679
 
        (OTHER_END_SYMBOLS): ..and this.
3680
 
 
3681
 
        * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
3682
 
        * emulparams/elf32bsmip.sh: Likewise.
3683
 
        * emulparams/elf32btsmip.sh: Likewise.
3684
 
        * emulparams/elf32ebmip.sh: Likewise.
3685
 
        * emulparams/elf32lmip.sh: Likewise.
3686
 
        * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
3687
 
        * emulparams/elf32lsmip.sh: Likewise.
3688
 
        * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
3689
 
        * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
3690
 
        * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
3691
 
        * emulparams/elf64btsmip.sh: Likewise.
3692
 
        * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
3693
 
        * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
3694
 
        * emulparams/elf32ppclinux.sh: Likewise.
3695
 
        * emulparams/elf32ppcsim.sh: Likewise.
3696
 
        * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
3697
 
        * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
3698
 
        * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
3699
 
        * emulparams/h8300self.sh: Likewise.
3700
 
        * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
3701
 
        * emulparams/sh.sh: Comment.
3702
 
        * emulparams/shl.sh: Source sh.sh, remove duplicates.
3703
 
        * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
3704
 
        * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
3705
 
 
3706
 
2001-11-21  David Heine <dlheine@tensilica.com>
3707
 
            Alan Modra  <amodra@bigpond.net.au>
3708
 
 
3709
 
        * ldlang.c (map_input_to_output_sections): Replace "break"
3710
 
        accidentally removed with 2001-08-03 change.
3711
 
        (lang_gc_sections_1): Likewise.
3712
 
 
3713
 
2001-11-21  Alan Modra  <amodra@bigpond.net.au>
3714
 
 
3715
 
        * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
3716
 
 
3717
 
2001-11-20  Angela Marie Thomas <angela@redhat.com>
3718
 
 
3719
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
3720
 
        of false when calling lang_size_sections.
3721
 
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
3722
 
 
3723
 
2001-11-15  Alan Modra  <amodra@bigpond.net.au>
3724
 
 
3725
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
3726
 
        function when LDEMUL_FINISH isn't set to the same name.  Don't
3727
 
        call ${LDEMUL_FINISH}.
3728
 
        (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
3729
 
        * emultempl/armelf.em (arm_elf_finish): Call
3730
 
        gld${EMULATION_NAME}_finish.
3731
 
        * emultempl/hppaelf.em (hppaelf_finish): Rename to
3732
 
        gld${EMULATION_NAME}_finish.  Call bfd_elf32_discard_info and
3733
 
        hppaelf_layout_sections_again if necessary.
3734
 
        (need_laying_out): New var.
3735
 
        (hppaelf_layaout_sections_again): Rename to
3736
 
        hppaelf_layout_sections_again.  Clear need_laying_out.
3737
 
        (PARSE_AND_LIST_OPTIONS): Format text.
3738
 
 
3739
 
2001-11-14  H.J. Lu  <hjl@gnu.org>
3740
 
 
3741
 
        * emultempl/armelf.em (arm_elf_finish): Renamed from
3742
 
        gld${EMULATION_NAME}_finish.
3743
 
        (LDEMUL_FINISH): Set to arm_elf_finish.
3744
 
 
3745
 
2001-11-14  Daniel Jacobowitz  <drow@mvista.com>
3746
 
 
3747
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
3748
 
        (struct ld_emulation_xfer_struct): Use it.
3749
 
 
3750
 
2001-11-13  Ross Alexander <ross.alexander@uk.neceur.com>
3751
 
 
3752
 
        * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
3753
 
        additional symbols referenced by newer crt0.o files from HP.
3754
 
 
3755
 
2001-11-12  Anthony Green  <green@redhat.com>
3756
 
 
3757
 
        * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
3758
 
 
3759
 
2001-11-12  Alfred M. Szmidt  <ams@kemisten.nu>
3760
 
 
3761
 
        * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
3762
 
        * Makefile.in: Regenerate.
3763
 
 
3764
 
2001-11-02  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
3765
 
 
3766
 
        * ld.texinfo: Use @command for commands, @option for options.
3767
 
        * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
3768
 
        the page man title.
3769
 
        * Makefile.in: Rebuild.
3770
 
 
3771
 
2001-11-04  Chris Demetriou  <cgd@broadcom.com>
3772
 
 
3773
 
        * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
3774
 
        Add support for targets.
3775
 
 
3776
 
2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
3777
 
 
3778
 
        * configure.in (ALL_LINGUAS): Add "fr" and "sv"
3779
 
        * configure: Regernate.
3780
 
        * po/fr.po: New file.
3781
 
        * po/sv.po: New file.
3782
 
 
3783
 
2001-11-01  NIIBE Yutaka  <gniibe@m17n.org>
3784
 
 
3785
 
        * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
3786
 
        as little endian default and to support big endian.
3787
 
 
3788
 
2001-11-01  Chris Demetriou  <cgd@broadcom.com>
3789
 
 
3790
 
        * ld.texinfo (Options): Document new option, -nostdlib.
3791
 
        * lexsup.c (OPTION_NOSTDLIB): New definition.
3792
 
        (ld_options): Add entry for "nostdlib".
3793
 
        (parse_args): Handle OPTIONS_NOSTDLIB.
3794
 
        * ldfile.c (ldfile_add_library_path): Don't add directories
3795
 
        to the search path if they weren't specified on the command line
3796
 
        and -nostdlib was specified.
3797
 
        * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
3798
 
 
3799
 
2001-10-31  Nick Clifton  <nickc@cambridge.redhat.com>
3800
 
 
3801
 
        * lexsup.c (parse_args): Prevent infinite parsing loop when
3802
 
        "-rpath.a" is specified on the command line.
3803
 
        Replace calls to fprintf with calls to einfo.
3804
 
 
3805
 
2001-10-31  John Marshall  <jmarshall@acm.org>
3806
 
 
3807
 
        * ld.texinfo: A historical requirement that MEMORY and SECTIONS
3808
 
        appear only once across all the linker scripts involved in a link
3809
 
        invocation no longer applies.  Make the documentation reflect
3810
 
        that.
3811
 
 
3812
 
2001-10-31  NIIBE Yutaka  <gniibe@m17n.org>
3813
 
 
3814
 
        * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
3815
 
        targets.
3816
 
        (sh-*-linux*): Added targ_extra_libpath.
3817
 
 
3818
 
2001-10-31  David Heine  <dlheine@tensilica.com>
3819
 
 
3820
 
        * ldlang.c (lang_size_sections): Keep a valid output_offset field
3821
 
        for padding statements.
3822
 
 
3823
 
2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
3824
 
 
3825
 
        * configure.tgt (mmix-*-*): New target.
3826
 
        * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
3827
 
        Add dependencies to match.
3828
 
        * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
3829
 
        emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
3830
 
        scripttempl/mmo.sc: New files.
3831
 
        * gen-doc.texi: @set MMIX.
3832
 
        * ld.texinfo: Ditto.
3833
 
        [MMIX] Add MMIX node.
3834
 
        * Makefile.in: Regenerate.
3835
 
 
3836
 
2001-10-29  Kazu Hirata  <kazu@hxi.com>
3837
 
 
3838
 
        * ldlang.c: Fix a comment typo.
3839
 
 
3840
 
2001-10-23  Alan Modra  <amodra@bigpond.net.au>
3841
 
 
3842
 
        * configure.host: Move alpha*-*-linux-gnu* entry to generic
3843
 
        entries, and match *-*-linux*.
3844
 
 
3845
 
2001-10-20  Alan Modra  <amodra@bigpond.net.au>
3846
 
 
3847
 
        * ldgram.y (mri_script_command): Surround processing of INCLUDE
3848
 
        with ldlex_script, ldlex_popstate.
3849
 
        (ifile_p1): Likewise.
3850
 
        * ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
3851
 
        correct slot.
3852
 
        (lex_push_file): Save current lineno to lineno_stack.  Set lineno
3853
 
        to 1.  Don't BEGIN(SCRIPT).
3854
 
        (lex_redirect): Similarly.
3855
 
        * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
3856
 
 
3857
 
2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
3858
 
 
3859
 
        * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
3860
 
        __EH_FRAME_END__ and accept eh frames into data section.
3861
 
        Add ctor and dtor sections.
3862
 
 
3863
 
2001-10-19  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
3864
 
 
3865
 
        * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
3866
 
        (auto-export): Fix indentation.
3867
 
 
3868
 
2001-10-18  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
3869
 
 
3870
 
        * pe-dll.c (autofilter_objectlist): Add startup objects
3871
 
        for profiling.
3872
 
        (auto-export): Constify char * p.
3873
 
        Extract file basename and use strcmp rather than ststr
3874
 
        for object lookup.
3875
 
 
3876
 
2001-10-18  Chris Demetriou  <cgd@broadcom.com>
3877
 
 
3878
 
        * ldmain.c (get_emulation): Improve comment about the handling
3879
 
        of -mipsN options.
3880
 
 
3881
 
2001-10-17  Alan Modra  <amodra@bigpond.net.au>
3882
 
 
3883
 
        * po/POTFILES.in: Regenerate.
3884
 
 
3885
 
2001-10-16  Vassili Karpov  <malc@pulsesoft.com>
3886
 
 
3887
 
        * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
3888
 
        -z nocopyreloc and -z nocombreloc usage strings.
3889
 
 
3890
 
2001-10-12  Vassili Karpov  <malc@pulsesoft.com>
3891
 
 
3892
 
        * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
3893
 
        in usage.
3894
 
 
3895
 
2001-10-11  Aleksey Romanov <aromanov@ennovatenetworks.com>
3896
 
 
3897
 
        * scripttempl/armaout.sc: Place .bss section after end of aligned
3898
 
        data section to match behaviour of aout code in constructrion of
3899
 
        header.
3900
 
 
3901
 
2001-10-11  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
3902
 
 
3903
 
        * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
3904
 
        startup files for mingw32 dlls to list.
3905
 
 
3906
 
2001-10-10  Chris Demetriou  <cgd@broadcom.com>
3907
 
 
3908
 
        * emultempl/elf32.em: Fix shell 'if' usage for portability.
3909
 
 
3910
 
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>
3911
 
 
3912
 
        * configure.tgt (targ): Add arm9e-*-elf.
3913
 
 
3914
 
2001-10-05  H.J. Lu  <hjl@gnu.org>
3915
 
 
3916
 
        * genscripts.sh: Fix a typo in the last change.
3917
 
 
3918
 
2001-10-05  Jakub Jelinek  <jakub@redhat.com>
3919
 
 
3920
 
        * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
3921
 
        -z nocombreloc in usage.
3922
 
 
3923
 
2001-10-03  Jim Blandy  <jimb@redhat.com>
3924
 
 
3925
 
        * genscripts.sh: Include a comment at the top of each generated
3926
 
        script, explaining its purpose.
3927
 
 
3928
 
2001-10-03  Vassili Karpov  <malc@pulsesoft.com>
3929
 
 
3930
 
        * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
3931
 
        * NEWS: Mention -z nocopyreloc.
3932
 
        * ld.texinfo (Options): Describe nocopyreloc.
3933
 
 
3934
 
2001-10-03  Alan Modra  <amodra@bigpond.net.au>
3935
 
 
3936
 
        * configure: Regenerate.
3937
 
 
3938
 
2001-10-02  Alan Modra  <amodra@bigpond.net.au>
3939
 
 
3940
 
        * ldver.h (ld_program_version): Remove declaration.
3941
 
        * lexsup.c (parse_args): Move printing of copyright message..
3942
 
        * ldver.c (ldversion): .. to here.
3943
 
        Use BFD_VERSION_STRING in place of BFD_VERSION.
3944
 
        (ld_program_version): Remove.
3945
 
        * Makefile.am (Makefile): Depend on bfd/configure.in.
3946
 
        Run "make dep-am".
3947
 
        * Makefile.in: Regenerate.
3948
 
 
3949
 
2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
3950
 
 
3951
 
        * Makefile.am: Update dependencies with "make dep-am".
3952
 
        * Makefile.in: Regenerate.
3953
 
 
3954
 
2001-09-29  John Reiser  <jreiser@BitWagon.com>
3955
 
 
3956
 
        * ldlang.c (lang_common): Conditionally inhibit Common allocation.
3957
 
        * lexsup.c: Add --no-define-common commandline option.
3958
 
        * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
3959
 
        * ldlex.l: Likewise.
3960
 
        * ld.h: Add command_line.inhibit_common_definition.
3961
 
        * ldmain.c (main): Initialize.
3962
 
        * ld.texinfo: Document.
3963
 
 
3964
 
2001-09-29  Alan Modra  <amodra@bigpond.net.au>
3965
 
 
3966
 
        * ldlang.c (section_already_linked): Remove assignment to kept_section.
3967
 
 
3968
 
2001-09-26  Alan Modra  <amodra@bigpond.net.au>
3969
 
 
3970
 
        * ldmisc.c (USE_STDARG): Remove.
3971
 
        (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
3972
 
        (einfo): Likewise.
3973
 
        (minfo): Likewise.
3974
 
        (lfinfo): Likewise.
3975
 
 
3976
 
        * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
3977
 
        declarations.  Update copyright.
3978
 
 
3979
 
2001-09-24  Charles Wilson  <cwilson@ece.gatech.edu>
3980
 
 
3981
 
        * pe-dll.c: Remove obsoleted declaration of
3982
 
        pe_get_data_import_dll_name.
3983
 
        (pe_create_import_fixup): Fix thinko.
3984
 
 
3985
 
        * ld.texinfo(enable-auto-import): Clarify the explanation.
3986
 
 
3987
 
2001-09-24  Nick Clifton  <nickc@cambridge.redhat.com>
3988
 
 
3989
 
        * pe-dll.c (pe_create_import_fixup): Revert previous patch.
3990
 
        * emultemp/pe.em (pe_data_import_dll): Move definition outside of
3991
 
        DLL_SUPPORT controlled code.
3992
 
 
3993
 
2001-09-24  Charles Wilson  <cwilson@ece.gatech.edu>
3994
 
 
3995
 
        * emultempl/pe.em(pe_data_import_dll): Make static.
3996
 
        (pe_get_data_import_dll_name): New accessor function.
3997
 
        * pe-dll.c(pe_create_import_fixup): call
3998
 
        pe_get_data_import_dll_name() from pe.em, instead of
3999
 
        directly accessing pe_data_import_dll variable from pe.em.
4000
 
 
4001
 
2001-09-18  Bruno Haible  <haible@clisp.cons.org>
4002
 
 
4003
 
        * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
4004
 
        (def_file_add_directive): Use ISSPACE instead of isspace.
4005
 
        (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
4006
 
        isdigit/isxdigit/isalpha/isalnum.
4007
 
        * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
4008
 
        (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
4009
 
        * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
4010
 
        (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
4011
 
        isalnum.
4012
 
        * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
4013
 
        (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
4014
 
        isupper/tolower.
4015
 
        * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
4016
 
        (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
4017
 
        * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
4018
 
        (ctor_prio): Use ISDIGIT instead of isdigit.
4019
 
        * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
4020
 
        (ldfile_open_file_search): Use ISALPHA instead of isalpha.
4021
 
        (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
4022
 
        isupper/tolower.
4023
 
        * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
4024
 
        (stricpy): Use TOLOWER instead of isupper/tolower.
4025
 
        (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
4026
 
        * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
4027
 
        (lex_warn_invalid): Use ISPRINT instead of isprint.
4028
 
        * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
4029
 
        (main): For gettext, also set the LC_CTYPE locate facet.
4030
 
        (add_keepsyms_file): Use ISSPACE instead of isspace.
4031
 
        * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
4032
 
        (is_num, parse_args): Use ISDIGIT instead of isdigit.
4033
 
        * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
4034
 
        (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
4035
 
        * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
4036
 
        (gldppcmacos_read_file): Use ISSPACE instead of isspace.
4037
 
        * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
4038
 
        (quoteput): Use ISSPACE instead of isspace.
4039
 
        (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
4040
 
        instead of isalnum.
4041
 
 
4042
 
2001-09-18  Alan Modra  <amodra@bigpond.net.au>
4043
 
 
4044
 
        * deffilep.y (def_stash_module): Constify "name" param.
4045
 
 
4046
 
        * pe-dll.c: Replace CONST with const throughout.
4047
 
        (quick_symbol): Constify "n1", "n2", "n3" params.
4048
 
        (make_singleton_name_thunk): Constify "import" param.  Make
4049
 
        "buffer_len" a size_t.
4050
 
        (make_import_fixup_entry): Constify "name", "fixup_name",
4051
 
        "dll_symname" params.
4052
 
        (pe_get16): Cast args of bfd_seek.  Replace bfd_read with bfd_bread.
4053
 
        (pe_get32): Likewise.
4054
 
        (pe_implied_import_dll): Likewise.
4055
 
 
4056
 
        * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
4057
 
        (sort_by_section_name): Likewise.
4058
 
 
4059
 
        * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
4060
 
        (make_import_fixup): Cast printf arg, rel->address to long rather
4061
 
        than int.
4062
 
        (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
4063
 
 
4064
 
2001-09-15  Alan Modra  <amodra@bigpond.net.au>
4065
 
 
4066
 
        * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
4067
 
        defines BufferSize.  Increase buffer size by one.
4068
 
 
4069
 
2001-09-14  Ralf Habacker <Ralf.Habacker@freenet.de>
4070
 
 
4071
 
        * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
4072
 
 
4073
 
2001-09-14  Kevin Lo <kevlo@openbsd.org>
4074
 
 
4075
 
        * configure.tgt: Add arm-openbsd target.
4076
 
 
4077
 
2001-09-12  H.J. Lu  <hjl@gnu.org>
4078
 
 
4079
 
        * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
4080
 
        eelf64lppc.o to ...
4081
 
        (ALL_64_EMULATIONS): Here.
4082
 
        * Makefile.in: Regenerated.
4083
 
 
4084
 
2001-09-12  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
4085
 
 
4086
 
        * emultempl/pe.em(make_import_fixup): change signature to
4087
 
        take asection as well as arelec; we need this for proper
4088
 
        error reporting.  Only call pe_create_import_fixup() if
4089
 
        there is no attempt to add a constant addend to the reloc;
4090
 
        otherwise, report error condition.
4091
 
        * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
4092
 
        since final argument is a pointer to make_import_fixup().
4093
 
        Change call to cb() to match make_import_fixup() signature.
4094
 
        (make_import_fixup_mark): make buffer_len unsigned.
4095
 
        * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
4096
 
 
4097
 
2001-09-12  Charles Wilson  <cwilson@ece.gatech.edu>
4098
 
 
4099
 
        * ld.texinfo: add verbose documentation for auto-import
4100
 
        direct-addressing workaround, to compliment the terse
4101
 
        error message.
4102
 
 
4103
 
2001-09-12  Andrew MacLeod  <amacleod@redhat.com>
4104
 
 
4105
 
        * scripttempl/v850.sc: Add gcc_except_table sections.
4106
 
 
4107
 
2001-09-11  Jeffrey A Law  (law@cygnus.com)
4108
 
 
4109
 
        * emulparams/h8300helf.sh: Move stack to a much higher memory address.
4110
 
        * emulparams/h8300self.sh: Similarly.
4111
 
 
4112
 
2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
4113
 
 
4114
 
        * ld.texinfo (Options, --stack): Correct default value for stack
4115
 
        reserve.
4116
 
 
4117
 
2001-09-05  Tom Rix <trix@redhat.com>
4118
 
 
4119
 
        * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
4120
 
 
4121
 
2001-09-03  Andreas Jaeger  <aj@suse.de>
4122
 
 
4123
 
        * emultempl/beos.em: Declare prototypes for comparions functions,
4124
 
        adjust definitions.
4125
 
 
4126
 
2001-09-02  Andreas Jaeger  <aj@suse.de>
4127
 
 
4128
 
        * emultempl/aix.em: Add missing prototype.
4129
 
        * emultempl/lnk960.em: Likewise.
4130
 
        * emultempl/vanilla.em: Likewise.
4131
 
        * emultempl/armcoff.em: Likewise.
4132
 
        * emultempl/armelf_oabi.em: Likewise.
4133
 
        * emultempl/beos.em: Likewise.
4134
 
        * emultempl/gld960c.em: Likewise.
4135
 
        * emultempl/gld960.em: Likewise.
4136
 
 
4137
 
        * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
4138
 
        for prototype declaration.
4139
 
 
4140
 
2001-08-31  Eric Christopher  <echristo@redhat.com>
4141
 
            Jason Eckhardt  <jle@redhat.com>
4142
 
 
4143
 
        * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
4144
 
 
4145
 
2001-08-31  Andreas Jaeger  <aj@suse.de>
4146
 
 
4147
 
        * emultempl/pe.em: Add missing prototypes.
4148
 
        (gld_${EMULATION_NAME}_after_open): Remove extra args to
4149
 
        pe_find_data_imports.
4150
 
        (pr_sym): Add unused attribute.
4151
 
 
4152
 
2001-08-29  Joel Sherrill <joel@OARcorp.com>
4153
 
 
4154
 
        * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
4155
 
        default from coff to elf.
4156
 
 
4157
 
2001-08-29  Jeff Law <law@redhat.com>
4158
 
 
4159
 
        * emulparams/h8300helf.sh: Resync with h8300elf.sh.  Update
4160
 
        ARCH specification.
4161
 
        * emulparams/h8300self.sh: Similarly.
4162
 
 
4163
 
2001-08-28  J"orn Rennecke <amylaar@redhat.com>
4164
 
 
4165
 
        * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
4166
 
        eh8300self.o .
4167
 
        (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
4168
 
        * configure.tgt (h8300-*-elf*): New case.
4169
 
        * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
4170
 
        * emulparams/h8300self.sh: New file.
4171
 
        * Makefile.in: Regenerated.
4172
 
 
4173
 
2001-08-28  Nick Clifton  <nickc@cambridge.redhat.com>
4174
 
 
4175
 
        * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
4176
 
        with macro name.
4177
 
 
4178
 
2001-08-27  Linus Nordberg  <linus@swox.com>
4179
 
            Alan Modra  <amodra@bigpond.net.au>
4180
 
 
4181
 
        * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
4182
 
        (eelf64ppc.c, eelf64lppc.c): Add make targets.
4183
 
        Run "make dep-am"
4184
 
        * Makefile.in: Regenerate.
4185
 
        * configure.tgt: Add powerpc64 support.  Move pdp11, pjl, pj
4186
 
        entries to correct alphabetical position.
4187
 
        * emulparams/elf64ppc.sh: New.
4188
 
        * emulparams/elf64lppc.sh: New.
4189
 
 
4190
 
2001-08-27  Nick Clifton  <nickc@cambridge.redhat.com>
4191
 
 
4192
 
        * ldmain.c (main): Declare BSIZE as static.
4193
 
 
4194
 
2001-08-23  Jakub Jelinek  <jakub@redhat.com>
4195
 
 
4196
 
        * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
4197
 
        into .rel.dyn resp. .rela.dyn if combreloc.
4198
 
        (get_script): If .x linker script is equal to .xn, only put it
4199
 
        once into the binary.
4200
 
        Add .xc and .xsc scripts.
4201
 
        (parse_args): Handle -z combreloc and -z nocombreloc.
4202
 
        * scripttempl/elf.sc (.rela.sbss): Fix a typo.
4203
 
        For .xc and .xsc scripts put all .rel* or .rela* input sections
4204
 
        but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
4205
 
        * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
4206
 
        is elf.
4207
 
        Strip trailing whitespace from script.
4208
 
        Generate .xc and .xsc scripts if requested.
4209
 
        * ldmain.c (main): Initialize link_info.combreloc and
4210
 
        link_info.spare_dynamic_tags.
4211
 
        * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
4212
 
        (ld_options): Add --spare-dynamic-tags option.
4213
 
        (parse_args): Likewise.
4214
 
        * ld.texinfo: Document -z combreloc and -z nocombreloc.
4215
 
        * ldint.texinfo: Document .xc and .xsc linker scripts.
4216
 
        * NEWS: Add notes about -z combreloc and SHF_MERGE.
4217
 
 
4218
 
2001-08-22  H.J. Lu  <hjl@gnu.org>
4219
 
 
4220
 
        * emulparams/elf32fr30.sh: Add a newline.
4221
 
 
4222
 
2001-08-21  Andreas Jaeger  <aj@suse.de>
4223
 
 
4224
 
        * deffilep.y: Add missing prototypes.
4225
 
        * pe-dll.c: Likewise.
4226
 
 
4227
 
2001-08-20  Alan Modra  <amodra@bigpond.net.au>
4228
 
 
4229
 
        * ldlang.c (insert_pad): Fix typos in last patch.
4230
 
 
4231
 
        * ldlang.c: When traversing lang_statement_union_type lists,
4232
 
        consistently use "header.next" rather than "next".
4233
 
        * mpw-eppcmac.c: Likewise.
4234
 
        * emultempl/beos.em: Likewise.
4235
 
        * emultempl/hppaelf.em: Likewise.
4236
 
        * emultempl/pe.em: Likewise.
4237
 
        * ldlang.h (union lang_statement_union): Remove "next" field.
4238
 
 
4239
 
        * ldlang.c (insert_pad): Use offsetof macro.
4240
 
        (lang_size_sections): Always neuter padding statements.
4241
 
        * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
4242
 
 
4243
 
        * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
4244
 
        passed to lang_size_sections.
4245
 
        (pe_exe_fill_sections): Likewise.
4246
 
        * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
4247
 
        (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
4248
 
 
4249
 
2001-08-18  Alan Modra  <amodra@bigpond.net.au>
4250
 
 
4251
 
        * emultempl/aix.em: Formatting fixes.
4252
 
 
4253
 
2001-08-18  Alan Modra  <amodra@bigpond.net.au>
4254
 
 
4255
 
        * ldlang.c (insert_pad): Make use of an existing pad statement if
4256
 
        available.  Move code calculating alignment, adjusting section
4257
 
        alignment power, and adjusting dot to ..
4258
 
        (size_input_section): .. here.  Remove unused relax param.
4259
 
        (lang_size_sections): Change boolean `relax' param to boolean *.
4260
 
        Adjust call to size_input_section.  Make use of insert_pad to
4261
 
        place pad after the assignment statement.  If relaxing, zap
4262
 
        padding statements.
4263
 
        (reset_memory_regions): Reset output_bfd section sizes too.
4264
 
        (relax_again): Move to..
4265
 
        (lang_process): ..here.  Adjust call to lang_size_sections, and
4266
 
        remove duplicated code.
4267
 
        * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
4268
 
 
4269
 
2001-08-17  Alan Modra  <amodra@bigpond.net.au>
4270
 
 
4271
 
        * ld.texinfo: Document that fill values now use the four least
4272
 
        significant bytes.
4273
 
        * emulparams/elf32fr30.sh (NOP): Update.
4274
 
        * emulparams/elf32mcore.sh: Likewise.
4275
 
        * emulparams/elf64_s390.sh: Likewise.
4276
 
        * emulparams/elf_i386.sh: Likewise.
4277
 
        * emulparams/elf_i386_be.sh: Likewise.
4278
 
        * emulparams/elf_i386_chaos.sh: Likewise.
4279
 
        * emulparams/elf_i386_ldso.sh: Likewise.
4280
 
        * emulparams/elf_s390.sh: Likewise.
4281
 
        * emulparams/elf_x86_64.sh: Likewise.
4282
 
        * emulparams/i386moss.sh: Likewise.
4283
 
        * emulparams/i386nw.sh: Likewise.
4284
 
        * emulparams/m68kelf.sh: Likewise.
4285
 
        * scripttempl/elf.sc: Update NOP comment.
4286
 
        * scripttempl/elfi370.sc: Likewise.
4287
 
        * scripttempl/elfm68hc11.sc: Likewise.
4288
 
        * scripttempl/elfm68hc12.sc: Likewise.
4289
 
        * scripttempl/nw.sc: Likewise.
4290
 
 
4291
 
2001-08-15  Tom Rix <trix@redhat.com>
4292
 
 
4293
 
        * ldgram.y (saved_script_handle): Initialize to NULL.
4294
 
        * ldmain.c (main): Change check on saved_script_handle.
4295
 
 
4296
 
2001-08-14  Alan Modra  <amodra@bigpond.net.au>
4297
 
 
4298
 
        * emultempl/elf32.em: Formatting fixes.
4299
 
        (output_prev_sec_find): Test for bfd_ind_section too;  do so by
4300
 
        looking at sec->owner.
4301
 
        (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
4302
 
        (gld${EMULATION_NAME}_place_orphan): Add a few comments.  Remove
4303
 
        unused code, and reorganize orphan section placement code.
4304
 
 
4305
 
        * ldlang.c (wild_doit): Rename to lang_add_section.
4306
 
        * ldlang.h: Here too.
4307
 
        * mpw-elfmips.c: And here.
4308
 
        * emultempl/beos.em: And here.
4309
 
        * emultempl/elf32.em: And here.
4310
 
        * emultempl/hppaelf.em: And here.
4311
 
        * emultempl/pe.em: And here.
4312
 
 
4313
 
2001-08-13  Richard Henderson  <rth@redhat.com>
4314
 
 
4315
 
        * emultempl/needrelax.em: New file.
4316
 
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
4317
 
        * Makefile.am (eelf64_ia64.c): Depend on it.
4318
 
        * Makefile.in: Rebuild.
4319
 
 
4320
 
2001-08-13  Alan Modra  <amodra@bigpond.net.au>
4321
 
 
4322
 
        * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
4323
 
        output_section is set non-NULL.
4324
 
 
4325
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
4326
 
        `true' for SEC_EXCLUDE sections so that the generic code doesn't
4327
 
        needlessly create an output_section_statement.  Treat a correctly
4328
 
        named output_section_statement with NULL bfd_section as compatible.
4329
 
 
4330
 
2001-08-13  Hans-Peter Nilsson  <hp@bitrange.com>
4331
 
 
4332
 
        * emultempl/generic.em: Support EXTRA_EM_FILE.
4333
 
        (ld_${EMULATION_NAME}_emulation): Support emulation parameters
4334
 
        LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4335
 
        LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4336
 
        LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4337
 
        LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4338
 
        LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4339
 
        LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4340
 
        LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4341
 
        LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4342
 
        LDEMUL_FIND_POTENTIAL_LIBRARIES.
4343
 
 
4344
 
2001-08-12  Richard Henderson  <rth@redhat.com>
4345
 
 
4346
 
        * scripttempl/elf.sc, scripttempl/elfd30v.sc,
4347
 
        scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
4348
 
        scripttempl/v850.sc: Keep .jcr data.
4349
 
 
4350
 
2001-08-12  H.J. Lu  <hjl@gnu.org>
4351
 
            Andrew Haley  <aph@cambridge.redhat.com>
4352
 
            Nick Clifton  <nickc@redhat.com>
4353
 
 
4354
 
        * ldgram.y (had_script): Change name to saved_script_handle.
4355
 
        Change type to file handle.
4356
 
        * ld.h (had_script): Rename and retype.
4357
 
        * ldfile.c (ldfile_open_command_file): Save the file handle
4358
 
        used in saved_script_handle.
4359
 
        * lexsup.c (parse_args): Do not allow -c option to alter
4360
 
        saved_script_handle.
4361
 
        * ldmain.c (main): Print out the linker script used if
4362
 
        --verbose is given.  Check saved_script_handle to obtain the
4363
 
        external linker script used, or if NULL, dump the builtin
4364
 
        script.
4365
 
        * ld.texinfo: Document that --verbose now dumps the linker
4366
 
        script used, regardless of whether it was an internal or an
4367
 
        external script.
4368
 
 
4369
 
2001-08-10  Andreas Jaeger  <aj@suse.de>
4370
 
 
4371
 
        * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
4372
 
        to build warnings.
4373
 
        * configure: Regenerate.
4374
 
 
4375
 
2001-08-09  Alan Modra  <amodra@bigpond.net.au>
4376
 
 
4377
 
        * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
4378
 
 
4379
 
        * scripttempl/elf.sc: Move non-text .dynamic section before
4380
 
        .plt/.got/.sdata* group.
4381
 
        (OTHER_GOT_SECTIONS): Move to immediately after .got.
4382
 
        (OTHER_SDATA_SECTIONS): Add.
4383
 
        * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
4384
 
        OTHER_GOT_SECTIONS.
4385
 
        * emulparams/crislinux.sh: Likewise.
4386
 
        * emulparams/elf32b4300.sh: Likewise.
4387
 
        * emulparams/elf32bmip.sh: Likewise.
4388
 
        * emulparams/elf32bmipn32.sh: Likewise.
4389
 
        * emulparams/elf32bsmip.sh: Likewise.
4390
 
        * emulparams/elf32btsmip.sh: Likewise.
4391
 
        * emulparams/elf32ebmip.sh: Likewise.
4392
 
        * emulparams/elf32elmip.sh: Likewise.
4393
 
        * emulparams/elf32l4300.sh: Likewise.
4394
 
        * emulparams/elf32lmip.sh: Likewise.
4395
 
        * emulparams/elf32lsmip.sh: Likewise.
4396
 
        * emulparams/elf32ltsmip.sh: Likewise.
4397
 
        * emulparams/elf64bmip.sh: Likewise.
4398
 
        * emulparams/elf64btsmip.sh: Likewise.
4399
 
        * emulparams/elf64ltsmip.sh: Likewise.
4400
 
 
4401
 
2001-08-08  Alan Modra  <amodra@bigpond.net.au>
4402
 
 
4403
 
        * genscripts.sh: Source the emulparams script before each output
4404
 
        script is generated so that variables like `RELOCATING' may affect
4405
 
        variables defined in the emulparams script.
4406
 
 
4407
 
2001-08-04  Alan Modra  <amodra@bigpond.net.au>
4408
 
 
4409
 
        * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
4410
 
        order.
4411
 
 
4412
 
        * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
4413
 
        ie. iterate over wild_statement.section_list.
4414
 
        (gld${EMULATION_NAME}_place_orphan): Likewise.
4415
 
 
4416
 
2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4417
 
 
4418
 
        * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
4419
 
        .fini[0-4] sections used by _exit
4420
 
        (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
4421
 
        (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
4422
 
        * scripttempl/elfm68hc11.sc: Likewise.
4423
 
 
4424
 
2001-08-03  H.J. Lu  <hjl@gnu.org>
4425
 
 
4426
 
        * emultempl/beos.em (init): Add the missing initialization.
4427
 
 
4428
 
2001-08-03  Alan Modra  <amodra@bigpond.net.au>
4429
 
 
4430
 
        * ld.texinfo (Input Section Basics): Clarify ordering of output
4431
 
        sections.
4432
 
        * ldlang.c (callback_t): Add wildcard_list param.
4433
 
        (walk_wild_section): Remove "section" param.  Rewrite for
4434
 
        lang_wild_statement_type change.  Remove unique_section_p test.
4435
 
        (walk_wild_file): Remove "section" param.
4436
 
        (walk_wild): Remove "section" and "file" params.
4437
 
        (lang_gc_wild): Likewise.
4438
 
        (wild): Likewise.  Modify for lang_wild_statement_type change.
4439
 
        (wild_sort): Likewise.  Add "sec" param.
4440
 
        (gc_section_callback): Likewise.
4441
 
        (output_section_callback): Likewise.  Do unique_section_p test.
4442
 
        (map_input_to_output_sections): Modify call to wild.
4443
 
        (lang_gc_sections_1): Likewise.
4444
 
        (print_wild_statement): Modify for lang_wild_statement_type
4445
 
        change.
4446
 
        (lang_add_wild): Replace filename, filenames_sorted param with
4447
 
        filespec.  Replace section_name, sections_sorted,
4448
 
        exclude_filename_list with section_list.
4449
 
        * ldlang.h (lang_add_wild): Here too.
4450
 
        (lang_wild_statement_type): Replace section_name, sections_sorted,
4451
 
        and exclude_filename_list with section_list.
4452
 
        * ldgram.y (current_file): Delete.
4453
 
        (%union): Add wildcard_list.
4454
 
        (file_NAME_list): Set type to wildcard_list.  Build a linked list
4455
 
        rather than calling lang_add_wild for each entry.
4456
 
        (input_section_spec_no_keep): Call lang_add_wild here instead.
4457
 
        * ld.h (struct wildcard_list): Declare.
4458
 
        * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
4459
 
 
4460
 
2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
4461
 
 
4462
 
        * ldmain.c (main): initialize link_info.pei386_auto_import
4463
 
        * pe-dll.c: new tables for auto-export filtering
4464
 
        (auto_export): change API, pass abfd for contextual filtering.
4465
 
        Loop thru tables of excluded symbols instead of comparing
4466
 
        "by hand".
4467
 
 
4468
 
2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
4469
 
 
4470
 
        * pe-dll.c: new variable pe_dll_enable_extra_debug. New
4471
 
        static variable current_sec (static struct sec *). Add
4472
 
        forward declaration for add_bfd_to_link.
4473
 
        (process_def_file): Don't export undefined symbols. Do not
4474
 
        export symbols starting with  "_imp__".  Call auto_export()
4475
 
        with new API.
4476
 
        (pe_walk_relocs_of_symbol): New function.
4477
 
        (generate_reloc): add optional extra debugging
4478
 
        (pe_dll_generate_def_file): eliminate extraneous initial blank
4479
 
        line in output
4480
 
        (make_one): enlarge symtab to make room for __nm__ symbols
4481
 
        (DATA auto-import support).
4482
 
        (make_singleton_name_thunk): New function.
4483
 
        (make_import_fixup_mark): New function.
4484
 
        (make_import_fixup_entry): New function.
4485
 
        (pe_create_import_fixup): New function.
4486
 
        (add_bfd_to_link): Specify that 'name' argument is a CONST
4487
 
        char *.
4488
 
        * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
4489
 
        declare new functions pe_walk_relocs_of_symbol and
4490
 
        pe_create_import_fixup.
4491
 
        * emultempl/pe.em: add new options --enable-auto-import,
4492
 
        --disable-auto-import, and --enable-extra-pe-debug.
4493
 
        (make_import_fixup): New function.
4494
 
        (pe_find_data_imports): New function.
4495
 
        (pr_sym): New function.
4496
 
        (gld_${EMULATION_NAME}_after_open): Add optional extra pe
4497
 
        debugging. Call pe_find_data_imports.  Mark .idata as DATA, not
4498
 
        CODE.
4499
 
 
4500
 
2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
4501
 
 
4502
 
        * ld.texinfo: add additional documentation for
4503
 
        --export-all-symbols.  Document --out-implib,
4504
 
        --enable-auto-image-base, --disable-auto-image-base,
4505
 
        --dll-search-prefix, --enable-auto-import, and
4506
 
        --disable-auto-import.
4507
 
        * ldint.texinfo: Add detailed documentation on auto-import
4508
 
        implementation.
4509
 
 
4510
 
2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
4511
 
 
4512
 
        * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
4513
 
        example.
4514
 
 
4515
 
2001-07-24  Alan Modra  <amodra@bigpond.net.au>
4516
 
 
4517
 
        * Makefile.am: Update dependencies with "make dep-am".
4518
 
        * Makefile.in: Regenerate
4519
 
 
4520
 
2001-07-23  Alan Modra  <amodra@bigpond.net.au>
4521
 
 
4522
 
        * ldcref.c (check_section_sym_xref): New function.
4523
 
        (check_nocrossrefs): Call it.
4524
 
        (check_nocrossref): Interate over h->refs here instead of..
4525
 
        (check_refs): ..here.  Pass in the symbol name, section, and bfd
4526
 
        rather than hash_entry pointers.
4527
 
        (struct check_refs_info): Keep symbol name rather than hash entry.
4528
 
        Remove "same".
4529
 
        (check_reloc_refs): Tweak for above changes in check_refs_info.
4530
 
        Only report references to section syms when symname is NULL to
4531
 
        prevent duplicate messages for the same reloc.
4532
 
 
4533
 
2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
4534
 
 
4535
 
        * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
4536
 
        available.  Do not print NULL trees.
4537
 
        (exp_print_token): Print unknown tokens with values > 126 as
4538
 
        decimal values not ASCII characters.
4539
 
 
4540
 
        * ldlang.c (lang_leave_overlay): If a region is specified assign
4541
 
        it to all sections inside the overlay unless they have been
4542
 
        assigned to the own, non-default, memory region.
4543
 
 
4544
 
        * README: Add header for consistency with other README files.
4545
 
 
4546
 
2001-07-14  H.J. Lu  <hjl@gnu.org>
4547
 
 
4548
 
        * emultempl/elf32.em (output_prev_sec_find): Never return
4549
 
        bfd_abs_section_ptr, bfd_com_section_ptr nor
4550
 
        bfd_und_section_ptr.
4551
 
 
4552
 
2001-07-14  Nick Clifton  <nickc@cambridge.redhat.com>
4553
 
 
4554
 
        * Makefile.am (em32relf.c): Change dependency from generic.em to
4555
 
        elf32.em.
4556
 
        * Makefile.in: Regenerate.
4557
 
 
4558
 
2001-07-14  matthew green  <mrg@eterna.com.au>
4559
 
 
4560
 
        * configure.tgt (i386-*-netbsdelf*): New target.
4561
 
        (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
4562
 
 
4563
 
2001-07-13  Jakub Jelinek  <jakub@redhat.com>
4564
 
 
4565
 
        * emultempl/elf32.em (output_prev_sec_find): New.
4566
 
        (place_orphan): Use it.
4567
 
 
4568
 
2001-07-11  H.J. Lu  <hjl@gnu.org>
4569
 
 
4570
 
        * ldmain.c (main): Fix typos in the last change.
4571
 
 
4572
 
2001-07-11  Jakub Jelinek  <jakub@redhat.com>
4573
 
 
4574
 
        * ldmain.c (main): Disallow -F and -f without -shared.
4575
 
 
4576
 
2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
4577
 
 
4578
 
        * emultempl/pe.em (after_open): Check for the output_bfd not
4579
 
        having any coff_data structure allocated to it.
4580
 
 
4581
 
2001-07-09  David O'Brien  <obrien@FreeBSD.org>
4582
 
 
4583
 
        * emultempl/elf32.em: Do not assuming that contents of the buffer
4584
 
        returned from basename function will remain unchanged accross other
4585
 
        function calls.
4586
 
 
4587
 
2001-07-03  H.J. Lu  <hjl@gnu.org>
4588
 
 
4589
 
        * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
4590
 
        2001-07-03. It creates dynamic entries even for static binaries.
4591
 
 
4592
 
2001-07-03  Jakub Jelinek  <jakub@redhat.com>
4593
 
 
4594
 
        * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
4595
 
        (DYNAMIC): Use it to reserve few dynamic entries for
4596
 
        post-linking tools.
4597
 
 
4598
 
2001-06-27  Alan Modra  <amodra@bigpond.net.au>
4599
 
 
4600
 
        * emulparams/hppa64linux.sh: New file.
4601
 
        * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
4602
 
        * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
4603
 
        (ehppa64linux.c): Add rule to make it.
4604
 
        Run "make dep-am".
4605
 
        * Makefile.in: Regenerate.
4606
 
 
4607
 
2001-06-21  Hans-Peter Nilsson  <hp@axis.com>
4608
 
 
4609
 
        * ld.texinfo (Options, -r): Mention restrictions when using
4610
 
        different object formats.
4611
 
 
4612
 
2001-06-19  Hans-Peter Nilsson  <hp@axis.com>
4613
 
 
4614
 
        * ldlang.c (lang_check): Emit fatal error if relocatable link
4615
 
        between different object flavours with relocations in input.
4616
 
 
4617
 
2001-06-19  H.J. Lu  <hjl@gnu.org>
4618
 
 
4619
 
        * ld.texinfo (-E, --export-dynamic): Mention --version-script.
4620
 
        (--version-script): Mention the language support.
4621
 
 
4622
 
2001-06-19  H.J. Lu <hjl@gnu.org>
4623
 
 
4624
 
        * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
4625
 
 
4626
 
2001-06-18  H.J. Lu <hjl@gnu.org>
4627
 
 
4628
 
        * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
4629
 
        (diststuff): Add $(MANS).
4630
 
        * Makefile.in: Regenerated.
4631
 
 
4632
 
        * ld.1: Removed.
4633
 
 
4634
 
2001-06-18  Hans-Peter Nilsson  <hp@axis.com>
4635
 
 
4636
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
4637
 
        Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
4638
 
        * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
4639
 
        * ld.h (args_type): Remove member export_dynamic.  All users
4640
 
        changed to use struct bfd_link_info member.
4641
 
 
4642
 
        * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
4643
 
        $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
4644
 
        * Makefile.in: Regenerate.
4645
 
 
4646
 
2001-06-18  H.J. Lu  <hjl@gnu.org>
4647
 
 
4648
 
        * ldlang.c (init_os): Add the newline to the einfo call.
4649
 
        (lang_check): Likewise.
4650
 
        (lang_do_version_exports_section): Likewise.
4651
 
 
4652
 
2001-06-15  H.J. Lu  <hjl@gnu.org>
4653
 
 
4654
 
        * lexsup.c (parse_args); Save optind to report unrecognized
4655
 
        option.
4656
 
 
4657
 
2001-06-15  Hans-Peter Nilsson  <hp@axis.com>
4658
 
 
4659
 
        * ldlang.c (lang_check): Emit fatal error if relocatable link
4660
 
        between different object flavours.
4661
 
 
4662
 
        * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
4663
 
        Set new link_info member export_dynamic.
4664
 
        * ldmain.c (main): Initialize new link_info member export_dynamic.
4665
 
 
4666
 
2001-06-12  Nick Clifton  <nickc@cambridge.redhat.com>
4667
 
 
4668
 
        * ldlang.c (walk_wild): Only call walk_wild_file if
4669
 
        lookup_name returns something.
4670
 
        (lookup_name): If load_symbols fails, return NULL.
4671
 
        (load_symbols): Change to a boolean function.
4672
 
        (open_input_bfds): If load_symbols fails then do not make the
4673
 
        executable.
4674
 
 
4675
 
2001-06-08  Alan Modra  <amodra@bigpond.net.au>
4676
 
 
4677
 
        * ldlang.c (record_bfd_errors): Remove.
4678
 
 
4679
 
        * emultempl/aix.em: Fix copyright dates.
4680
 
 
4681
 
2001-06-07  Andreas Jaeger  <aj@suse.de>
4682
 
 
4683
 
        * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
4684
 
        (TEXT_START_ADDR): Likewise.
4685
 
 
4686
 
2001-06-06  Martin Schwidefsky <schwidefsky@de.ibm.com>
4687
 
 
4688
 
        * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
4689
 
 
4690
 
2001-06-05  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
4691
 
 
4692
 
        * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
4693
 
 
4694
 
2001-05-31  H.J. Lu  <hjl@gnu.org>
4695
 
 
4696
 
        * ldlang.c (open_input_bfds): Don't change the bfd error
4697
 
        handler whilst loading symbols.
4698
 
 
4699
 
2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
4700
 
 
4701
 
        * configure.tgt: Remove i370-mvs architecture, it is not currently
4702
 
        supported.
4703
 
 
4704
 
2001-05-25  H.J. Lu  <hjl@gnu.org>
4705
 
 
4706
 
        * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4707
 
        like emulparams/aixppc.sh.
4708
 
 
4709
 
2001-05-25  H.J. Lu  <hjl@gnu.org>
4710
 
 
4711
 
        * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
4712
 
        setting of output_filename after bfd_scan_arch.
4713
 
        * emultempl/pe.em: Likewise.
4714
 
 
4715
 
2001-05-25  H.J. Lu  <hjl@gnu.org>
4716
 
 
4717
 
        * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4718
 
        like emulparams/aixppc.sh.
4719
 
 
4720
 
        * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
4721
 
        instead of ${srcdir}/emultempl/stringify.sed.
4722
 
 
4723
 
2001-05-25  Timothy Wall  <twall@oculustech.com>
4724
 
 
4725
 
        * emulparams/elf64_aix.sh: Change settings to match IBM linker
4726
 
        output.
4727
 
 
4728
 
2001-05-25  Alan Modra  <amodra@one.net.au>
4729
 
 
4730
 
        * configure.host: Replace linuxoldld with linux*oldld.
4731
 
        * configure.tgt: Likewise.
4732
 
 
4733
 
2001-05-24  H.J. Lu  <hjl@gnu.org>
4734
 
 
4735
 
        * emultempl/stringify.sed: Removed again.
4736
 
 
4737
 
2001-05-24  H.J. Lu  <hjl@gnu.org>
4738
 
 
4739
 
        * emultempl/aix.em (OUTPUT_ARCH): Defined.
4740
 
        (gld${EMULATION_NAME}_before_parse): Initialize
4741
 
        ldfile_output_architecture, ldfile_output_machine and
4742
 
        ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
4743
 
        * emultempl/beos.em: Likewise.
4744
 
        * emultempl/elf32.em: Likewise.
4745
 
        * emultempl/linux.em: Likewise.
4746
 
        * emultempl/mipsecoff.em: Likewise.
4747
 
        * emultempl/pe.em: Likewise.
4748
 
        * emultempl/sunos.em: Likewise.
4749
 
 
4750
 
2001-05-24 Tom Rix <trix@redhat.com>
4751
 
 
4752
 
        * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
4753
 
        udate import file format.
4754
 
        (change_symbol_mode) New, same
4755
 
        (is_syscall) New, same
4756
 
        * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
4757
 
        * emulparams/aixppc64.sh : same
4758
 
        * emulparams/aixrs6.sh : same
4759
 
        * emulparams/ppcmacos.sh : same
4760
 
        * emultempl/aix.em : use strtoull to parse options
4761
 
        * Makefile.am : add eaixppc64 emulation for xcoff64
4762
 
        * Makefile.in : same
4763
 
        * configure.tgt : same
4764
 
 
4765
 
        * scripttempl/aix.sc : default text section offset to 0x10000000
4766
 
        default data section offset to 0x20000000
4767
 
        add .sv3264 and .sv64 pseudo sections
4768
 
        loader and debug sections use the currect section offset.
4769
 
 
4770
 
        * emultempl/aix.em : Add xcoff64 support
4771
 
        Add -binitfini support
4772
 
        (gld${EMULATION_NAME}_before_parse) -binitfini
4773
 
        (gld${EMULATION_NAME}_parse_args) same
4774
 
        (gld${EMULATION_NAME}_before_allocation) format change for special
4775
 
        sections
4776
 
 
4777
 
        * emulparams/aixppc64.sh : New file for xcoff64 support
4778
 
 
4779
 
2001-05-23  Alexandre Oliva  <aoliva@redhat.com>
4780
 
 
4781
 
        * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
4782
 
        variable to avoid non-portable shell construct.
4783
 
 
4784
 
2001-05-23  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4785
 
 
4786
 
        * ldmain.c (get_emulation): Add -mips5 command line argument.
4787
 
 
4788
 
2001-05-22  Alexandre Oliva  <aoliva@redhat.com>
4789
 
 
4790
 
        * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
4791
 
        (ELF_INTERPRETER_NAME): Define it.
4792
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
4793
 
        it.
4794
 
        * configure.tgt (targ_emul, targ_extra_emuls)
4795
 
        [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
4796
 
        as primary, elf_i386 as extra.
4797
 
        * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
4798
 
        (eelf_i386_ldso.c): New rule.
4799
 
        * Makefile.in: Rebuilt.
4800
 
 
4801
 
2001-05-22  Nick Clifton  <nickc@redhat.com>
4802
 
 
4803
 
        * lexsup.c (ld_options): Allow -I to be an alias for
4804
 
        --dynamic-linker.  This is for Solaris compatability.
4805
 
        * ld.texinfo: Document that -I can be used.
4806
 
        * ld.1: Regenerate.
4807
 
 
4808
 
2001-05-16  Alan Modra  <amodra@one.net.au>
4809
 
 
4810
 
        * ldlang.c (wild_doit): Use linker_has_input to reliably determine
4811
 
        whether an input section is the first one assigned to an output
4812
 
        section.
4813
 
        Assorted formatting fixes.
4814
 
 
4815
 
2001-05-14  DJ Delorie  <dj@delorie.com>
4816
 
 
4817
 
        * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
4818
 
        * Makefile.in: Ditto.
4819
 
 
4820
 
2001-05-11  Jakub Jelinek  <jakub@redhat.com>
4821
 
 
4822
 
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
4823
 
        .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
4824
 
        output sections.
4825
 
        * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
4826
 
 
4827
 
2001-05-11  Jakub Jelinek  <jakub@redhat.com>
4828
 
 
4829
 
        * ldlang.c (lang_process): Call bfd_merge_sections.
4830
 
 
4831
 
2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4832
 
 
4833
 
        * ldgram.y: Fix typo.
4834
 
 
4835
 
2001-05-03  H.J. Lu  <hjl@gnu.org>
4836
 
 
4837
 
        * emultempl/elf32.em: Include "libiberty.h".
4838
 
        (gld${EMULATION_NAME}_vercheck): Call basename () to get the
4839
 
        basename of the bfd filename.
4840
 
        (gld${EMULATION_NAME}_stat_needed): Likewise.
4841
 
        (gld${EMULATION_NAME}_try_needed): Likewise.
4842
 
        (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
4843
 
 
4844
 
2001-05-02  H.J. Lu  <hjl@gnu.org>
4845
 
 
4846
 
        * emultempl/pe.em: Include <ctype.h>.
4847
 
 
4848
 
2001-05-02  Johan Rydberg  <jrydberg@opencores.org>
4849
 
 
4850
 
        * emulparams/elf32openrisc.sh: New file.
4851
 
 
4852
 
        * Makefile.am: Add OpenRISC target.
4853
 
        * Makefile.in: Regenerated.
4854
 
 
4855
 
        * configure.tgt: Add openrisc-*-* mapping.
4856
 
 
4857
 
2001-05-02  Nick Clifton  <nickc@redhat.com>
4858
 
 
4859
 
        * emultempl/aix.em: Replace buystring with xstrdup.
4860
 
        * emultempl/beos.em: Replace buystring with xstrdup.
4861
 
 
4862
 
2001-05-02  H.J. Lu  <hjl@gnu.org>
4863
 
 
4864
 
        * ldfile.c: Include "libiberty.h".
4865
 
        * ldlex.l: Likewise.
4866
 
 
4867
 
        * ldmisc.c (buystring): Removed.
4868
 
        * ldmisc.h: Likewise.
4869
 
 
4870
 
        * ldfile.c: Replace buystring with xstrdup.
4871
 
        * ldlang.c: Likewise.
4872
 
        * ldlex.l: Likewise.
4873
 
        * ldmain.c: Likewise.
4874
 
        * ldmisc.c: Likewise.
4875
 
        * lexsup.c: Likewise.
4876
 
        * mpw-eppcmac.c: Likewise.
4877
 
 
4878
 
2001-04-30  Andreas Jaeger  <aj@suse.de>
4879
 
 
4880
 
        * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
4881
 
 
4882
 
2001-04-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
4883
 
 
4884
 
        * ldlang.c (load_symbols): Give emulation a chance
4885
 
        to process unrecognized file before fatal error is
4886
 
        reported, not after.
4887
 
 
4888
 
2001-04-27  Sean McNeil <sean@mcneil.com>
4889
 
 
4890
 
        * configure.tgt: Add arm-vxworks target.
4891
 
        * scripttempl/armcoff.sc: Support .text or .data as a section name
4892
 
        prefix.
4893
 
        Define _etext.
4894
 
 
4895
 
2001-04-13  J.T. Conklin  <jtc@redback.com>
4896
 
 
4897
 
        * ld.texinfo: Document --fatal-warnings.
4898
 
        * ld.1: Regenerate.
4899
 
 
4900
 
        * ldmisc.c (vfinfo): Set flag to inhibit making executable if
4901
 
        warnings have been turned into errors.
4902
 
        * lexsup.c (OPTION_WARN_FATAL): Define.
4903
 
        (ld_options): Entry for --fatal-warnings.
4904
 
        (parse_args): Handle OPTION_WARN_FATAL.
4905
 
        * ld.h (ld_config_type): Add fatal_warnings field.
4906
 
 
4907
 
2001-04-13  Jakub Jelinek  <jakub@redhat.com>
4908
 
 
4909
 
        * ldmain.c (main): Default to discard_sec_merge.
4910
 
        * lexsup.c (OPTION_DISCARD_NONE): Define.
4911
 
        (ld_options): Add --discard-none.
4912
 
        (parse_args): Handle OPTION_DISCARD_NONE.
4913
 
        * ldlang.c (wild_doit): SEC_MERGE should be set in the output
4914
 
        section only if SEC_MERGE and SEC_STRINGS flags and entsize of
4915
 
        all its input sections match.
4916
 
 
4917
 
2001-04-05  Steven J. Hill  <sjhill@cotw.com>
4918
 
 
4919
 
        * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
4920
 
        (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
4921
 
        (eelf32ltsmip.c): New target.
4922
 
        (eelf64btsmip.c): Likewise.
4923
 
        (eelf64ltsmip.c): Likewise.
4924
 
        * Makefile.in: Regenerated.
4925
 
 
4926
 
        * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
4927
 
        target.
4928
 
        (mips*-*-linux-gnu*): Likewise.
4929
 
 
4930
 
        * emulparams/elf32ltsmip.sh: New. Traditional little endian
4931
 
        MIPS taget.
4932
 
        * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
4933
 
        target.
4934
 
        * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
4935
 
        endian target.
4936
 
 
4937
 
2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
4938
 
 
4939
 
        * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
4940
 
        correct value of __Stext here.
4941
 
        (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
4942
 
        .startup section.
4943
 
 
4944
 
        * emulparams/crislinux.sh: Remove FIXME.
4945
 
 
4946
 
2001-04-02  Alan Modra  <alan@linuxcare.com.au>
4947
 
 
4948
 
        * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
4949
 
        (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
4950
 
 
4951
 
2001-03-27  Hans-Peter Nilsson  <hp@axis.com>
4952
 
 
4953
 
        * configure.tgt (cris-*-*): Change default emulation to criself.
4954
 
        (cris-*-*aout*): New rule.
4955
 
 
4956
 
2001-03-27  Matthew Wilcox  <willy@ldl.fc.hp.com>
4957
 
 
4958
 
        * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
4959
 
        (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
4960
 
 
4961
 
2001-03-26  Andreas Jaeger  <aj@suse.de>
4962
 
 
4963
 
        * ld.texinfo (Overview): Fix syntax in texi code.
4964
 
 
4965
 
2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
4966
 
 
4967
 
        * ld.texinfo: Put @c man indications to generate the ld man page.
4968
 
        When generating man, define all the variables.  Define SEEALSO
4969
 
        and SYNOPSIS.  Re-organize some lines to avoid the cross references.
4970
 
        * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
4971
 
        (ld.1): Generate from ld.texinfo.
4972
 
        * Makefile.in: Regenerate.
4973
 
 
4974
 
2001-03-23  Mark Elbrecht <snowball3@bigfoot.com>
4975
 
 
4976
 
        * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
4977
 
        and '-fdata-sections'. Set the VMA of STABS sections to zero.
4978
 
 
4979
 
2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4980
 
 
4981
 
        * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
4982
 
        is an absolute path look only for this file and not along the path.
4983
 
 
4984
 
2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4985
 
 
4986
 
        * emultempl/elf32.em (OPTION_GROUP): New macro.
4987
 
        Add new option Bgroup to longopts.
4988
 
        (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
4989
 
        (gld*_list_options): Add -Bgroup and -z defs.
4990
 
        * ld.1: Document -Bgroup and -z defs.
4991
 
        * ld.texinfo: Likewise.
4992
 
 
4993
 
2001-03-07  Michael Meissner  <meissner@redhat.com>
4994
 
 
4995
 
        * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
4996
 
        with sections created by -fdata-sections.
4997
 
        (.dynbss,.bss): Ditto.
4998
 
 
4999
 
2001-03-05  Alan Modra  <alan@linuxcare.com.au>
5000
 
 
5001
 
        * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
5002
 
        after_allocation_default, not gld..._before_allocation.
5003
 
 
5004
 
2001-02-27  Alan Modra  <alan@linuxcare.com.au>
5005
 
 
5006
 
        * configure.in (BFD_VERSION): New.
5007
 
        (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
5008
 
        * configure: Regenerate.
5009
 
        * Makefile.am: Run "make dep-am"
5010
 
        * Makefile.in: Regenerate.
5011
 
 
5012
 
2001-02-26  Timothy Wall  <twall@cygnus.com>
5013
 
 
5014
 
        * emulparams/elf64_aix.sh: Add additional read-only sections;
5015
 
        uncomment lines which are now required.
5016
 
 
5017
 
2001-02-26  H.J. Lu  <hjl@gnu.org>
5018
 
 
5019
 
        * ldlang.c (open_input_bfds): Set the bfd error handler so
5020
 
        that problems can be caught whilst loading symbols.
5021
 
        (record_bfd_errors): New function: Report BFD errors and mark
5022
 
        the executable output as being invalid.
5023
 
 
5024
 
2001-02-22  Timothy Wall  <twall@cygnus.com>
5025
 
 
5026
 
        * configure.host: Add configuration for ia64-*-aix*.
5027
 
        * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
5028
 
        Add dependencies for eelf64_aix.c.
5029
 
        * Makefile.in: Regenerate.
5030
 
        * configure.tgt: Add ia64-*-aix* mapping.
5031
 
        * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
5032
 
 
5033
 
2001-02-20  H.J. Lu  <hjl@gnu.org>
5034
 
 
5035
 
        * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
5036
 
        false if we found the file.
5037
 
 
5038
 
2001-02-18  David O'Brien  <obrien@FreeBSD.org>
5039
 
 
5040
 
        * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
5041
 
        FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
5042
 
 
5043
 
2001-02-18  lars brinkhoff  <lars@nocrew.org>
5044
 
 
5045
 
        * Makefile.am: Add PDP-11 target.
5046
 
        * configure.tgt: Likewise.
5047
 
        * emulparams/pdp11.sh: New file.
5048
 
 
5049
 
2001-02-17  David O'Brien  <obrien@FreeBSD.org>
5050
 
 
5051
 
        * configure.host: Add a generic FreeBSD configuration entry such that
5052
 
        all [modern] FreeBSD systems on all platforms will look the same.
5053
 
 
5054
 
2001-02-14  H.J. Lu  <hjl@gnu.org>
5055
 
 
5056
 
        * configure.tgt: Remove mention of earmelf_linux26.
5057
 
 
5058
 
2001-02-13  Richard Henderson  <rth@redhat.com>
5059
 
 
5060
 
        * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
5061
 
 
5062
 
2001-02-13  H.J. Lu  <hjl@gnu.org>
5063
 
 
5064
 
        * ldexp.h (node_type): Add etree_provided.
5065
 
        * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
5066
 
        type to etree_provided if defined by PROVIDE. Allow updating
5067
 
        for etree_provided.
5068
 
        (exp_print_tree): Handle etree_provided.
5069
 
        * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
5070
 
        etree_provided.
5071
 
 
5072
 
2001-02-09  David Mosberger  <davidm@hpl.hp.com>
5073
 
 
5074
 
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
5075
 
        .IA_64.unwind.* pattern to unwind table section and
5076
 
        .IA_64.unwind_info* pattern to unwind info section.
5077
 
 
5078
 
2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5079
 
 
5080
 
        * Makefile.am: Add linux target for S/390.
5081
 
        * Makefile.in: Likewise.
5082
 
        * configure.host: Likewise.
5083
 
        * configure.tgt: Likewise.
5084
 
        * emulparams/elf64_s390.sh: New file.
5085
 
        * emulparams/elf_s390.sh: New file.
5086
 
 
5087
 
2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5088
 
 
5089
 
        * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
5090
 
        targ_extra_libpath.
5091
 
        (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
5092
 
 
5093
 
2001-02-06  Philip Blundell  <philb@gnu.org>
5094
 
 
5095
 
        * Makefile.am: Remove mention of earmelf_linux26.
5096
 
        * Makefile.in: Regenerate.
5097
 
 
5098
 
2001-02-04  Philip Blundell  <philb@gnu.org>
5099
 
 
5100
 
        * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
5101
 
        * emulparams/armelf_linux26.sh: Delete.
5102
 
        * configure.tgt: Remove mention of armelf_linux26 emulation.
5103
 
 
5104
 
2001-02-01  Nick Clifton  <nickc@redhat.com>
5105
 
 
5106
 
        * ld.1: Replace occurances of -oformat with --oformat.
5107
 
 
5108
 
2001-01-25  Jim Driftmyer <jdrift@stny.rr.com>
5109
 
 
5110
 
        * ldlang.c (lang_leave_overlay): Don't set lma_region when
5111
 
        load_base is specified.
5112
 
 
5113
 
2001-01-24  Hans-Peter Nilsson  <hp@axis.com>
5114
 
 
5115
 
        * emultempl/elf32.em: Correct spelling in comments and listed
5116
 
        options.
5117
 
 
5118
 
2001-01-23  Alan Modra  <alan@linuxcare.com.au>
5119
 
 
5120
 
        * ldlang.c (lang_leave_overlay): Only set lma_region from the
5121
 
        default for the first section of a group of overlay sections.
5122
 
 
5123
 
2001-01-22  Alan Modra  <alan@linuxcare.com.au>
5124
 
 
5125
 
        * Makefile.am (GENSCRIPTS): Pass exec_prefix.
5126
 
        * Makefile.in: Regenerate.
5127
 
        * genscripts.sh: Use exec_prefix parameter to specify tool lib.
5128
 
        Check for null tool_dir.
5129
 
 
5130
 
2001-01-16  Jim Wilson  <wilson@redhat.com>
5131
 
 
5132
 
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
5133
 
        and IA_64.unwind.info.
5134
 
 
5135
 
2001-01-16  H.J. Lu  <hjl@gnu.org>
5136
 
 
5137
 
        * ldlang.c (lang_check): Merge the private data only if the
5138
 
        input file has contents.
5139
 
 
5140
 
2001-01-14  Alan Modra  <alan@linuxcare.com.au>
5141
 
 
5142
 
        * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
5143
 
 
5144
 
        * emultempl/hppaelf.em (hppaelf_after_parse): New function,
5145
 
        enabling search for libmilli.  On a relocatable link, make .text
5146
 
        sections unique.
5147
 
        (LDEMUL_AFTER_PARSE): Define.
5148
 
        (hppaelf_finish): Correct spelling of relocatable in comments.
5149
 
 
5150
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5151
 
        rummage through the script for sections on the unique list.
5152
 
        Correct length of strncmp for ".note".
5153
 
        (gld${EMULATION_NAME}_check_needed): Rearrange function.
5154
 
 
5155
 
        * ldlang.c (unique_section_list): New var.
5156
 
        (unique_section_p): New function.
5157
 
        (walk_wild_section): Don't match sections on unique_section_list.
5158
 
        (lang_add_unique): New function.
5159
 
        Correct spelling of relocatable in comments.
5160
 
 
5161
 
        * ldlang.h (struct unique_sections): Declare.
5162
 
        (unique_section_list): Declare.
5163
 
        (unique_section_p): Declare.
5164
 
        (lang_add_unique): Declare.
5165
 
 
5166
 
        * lexsup.c (ld_options): Allow --unique to take an optional arg.
5167
 
        (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
5168
 
 
5169
 
        * ld.texinfo (--unique): Update.
5170
 
 
5171
 
2001-01-13  Nick Clifton  <nickc@redhat.com>
5172
 
 
5173
 
        * lexsup.c (parse_args): Remove spurious white space.
5174
 
 
5175
 
2001-01-12  Nick Clifton  <nickc@redhat.com>
5176
 
 
5177
 
        * lexsup.c (parse_args): Update copyright date.
5178
 
 
5179
 
2001-01-12  Philip Blundell  <pb@futuretv.com>
5180
 
 
5181
 
        * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
5182
 
 
5183
 
2001-01-10  Kazu Hirata  <kazu@hxi.com>
5184
 
 
5185
 
        * scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
5186
 
        * scripttempl/h8300h.sc: Fix formatting.
5187
 
        * scripttempl/h8300s.sc: Likewise.
5188
 
        * scripttempl/h8500.sc: Likewise.
5189
 
        * scripttempl/h8500b.sc: Likewise.
5190
 
        * scripttempl/h8500c.sc: Likewise.
5191
 
        * scripttempl/h8500m.sc: Likewise.
5192
 
        * scripttempl/h8500s.sc: Likewise.
5193
 
 
5194
 
2000-01-07  David O'Brien  <obrien@BSDi.com>
5195
 
 
5196
 
        * emultempl/elf32.em: Only perform Linux ld hints processing when
5197
 
        targeting Linux.
5198
 
 
5199
 
2001-01-07  Philip Blundell  <philb@gnu.org>
5200
 
 
5201
 
        * ld.texinfo (Bug Reporting): Update email address for reports.
5202
 
 
5203
 
2000-12-31  Nick Clifton  <nickc@redhat.com>
5204
 
 
5205
 
        * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
5206
 
        options by checking for a return value of '?' not -1.
5207
 
 
5208
 
2000-12-28  Nick Clifton  <nickc@redhat.com>
5209
 
 
5210
 
        * lexsup.c (struct ld_option): Add new enum value:
5211
 
        EXACTLY_TWO_DASHES.
5212
 
        (ld_options[]): Change -omagic, -output and -oformat options
5213
 
        to be EXACTLY_TWO_DASHES.
5214
 
        (OUTPUT_COUNT): Use ARRAY_SIZE.
5215
 
        (parse_args): Change parameter 'argc' to unsigned.
5216
 
        Place EXACTLY_TWO_DASHES options into new really_longopts
5217
 
        array.
5218
 
        If getopt_long_only fails, try calling getopt_long using the
5219
 
        really_longopts array.
5220
 
        (help): Print a double dash for both EXACTLY_TWO_DASHES and
5221
 
        TWO_DASHES options.
5222
 
 
5223
 
        * ldlex.h: Fix prototype of parse_args.
5224
 
 
5225
 
        * ld.texinfo: Document that long options starting with 'o'
5226
 
        must be preceeded by two dashes.  Change example of a single
5227
 
        dashed long option from -oformat to -trace-symbol.
5228
 
 
5229
 
2000-12-26  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
5230
 
 
5231
 
        * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
5232
 
        (longopts[]): New --no-default-excludes option.
5233
 
        (gld_${EMULATION_NAME}_list_options): Document.
5234
 
        (gld_${EMULATION_NAME}_parse_args): Handle.
5235
 
 
5236
 
2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5237
 
 
5238
 
        * ldlang.c (new_stat): Revert the last beautification with "innocent"
5239
 
        whitespace, it breaks the K&R C preprocessor.
5240
 
 
5241
 
2000-12-11  DJ Delorie  <dj@redhat.com>
5242
 
 
5243
 
        * ld.texinfo: Add notes about --whole-archive and gcc.
5244
 
 
5245
 
2000-11-18  Fred Fish  <fnf@be.com>
5246
 
 
5247
 
        * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
5248
 
        (ld_options): Entry for --allow-shlib-undefined.
5249
 
        (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
5250
 
        * ldmain.c (main): Initialize link_info.allow_shlib_undefined
5251
 
        to false.
5252
 
        * ld.texinfo: Document new command line switch.
5253
 
 
5254
 
2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
5255
 
 
5256
 
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
5257
 
        .fixup is actually read/write.
5258
 
        * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
5259
 
        * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
5260
 
        * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
5261
 
 
5262
 
2000-12-11  Jan Hubicka  <jh@suse.cz>
5263
 
 
5264
 
        * NEWS: Add note about x86_64 architecture.
5265
 
 
5266
 
2000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
5267
 
 
5268
 
        * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
5269
 
        Set DWARF2 sections to a VMA of zero.
5270
 
 
5271
 
2000-12-01  Joel Sherrill  <joel@OARcorp.com>
5272
 
 
5273
 
        * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
5274
 
        New targets.
5275
 
        (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
5276
 
        (sparc*-*-rtems*): Switched from a.out to ELF.
5277
 
 
5278
 
2000-11-30  Jan Hubicka  <jh@suse.cz>
5279
 
 
5280
 
        * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
5281
 
        (eelf_x86_64.c): New.
5282
 
        * Makefile.in: Regenerate.
5283
 
        * configure.tgt: Add support for x86_64-*-linux-gnu*.
5284
 
        * emulparams/elf_x86_64.sh: New.
5285
 
 
5286
 
2000-11-30  Hans-Peter Nilsson  <hp@axis.com>
5287
 
 
5288
 
        * emulparams/crislinux.sh (ENTRY): Change back to _start.
5289
 
        (TEXT_START_SYMBOLS): Remove conditional setting of __start.
5290
 
 
5291
 
        * scripttempl/crisaout.sc: Change all RELOCATING not related to
5292
 
        merging non-a.out sections into CONSTRUCTING.
5293
 
 
5294
 
2000-11-28  Nick Clifton  <nickc@redhat.com>
5295
 
 
5296
 
        * ld.1 (COPYING): Mention that the GNU Free Documentation
5297
 
        License is present in the sources, but not the output, and
5298
 
        also available from the GNU website.
5299
 
        (GNU Free Documentation License): Comment out this section.
5300
 
 
5301
 
2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
5302
 
 
5303
 
        * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
5304
 
        does not use them.
5305
 
 
5306
 
2000-11-25  David O'Brien  <obrien@FreeBSD.org>
5307
 
 
5308
 
        * ld.1: Remove old date so it does not give the impression the manpage
5309
 
        is way out of date.
5310
 
 
5311
 
2000-11-24  Nick Clifton  <nickc@redhat.com>
5312
 
 
5313
 
        * configure.tgt (xscale-coff): Add target.
5314
 
        (xscale-elf): Add target.
5315
 
 
5316
 
2000-11-24  Fred Fish  <fnf@be.com>
5317
 
 
5318
 
        * ldmain.c (main): Remove redundant init of config.make_executable
5319
 
        to true.
5320
 
 
5321
 
2000-11-15  Richard Henderson  <rth@redhat.com>
5322
 
 
5323
 
        * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
5324
 
 
5325
 
2000-11-14  Kazu Hirata  <kazu@hxi.com>
5326
 
 
5327
 
        * scripttempl/h8300.sc: Fix formatting.
5328
 
        * scripttempl/h8300h.sc: Likewise.
5329
 
        * scripttempl/h8300s.sc: Likewise.
5330
 
 
5331
 
2000-11-14  Denis Chertykov  <denisc@overta.ru>
5332
 
 
5333
 
        * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
5334
 
 
5335
 
2000-11-09  Philip Blundell  <pb@futuretv.com>
5336
 
 
5337
 
        * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
5338
 
        around orphan sections whose names can be represented in C.
5339
 
 
5340
 
2000-11-07  Jim Wilson  <wilson@redhat.com>
5341
 
 
5342
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
5343
 
        hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
5344
 
 
5345
 
2000-11-06  Nick Clifton  <nickc@redhat.com>
5346
 
 
5347
 
        * ld.texinfo: Add GNU Free Documentation License.
5348
 
        * ldint.texinfo: Add GNU Free Documentation License.
5349
 
        * ld.1: Add GNU Free Documentation License.
5350
 
 
5351
 
2000-11-05  Alan Modra  <alan@linuxcare.com.au>
5352
 
 
5353
 
        * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
5354
 
        yy_is_interactive, yy_at_bol, and yy_fill_buffer.
5355
 
 
5356
 
        * Makefile.am (DISTCLEANFILES): Add stringify.sed.
5357
 
        Move 2000-11-02 Makefile.in changes to this file.
5358
 
        * Makefile.in: Regenerate.
5359
 
 
5360
 
2000-11-03  Nick Clifton  <nickc@redhat.com>
5361
 
 
5362
 
        * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
5363
 
        constructors and destructors.
5364
 
        * scripttempl/h8300h.sc: Ditto.
5365
 
        * scripttempl/h8300s.sc: Ditto.
5366
 
        * scripttempl/h8500.sc: Ditto.
5367
 
        * scripttempl/h8500b.sc: Ditto.
5368
 
        * scripttempl/h8500c.sc: Ditto.
5369
 
        * scripttempl/h8500m.sc: Ditto.
5370
 
        * scripttempl/h8500s.sc: Ditto.
5371
 
        * scripttempl/v850.sc: Ditto.
5372
 
        * scripttempl/w65.sc: Ditto.
5373
 
        * scripttempl/z8000.sc: Ditto.
5374
 
 
5375
 
2000-11-02  Per Lundberg  <plundis@chaosdev.org>
5376
 
 
5377
 
        * Makefile.in (e_i386_chaos.c): New rule.
5378
 
        (ALL_EMULATIONS): Added e_i386_chaos.o.
5379
 
        * emulparams/elf_i386_chaos.sh: New file.
5380
 
        * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
5381
 
 
5382
 
2000-10-20  Jakub Jelinek  <jakub@redhat.com>
5383
 
 
5384
 
        * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
5385
 
        NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
5386
 
        Fix sed invocation, so that it coped with '/' in Solaris 64bit
5387
 
        library path suffix.
5388
 
        Based on patch by Andrew Macleod <amacleod@cygnus.com>.
5389
 
 
5390
 
2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
5391
 
 
5392
 
        * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
5393
 
        for consecutive sections.
5394
 
 
5395
 
2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
5396
 
 
5397
 
        * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
5398
 
        options.
5399
 
        * ld.texinfo: Added notes about this new option.
5400
 
 
5401
 
2000-10-16  Nick Clifton  <nickc@redhat.com>
5402
 
 
5403
 
        * emultempl/pe.em (_after_open): Add tests of return values from
5404
 
        bfd functions.  Emit appropriate error messages if necessary.
5405
 
 
5406
 
2000-10-13  Nick Clifton  <nickc@redhat.com>
5407
 
 
5408
 
        * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
5409
 
        local variables - they are not used, but leave in the call to
5410
 
        bfd_canonicalize_symtab.
5411
 
        (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
5412
 
        pe_dll_search_prefix.
5413
 
 
5414
 
2000-10-12  Charles Wilson  <cwilson@ece.gatech.edu>
5415
 
 
5416
 
        * emultempl/pe.em (pe_dll_search_prefix): New variable,
5417
 
        (longopts): New --dll-search-prefix option.
5418
 
        (gld_${EMULATION_NAME}_list_options): Document.
5419
 
        (gld_${EMULATION_NAME}_parse_args): Handle.
5420
 
        (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
5421
 
        dynamically, search for a dll named '<prefix><basename>.dll'
5422
 
        in preference to 'lib<basename>.dll' if --dll-search-prefix
5423
 
        is specified.
5424
 
 
5425
 
2000-10-12  Alan Modra  <alan@linuxcare.com.au>
5426
 
 
5427
 
        * ldlang.c (section_already_linked): Set kept_section instead of
5428
 
        sec->comdat->sec.
5429
 
 
5430
 
2000-10-10  Kazu Hirata  <kazu@hxi.com>
5431
 
 
5432
 
        * deffile.h: Fix formatting.
5433
 
        * lexsup.c: Likewise.
5434
 
        * mri.c: Likewise.
5435
 
 
5436
 
2000-10-09  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
5437
 
 
5438
 
        * pe-dll.c (make_one): Do not generate code thunk for DATA
5439
 
        exports.
5440
 
        (process_def_file): deduce DATA flag for auto-export sumbols.
5441
 
 
5442
 
2000-10-09  Kazu Hirata  <kazu@hxi.com>
5443
 
 
5444
 
        * ld.h: Fix formatting.
5445
 
        * ldcref.c: Likewise.
5446
 
        * ldctor.h: Likewise.
5447
 
        * ldemul.c: Likewise.
5448
 
        * ldemul.h: Likewise.
5449
 
        * ldexp.c: Likewise.
5450
 
        * ldexp.h: Likewise.
5451
 
        * ldfile.c: Likewise.
5452
 
        * ldfile.h: Likewise.
5453
 
        * ldlang.c: Likewise.
5454
 
        * ldlang.h: Likewise.
5455
 
        * ldmain.c: Likewise.
5456
 
        * pe-dll.c: Likewise.
5457
 
 
5458
 
        * pe-dll.c: Revert some formatting fixes.
5459
 
 
5460
 
2000-10-08  Kazu Hirata  <kazu@hxi.com>
5461
 
 
5462
 
        * pe-dll.c: Fix formatting.
5463
 
 
5464
 
2000-10-05  Kazu Hirata  <kazu@hxi.com>
5465
 
 
5466
 
        * ldlang.c: Fix formatting.
5467
 
 
5468
 
2000-10-03  DJ Delorie  <dj@redhat.com>
5469
 
 
5470
 
        * pe-dll.c (fill_edata): initialize entire block
5471
 
        (make_one): fill in correct section.
5472
 
 
5473
 
2000-10-03  Kazu Hirata  <kazu@hxi.com>
5474
 
 
5475
 
        * ldexp.c: Fix formatting.
5476
 
 
5477
 
2000-10-02  DJ Delorie  <dj@redhat.com>
5478
 
 
5479
 
        * emultempl/pe.em (gld_*_after_open): detect case where there two
5480
 
        import libraries for same dll; rename one to ensure proper link
5481
 
        order.
5482
 
 
5483
 
        * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
5484
 
        typo
5485
 
        (generate_edata): fix typo
5486
 
 
5487
 
2000-09-29  Hans-Peter Nilsson  <hp@axis.com>
5488
 
 
5489
 
        * scripttempl/crisaout.sc (ENTRY): Now __start.
5490
 
        (.text): Add default setting for __start.
5491
 
        Remove CONSTRUCTORS handling.
5492
 
        (/DISCARD/): Add .gnu.warning.*.
5493
 
        * emulparams/crislinux.sh (ENTRY): Now __start.
5494
 
        (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
5495
 
        * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
5496
 
        (ENTRY): Now __start.
5497
 
        (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
5498
 
        (EXECUTABLE_SYMBOLS): Add default setting for __start.
5499
 
 
5500
 
2000-09-29  Kazu Hirata  <kazu@hxi.com>
5501
 
 
5502
 
        * deffile.h: Fix formatting.
5503
 
        * ld.h: Likewise.
5504
 
        * ldcref.c: Likewise.
5505
 
        * ldctor.c: Likewise.
5506
 
        * ldctor.h: Likewise.
5507
 
        * ldemul.c: Likewise.
5508
 
        * ldemul.h: Likewise.
5509
 
        * ldexp.c: Likewise.
5510
 
        * ldexp.h: Likewise.
5511
 
        * ldfile.c: Likewise.
5512
 
        * ldfile.h: Likewise.
5513
 
        * ldlang.c: Likewise.
5514
 
        * ldlang.h: Likewise.
5515
 
        * lexsup.c: Likewise.
5516
 
        * mri.c: Likewise.
5517
 
        * pe-dll.c: Likewise.
5518
 
 
5519
 
2000-09-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
5520
 
 
5521
 
        * pe-dll.c (process_def_file): Uninitialized data wasn't
5522
 
        exported with --export-all-symbols switch.
5523
 
 
5524
 
2000-09-28  DJ Delorie  <dj@redhat.com>
5525
 
 
5526
 
        * pe-dll.c (fill_edata): rearrange the data so that ordinals and
5527
 
        noname work properly.
5528
 
 
5529
 
2000-09-28  Alan Modra  <alan@linuxcare.com.au>
5530
 
 
5531
 
        * ld.texinfo (HPPA ELF32): New section.
5532
 
 
5533
 
        * emultempl/hppaelf.em (group_size): New.
5534
 
        (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
5535
 
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
5536
 
        (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
5537
 
        options to prevent abbreviations matching.
5538
 
        (PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
5539
 
        (PARSE_AND_LIST_ARGS_CASES): Handle it.
5540
 
 
5541
 
2000-09-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5542
 
 
5543
 
        * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
5544
 
        on the m68*-*-elf target.  Make it support COFF input objects.
5545
 
 
5546
 
2000-09-21  Kazu Hirata  <kazu@hxi.com>
5547
 
 
5548
 
        * ldmain.c: Fix formatting.
5549
 
        * ldmisc.c: Likewise.
5550
 
        * ldver.c: Likewise.
5551
 
        * ldwrite.c: Likewise.
5552
 
 
5553
 
2000-09-21  Alan Modra  <alan@linuxcare.com.au>
5554
 
 
5555
 
        * ldwrite.c (clone_section): Silence gcc warnings.
5556
 
 
5557
 
2000-09-20  Alan Modra  <alan@linuxcare.com.au>
5558
 
 
5559
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
5560
 
        out of memory failure.
5561
 
 
5562
 
        * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
5563
 
        (clone_section): Handle out of memory failures.  Rename var to
5564
 
        avoid c++ reserved word.
5565
 
 
5566
 
2000-09-18  Alan Modra  <alan@linuxcare.com.au>
5567
 
 
5568
 
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
5569
 
        stub_name param to stub_sec_name.
5570
 
        (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
5571
 
 
5572
 
2000-09-10  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5573
 
 
5574
 
        * emultempl/m68kelf.em: New file.
5575
 
        * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
5576
 
        * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
5577
 
        * Makefile.in: Regenerate.
5578
 
 
5579
 
2000-09-15  Alan Modra  <alan@linuxcare.com.au>
5580
 
 
5581
 
        * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
5582
 
        only as needed.
5583
 
 
5584
 
2000-09-13  Nick Clifton  <nickc@redhat.com>
5585
 
 
5586
 
        * ldmain.c (multiple_definition): Disable relaxation if
5587
 
        multiple symbol definitions are encountered - otherwise the
5588
 
        linker could abort with an assertion failure.
5589
 
 
5590
 
2000-09-10  Nick Clifton  <nickc@redhat.com>
5591
 
 
5592
 
        * mri.c: Fix formatting.
5593
 
 
5594
 
2000-09-07  H.J. Lu  <hjl@gnu.org>
5595
 
 
5596
 
        * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
5597
 
        * configure: Rebuild.
5598
 
 
5599
 
2000-09-07  H.J. Lu  <hjl@gnu.org>
5600
 
 
5601
 
        * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
5602
 
        * Makefile.in: Rebuild.
5603
 
 
5604
 
2000-09-07  Alan Modra  <alan@linuxcare.com.au>
5605
 
 
5606
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
5607
 
        broken list handling.  Create __start_SECNAME and __stop_SECNAME
5608
 
        when no place-holder.  Add some comments.  Test both SEC_CODE and
5609
 
        SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
5610
 
        Handle case where no output section statement created.
5611
 
 
5612
 
2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
5613
 
 
5614
 
        * configure.tgt (sh-*-linux*): Added.
5615
 
        * Makefile.am: Added eshelf_linux and eshlelf_linux.
5616
 
        * Makefile.in: Rebuilt.
5617
 
        * emulparams/shelf_linux.sh: New file.
5618
 
        * emulparams/shlelf_linux.sh: New file.
5619
 
 
5620
 
2000-09-06  Alan Modra  <alan@linuxcare.com.au>
5621
 
 
5622
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5623
 
        try shuffling sections when the orphan happens to be the place
5624
 
        holder.  Keep count of unique section names generated so we speed
5625
 
        the search for a new name.
5626
 
 
5627
 
2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
5628
 
 
5629
 
        * configure: Rebuilt with new libtool.m4.
5630
 
 
5631
 
2000-09-05  Nick Clifton  <nickc@redhat.com>
5632
 
 
5633
 
        * Makefile.in: Regenerate.
5634
 
        * aclocal.m4: Regenerate.
5635
 
        * configure: Regenerate.
5636
 
        * config.in: Regenerate.
5637
 
        * po/ld.pot: Regenerate.
5638
 
 
5639
 
        * ldint.texinfo: Remove CVS revision marker - it foils local
5640
 
        comparisons.
5641
 
 
5642
 
        * emultempl/ticoff.em: Remove extraneous comma.
5643
 
 
5644
 
2000-09-05  Alan Modra  <alan@linuxcare.com.au>
5645
 
 
5646
 
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
5647
 
        to stub section flags.
5648
 
        (hppa_for_each_input_file_wrapper): New.
5649
 
        (hppa_lang_for_each_input_file): New.
5650
 
        (lang_for_each_input_file): Define to call above.
5651
 
        (multi_subspace): New.
5652
 
        (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
5653
 
        (PARSE_AND_LIST_PROLOGUE): Define.
5654
 
        (PARSE_AND_LIST_LONGOPTS): Define.
5655
 
        (PARSE_AND_LIST_OPTIONS): Define.
5656
 
        (PARSE_AND_LIST_ARGS_CASES): Define.
5657
 
        (hppaelf_finish): Call elf32_hppa_set_gp.
5658
 
        (hppaelf_set_output_arch): Remove.
5659
 
        (LDEMUL_SET_OUTPUT_ARCH): Remove.
5660
 
 
5661
 
        * emulparams/hppalinux.sh (ELFSIZE): Define.
5662
 
        (MACHINE): Define.
5663
 
        (OTHER_READONLY_SECTIONS): Define.
5664
 
        (DATA_PLT): Define.
5665
 
        (GENERATE_SHLIB_SCRIPT): Define.
5666
 
 
5667
 
        * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
5668
 
        to const throughout.  Change `void *' to `PTR' throughout.
5669
 
        (lang_memory_default): Function is local to file, add `static'.
5670
 
 
5671
 
        * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
5672
 
        (ehppalinux.c): Likewise.
5673
 
        (earmelf.c): Likewise.
5674
 
        (earmelf_linux.c): Likewise.
5675
 
        (earmelf_linux26.c): Likewise.
5676
 
        * Makefile.in: Regenerate.
5677
 
 
5678
 
        * ld.h (ld_config_type): Add unique_orphan_sections.
5679
 
        * lexsup.c (OPTION_UNIQUE): Define.
5680
 
        (ld_options): Add "--unique".
5681
 
        (parse_args): Handle it.
5682
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5683
 
        search for an existing output section if unique_orphan_sections is
5684
 
        set.  Make use of bfd_get_unique_section_name rather than
5685
 
        duplicating code here.
5686
 
        * ld.texinfo: Describe --unique.
5687
 
 
5688
 
        * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
5689
 
        optional arg to split-by-file.
5690
 
        (parse_args): Handle them.
5691
 
        * ld.texinfo: Update description of these options.
5692
 
        * ldwrite.c (clone_section): Pass in the section name.  Replace
5693
 
        local code with bfd_get_unique_section_name.
5694
 
        (split_sections): Tidy code and comments.  Use a list traversal
5695
 
        more appropriate to the list construction.  Handle cooked section
5696
 
        sizes.  Split when split_by_reloc reached rather than exceeded.
5697
 
        Track section size and split when split_by_file reached.  Fix
5698
 
        link_order_tail (even though it's not used).
5699
 
        (ldwrite): Modify condition for calling split_sections to suit
5700
 
        changed split_by_reloc and split_by_file.
5701
 
        * ldmain.c (main): Init config.split_by_reloc and
5702
 
        config.split_by_file to -1.
5703
 
        * ld.h (ld_config_type): Change split_by_reloc to unsigned.
5704
 
        Change split_by_file to bfd_size_type.
5705
 
 
5706
 
2000-09-02  Nick Clifton  <nickc@redhat.com>
5707
 
 
5708
 
        * configure.in: Increase version number to 2.10.91.
5709
 
        * NEWS: Mention new ability to support removal of duplicate DWARF2
5710
 
        debug information.
5711
 
        * configure: Regenerate.
5712
 
        * aclocal.m4: Regenerate.
5713
 
        * config.in: Regenerate.
5714
 
 
5715
 
2000-09-02  Daniel Berlin <dberlin@redhat.com>
5716
 
 
5717
 
        * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
5718
 
        sections.
5719
 
        * scripttempl/elf32avr.sc: Ditto.
5720
 
        * scripttempl/elfd10v.sc: Ditto.
5721
 
        * scripttempl/elfd30v.sc: Ditto.
5722
 
        * scripttempl/elfi370.sc: Ditto.
5723
 
        * scripttempl/elfm68hc11.sc: Ditto.
5724
 
        * scripttempl/elfm68hc12.sc: Ditto.
5725
 
        * scripttempl/elfi386beos.sc: Ditto.
5726
 
        * scripttempl/v850.sc: Ditto.
5727
 
 
5728
 
2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
5729
 
 
5730
 
        * acinclude.m4: Include libtool and gettext macros from the
5731
 
        top level.
5732
 
        * aclocal.m4, configure: Rebuilt.
5733
 
 
5734
 
2000-08-25  Nick Clifton  <nickc@redhat.com>
5735
 
 
5736
 
        * ldlang.c (open_output): When choosing the target for a
5737
 
        particular endianness, do nothing if the target is not
5738
 
        supported.
5739
 
 
5740
 
2000-08-25  H.J. Lu  <hjl@gnu.org>
5741
 
 
5742
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
5743
 
        check -rpath nor LD_RUN_PATH for cross link.
5744
 
        * ld.texinfo: Document the change.
5745
 
 
5746
 
2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
5747
 
 
5748
 
        * NEWS: Mention support for CRIS.
5749
 
 
5750
 
2000-08-23  H.J. Lu  <hjl@gnu.org>
5751
 
 
5752
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
5753
 
        the current runpath list from bfd_elf_get_runpath_list ()
5754
 
        before search.
5755
 
 
5756
 
2000-08-22  H.J. Lu  <hjl@gnu.org>
5757
 
 
5758
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
5759
 
        the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
5760
 
        LD_LIBRARY_PATH for native linker. Display the needed DSO if
5761
 
        trace_file_tries is non-zero.
5762
 
        (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
5763
 
        if trace_file_tries is non-zero.
5764
 
 
5765
 
        * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
5766
 
        * NEWS: Mention it.
5767
 
 
5768
 
2000-08-14  Jason Eckhardt  <jle@cygnus.com>
5769
 
 
5770
 
        * NEWS: Mention i860 support.
5771
 
 
5772
 
2000-08-14  Andreas Schwab  <schwab@suse.de>
5773
 
 
5774
 
        * scripttempl/elf.sc: Fix last change to use correct comment
5775
 
        syntax.
5776
 
 
5777
 
2000-08-10  Geoff Keating  <geoffk@cygnus.com>
5778
 
 
5779
 
        * scripttempl/elf.sc: Add a comment giving the correspondence
5780
 
        between sections, per-datum sections, and linkonce sections.  Make
5781
 
        the comment true even for .bss, .sdata, .sdata2, .sbss, and
5782
 
        .sbss2.
5783
 
 
5784
 
2000-08-10  Jason Eckhardt  <jle@cygnus.com>
5785
 
 
5786
 
        * emulparams/elf32_i860.sh: New file.
5787
 
        * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
5788
 
        * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
5789
 
        (eelf32_i860.c): New rule.
5790
 
        * Makefile.in: Regenerate.
5791
 
 
5792
 
2000-08-10  Nick Clifton  <nickc@cygnus.com>
5793
 
 
5794
 
        * emulparams/mipspe.sh (ENTRY): Add definition.
5795
 
 
5796
 
2000-08-08  Peter Jeremy  <peter.jeremy@alcatel.com.au>
5797
 
 
5798
 
        * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
5799
 
        in error message.
5800
 
 
5801
 
2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5802
 
 
5803
 
        * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
5804
 
        the final size of .bss section.
5805
 
        * scripttempl/elfm68hc12.sc: Likewise.
5806
 
 
5807
 
2000-08-04  Alan Modra  <alan@linuxcare.com.au>
5808
 
 
5809
 
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
5810
 
        gld${EMULATION_NAME}_parse_args for consistency.  Combine
5811
 
        lastoptind and prevoptind vars, and keep track of last optind.
5812
 
        (gld_${EMULATION_NAME}_list_options): Rename to
5813
 
        gld${EMULATION_NAME}_list_options.
5814
 
 
5815
 
2000-08-03  Rodney Brown  <RodneyBrown@pmsc.com>
5816
 
 
5817
 
        * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
5818
 
        (i586-sco-sysv5uw7.1.0).
5819
 
 
5820
 
2000-07-27  H.J. Lu  <hjl@gnu.org>
5821
 
 
5822
 
        * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
5823
 
        (PARSE_AND_LIST_PROLOGUE): New.
5824
 
        (PARSE_AND_LIST_LONGOPTS): Likewise.
5825
 
        (PARSE_AND_LIST_OPTIONS): Likewise.
5826
 
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
5827
 
        (PARSE_AND_LIST_EPILOGUE): Likewise.
5828
 
 
5829
 
2000-07-28  Alan Modra  <alan@linuxcare.com.au>
5830
 
 
5831
 
        * emultempl/armelf.em: Elide functions common to elf32.em,
5832
 
        ie. most of the file.
5833
 
        (arm_elf_after_open): New.  Do arm specific things then call
5834
 
        gld${EMULATION_NAME}_after_open.
5835
 
        (arm_elf_before_allocation): New.  Call
5836
 
        gld${EMULATION_NAME}_before_allocation then do arm specifics.
5837
 
        (PARSE_AND_LIST_PROLOGUE): Define.
5838
 
        (PARSE_AND_LIST_SHORTOPTS): Define.
5839
 
        (PARSE_AND_LIST_LONGOPTS): Define.
5840
 
        (PARSE_AND_LIST_OPTIONS): Define.
5841
 
        (PARSE_AND_LIST_ARGS_CASES): Define.
5842
 
        (LDEMUL_AFTER_OPEN): Define.
5843
 
        (LDEMUL_BEFORE_ALLOCATION): Define.
5844
 
        (LDEMUL_BEFORE_PARSE): Define.
5845
 
        (LDEMUL_FINISH): Define.
5846
 
 
5847
 
        * emultempl/hppaelf.em: Similarly zap most of this file.
5848
 
        (hppaelf_add_stub_section): Prototype.
5849
 
        (hppaelf_layaout_sections_again): Prototype.
5850
 
        (hook_in_stub): Prototype.
5851
 
        (LDEMUL_SET_OUTPUT_ARCH): Define.
5852
 
        (LDEMUL_FINISH): Define.
5853
 
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
5854
 
 
5855
 
        * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
5856
 
        (EXTRA_EM_FILE): New.
5857
 
        * emulparams/armelf_linux.sh: Likewise.
5858
 
        * emulparams/armelf_linux26.sh: Likewise.
5859
 
        * emulparams/hppalinux.sh: Likewise.
5860
 
        * emulparams/hppaelf.sh: Likewise.
5861
 
        (NOP): Define.
5862
 
 
5863
 
        * emultempl/elf32.em: Fix formatting.
5864
 
        (EXTRA_EM_FILE): Source it.
5865
 
        (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
5866
 
        LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
5867
 
        LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
5868
 
        LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
5869
 
        LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
5870
 
        LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
5871
 
        LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
5872
 
        LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
5873
 
        LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
5874
 
        allow functions in this file to be overridden.
5875
 
        (PARSE_AND_LIST_SHORTOPTS): Handle it.
5876
 
 
5877
 
        * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
5878
 
 
5879
 
        * emultempl/elf32.em: Reorganize file.
5880
 
 
5881
 
2000-07-27  Ivan Kokshaysky  <ink@jurassic.park.msu.ru>
5882
 
 
5883
 
        * emulparams/elf64alpha.sh: Implement "-taso" emulation
5884
 
        specific option to fit 64-bit executable in the lower
5885
 
        31-bit address range.  This is done by changing start
5886
 
        address of .interp (the very first section of executable)
5887
 
        and then setting EF_ALPHA_32BIT elf header flag.
5888
 
 
5889
 
2000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5890
 
 
5891
 
        * emultempl/m68kcoff.em: New file.
5892
 
        * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
5893
 
        * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
5894
 
        generic.em.
5895
 
        * Makefile.in: Regenerate.
5896
 
 
5897
 
2000-07-20  H.J. Lu  <hjl@gnu.org>
5898
 
 
5899
 
        * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
5900
 
        and "disable-new-dtags" to stop getopt from treating -d/-e as
5901
 
        abbreviations for these options.
5902
 
 
5903
 
2000-07-20  H.J. Lu  <hjl@gnu.org>
5904
 
 
5905
 
        * ld.texinfo: Add documentation for --disable-new-dtags and
5906
 
        --enable-new-dtags.
5907
 
 
5908
 
        * ldmain.c (main): Initialize link_info.new_dtags to false.
5909
 
 
5910
 
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
5911
 
        --disable-new-dtags and --enable-new-dtags.
5912
 
        (gld_${EMULATION_NAME}_list_options): Likewise.
5913
 
 
5914
 
2000-07-05  Kenneth Block  <krblock@computer.org>
5915
 
 
5916
 
        * lexsup.c: Add optional style to demangle switch
5917
 
        * ld.texinfo: Document optional style to demangle switch.
5918
 
 
5919
 
2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
5920
 
 
5921
 
        * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
5922
 
        ecrislinux.o.
5923
 
        (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
5924
 
        Regenerate dependencies.
5925
 
        * Makefile.in: Rebuild.
5926
 
        * configure.tgt (cris-*-*): New target.
5927
 
        * emulparams/crisaout.sh, emulparams/criself.sh,
5928
 
        emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
5929
 
        * po/POTFILES.in, po/ld.pot: Regenerate.
5930
 
 
5931
 
2000-07-20  H.J. Lu  <hjl@gnu.org>
5932
 
 
5933
 
        * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
5934
 
        Print out ignored -z options.
5935
 
 
5936
 
2000-07-19  H.J. Lu  <hjl@gnu.org>
5937
 
 
5938
 
        * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
5939
 
        (PARSE_AND_LIST_PROLOGUE): New.
5940
 
        (PARSE_AND_LIST_LONGOPTS): Likewise.
5941
 
        (PARSE_AND_LIST_OPTIONS): Likewise.
5942
 
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
5943
 
 
5944
 
        * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
5945
 
 
5946
 
        * lexsup.c (ld_options): Comment out 'z'.
5947
 
        (parse_args): Likewise.
5948
 
 
5949
 
        * emultempl/elf32.em: Include "elf/common.h".
5950
 
        (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
5951
 
        options.
5952
 
        (gld_${EMULATION_NAME}_list_options): Likewise.
5953
 
 
5954
 
        * ld.texinfo: Add documentation for the recognized -z options.
5955
 
 
5956
 
2000-07-19  H.J. Lu  <hjl@gnu.org>
5957
 
 
5958
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
5959
 
        bfd_elf_set_dt_needed_soname ().
5960
 
 
5961
 
2000-07-18  DJ Delorie  <dj@cygnus.com>
5962
 
 
5963
 
        * pe-dll.c (pe_dll_id_target): check object target name also
5964
 
 
5965
 
2000-07-18  Hans-Peter Nilsson  <hp@axis.com>
5966
 
 
5967
 
        * scripttempl/elf.sc (.init): Only do ${INIT_START} and
5968
 
        ${INIT_END} if relocating.
5969
 
        (.fini): Likewise ${FINI_START} and ${FINI_END}.
5970
 
 
5971
 
2000-07-16  Charles Wilson  <cwilson@ece.gatech.edu>
5972
 
 
5973
 
        * emultempl/pe.em (gld_*_open_dynamic_archive): New search
5974
 
        order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
5975
 
        foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
5976
 
        errors introduced by the old dynamic lib search order.
5977
 
 
5978
 
2000-07-17  DJ Delorie  <dj@cygnus.com>
5979
 
 
5980
 
        * pe-dll.c (process_def_file): auto-export data items also
5981
 
        (pe_process_import_defs): also see if _imp_ form needed
5982
 
 
5983
 
2000-07-12  Charles Wilson  <cwilson@ece.gatech.edu>
5984
 
 
5985
 
        * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
5986
 
        for dll import libraries
5987
 
 
5988
 
2000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
5989
 
 
5990
 
        * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
5991
 
        gcc 2.95.2 and later.
5992
 
 
5993
 
2000-07-11  Kazu Hirata  <kazu@hxi.com>
5994
 
 
5995
 
        * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
5996
 
        message.
5997
 
 
5998
 
2000-07-10  Alan Modra  <alan@linuxcare.com.au>
5999
 
 
6000
 
        * ldemul.h (struct lang_input_statement_struct): Remove forward
6001
 
        declaration.
6002
 
        (struct search_dirs): Likewise.
6003
 
        * ldfile.h (struct lang_input_statement_struct): Likewise.
6004
 
        Protect file from multiple inclusion.
6005
 
        * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
6006
 
        declaration from macro to file scope.
6007
 
 
6008
 
        * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
6009
 
        * ldgram.y: Likewise here.
6010
 
        * ldlang.c: And here.
6011
 
        * ldmain.c: And here.
6012
 
        * mpw-elfmips.c: And here.
6013
 
        * mpw-eppcmac.c: And here.
6014
 
        * emultempl/aix.em: And here.
6015
 
        * emultempl/armcoff.em: And here.
6016
 
        * emultempl/armelf.em: And here.
6017
 
        * emultempl/armelf_oabi.em: And here.
6018
 
        * emultempl/beos.em: And here.
6019
 
        * emultempl/elf32.em: And here.
6020
 
        * emultempl/hppaelf.em: And here.
6021
 
        * emultempl/linux.em: And here.
6022
 
        * emultempl/lnk960.em: And here.
6023
 
        * emultempl/pe.em: And here.
6024
 
        * emultempl/sunos.em: And here.
6025
 
        * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
6026
 
        * mpw-idtmips.c: Ditto.
6027
 
        * emultempl/generic.em: Ditto.
6028
 
        * emultempl/gld960.em: Ditto.
6029
 
        * emultempl/gld960c.em: Ditto.
6030
 
        * emultempl/mipsecoff.em: Ditto.
6031
 
        * emultempl/ticoff.em: Ditto.
6032
 
        * emultempl/vanilla.em: Ditto.
6033
 
 
6034
 
        * pe-dll.c: Include ldfile.h
6035
 
        * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
6036
 
 
6037
 
        * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
6038
 
        arguments to bfd_elf32_size_dynamic_sections call.
6039
 
        (gldelf32ebmip_place_orphan): Add missing arguments to
6040
 
        lang_leave_output_section_statement call.
6041
 
 
6042
 
2000-07-10  H.J. Lu  <hjl@gnu.org>
6043
 
 
6044
 
        * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
6045
 
        DLL_SUPPORT.
6046
 
        (strhash): Likewise.
6047
 
        (compute_dll_image_base): Likewise.
6048
 
        (pe_undef_found_sym): Likewise.
6049
 
        (pe_undef_cdecl_match): Likewise.
6050
 
        (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
6051
 
        argument "arch" with ATTRIBUTE_UNUSED.
6052
 
 
6053
 
2000-07-10  Alan Modra  <alan@linuxcare.com.au>
6054
 
 
6055
 
        * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
6056
 
 
6057
 
        From  Ryan Bradetich  <rbradetich@uswest.net>
6058
 
        * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
6059
 
 
6060
 
2000-07-09  Alan Modra  <alan@linuxcare.com.au>
6061
 
 
6062
 
        Changes to create multiple linker stubs, positioned immediately
6063
 
        before the section where they are required.
6064
 
        * emultempl/hppaelf.em: Include elf32-hppa.h.
6065
 
        (stub_sec, file_chain): Delete.
6066
 
        (hppaelf_create_output_section_statements): Don't make a stub
6067
 
        section here.
6068
 
        (hook_stub_info): New struct.
6069
 
        (hook_in_stub): New function.
6070
 
        (hppaelf_add_stub_section): New function.
6071
 
        (hppaelf_finish): Do nothing for relocateable links.  Modify the
6072
 
        call to elf32_hppa_size_stubs.  Move code for updating section
6073
 
        layout from here...
6074
 
        (hppaelf_layaout_sections_again): ..to here, a new function.
6075
 
 
6076
 
        * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
6077
 
        broken list handling.  Pass in a pointer to the list.
6078
 
        (hppaelf_finish): Update call to hppaelf_delete_padding_statements
6079
 
        for above changes.
6080
 
        (hppaelf_before_parse): Prototype.
6081
 
        (hppaelf_set_output_arch): Prototype.
6082
 
        (hppaelf_create_output_section_statements): Prototype.
6083
 
        (hppaelf_delete_padding_statements): Prototype.
6084
 
        (hppaelf_finish): Prototype.
6085
 
 
6086
 
        Merge from elf32.em
6087
 
        * emultempl/hppaelf.em: Include ctype.h.
6088
 
        (struct orphan_save): New.
6089
 
        (gld${EMULATION_NAME}_place_orphan): New.
6090
 
        (output_rel_find): New.
6091
 
        (hppaelf_get_script): Update from elf32.em.
6092
 
        (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
6093
 
        Change emulation_name field to "${EMULATION_NAME}".  Add
6094
 
        gld${EMULATION_NAME}_place_orphan.
6095
 
 
6096
 
        * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
6097
 
        ehppalinux.o, sort it.  Regenerate dependencies.
6098
 
        (ehppalinux.c): Depend on hppaelf.em
6099
 
        * Makefile.in: Regenerate.
6100
 
 
6101
 
        * configure.tgt: targ_emul=hppalinux for hppa*linux
6102
 
 
6103
 
        * emulparams/hppalinux.sh: New.
6104
 
        * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
6105
 
 
6106
 
2000-07-08  Alan Modra  <alan@linuxcare.com.au>
6107
 
 
6108
 
        * lexsup.c (parse_args): Copy section name.
6109
 
 
6110
 
2000-07-07  Charles Wilson  <cwilson@ece.gatech.edu>
6111
 
 
6112
 
        * emultempl/pe.em: institute the following search order for
6113
 
        dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
6114
 
        libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
6115
 
        static lib (libfoo.a) if none of the above are found.
6116
 
 
6117
 
2000-07-07  Mumit Khan  <khan@xraylith.wisc.edu>
6118
 
 
6119
 
        * emultempl/pe.em (pe_enable_auto_image_base): New variable.
6120
 
        (longopts): New --{enable,disable}-auto-image-base options.
6121
 
        (gld_${EMULATION_NAME}_list_options): Document.
6122
 
        (gld_${EMULATION_NAME}_parse): Handle.
6123
 
        (strhash): New static function.
6124
 
        (compute_dll_image_base): New static function.
6125
 
        (gld_${EMULATION_NAME}_set_symbols): Use.
6126
 
 
6127
 
2000-07-05  DJ Delorie  <dj@redhat.com>
6128
 
 
6129
 
        * MAINTAINERS: new
6130
 
 
6131
 
2000-07-01  Koundinya K  <kk@ddeorg.soft.net>
6132
 
 
6133
 
        * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
6134
 
        * emulparams/elf32btsmip.sh: New file.
6135
 
        * Makefile.am: Add traditional mips target.
6136
 
        * Makefile.in: Rebuild.
6137
 
 
6138
 
2000-07-01  H.J. Lu  <hjl@gnu.org>
6139
 
 
6140
 
        * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
6141
 
        automake to use YLWRAP.
6142
 
        * Makefile.in: Rebuild.
6143
 
 
6144
 
2000-07-01  Alan Modra  <alan@linuxcare.com.au>
6145
 
 
6146
 
        * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
6147
 
        (CLEANFILES): Add DEPA.
6148
 
        * Makefile.in: Regenerate.
6149
 
 
6150
 
2000-06-30  Timothy Wall  <twall@ppc>
6151
 
 
6152
 
        * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
6153
 
        the page in the upper octet of the address.
6154
 
 
6155
 
2000-06-26  Marek Michalkiewicz  <marekm@linux.org.pl>
6156
 
 
6157
 
        * emulparams/avrmega161.sh (ARCH): Change to avr:5.
6158
 
 
6159
 
2000-06-24  Alan Modra  <alan@linuxcare.com.au>
6160
 
 
6161
 
        * NEWS: arm-elf does --gc-sections too.
6162
 
 
6163
 
2000-06-22  Alan Modra  <alan@linuxcare.com.au>
6164
 
 
6165
 
        * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
6166
 
        find one.
6167
 
        * Makefile.in: Regenerate.
6168
 
 
6169
 
2000-06-21  H.J. Lu  <hjl@gnu.org>
6170
 
 
6171
 
        * Makefile.am: Rebuild dependency.
6172
 
        * Makefile.in: Rebuild.
6173
 
 
6174
 
2000-06-20  H.J. Lu  <hjl@gnu.org>
6175
 
 
6176
 
        * Makefile.am: Rebuild dependency.
6177
 
        * Makefile.in: Rebuild.
6178
 
 
6179
 
2000-06-20  Timothy Wall  <twall@cygnus.com>
6180
 
 
6181
 
        * scripttempl/tic54xcoff.sc: New.
6182
 
        * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
6183
 
        * gen-doc.texi: Add flag for TI COFF.
6184
 
        * ld.texinfo: Add documentation for TI COFF handling switches.
6185
 
        * emultempl/ticoff.em: New. TI COFF handling.
6186
 
        * configure.tgt: Add tic54x target.
6187
 
        * Makefile.am: Add tic54x target.
6188
 
        * Makefile.in: Ditto.
6189
 
 
6190
 
2000-06-20  Alan Modra  <alan@linuxcare.com.au>
6191
 
 
6192
 
        * ldmain.c (set_scripts_dir): Correct pointer comparison when
6193
 
        checking for backslashes.
6194
 
 
6195
 
2000-06-19  Alan Modra  <alan@linuxcare.com.au>
6196
 
 
6197
 
        * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
6198
 
 
6199
 
2000-06-18  Alan Modra  <alan@linuxcare.com.au>
6200
 
 
6201
 
        * NEWS: Update list of targets supporting --gc-sections.
6202
 
 
6203
 
        * scripttempl/elf.sc: KEEP .eh_frame contents.
6204
 
        * scripttempl/elfd30v.sc: Same here.
6205
 
 
6206
 
2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
6207
 
 
6208
 
        * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
6209
 
        and m68hc11 (elf).
6210
 
        * Makefile.in: Rebuild.
6211
 
        * configure.tgt: Recognize m68hc12 and m68hc11.
6212
 
        * scripttempl/elfm68hc12.sc: New file.
6213
 
        * emulparams/m68hc12elfb: New emulation.
6214
 
        * emulparams/m68hc12elf: New emulation.
6215
 
        * emulparams/m68hc11elfb.sh: New file.  User configurable emulation
6216
 
        (includes a memory.x script to define the ROM and RAM banks).
6217
 
        * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
6218
 
        New configuration files for support of Motorola 68hc11
6219
 
 
6220
 
2000-06-15  Alan Modra  <alan@linuxcare.com.au>
6221
 
 
6222
 
        * ldmain.c (main): Only change SEC_READONLY for final link.
6223
 
 
6224
 
2000-06-13  H.J. Lu  <hjl@gnu.org>
6225
 
 
6226
 
        * configure: Regenerate.
6227
 
 
6228
 
2000-06-08  David O'Brien  <obrien@FreeBSD.org>
6229
 
 
6230
 
        * configure.in (VERSION): Update to show this is the CVS mainline.
6231
 
 
6232
 
2000-06-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6233
 
 
6234
 
        * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
6235
 
        input objects to be ECOFF.
6236
 
        (check_sections): einfo takes %B, not %P, to print a BFD name.
6237
 
 
6238
 
2000-06-05  Michael Matz <matz@ifh.de>
6239
 
 
6240
 
        * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
6241
 
        version scripts.
6242
 
 
6243
 
        * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
6244
 
 
6245
 
2000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
6246
 
 
6247
 
        * emulparams/avr1200.sh (STACK): Define as 0.
6248
 
        * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
6249
 
        * emulparams/avr4433.sh (STACK): Likewise.
6250
 
        * emulparams/avr44x4.sh (STACK): Likewise.
6251
 
        * emulparams/avr85xx.sh (STACK): Likewise.
6252
 
        * emulparams/avrmega103.sh (STACK): Likewise.
6253
 
        * emulparams/avrmega161.sh (STACK): Likewise.
6254
 
        * emulparams/avrmega603.sh (STACK): Likewise.
6255
 
        * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
6256
 
        (__stack): Define from ${STACK} for main().
6257
 
 
6258
 
2000-05-26  Alan Modra  <alan@linuxcare.com.au>
6259
 
 
6260
 
        * Makefile.am: Update dependencies with "make dep-am"
6261
 
        * Makefile.in: Regenerate.
6262
 
 
6263
 
2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
6264
 
 
6265
 
        * ldmain.c: Include filenames.h.
6266
 
        (set_scripts_dir): Support backslashes in program name.
6267
 
 
6268
 
2000-05-22  Igor Shevlyakov  <igor@windriver.com>
6269
 
 
6270
 
        * ldmain.c (main): When deciding if ".text" section should be
6271
 
        read-only, don't forget to reset SEC_READONLY because it
6272
 
        could be already set.
6273
 
 
6274
 
2000-05-22  Thomas de Lellis  <tdel@windriver.com>
6275
 
 
6276
 
        * ld.1: Add documentation for new command line option:
6277
 
        --section-start <sectionname>=<sectionorg>
6278
 
        This is a generic version of -Ttext etc. which accepts
6279
 
        any section name as a parameter instead of just text/data/
6280
 
        bss.
6281
 
        * ld.texinfo: More docs.
6282
 
        * NEWS: More docs.
6283
 
        * lexsup.c: (parse_args): Recognize new command line option.
6284
 
        (ld_options): Add new option.
6285
 
 
6286
 
2000-05-18  H.J. Lu  <hjl@gnu.org>
6287
 
 
6288
 
        * lexsup.c (parse_args): `i' == `r', not `q'.
6289
 
 
6290
 
2000-05-18  Jeffrey A Law  (law@cygnus.com)
6291
 
 
6292
 
        * configure.tgt (hppa*64*-*-*): Enable PA64 target.
6293
 
 
6294
 
2000-05-17 S. Bharadwaj Yadavalli  <sby@scrugs.lkg.dec.com>
6295
 
              Rick Gorton          <gorton@scrugs.lkg.dec.com>
6296
 
 
6297
 
        Add support for '-q' == '--emit-relocs' switch.
6298
 
        * ldmain.c (main): Default to false.
6299
 
        * lexsup.c (parse_args): Turn on emitrelocations flag if set.
6300
 
        * NEWS: Describe the emitrelocations switch.
6301
 
        * ld.texinfo: Describe the emitrelocations switch.
6302
 
 
6303
 
2000-05-16  Charles Wilson <cwilson@ece.gatech.edu>
6304
 
 
6305
 
        * emultempl/pe.em (_open_dynamic_archive): New function: Search
6306
 
        the library path for "foo.dll" and "libfoo.dll" dynamic libraries
6307
 
        before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
6308
 
        link options.
6309
 
 
6310
 
2000-05-15  David O'Brien  <obrien@FreeBSD.org>
6311
 
 
6312
 
        * lexsup.c (parse_args): Update the year in the copyright notice.
6313
 
 
6314
 
2000-05-13  Alan Modra  <alan@linuxcare.com.au>
6315
 
 
6316
 
        * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
6317
 
        Replace defines with those from intl/libgettext.h to quieten gcc
6318
 
        warnings.
6319
 
 
6320
 
2000-05-10  H.J. Lu  <hjl@gnu.org>
6321
 
 
6322
 
        * ldlang.c (open_input_bfds): Don't load the same file within
6323
 
        a group again if the whole archive has been loaded already.
6324
 
 
6325
 
2000-05-03  Alan Modra  <alan@linuxcare.com.au>
6326
 
 
6327
 
        From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
6328
 
        * lexsup.c (set_section_start): Use bfd_scan_vma rather than
6329
 
        strtoul.
6330
 
 
6331
 
2000-05-01  Jim Wilson  <wilson@cygnus.com>
6332
 
 
6333
 
        * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
6334
 
 
6335
 
        * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
6336
 
        host "ia64-*-linux-gnu*".
6337
 
 
6338
 
2000-04-29  Andreas Jaeger  <aj@suse.de>
6339
 
 
6340
 
        * ld.h: Correctly check GCC version.
6341
 
 
6342
 
2000-04-25  Jeffrey A Law  (law@cygnus.com)
6343
 
 
6344
 
        * Makefile.am: Add PA64 support.  Add missing dependencies for
6345
 
        PA32 elf support.
6346
 
        * Makefile.in: Rebuilt.
6347
 
        * configure.tgt: Add PA64 support (currently disabled).
6348
 
 
6349
 
2000-04-25  Alan Modra  <alan@linuxcare.com.au>
6350
 
 
6351
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
6352
 
        (output_rel_find): New function.
6353
 
        (hold_section, hold_use): Delete.
6354
 
        (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
6355
 
        hold_interp): Make local to place_orphan.
6356
 
        (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
6357
 
        rather than place_section to find possible previous use of orphan.
6358
 
        Similarly find the place-holder output sections.  Use returned
6359
 
        value from lang_enter_output_section_statement rather than calling
6360
 
        lang_output_section_statement_lookup.
6361
 
        * emultempl/armelf.em: Same here.
6362
 
        * emultempl/pe.em: Similar to above, but no need for output_rel_find.
6363
 
 
6364
 
        * ldlang.c (lang_enter_output_section_statement): Return output
6365
 
        section statement.
6366
 
        * ldlang.h (lang_enter_output_section_statement): Change
6367
 
        declaration too.
6368
 
 
6369
 
        * ldlang.h (lang_output_section_statement): Export it.
6370
 
        * ldlang.c (lang_output_section_statement): Ditto.
6371
 
 
6372
 
2000-04-24  Nick Clifton  <nickc@cygnus.com>
6373
 
 
6374
 
        * ld.texinfo (Output Section Data): Add note that section data
6375
 
        commands cannot appear outside of section directives.
6376
 
 
6377
 
2000-04-2  Matthew Green  <mrg@cygnus.com>
6378
 
 
6379
 
        * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
6380
 
 
6381
 
2000-04-21  Richard Henderson  <rth@cygnus.com>
6382
 
            David Mosberger  <davidm@hpl.hp.com>
6383
 
 
6384
 
        * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
6385
 
        (eelf64_ia64.c): New rule.
6386
 
        * Makefile.in: Rebuild.
6387
 
        * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
6388
 
        * emulparams/elf64_ia64.sh: New file.
6389
 
 
6390
 
2000-04-21  Richard Henderson  <rth@cygnus.com>
6391
 
 
6392
 
        * scripttempl/elfd30v.sc: Place .gcc_except_table.
6393
 
 
6394
 
2000-04-19  Alan Modra  <alan@linuxcare.com.au>
6395
 
 
6396
 
        * dep-in.sed: Match space at start of file name, not at end.
6397
 
 
6398
 
2000-04-18  H.J. Lu  <hjl@gnu.org>
6399
 
 
6400
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
6401
 
        lang_leave_output_section_statement () after calling
6402
 
        lang_enter_output_section_statement ().
6403
 
        * emultempl/armelf.em: Likewise.
6404
 
 
6405
 
2000-04-18  Alan Modra  <alan@linuxcare.com.au>
6406
 
 
6407
 
        * emultempl/elf32.em (struct orphan_save): Add section field.
6408
 
        (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
6409
 
        better order, and place first orphan section as we did before the
6410
 
        2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
6411
 
        Don't call make_bfd_section here, let wild_doit do the job for us.
6412
 
        Don't build a statement list when we'll only throw it away.
6413
 
        * emultempl/armelf.em: Ditto.
6414
 
        * emultempl/pe.em: Similarly.
6415
 
 
6416
 
2000-04-14  Geoff Keating  <geoffk@cygnus.com>
6417
 
 
6418
 
        * scripttempl/elfppc.sc: Remove.
6419
 
        * emulparams/elf32ppc.sh: Use elf.sc.
6420
 
        * emulparams/elf32lppc.sh: Use elf.sc.
6421
 
        * emulparams/elf32ppclinux.sh: Use elf.sc.
6422
 
        * emulparams/elf32ppcsim.sh: New file.
6423
 
        * emulparams/elf32lppcsim.sh: New file.
6424
 
        * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
6425
 
        (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
6426
 
        * Makefile.in: Regenerate.
6427
 
        * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
6428
 
 
6429
 
2000-04-14  Alan Modra  <alan@linuxcare.com.au>
6430
 
 
6431
 
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
6432
 
        ~SEC_ALLOC sections too.  Init start address of debug sections.
6433
 
        * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
6434
 
        * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
6435
 
        Also set all relocateable section start addresses.
6436
 
 
6437
 
2000-04-13  Geoff Keating  <geoffk@cygnus.com>
6438
 
 
6439
 
        * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
6440
 
        Add new BSS_PLT variable for when .plt need not be contained in
6441
 
        the file.  Move _etext so that it is also after .fini, and provide
6442
 
        both etext and _etext with a leading underscore.  Mark the start
6443
 
        and end of .sbss.
6444
 
 
6445
 
2000-04-12  Alan Modra  <alan@linuxcare.com.au>
6446
 
 
6447
 
        * emultempl/elf32.em (struct orphan_save): New.
6448
 
        (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
6449
 
        hold_interp): Make them struct orphan_save.
6450
 
        (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
6451
 
        (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
6452
 
        the end of the relevant section list.  Also add associated section
6453
 
        statements to the end of any previous orphan statements.
6454
 
        * emultempl/armelf.em: Similarly.
6455
 
        * emultempl/pe.em: Similarly.
6456
 
 
6457
 
2000-04-11  Alan Modra  <alan@linuxcare.com.au>
6458
 
 
6459
 
        * ld.texinfo (Simple Example): Remove extraneous paragraph.
6460
 
 
6461
 
2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
6462
 
 
6463
 
        * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
6464
 
        --enable-build-warnings option.
6465
 
        * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
6466
 
        * Makefile.in, configure: Re-generate.
6467
 
 
6468
 
2000-04-04  Alan Modra  <alan@linuxcare.com.au>
6469
 
 
6470
 
        * po/ld.pot: Regenerate.
6471
 
 
6472
 
        * lexsup.c (help): Restore translated part of bug string.
6473
 
 
6474
 
        * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
6475
 
        (DEP): Quote when passing vars to sub-make.  Add warning message
6476
 
        to end.
6477
 
        (DEP1): Rewrite for "gcc -MM".
6478
 
        (CLEANFILES): Add DEP2.
6479
 
        Update dependencies.
6480
 
        * Makefile.in: Regenerate.
6481
 
 
6482
 
2000-04-03  Alan Modra  <alan@linuxcare.com.au>
6483
 
 
6484
 
        * ld.h: #include "bin-bugs.h"
6485
 
        * lexsup.c (help): Use REPORT_BUGS_TO.
6486
 
 
6487
 
2000-03-27  Denis Chertykov  <denisc@overta.ru>
6488
 
 
6489
 
        * configure.tgt (avr-*-*): New target support.
6490
 
        * Makefile.am: Likewise.
6491
 
        * scripttempl/elf32avr.sc: New script file.
6492
 
        * emulparams/avr1200.sh: New file.
6493
 
        * emulparams/avr23xx.sh: New file.
6494
 
        * emulparams/avr4433.sh New file.
6495
 
        * emulparams/avr44x4.sh New file.
6496
 
        * emulparams/avr85xx.sh New file.
6497
 
        * emulparams/avrmega103.sh New file.
6498
 
        * emulparams/avrmega161.sh New file.
6499
 
        * emulparams/avrmega603.sh New file.
6500
 
        * Makefile.in: Regenerate.
6501
 
 
6502
 
2000-03-09  Andreas Jaeger  <aj@suse.de>
6503
 
 
6504
 
        * Makefile.am (check-DEJAGNU): Also unset LANG.
6505
 
        * Makefile.in: Rebuild.
6506
 
 
6507
 
2000-03-06  Ian Lance Taylor  <ian@zembu.com>
6508
 
 
6509
 
        * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
6510
 
        archive.
6511
 
 
6512
 
2000-03-02  H.J. Lu  <hjl@gnu.org>
6513
 
 
6514
 
        * emulparams/elf32mcore.sh: Include "getopt.h".
6515
 
 
6516
 
2000-03-01  Ian Lance Taylor  <ian@zembu.com>
6517
 
 
6518
 
        * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
6519
 
 
6520
 
2000-03-01  H.J. Lu  <hjl@gnu.org>
6521
 
 
6522
 
        * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
6523
 
        * emulparams/shpe.sh: Likewise.
6524
 
 
6525
 
2000-03-01  Nick Clifton  <nickc@cygnus.com>
6526
 
 
6527
 
        * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
6528
 
        to unused parameters.
6529
 
 
6530
 
        * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
6531
 
        functions only used by DLL code.
6532
 
        (_place_orphan): Initialise 'dollar'.
6533
 
 
6534
 
2000-03-01  H.J. Lu  <hjl@gnu.org>
6535
 
 
6536
 
        * ldmain.c (undefined_symbol): Take one more arg, fatal, to
6537
 
        indicate if the undefined symbol is a fatal error or not.
6538
 
        Don't delete the output file if "fatal" is false.
6539
 
 
6540
 
2000-02-29  H.J. Lu  <hjl@gnu.org>
6541
 
 
6542
 
        * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
6543
 
        Set LC_COLLATE and LC_ALL to null and export them. It is for
6544
 
        sort which expects the C locale.
6545
 
        Add $(LIBS) to all $(HOSTING_LIBS).
6546
 
        * Makefile.in: Rebuild.
6547
 
 
6548
 
2000-02-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
6549
 
 
6550
 
        * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
6551
 
        beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
6552
 
        linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
6553
 
        (ld_emulation_xfer_struct): Add missing NULL initialiser for
6554
 
        find_potential_libraries.
6555
 
 
6556
 
2000-02-28  Jim Blandy  <jimb@redhat.com>
6557
 
 
6558
 
        * ldgram.y (exclude_name_list): Don't require a comma to separate
6559
 
        list entries; the lexer considers commas to be valid part of a
6560
 
        filename, so in something like `foo, bar' the comma is considered
6561
 
        part of the first filename, `foo,'.
6562
 
        * ld.texinfo: Update section on EXCLUDE_FILE lists.
6563
 
 
6564
 
2000-02-27  Loren J. Rittle  <ljrittle@acm.org>
6565
 
 
6566
 
        * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
6567
 
        host "i[3456]86-*-freebsdelf*".
6568
 
 
6569
 
2000-02-27  Mark Elbrecht  <snowball3@bigfoot.com>
6570
 
 
6571
 
        * scripttempl/i386go32.sc: Move misplaced semicolons.
6572
 
 
6573
 
2000-02-25  Ian Lance Taylor  <ian@zembu.com>
6574
 
 
6575
 
        * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
6576
 
        (ALL_64_EMULATIONS): Remove eelf64hppa.o.
6577
 
        (eelf64hppa.c, ehppaelf.c): Remove targets.
6578
 
        * Makefile.in: Rebuild.
6579
 
 
6580
 
2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6581
 
 
6582
 
        * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
6583
 
        GNU/Linux/sparc, but keep the default as 32.
6584
 
 
6585
 
        * configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
6586
 
        it default if sparcv9 or sparc64.
6587
 
 
6588
 
2000-02-24  Nick Clifton  <nickc@cygnus.com>
6589
 
 
6590
 
        * Makefile.am: Add rules to build emipspe.o and earmpe.o.
6591
 
        * Makefile.in: Regenerate.
6592
 
        * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
6593
 
 
6594
 
        * ldemul.h (ld_emulation_xfer_struct): Add new field:
6595
 
        find_potential_libraries.
6596
 
        * ldemul.c (ldemul_find_potential_libraries): New function.
6597
 
 
6598
 
        * ldfile.c (ldfile_open_file_search): Allow function to be
6599
 
        exported.
6600
 
        (ldfile_open_file): Call ldemul_find_potential_libraries.
6601
 
        * ldfile.h: Add prototype for ldfile_open_file_search.
6602
 
 
6603
 
        * pe-dll.c: Add support for ARM, MIPS and SH targets.
6604
 
 
6605
 
        * emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
6606
 
        * emulparams/shpe.sh: New file.  Parameters for sh-pe target.
6607
 
 
6608
 
        * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
6609
 
        (gld_X_find_potential_libraries): New function.  Search for
6610
 
        libraries called "*.lib".
6611
 
 
6612
 
        * scripttempl/pe.sc: Add .pdata section.
6613
 
 
6614
 
2000-02-23  Richard Henderson  <rth@cygnus.com>
6615
 
 
6616
 
        * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
6617
 
        Add and use memory regions.
6618
 
 
6619
 
2000-02-23  Linas Vepstas (linas@linas.org)
6620
 
 
6621
 
        * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
6622
 
 
6623
 
        * Makefile.am: Add support for Linux/IBM 370.
6624
 
        * configure.tgt: Likewise.
6625
 
 
6626
 
        * Makefile.in: Regenerate.
6627
 
 
6628
 
2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
6629
 
 
6630
 
        * ldlang.c (print_input_section, print_data_statement,
6631
 
        print_reloc_statement, print_padding_statement, insert_pad,
6632
 
        size_input_section, lang_check_section_addresses,
6633
 
        lang_size_sections, lang_do_assignments, lang_set_startof,
6634
 
        lang_one_common): Change `opb' to unsigned.
6635
 
        (lang_do_assignments): Also change `size' to unsigned.
6636
 
 
6637
 
2000-02-16  Richard Henderson  <rth@cygnus.com>
6638
 
 
6639
 
        * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
6640
 
 
6641
 
2000-02-16  Timothy Wall  <twall@cygnus.com>
6642
 
 
6643
 
        * mri.c (mri_draw_tree): Add default LMA region argument to call
6644
 
        to lang_leave_output_section_statement.
6645
 
        * ldlang.h: Update prototypes with LMA region arguments.
6646
 
        * ldlang.c (lang_size_sections): Encapsulate region bounds
6647
 
        checking in os_check_region call.
6648
 
        (os_check_region): New function.
6649
 
        (lang_output_section_statement_lookup): Initialize lma_region.
6650
 
        (lang_leave_output_section_statement): Add LMA region argument.
6651
 
        (lang_leave_overlay): Ditto.
6652
 
        * ldgram.y: Handle LMA region syntax.
6653
 
        * ld.texinfo (Output Section Description): Describe LMA region usage.
6654
 
        * emultempl/armelf.em (gld$place_orphan): Add default value for
6655
 
        lma region in call to lang_leave_output_section_statement.
6656
 
        * emultempl/elf32.em (gld$place_orphan): Add default value for
6657
 
        lma region in call to lang_leave_output_section_statement.
6658
 
        * emultempl/pe.em (gld$place_orphan): Add default value for
6659
 
        lma region in call to lang_leave_output_section_statement.
6660
 
 
6661
 
 
6662
 
2000-02-04  Timothy Wall  <twall@redhat.com>
6663
 
 
6664
 
        * ldlang.c (lang_check_section_addresses): Use bytes instead of
6665
 
        octets when calculating section end addresses.
6666
 
 
6667
 
2000-02-04  Timothy Wall  <twall@redhat.com>
6668
 
 
6669
 
        * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
6670
 
 
6671
 
2000-02-03  Timothy Wall <twall@redhat.com>
6672
 
 
6673
 
        * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
6674
 
        octet count.
6675
 
        * ldlang.c (print_input_section, print_data_statement,
6676
 
        print_reloc_statement, print_padding_statement): Print target
6677
 
        address values and section sizes as bytes, not octets.
6678
 
        (insert_pad) Calculate padding size in octets, and adjust "dot"
6679
 
        by bytes.
6680
 
        (size_input_section) Always adjust "dot" by bytes, not octets.
6681
 
        (lang_check_section_addresses, lang_do_assignments) Adjust
6682
 
        "dot" by bytes, not octets.  Use the larger of the directive size
6683
 
        or octets_per_byte for the number of octets actually allocated in
6684
 
        the output section.
6685
 
        (lang_set_startof) Make sure STARTOF returns a target address.
6686
 
        (lang_one_common) Record size changes in octets.
6687
 
        (lang_abs_symbol_at_end_of) Section end symbol's value is
6688
 
        recorded in target bytes.
6689
 
        * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
6690
 
        to be clear about behavior when an octet is smaller than one byte.
6691
 
 
6692
 
2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
6693
 
 
6694
 
        * ldcref.c (output_cref): Don't pass message strings to printf
6695
 
        as format arg.
6696
 
        Update copyright.
6697
 
 
6698
 
        * ldmisc.c (vfinfo): Same here.
6699
 
        Update copyright.
6700
 
 
6701
 
2000-01-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
6702
 
 
6703
 
        * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
6704
 
        generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
6705
 
        mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
6706
 
        Add missing NULL initialisers, and comments.
6707
 
 
6708
 
2000-01-21  Nick Clifton  <nickc@cygnus.com>
6709
 
 
6710
 
        * ldlang.c (lang_size_sections): Fix typo in comment.
6711
 
 
6712
 
2000-01-18  H.J. Lu  <hjl@gnu.org>
6713
 
 
6714
 
        * ldlang.c (lang_size_sections): Also update the current
6715
 
        address of a region if the SEC_NEVER_LOAD bit is not set.
6716
 
 
6717
 
2000-01-10  Philip Blundell  <pb@futuretv.com>
6718
 
 
6719
 
        * configure.tgt (arm*-*-conix*): New target.
6720
 
 
6721
 
2000-01-07  Nick Clifton  <nickc@cygnus.com>
6722
 
 
6723
 
        * ld.texinfo (Options): Remind users to preceed linker command
6724
 
        line switches with -Wl, (or whatever is appropriate) if it is
6725
 
        being invoked by a comnpiler driver program.
6726
 
        Fix description of the behaviour of the -n command line switch.
6727
 
 
6728
 
2000-01-05  Catherine Moore  <clm@cygnus.com>
6729
 
 
6730
 
        * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
6731
 
        (name_list): New.
6732
 
        * ld.texinfo (EXCLUDE_FILE): Update documentation.
6733
 
        * ldgram.y (wildcard_spec): Support a list of excluded_files.
6734
 
        (exclude_name_list): New.
6735
 
        ldlang.c (walk_wild_section): Support list of excluded files.
6736
 
        (print_wild_statement): Likewise.
6737
 
        (lang_add_wild): Likewise.
6738
 
        * ldlang.h (lang_wild_statement_type): Likewise.
6739
 
        * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6740
 
 
6741
 
2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
6742
 
 
6743
 
        * pe-dll.c (pe_dll_warn_dup_exports): New variable.
6744
 
        (process_def_file): Use.
6745
 
        (pe_dll_compat_implib): New variable.
6746
 
        (make_one): Use.
6747
 
 
6748
 
        * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
6749
 
        pe_dll_compat_implib.
6750
 
 
6751
 
        * emultempl/pe.em (longopts): Add warn-duplicate-exports and
6752
 
        compat-implib options.
6753
 
        (gld_${EMULATION_NAME}_list_options): List new options.
6754
 
        (gld_${EMULATION_NAME}_parse_args): Handle.
6755
 
 
6756
 
        * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
6757
 
        dll.
6758
 
 
6759
 
        * deffilep.y (opt_name): Allow "." in name.
6760
 
 
6761
 
For older changes see ChangeLog-9899
 
291
        * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
 
292
 
 
293
        * ldfile.c (ldfile_set_output_arch): Add defarch param.
 
294
        * ldfile.h (ldfile_set_output_arch): Ditto.
 
295
        * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
 
296
        ldfile_set_output_arch.
 
297
        * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
298
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
299
        * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
300
        * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
301
        * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
302
        * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
303
        * ldgram.y: Adjust ldfile_set_output_arch call.
 
304
        * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
305
        * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
306
        * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
307
        * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
308
        * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
 
309
        * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
310
        * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
 
311
 
 
312
2004-01-02  Bernardo Innocenti  <bernie@develer.com>
 
313
 
 
314
        * configure.tgt: Add m68k-uClinux target.
 
315
 
 
316
For older changes see ChangeLog-0203
6762
317
 
6763
318
Local Variables:
6764
319
mode: change-log