forked from seank/FreeScale-s12x-binutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-0203
3580 lines (2620 loc) · 120 KB
/
ChangeLog-0203
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Add m32r-linux and PIC support. Add new ABI that uses RELA.
* Makefile.am: Added em32rlelf.c, em32relf_linux.c,
em32rlelf_linux.c.
* Makefile.in: Regenerate.
* configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added.
* emulparams/m32relf_linux.sh: Added.
* emulparams/m32rlelf.sh: Ditto.
* emulparams/m32rlelf_linux.sh: Ditto.
* NEWS: Mention support m32r Linux.
2003-12-18 Eric Youngdale <eric@mkssoftware.com>
Nick Clifton <nickc@redhat.com>
* emultempl/pe.em (_after_open): When scanning MS import
libraries allow for the possible presence of static objects.
2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
cplus_demangle.
2003-12-07 Kazu Hirata <kazu@cs.umass.edu>
* ldemul.c: Convert to ISO-C.
* ldver.c: Likewise.
2003-12-06 Kazu Hirata <kazu@cs.umass.edu>
* lexsup.c (is_num): Remove.
2003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
* pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to
0. This fixes "bad fixup" error generated by MS linker.
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.
* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.
2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
* armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
2003-12-04 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_do_assignments): Function return is void.
* ldlang.h (lang_do_assignments): Ditto.
* emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
* Makefile.am (ens32knbsd.c): Depend on netbsd.em.
* Makefile.in: Regenerate.
2003-12-03 Dave Airlie <airlied@linux.ie>
* configure.tgt: Add vax-linux-gnu target.
2003-12-03 Dmitry Diky <diwil@mail.ru>
* scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for
forthcoming devices.
(_etext): provide this defenition for all scripts.
2003-12-02 Kazu Hirata <kazu@cs.umass.edu>
* emultempl/beos.em: Remove ARGSUSED.
2003-12-03 Alan Modra <amodra@bigpond.net.au>
* emultempl/pe.em (pe_fixup_stdcalls): Update for renamed
bfd_link_hash_entry field "next" -> "und_next".
(pe_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* emultempl/sunos.em (before_allocation): Likewise.
2003-12-02 Nick Clifton <nickc@redhat.com>
* ld.texinfo (Options): --ignore-all is no longer the default
behaviour for shared libraries and dynamic executables.
2003-12-02 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2003-12-02 Alan Modra <amodra@bigpond.net.au>
* ldmain.c (main): Remove mpc860c0 code.
* lexsup.c (enum option_values): Delete OPTION_MPC860C0.
(ld_options): Delete mpc860c0 entry.
(parse_args): Likewise.
2003-12-01 Alan Modra <amodra@bigpond.net.au>
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
hash table type rather than testing creator flavour.
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Only create stub_file bfd if hash table creator is as expected.
(gld${EMULATION_NAME}_finish): Test stub_file.
2003-11-28 Marcel Moolenaar <marcel@xcllnt.net>
* emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define.
(DATA_ADDR): Unset.
2003-11-18 James E Wilson <wilson@specifixinc.com>
* ldlang.c (lang_process): Move lang_reset_memory_regions call after
lang_do_assignments call.
* emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
.rela.opd if -pie.
2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au>
* scripttempl/pe.sc: Add support for TLS sections.
2003-11-09 Alan Modra <amodra@bigpond.net.au>
* configure.host (HOSTING_LIBS): Group libgcc and libc with
--start-group, --end-group pair.
(*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
(am33_2.0-*-linux*): Edit default HOSTING_CRT0.
(arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
(hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
* ldfile.c (ldfile_open_file): Use "No such file" error message.
2003-11-06 Bruno Rohee <bruno@rohee.com>
* ls.texinfo: Fix "the the" typo.
2003-11-05 Alan Modra <amodra@bigpond.net.au>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
(pr_sym): Move inside #ifdef DLL_SUPPORT.
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
unused variable.
* emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
2003-11-04 Alan Modra <amodra@bigpond.net.au>
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
_bfd_elf_tls_setup.
2003-10-31 Nick Clifton <nickc@redhat.com>
* ldlang.c (lookup_name): When looking for a previously loaded
file compare the local_sym_name not the filename, as the
filename might have been transformed via the search directory
path lookup.
If the sought-for file has not been found in the input file
chain then create a new node with the search_dirs_flag set so
that the entire set of directory paths will be scanned for it.
2003-10-30 Andrew Cagney <cagney@redhat.com>
* emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
with "struct bfd_symbol".
2003-10-30 Phil Edwards <phil@codesourcery.com>
* Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
(eelf32mipswindiss.c): New target.
* Makefile.in: Regenerated.
* emulparams/elf32mipswindiss.sh: New file.
* configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
mips*-*-vxworks*): Use ELF now.
(mips*-*-windiss): New stanza, use elf32mipswindiss.
2003-10-27 Stephane Carrez <stcarrez@nerim.fr>
* scripttempl/elfm68hc12.sc: Define eeprom memory region.
2003-10-25 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog-9197: Fix typos.
* NEWS: Likewise.
* ld.texinfo: Likewise.
* ldlang.c: Fix comment typos.
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Fix a typo.
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Check demangled symbols.
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Check "symbol" instead of
"wildcard" and "pattern". Fix a typo.
(lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(realsymbol): New function.
(lang_new_vers_pattern): Set "symbol" and remove "wildcard".
* ldlex.l (V_IDENTIFIER): Allow '\\'.
2003-10-24 Nick Clifton <nickc@redhat.com>
* emultempl/m68hc1xelf.em (before_allocation): Add missing second
parameter to lang_memory_region_lookup.
2003-10-22 Jakub Jelinek <jakub@redhat.com>
* ldlang.c: Include hashtab.h.
(lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
lang_vers_match_lang_java): Remove.
(lang_vers_match): New function.
(lang_new_vers_pattern): Initialize wildcard and mask
fields, don't initialize match.
(lang_new_vers_node): Use xcalloc. Adjust for globals and
locals field type changes. Set match field.
(version_expr_head_hash, version_expr_head_eq): New functions.
(lang_finalize_version_expr_head): New function.
(lang_register_vers_node): Call lang_finalize_version_expr_head.
Search in hash table if not wildcard when looking for duplicates.
* emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
duplicate checking. Initialize all fields of dot_entry from entry
with the exception of pattern and next.
2003-10-21 Nick Clifton <nickc@redhat.com>
* ldlang.c (lang_memory_region_lookup): Add second parameter -
create - which is true if the region is being created. Issue
appropriate warning messages for finding and not finding
already created regions.
(lang_memory_default): Use DEFAULT_MEMORY_REGION.
(lang_leave_overlay_section): Likewise.
(lang_size_sections_1): Likewise.
Pass second parameter to lang_memory_region_lookup.
(lang_get_regions): Likewise.
* ldlang.h (DEFAULT_MEMORY_REGION): Define.
Update prototype for lang_memory_region_lookup.
* ldgram.y: Pass second parameter to lang_memory_region_lookup.
Use DEFAULT_MEMORY_REGION instead of "*default".
2003-10-20 Andrew Cagney <cagney@redhat.com>
* pe-dll.c: Replace "struct sec" with "struct bfd_section".
2003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
* Makefile.am: Remove old (before GCC 3.3) emulations for AVR
target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
avrmega161, avrmega603. Default to avr2.
* Makefile.in: Regenerate.
* configure.tgt: Likewise.
* emulparams/avr1200.sh: Remove.
* emulparams/avr23xx.sh: Remove.
* emulparams/avr4433.sh: Remove.
* emulparams/avr44x4.sh: Remove.
* emulparams/avr85xx.sh: Remove.
* emulparams/avrmega103.sh: Remove.
* emulparams/avrmega161.sh: Remove.
* emulparams/avrmega603.sh: Remove.
* scripttempl/elf32avr.sc: Remove.
2003-10-19 Andreas Schwab <schwab@suse.de>
* emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
newline to message.
* deffilep.y: Remove commas from %token lines.
2003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
* emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
relaxation always; don't exclude relocatable linking. Adjust for
_bfd_mmix_prepare_linker_allocated_gregs renamed to
_bfd_mmix_before_linker_allocation.
(mmix_after_allocation): Adjust for
_bfd_mmix_finalize_linker_allocated_gregs renamed to
_bfd_mmix_after_linker_allocation.
* scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
* ldlang.c (lang_size_sections): Last, set _cooked_size for output
sections.
2003-10-16 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
GENSCRIPTS and GEN_DEPENDS in place of these.
* Makefile.in: Regenerate.
* genscripts_extra.sh: Delete. Merge extra functionality to..
* genscripts.sh: ..here.
* emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
* emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2003-10-16 Alan Modra <amodra@bigpond.net.au>
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
use $EMULATION_NAME to call bfd function.
2003-10-14 Danny Smith <dannysmith@users.sourceforge.net>
* pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
to identify data symbols.
2003-10-13 Richard Sandiford <rsandifo@redhat.com>
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
definition from elf64btsmip.sh.
(TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
* emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
* emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
(EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
Define __program_header_table in terms of __elf_header.
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (eelf64_ia64.c): Also depend on
$(srcdir)/emultempl/ia64elf.em.
* Makefile.in: Regenerated.
* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
* emultempl/ia64elf.em: New.
2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
2003-10-11 Hans-Peter Nilsson <hp@bitrange.com>
* ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
defined before the statement using DEFINED yield 1.
* ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
call lang_track_definedness on symbol. In subsequent phases, use
lang_symbol_definition_iteration and lang_statement_iteration to
check whether the symbol was defined before the current statement.
(exp_fold_tree) <case etree_assign et al>: Call
lang_update_definedness before updating symbol type when setting
symbol.
* ldlang.c (lang_definedness_table): New variable.
(lang_definedness_newfunc, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness): New
functions.
(lang_init): Initialize lang_definedness_table and
lang_statement_iteration.
(lang_finish): Destroy bfd_hash_table_free.
(lang_size_sections): Increment lang_statement_iteration.
(lang_do_assignments_1): New function with former
lang_do_assignments contents. Change recursive calls to call this
function.
(lang_do_assignments): Evacuate contents. Increment
lang_statement_iteration, then just call lang_do_assignments_1.
* ldlang.h (struct lang_definedness_hash_entry)
(lang_statement_iteration, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness):
Declare.
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc (__executable_start): Provide.
2003-10-09 Daniel Jacobowitz <drow@mvista.com>
* emulparams/armelf.sh: Define NO_SMALL_DATA.
* emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
emulparams/armnto.sh: Likewise.
2003-10-08 Alexandre Oliva <aoliva@redhat.com>
* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
whether to skip test for no memory region.
2003-10-08 Nick Clifton <nickc@redhat.com>
* lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
describing defaults. Change default to report unresolved symbols
in object files as well.
2003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
* ldexp.c (fold_name) <case DEFINED>: Set section of result to
abs_output_section.
2003-10-07 Bob Wilson <bob.wilson@acm.org>
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
zero for relocatable links.
2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
* ldwrite.c (unsplittable_name): New.
(clone_section): Strip existing numeric suffix. Only truncate names
for coff targets.
(split_sections): Use unsplittable_name.
2003-10-06 Nick Clifton <nickc@redhat.com>
* lexsup.c (parse_args): Report unresolved symbols in shared
libraries when creating a dynamic executable. This is a
restoration of the default behaviour for previous versions of
the linker.
2003-10-06 Matt Thomas <matt@3am-software.com>
* emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
* emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
2003-10-06 Robert Millan <robertmh@gnu.org>
* configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
2003-10-02 Ivan Warren <ivan@vmfacility.fr>
* pe-dll.c (make_one): Correct sym def order & pick right sym for
.idata$7 reloc.
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Ignore "-mips64r2".
2003-09-03 Robert Millan <robertmh@gnu.org>
* configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
triplet.
* configure.tgt: Likewise.
2003-08-29 Jafa <jafa@silicondust.com>
* emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
2003-08-21 Nick Clifton <nickc@redhat.com>
* po/tr.po: Updated Turkish translation.
2003-08-20 Nick Clifton <nickc@redhat.com>
* ldmain.c: Initialise the new fields in bfd_link_info to
NOT_YET_SET.
* lexsup.c (enum option_values): New enum. Use this to
replace the hand coded values for the long switch options.
(ld_options): Add 'unresolved-symbols',
'warn-unresolved-symbols' and 'error-unresolved-symbols'.
(parse_args): Handle the new switches. Set the values of
unresolved_symbols_in_objects and
unresolved_symbols_in_shared_libs appropriately. If they were
not initialised by the command line, install default values.
* emultempl/elf32.em (handle_option): Update OPTION_GROUP and
-z defs to use the new fields in bfd_link_info.
* ld.texinfo: Document the new switches.
* NEWS: Mention this feature.
2003-08-15 Dmitry Diky <diwil@mail.ru>
* Makefile.am (GENSCRIPTS_EXTRA): New script definition which
calls genscripts_extra.sh.
Rearrange all msp430 depends using this script.
* Makefile.in: Regenerate.
* genscripts_extra.sh: New file: Similar to genscripts.sh, except
that the script to be run to generate the emulations can be passed
as an optional parameter instead of being computed from the
emulation name.
* emulparams/msp430all.sh: New file: Combine all msp430 subdevice
definitions into one file.
* emulparams/msp430x*.sh: Removed.
2003-08-15 Nick Clifton <nickc@redhat.com>
* ld.texinfo (Options): Put keywords for the -z option into a
table. Add more text describing what the -z now option does.
2003-08-14 Alan Modra <amodra@bigpond.net.au>
* dep-in.sed: Remove libintl.h.
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
* Makefile.in: Regenerate.
2003-08-13 Alan Modra <amodra@bigpond.net.au>
* genscripts.sh (libpath.exp): Only generate for first emulation.
(LIB_PATH): Correct order of paths. Don't add $tool_lib when
already present or when LIB_PATH is set to ":".
2003-08-12 Ian Lance Taylor <ian@airs.com>
* ldmain.c (undefined_symbol): Change parameter name from `fatal'
to `error'. If only a warning, put warning in the reported
string. Consistently set failure flag when not a warning.
2003-08-08 Dmitry Diky <diwil@mail.ru>
* Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
gcc order.
* Makefile.in: Regenerate.
* configure.tgt: Add extra emulations.
* emulparams/msp430xE423.sh: New file.
* emulparams/msp430xE427.sh: New file.
* emulparams/msp430xW425.sh: New file.
* emulparams/msp430xE425.sh: New file.
* emulparams/msp430xW423.sh: New file.
* emulparams/msp430xW427.sh: New file.
2003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
Change second (cmdline) arg to lang_add_entry to FALSE.
(set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
2003-08-05 Christian Groessler <chris@groessler.org>
Jason Eckhardt <jle@rice.edu>
* configure.tgt: Recognize new target i860-*-coff.
* Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
(ecoff_i860.c): New rule.
* emulparams/coff_i860.sh: New file.
* scripttempl/i860coff.sc: New file.
* Makefile.in: Regenerate.
2003-08-04 Nick Clifton <nickc@redhat.com>
* emultempl/elf32.em (before_allocation): Prepend "warning: "
to messages produced for .gnu.warning.SYMBOL sections.
2003-08-04 Alan Modra <amodra@bigpond.net.au>
* emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
.rel.dyn before other reloc sections. Don't stop looking for reloc
sections on finding one that isn't allocated. Match .rel even when
placing .rela and vice versa, when setting last_rel and
last_rel_alloc for the first time. If no reloc sections in script,
prefer allocated section over non-alloc.
(gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
section for shared library.
* emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
* emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-29 Stephane Carrez <stcarrez@nerim.fr>
* scripttempl/elfm68hc12.sc: Add gcc_except_table.
* scripttempl/elfm68hc11.sc: Likewise.
2003-07-28 Alan Modra <amodra@bigpond.net.au>
* emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
* emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
2003-07-27 Alan Modra <amodra@bigpond.net.au>
* ld.texinfo: Typo fixes. Document SUBALIGN.
* ldgram.y (opt_subalign): Add.
* ldlex.l (SUBALIGN): Recognize.
* ldlang.c (overlay_subalign): New var.
(lang_enter_overlay): Add subalign param.
(lang_enter_overlay_section): Pass overlay_subalign to
lang_enter_output_section_statement.
* ldlang.h (lang_enter_overlay): Update.
2003-07-24 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
* scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
account .tramp sections;
* scripttempl/elfm68hc12.sc: Likewise.
2003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
* ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
2003-07-17 Nick Clifton <nickc@redhat.com>
* po/es.po: New Spanish translation.
2003-07-11 Alan Modra <amodra@bigpond.net.au>
* po/ld.pot: Regenerate.
2003-07-10 Bob Wilson <bob.wilson@acm.org>
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
with new .got.loc section.
(OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
non-relocating links.
(OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
sections separate for non-relocating links; likewise for .xt.insn.
2003-07-10 Alexandre Oliva <aoliva@redhat.com>
2001-08-22 Alexandre Oliva <aoliva@redhat.com>
* emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
2001-05-09 Alexandre Oliva <aoliva@redhat.com>
* configure.host (am33_2.0-*-linux*): Added.
* configure.tgt (am33_2.0-*-linux*): Likewise.
* emulparams/elf32am33lin.sh: New.
* Makefile.am (eelf32am33lin.c): New rule.
* Makefile.in: Rebuilt.
2003-07-09 Alexandre Oliva <aoliva@redhat.com>
2001-04-17 Alexandre Oliva <aoliva@redhat.com>
* emulparams/mn10300.sh (TEMPLATE_NAME): Define.
(GENERATE_SHLIB_SCRIPT): Likewise.
2003-07-10 Alan Modra <amodra@bigpond.net.au>
* emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
(GOT): Define.
* emultempl/ppc64elf.em (stub_added): New static var.
(ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
(ppc_add_stub_section): Set stub_added.
(gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
ppc64_elf_size_stubs call and test for stubs.
* scripttempl/elf.sc (GOT): Define and use.
2003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Allow second call from ldemul_finish.
2003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
* emulparams/shelf32.sh (STACK_ADDR): Don't define.
(OTHER_SECTIONS): Include .stack.
* emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-02 Jakub Jelinek <jakub@redhat.com>
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
.opd if -pie.
(OTHER_READWRITE_SECTIONS): Include .opd if -pie.
* scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
if -pie.
2003-06-28 Alan Modra <amodra@bigpond.net.au>
* ld.h: Convert to C90, remove unnecessary prototypes and casts.
Replace PTR with void *. Formatting.
* ldcref.c: Likewise.
* ldctor.c: Likewise.
* ldctor.h: Likewise.
* ldemul.h: Likewise.
* ldexp.c: Likewise.
* ldexp.h: Likewise.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlex.h: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmain.h: Likewise.
* ldmisc.c: Likewise.
* ldmisc.h: Likewise.
* ldver.h: Likewise.
* ldwrite.c: Likewise.
* ldwrite.h: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* mri.h: Likewise.
* pe-dll.c: Likewise.
* pe-dll.h: Likewise.
* deffilep.y: Likewise.
* deffile.h: Likewise. Don't include ansidecl.h.
* emulparams/elf32mcore.sh: Remove unnecessary cast.
* emultempl/m68kcoff.em: Likewise.
* emultempl/m68kelf.em: Likewise.
* emultempl/ticoff.em: Remove lang_add_output_format declaration.
* sysdep.h: Don't include ansidecl.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2003-06-27 Nick Clifton <nickc@redhat.com>
* deffilep.y (def_file_add_directive): Cope with NUL seperated
directives. Fix reporting of unparseable directives.
(def_error): Check for a NULL def_filename.
2003-06-27 Alan Modra <amodra@bigpond.net.au>
* emultempl/aix.em: Convert to C90, remove unnecessary prototypes
and casts. Replace PTR with void *. Formatting.
* emultempl/alphaelf.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/armelf_oabi.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/m68kelf.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/mipself.em: Likewise.
* emultempl/mmix-elfnmmo.em: Likewise.
* emultempl/mmixelf.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/needrelax.em: Likewise.
* emultempl/netbsd.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sh64elf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* Makefile.am: Correct dependencies.
* Makefile.in: Regenerate.
2003-06-25 Alan Modra <amodra@bigpond.net.au>
* ld.texinfo: Correct spelling of "relocatable".
* ldctor.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldint.texinfo: Likewise.
* ldlang.c: Likewise.
* ldmain.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* emultempl/aix.em: Likewise.
* emultempl/alphaelf.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf_oabi.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/m68kelf.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/mipself.em: Likewise.
* emultempl/mmix-elfnmmo.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/needrelax.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
2003-06-24 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc32elf.em: Convert to C90.
2003-06-20 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em: Convert to C90 function definitions, remove
unnecessary prototypes and casts.
2003-06-19 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
statistics from ppc64_elf_build_stubs.
2003-06-19 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (build_section_lists): Check return status
from ppc64_elf_next_input_section.
2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (section_already_linked): Put back assignment of
kept_section.
2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
* pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
reloc.
2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
if not produced by gcc.
2003-06-16 Hans-Peter Nilsson <hp@axis.com>
* configure.tgt: Add specific case for cris-*-linux-gnu*
with crislinux emulation only.
2003-06-13 Robert Millan <zeratul2@wanadoo.es>
* configure.tgt: Add i386-netbsd-gnu target.
2003-06-12 Richard Sandiford <rsandifo@redhat.com>
* configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
to $targ_extra_libpath.
2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
2003-06-10 Doug Evans <dje@sebabeach.org>
* Makefile.am (ALL_EMULATIONS): Add em32relf.o.
* Makefile.in: Regenerate.
2003-06-10 Richard Sandiford <rsandifo@redhat.com>
* configure.tgt (h8300*): Add h8300sxn emulations.
* Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
(eh8300sxn.c, eh8300sxnelf.c): New rules.
* Makefile.in: Regenerate.
* emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
* scripttempl/h8300sxn.sc: New file.
2003-06-10 Alan Modra <amodra@bigpond.net.au>
* emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
2003-06-08 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
(build_toc_list): New function.
(gld${EMULATION_NAME}_finish): Call build_toc_list and
ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
(OPTION_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Document.
(PARSE_AND_LIST_ARGS_CASES): Handle.
2003-06-05 Roland McGrath <roland@redhat.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
extra \t in -z noexecstack line.
2003-05-23 Jakub Jelinek <jakub@redhat.com>
* ldgram.y (phdr_type): Grok PT_GNU_STACK.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-z execstack and -z noexecstack.
(gld${EMULATION_NAME}_list_options): Likewise.
* scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-03 Michael Snyder <msnyder@redhat.com>
and Bernd Schmidt <bernds@redhat.com>
and Alexandre Oliva <aoliva@redhat.com>
* Makefile.am: Add new emulations for h8300sx.
* Makefile.in: Regenerate.
* configure.tgt: Add new emulations.
* emulparams/h8300sx.sh: New emulation.
* emulparams/h8300sxelf.sh: Ditto.
* scripttempl/h8300sx.sc: Ditto.
2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
* ldmisc.c: Include "bfdlink.h".
(error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
and -LD_DEFINITION_IN_DISCARDED_SECTION.
* Makefile.am: Rebuild dependency.
* Makefile.in: Regenerated.
2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
* emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
* pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
sorted alphabetically, instead of exported_symbols, which is
sorted by ordinal.
2003-05-30 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* lexsup.c (OPTION_PIE): Define.
(ld_options): Add -pie and --pic-executable options.
(parse_args): Handle OPTION_PIE.
* ldmain.c (main): Initialize link_info.pie and
link_info.executable.
* genscripts.sh: Generate PIE scripts.
* ld.texinfo: Document -pie and --pic-executable options.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
(gld${EMULATION_NAME}_place_orphan): Likewise.
(gld${EMULATION_NAME}_get_script): Include PIE scripts.
* scripttempl/elf.sc: In PIE scripts set . the same way as in
shared scripts.
* emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
* emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
* genscripts.sh: Create tmpdir/libpath.exp.
2003-05-30 Nick Clifton <nickc@redhat.com>
* emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
with a test for a NULL bfd_for_interworking.
2003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
correctly for more recent versions of NetBSD.
(alpha*-*-netbsd*): Remove.
(i[3-7]86-*-netbsd*): Remove.
2003-05-29 Nick Clifton <nickc@redhat.com>
* emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
trap on pointer crops.
2003-05-21 Marcus Comstedt <marcus@mc.pp.se>
* configure.tgt: Check for a target triplet of shl-...-netbsdelf
as well as shle-...-netbsdelf.
2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
* configure.host: Accept i[3-7]86 variants.
* configure.tgt: Likewise.
2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
2003-05-09 Daniel Jacobowitz <drow@mvista.com>
* Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
(earmelfb.c, earmelfb_linux.c): New rules.
* Makefile.in: Regenerated.
* emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
* configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
2003-05-09 Nick Clifton <nickc@redhat.com>
* ldlang.c (lang_size_sections_1): Default to generating a
fatal error message if a loadable section is not allocated
to a memory region when regions are defined.
2003-05-09 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (em68hc11elf.c): Correct dependencies.
(em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
* Makefile.in: Regenerate.
* emultempl/elf32.em (find_exp_assignment): Adjust for changed
bfd_elf_record_link_assignment name.
2003-05-07 Alexandre Oliva <aoliva@redhat.com>
* ldmain.h (overflow_cutoff_limit): Declare.
* ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
(reloc_overflow): Limit error messages based on it.
* lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
unlimited.