forked from seank/FreeScale-s12x-binutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-9899
2108 lines (1476 loc) · 70 KB
/
ChangeLog-9899
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
1999-12-02 Nick Clifton <nickc@cygnus.com>
* Makefile.am: Fix arm-epoc-pe dependencies.
* Makefile.in: Regenerate.
* emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe.
* scripttempl/epocpe.sc: New file: copy of pe.sc, customised for
EPOC by placing .rdata into .text.
1999-11-26 Andreas Schwab <schwab@suse.de>
* configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for
STRINGIFY. Use yes/no instead of true/false as value for cache
variable.
* configure: Regenerate.
1999-11-24 Nick Clifton <nickc@cygnus.com>
* ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD
attributes in order to be checked.
1999-11-22 Nick Clifton <nickc@cygnus.com>
* ldlang.c (lang_check_section_addresses): Fix test to determine
if a section should be tested.
(IGNORE_SECTION): New macro.
Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com)
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Clean up code to use EXTRA_SHLIB_EXTENSION.
1999-11-03 Nick Clifton <nickc@cygnus.com>
* emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian.
* emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian.
1999-11-01 Steve Chamberlain <sac@pobox.com>
* ldlang.c (section_already_linked): Rework to use hash table.
(already_linked_newfunc): New function.
(already_linked_table_init): New function.
(already_linked_table_free): New function.
(lang_process): Initialize and free the already_linked hash table.
1999-10-27 Andreas Jaeger <aj@suse.de>
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
target "mips*-*-linux-gnu*".
1999-10-27 Scott Bambrough <scottb@netwinder.org>
* emultempl/armelf.em: Include ctype.h to prevent compile time
warnings.
1999-10-26 Nick Clifton <nickc@cygnus.com>
* emultempl/armcoff.em (gld{}_finish): Remove extraneous
underscore from prototype.
* emultempl/armelf.em (gld{}_finish): Remove extraneous
underscore from prototype.
1999-10-07 Geoffrey Keating <geoffk@cygnus.com>
* scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs
being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*.
(.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*.
(.rel.sbss): Make like .rel.bss.
(.rela.sbss): Make like .rel.bss.
(.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
ld -r.
(.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS,
.dynsbss.
1999-09-29 Andrew Haley <aph@cygnus.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
merging sections when not relocating.
1999-09-28 Mumit Khan <khan@xraylith.wisc.edu>
* pe-dll.c (process_def_file): Move the offset lookup from here to
(fill_exported_offsets): here. New static function.
(fill_edata): Use.
1999-09-28 Mumit Khan <khan@xraylith.wisc.edu>
* deffilep.y (tokens): Add upper and lower case versions of DATA,
CONSTANT, NONAME and PRIVATE tokens.
(command): Use DATAU.
(expline): Allow for drectve syntax as well.
(exp_opt_list): Likewise.
(exp_opt): Likewise.
* pe-dll.c (make_one): Only generate the idata entries for data
symbols.
1999-09-28 Geoffrey Keating <geoffk@cygnus.com>
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
in .sdata too.
1999-09-26 Nick Clifton <nickc@cygnus.com>
* scripttempl/elf.sc (.bss): Accept sections named .bss.*
(.sbss): Accept sections names .sbss.*
1999-09-22 Nick Clifton <nickc@cygnus.com>
* Makefile.am: Add earm_epoc_pe.c build target.
Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
they've been renamed to ".stub", which is handled automatically
by elf.sc.
Fri Sep 17 11:00:33 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
(DATA_START_SYMBOLS): Kill __hp_load_map definition
Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com)
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Use the same filename extension for the bfd_elf_dt_needed_name call
as we did for finding the library.
* emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
(OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
(SHLIB_DATA_ADDR): Likewise.
* emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): No longer combine
the .plt, .dlt, .opd into a single output section. Provide values
for __gp and __hp_load_map.
1999-09-14 Michael Meissner <meissner@cygnus.com>
* configure.in (Canonicalization of target names): Remove adding
${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
generates $ac_config_sub with a ${CONFIG_SHELL} already.
* configure: Regenerate.
1999-09-14 Donn Terry <donn@interix.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
terminating null.
1999-09-14 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target.
* config.in: Add EXTRA_SHLIB_EXTENSION.
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION
is defined.
1999-09-14 Nick Clifton <nickc@cygnus.com>
* Makefile.in: Add earm_epoc_pe.c build target.
Tue Sep 14 05:26:34 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
1999-09-13 Donn Terry <donn@interix.com>
* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.
Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com)
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Search for file with .sl extension if no file with a .so extension
is found.
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
at the start of the .dlt output section.
1999-09-12 Ian Lance Taylor <ian@zembu.com>
* emultempl/pe.em: Don't include "../bfd/libbfd.h".
(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
bfd_alloc.
* pe-dll.h: New file.
* pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed
to avoid warnings.
(edata_sz, reloc_sz): Change from int to size_t.
(pe_details_type): Change type of imagebase_reloc from int to
unsigned int.
(pe_detail_list): Fully initialize last entry.
(pe_dll_id_target): Change parameter to const.
(pe_dll_generate_def_file): Likewise.
(pe_dll_generate_implib): Likewise.
(pe_implied_import_dll): Likewise. Change dll_name to const.
* emultempl/pe.em: Include "pe-dll.h". Remove declarations now in
pe-dll.h.
(init): Fully initialize __dll__ entry.
(gld_${EMULATION_NAME}_after_open): Remove unused variables
sequence, elt, and i.
* deffile.h: Add preprocessor guard.
* deffilep.y (def_debug): Remove.
* Makefile.am: Rebuild dependencies.
(HFILES): Add pe-dll.h.
1999-09-12 Donn Terry <donn@interix.com>
* ld.h (ld_abort): Declare.
(abort): Define.
* ldmisc.c (ld_abort): Define.
* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
Move .bss section after .rdata. Move .reloc section after .rsrc.
* lexsup.c (parse_args): Use strtoul for --split-by-reloc
argument.
* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.
* ldlang.c (section_already_linked): Use comdat information if it
is available.
* emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If
OVERRIDE_SECTION_ALIGNMENT is defined, change to that.
(gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is
defined, rather than a.exe.
(init): Define __subsystem__ as ${SUBSYSTEM}.
(set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol
name.
1999-09-12 Ian Lance Taylor <ian@zembu.com>
* ldlang.c (open_output): Change local variable desired_endian
from int to enum bfd_endian.
* emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and
INITIAL_SYMBOL_CHAR.
* emulparams/armpe.sh: Likewise.
* emulparams/morepe.sh: Likewise.
* emulparams/ppcpe.sh: Likewise.
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
(SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.
Fri Sep 10 00:22:50 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (LIB_PATH): Define.
* emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
unwinders so that they are closer to the text section.
(OTHER_BSS_SECTIONS): Define.
(EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
(INIT_START, INIT_END): Define.
(FINI_START, FINI_END): Define.
* scripttempl/elf.sc: Add support for INIT_START, INIT_END,
FINI_START, FINI_END and OTHER_BSS_SECTIONS.
Thu Sep 9 21:43:58 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
(DATA_ADDR): Define.
1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
* emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
1999-09-09 Andreas Schwab <schwab@suse.de>
* ld.texinfo: Fix arguments of @var to not contain punctuation.
Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define.
1999-09-08 Ulrich Drepper <drepper@cygnus.com>
* emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64.
Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com)
* emulparms/elf64hppa.sh (ENTRY): Define to main.
1999-09-03 Scott Bambrough <scottb@netwinder.org>
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
target "arm*-*-linux-gnu*"
1999-09-04 Steve Chamberlain <sac@pobox.com>
* configure.tgt (pjl-*-*, pj-*-*): New targets.
* emulparams/pjelf.sh: New file.
* emulparams/pjlelf.sh: New file.
* scripttempl/pj.sc: New file.
* Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
(epjelf.o, epjlelf.o): New targets.
* Makefile.in: Rebuild.
Fri Sep 3 20:17:08 1999 Jeffrey A Law (law@cygnus.com)
* emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
(OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.
Thu Sep 2 14:32:03 1999 Jeffrey A Law (law@cygnus.com)
* emulparams/elf64hppa.sh: New file.
* configure.tgt (hppa*w-*-*): Use elf64hppa emulation.
* Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o
(eelf64hppa.c): Add dependencies.
* Makefile.in: Rebuilt.
1999-08-25 Philip Blundell <pb@nexus.co.uk>
* emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__.
* emulparams/armelf_linux.sh: Likewise.
* emulparams/armelf_linux26.sh: Likewise.
1999-08-24 Nick Clifton <nickc@cygnus.com>
From a patch submitted by Roland McGrath <roland@baalperazim.frob.com>
* configure.tgt (arm-*-netbsd*): New target.
* Makefile.am (ALL_EMULATIONS): Add earmnbsd.o.
(earmnbsd.c): New rule with deps.
* Makefile.in: Regenerate.
* emulparams/armnbsd.sh: New file.
1999-08-23 Nick Clifton <nickc@cygnus.com>
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define.
Implement --base-file command line switch.
* emultempl/elf32.em: Add ability for individual targets to have
their own command line switches by defining PARSE_AND_LIST_ARGS.
1999-08-19 Andreas Schwab <schwab@suse.de>
* configure.host: Use ${CC} instead of gcc for finding compiler
related files.
1999-08-11 Nick Clifton <nickc@cygnus.com>
* scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo.
1999-08-09 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Handle g++ exception sections.
1999-08-09 Ian Lance Taylor <ian@zembu.com>
From Wally Iimura <iimura@microunity.com>:
* ldlang.c (lang_size_sections): When checking whether an address
is within a region, don't get confused by wrapping around at the
end of the address space.
1999-08-08 Ian Lance Taylor <ian@zembu.com>
* ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
SEC_SMALL_DATA.
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP. Rebuild dependencies.
* Makefile.in: Rebuild.
1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
* configure.host (sparc-*-linux-gnu*): New host.
(sparc64-*-linux-gnu*): New host.
1999-08-06 Ian Lance Taylor <ian@zembu.com>
* lexsup.c (is_num): Reindent.
(parse_args): Mention program name in error message.
* emultempl/ostring.sed: Rename from stringify.sed.
* emultempl/astring.sed: New file.
* Makefile.am (stringify.sed): New target.
(GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
stringify.sed.
* configure.in: Define and substitute STRINGIFY.
* emultempl/*.em: Use stringify.sed from build directory rather
than source directory.
* emultempl/elf32.em: Use stringify.sed rather than inline sed
script.
* emultempl/gld960.em, emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em, emultempl/linux.em: Likewise.
* emultempl/lnk960.em, emultempl/sunos.em: Likewise.
* configure, Makefile.in: Rebuild.
1999-08-05 Donn Terry <donn@interix.com>
* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
INITIAL_SYMBOL_CHAR.
* emulparams/i386pe_posix.sh: New file.
* Makefile.am (YACC): If bison is not in the source tree, use
@YACC@ rather than bison -y.
(LEX): If flex is not in the source tree, use @LEX@ rather than
flex.
(ALL_EMULATIONS): Add ei386pe_posix.o.
(ei386pe_posix.c): New target.
* configure.tgt (i[3456]86-*-interix*): New target.
* configure.host (i[3456]86-pc-interix*): New host.
* Makefile.in: Rebuild.
1999-08-03 Ian Lance Taylor <ian@zembu.com>
* emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
* emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
1999-08-03 H.J. Lu <hjl@gnu.org>
* Makefile.am (ALL_EMULATIONS): Remove ego32.o.
(ego32.c): Remove.
* Makefile.in: Rebuild.
1999-07-22 Philip Blundell <pb@nexus.co.uk>
* emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define.
(OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise.
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define.
* configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*,
thumb-*-linux-gnu*): New targets.
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Add handling of linkonce sections.
* configure.bat: Remove; obsolete.
* emulparams/go32.sh: Remove; obsolete.
* scripttempl/go32coff.sc: Remove; obsolete.
1999-07-21 H.J. Lu <hjl@gnu.org>
* configure.tgt (mips*el-*-vxworks*): New target.
1999-07-21 Brad M. Garcia <bgarcia@fore.com>
* configure.tgt (i[3456]86-*-vxworks*): New target.
Tue Jul 20 15:18:46 1999 Bob Manson <manson@charmed.cygnus.com>
* ldlang.c (lang_gc_sections): Only handle the start symbol
specially if there is one.
Mon Jul 19 14:19:14 1999 Mark P. Mitchell <mark@codesourcery.com>
* emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
.MIPS.events and .MIPS.content handling.
* emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
1999-07-17 Nick Clifton <nickc@cygnus.com>
* ldlang.c (get_target): New function: Return true iff the
given target is the target being sought.
(stricpy): New function: Like strcpy but convert to lower
case as well.
(strcut): New function: Like strstr but remove the located
substring as well.
(name_compare): New function: Compute a compatability rating
for two target names.
(winner): New variable: Best target found by
closest_target_match() so far.
(closest_target_match): New function: Find the target which is
the closest match to the original target.
(get_first_input_target): New function: Find the target format
of the first of the linker's input file.
(open_output): Be more clever about deciding the output target
format.
1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
* emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH.
Thu Jul 15 15:55:15 1999 Mark P. Mitchell <mark@codesourcery.com>
* configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
1999-07-15 Ian Lance Taylor <ian@zembu.com>
* configure.in: Bump version number to 2.9.5.
* configure: Rebuild.
1999-07-14 Richard Henderson <rth@cygnus.com>
* ldlang.c (wild_doit): Copy SEC_SHORT to output section.
* scripttempl/elf.sc: Re-order .rel[a].foo outputs to the
same order seen for the main sections. Add
OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS.
1999-07-12 Andreas Schwab <schwab@suse.de>
* emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in
structure initializations.
* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing
comma in initializer.
1999-07-11 Ian Lance Taylor <ian@zembu.com>
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations.
1999-07-10 Ian Lance Taylor <ian@zembu.com>
* ldfile.c: Revert patch of 1999-07-08.
(ldfile_try_open_bfd): If we are searching for the file, skip
files with an incompatible architecture.
1999-07-09 Nick Clifton <nickc@cygnus.com>
* scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and
little endian formats.
1999-07-08 Felix Lee <flee@cygnus.com>
* scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x
1999-07-08 Jakub Jelinek <jj@ultra.linux.cz>
* ldfile.c (ldfile_open_file_search): Skip libraries made for
incompatible architectures in the search path. Let the user know
about any such skips.
Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
* configure.tgt (hppa*-linux-gnu*): New target.
1999-07-07 Mark Mitchell <mark@codesourcery.com>
* Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip.
(eelf64bmip): New target.
* Makefile.in: Regenerated.
* configure.tgt (mips-sgi-irix6*): Add 64-bit emulation.
* emulparams/elf64bmip.sh: New file.
1999-07-05 Nick Clifton <nickc@cygnus.com>
* emultempl/pe.em (after_open): Abort if input format is ARM and
output format is not.
* emultempl/armcoff.em (after_open): Abort if input format is ARM
and output format is not.
* emultempl/armelf.em (after_open): Abort if input format is ARM
and output format is not.
1999-07-02 Ian Lance Taylor <ian@zembu.com>
* ldlang.c: Revert change of 1999-06-23.
1999-06-30 Mark Mitchell <mark@codesourcery.com>
* Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o.
(eelf32bmipn32.c): New target.
* Makefile.in: Regenerated.
* configure.tgt (mips-sgi-irix6*): Make n32 the default
emulation.
* emulparams/elf32bmipn32.sh: New file.
1999-06-28 Jim Pick <jim@jimpick.com>
* emultempl/armelf.em: Added code so that .xs linker scripts are
called so that ARM shared libraries are built correctly.
1999-06-22 Mark Mitchell <mark@codesourcery.com>
* ldmain.c (main): Initialize link_info.init_function and
link_info.fini_function.
* lexsup.c (OPTION_INIT): New macro.
(OPTION_FINI): Likewise.
(ld_options): Add descriptions for them.
(parse_args): Handle them.
1999-06-23 Ian Lance Taylor <ian@zembu.com>
* ldlang.c (section_already_linked): Only discard link once
sections if we are building constructors.
1999-06-22 Nick Clifton <nickc@cygnus.com>
* ld.texinfo (Location Counter): Describe behaviour of
location counter inside section statements.
1999-06-20 Mark Mitchell <mark@codesourcery.com>
* scripttempl/elf.sc (WRITABLE_RODATA): New variable for
controlling whether or not .rodata is in the data segment or the
text segment.
1999-06-18 Nick Clifton <nickc@cygnus.com>
* emultempl/pe.em: Add new command line switch --thumb-entry.
* emultempl/armelf.em: Add new command line switch --thumb-entry.
* emultempl/armcoff.em: Add new command line switch --thumb-entry.
* ld.texinfo: Document new ARM command line switch: --thumb-entry.
1999-06-20 H.J. Lu <hjl@gnu.org>
* configure.in (all_libpath): Accumulate across all enabled targets.
Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com>
* emultempl/armelf.em: Watch EMULATION_LIBPATH instead of
DEFAULT_EMULATION.
* emultempl/elf32.em: Likewise.
* emultempl/sunos.em: Likewise.
Fri Jun 18 15:24:48 1999 Richard Henderson <rth@cygnus.com>
* Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL.
* configure.in (all_emuls): Add targ_extra_libpath.
(all_libpath, EMULATION_LIBPATH): Define.
* configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath.
* genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH.
Mon Jun 14 10:38:36 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* ld.texinfo: Fix use of @item vs. @itemx.
1999-06-13 Ian Lance Taylor <ian@zembu.com>
From Thomas Zenker <thz@lennartz-electronic.de>:
* ldgram.y (attributes_opt): Use attributes_list instead of NAME.
(attributes_list, attributes_string): New nonterminals.
* ldlang.c (lang_set_flags): Add invert parameter. Don't handle
'!'.
* ldlang.c (lang_set_flags): Update declaration.
1999-06-12 Ian Lance Taylor <ian@zembu.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add
entry_symbol as an undefined symbol when doing a relocateable
link. From <jeffdb@goodnet.com>.
1999-06-12 David O'Brien <obrien@freebsd.org>
* configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF.
1999-06-09 Nick Clifton <nickc@cygnus.com>
* lexsup.c (help): Restore previous format of output.
1999-06-04 Nick Clifton <nickc@cygnus.com>
* emultempl/pe.em: If compiling for arm_epoc_pe rename
interworking functions to avoid a name space clash.
1999-06-02 Jason Merrill <jason@yorick.cygnus.com>
* scripttempl/v850.sc: Add initp support.
1999-06-02 Nick Clifton <nickc@cygnus.com>
* emultempl/pe.em: Rename global arm interworking functions to
avoid name collision when all targets BFD is built.
1999-05-30 Cort Dougan <cort@attis.cs.nmt.edu>
* Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o.
* configure.tgt (powerpc-*-linux-gnu): Use it.
* emulparams/elf32ppclinux.sh: New file.
1999-05-29 Ian Lance Taylor <ian@zembu.com>
* ld.texinfo (Options): Clarify that options which refer to files
must be properly ordered.
1999-05-29 Nick Clifton <nickc@cygnus.com>
* emultempl/armelf.em (..._parse_args): New function: Parse
command line option. Accept arm-elf specific command line option
'-p' or '--no-pipeline-knowledge'.
(..._list_options): New function: Describe the new command line
option.
(..._before_allocation): Pass the value of the new variable
no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation.
* emultempl/armelf_oabi.em (..._before_allocation): Pass zero as
the third parameter to bfd_elf32_arm_process_before_allocation.
1999-05-28 Nick Clifton <nickc@cygnus.com>
* lexsup.c (help): Minor formatting changes.
1999-05-28 Martin Dorey <mdorey@madge.com>
* configure.tgt (i960-*-elf*): New target.
* emulparams/elf32_i960.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
(eelf32_i960.c): New target.
* Makefile.in: Rebuild.
1999-05-26 Nick Clifton <nickc@cygnus.com>
* emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi.
1999-05-24 Philip Blundell <philb@gnu.org>
* emultempl/armelf.em (before_parse): Set config.dynamic_link and
config.has_shared.
* emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
* emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise.
1999-04-13 Philip Blundell <philb@gnu.org>
* emultempl/armelf.em: Add definitions related to shared objects
(copied from elf32.em).
Wed May 19 12:44:26 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
* Makefile.in: Regenerated.
1999-05-16 Nick Clifton <nickc@cygnus.com>
* emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define.
(TEMPLATE_NAME): Define.
Thu May 13 09:48:09 1999 Joel Sherrill (joel@OARcorp.com)
* configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
(mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
1999-05-10 DJ Delorie <dj@cygnus.com>
* scripttempl/pe.sc: Specify the output arch, which Ian says is
the Right Thing to do.
* emultempl/pe.em: various changes to parameterize the
target-specific information.
(gld_i386pe_after_open): Detect and fix MS import libraries
by renaming the member objects (which are all named the same).
* pe-dll.c: various changes to parameterize the target-specific
information.
(generate_reloc): support relocs more generically to allow for
expansion.
(pe_exe_build_sections): new; used to add .relocs to .exes
(pe_exe_fill_sections): ditto
1999-05-10 Catherine Moore <clm@cygnus.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
Check for TARGET_IS_arm_epoc_pe.
(gld_${EMULATION_NAME}_before_allocation): Likewise.
1999-05-12 Anthony Green <green@cygnus.com>
* ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
output_section_callback, gc_section_callback): New functions for
generic section walks.
(wild, lang_gc_wild): Use walk_wild.
(wild_file, lang_gc_wild_file): Deleted. Common logic moved to
walk_wild_file.
(wild_section, lang_gc_wild_section): Deleted. Common logic moved
to walk_fild_section. Unique logic moved into callbacks
output_section_callback and gc_section_callback.
1999-04-26 Tom Tromey <tromey@cygnus.com>
* aclocal.m4, configure: Updated for new version of libtool.
1999-04-12 Philip Blundell <pb@nexus.co.uk>
* emulparams/armelf_linux.sh: New file. Support for ARM
GNU/Linux ELF ABI.
* emulparams/armelf_linux26.sh: New file. APCS-26 version of above.
* configure.tgt: For arm*-*-linux-gnu*, set default emulation to
`armelf_linux', and also include `armelf_linux26' and `armelf'.
* Makefile.am: Add rules to make earmlinux.c and earmlinux26.c.
(ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o.
* Makefile.in: Regenerate.
1999-04-11 Richard Henderson <rth@cygnus.com>
* Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o.
* configure.tgt (i[3456]86-*-beos*): Use it.
* emulparams/elf_i386_be.sh: New file.
* Makefile.in: Rebuild.
* configure.in (environ): Detect declaration.
* ldmain.c (main): Don't declare environ.
* sysdep.h (environ): Declare if needed.
* configure, config.in: Rebuild.
1999-04-11 Richard Henderson <rth@cygnus.com>
* ldgram.y (ldgram_vers_current_lang): New.
(vers_defns): Accept `extern "lang" { }' syntax.
* ldlex.l (vers_node_nesting): New.
(V_IDENTIFIER): Accept . and $ in symbols.
(VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states.
* ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers.
(lang_vers_match_lang_c): New function.
(lang_vers_match_lang_cplusplus): New function.
(lang_vers_match_lang_java): New function.
(lang_do_version_exports_section): Fix iteration. Don't free
section contents, as it is still in use by the patterns.
1999-04-10 Richard Henderson <rth@cygnus.com>
* ldmain.c (main): Init link_info.no_undefined.
* lexsup.c: Add command-line option --no-undefined.
1999-04-06 Ian Lance Taylor <ian@zembu.com>
* ld.h (LC_MESSAGES): Never define.
* ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the
system does not define it.
1999-04-06 H.J. Lu <hjl@gnu.org>
* ldmain.h (demangling): Declare.
* ldmain.c (demangling): New global variable.
(main): Initialize demangling.
* ldmisc.c (vfinfo): Don't demangle symbol if ! demangling.
* lexsup.c (ld_options, parse_args): Handle --demangle and
--no-demangle.
* ld.texinfo, ld.1: Document --demangle/--no-demangle.
* ldlex.l (V_IDENTIFIER): Allow '.' in symbol.
1999-04-05 Chris Torek <torek@BSDI.COM>
* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that
a shared library really exists, avoiding broken symlinks.
* ldfile.c (ldfile_open_file): Generate a better error message if
we can't find a -l file.
1999-04-05 DJ Delorie <dj@cygnus.com>
* configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE
targets (i386-pe and i386-winnt)
1999-04-04 Ian Lance Taylor <ian@zembu.com>
* deffilep.y: Include "sysdep.h" and "ldmisc.h".
(def_file_add_directive): Change return type to void. Remove
unused locals sh_reserve, sh_commit, and j.
(def_ungetc): Always return a value.
(def_lex): Correct parenthesization of || within &&.
* deffile.h (def_file_add_directive): Update declaration.
* pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h".
(generate_edata): Remove unused local i.
(quoteput): Add cast to avoid warning.
(pe_dll_generate_def_file): Fix type in format string.
(quick_symbol): Remove unused local blhe.
(pe_dll_generate_implib): Add cast to avoid warning.
(pe_process_import_defs): Remove unused locals ar_head, ar_tail,
and n.
(pe_as16): Comment out.
1999-04-04 Don Bowman <don@pixsci.com>
* configure.tgt: Add mips*-*-vxworks* target.
1999-03-31 Nick Clifton <nickc@cygnus.com>
* Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o
Add build rule and dependencies for earm_epoc_pe.c.
* emulparams/arm_epoc_pe.sh: New file.
* configure.tgt: Add 'targ_extra_ofiles' for ARM based PE
targets.
1999-03-31 Philip Blundell <pb@nexus.co.uk>
* configure.tgt: Match `arm*-*-linux-gnu*' not
`armv*-*-linux-gnu'.
1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table
sections in the data segment.
Fri Mar 26 12:05:51 1999 Catherine Moore <clm@cygnus.com>
* ld.h (wildcard_spec): Add exclude_name.
* ldgram.y (EXCLUDE_FILE): New token.
(wildcard_spec): Set exclude_name.
(file_NAME_list): Recognize EXCLUDE_FILE.
* ldlang.c (wild_section): Check for excluded files.
(print_wild_statement): Print excluded files.
(lang_add_wild): New argument exclude_filename.
Set exclude_filename.
* ldlang.h (lang_wild_statement_type): Add exclude_filename.
* ldlex.l: New token EXCLUDE_FILE.
* mri.c (mri_draw_tree): Add argument to lang_add_wild.
* scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard.
Reorder sorted and unsorted ctors.
* scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfppc.sc (CTOR, DTOR): Likewise.
1999-03-26 Nick Clifton <nickc@cygnus.com>
* ldlang.c (lang_gc_sections): If entry_symbol is not defined,
default to "start".
1999-03-03 Nick Clifton <nickc@cygnus.com>
* scripttempl/elf.sc: Add explicit placements for the .eh_frame
and .gcc_except_table sections.
Wed Mar 3 09:13:34 1999 Catherine Moore <clm@cygnus.clm>
* scripttempl/elf.sc: Remove .end.ctors and .end.dtors
sections. Reorder .ctors section entries.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfppc.sc: Likewise.
1999-02-26 Jim Lemke <jlemke@cygnus.com>
* ldmain.c (main): Wrong error msg for -r and --mpc860c0.
1999-02-25 Nick Clifton <nickc@cygnus.com>
* ldlang.c (lang_check_section_addresses): Remove extraneous
backslash.
Thu Feb 25 15:07:24 1999 Catherine Moore <clm@cygnus.com>
* scripttempl/elf.sc: Don't gather .ctor and .dtor sections
for relocateable links.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfppc.sc: Likewise.
1999-02-22 Jim Lemke <jlemke@cygnus.com>
* ldint.texinfo: remove extraneous right brace.
* ldmain.c (main): initialize and check option "mpc860c0".
* lexsup.c (ld_options, parse_args): add option "mpc860c0".
Wed Feb 17 12:10:06 1999 Stan Cox <scox@cygnus.com>
* mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special
.reginfo section handling.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise.
* emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed
* emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed
1999-02-17 Nick Clifton <nickc@cygnus.com>
Patch from: Scott Bambrough <scottb@corelcomputer.com>
* configure.tgt: Added armv*-*-linux-gnu to $targ_emul
recognition.
Wed Feb 17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* emultempl/armelf_oabi.em
(bfd_elf32_arm_allocate_interworking_sections,
bfd_elf32_arm_get_bfd_for_interworking,
bfd_elf32_arm_process_before_allocation): Define them to use the
old ABI versions of the functions.
Tue Feb 16 16:48:19 1999 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL
to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT.
* Makefile.am (earmelf_oabi.c): Changes spaces to tab.
* acconfig.h: Remove.
* aclocal.m4: Rebuild.
* configure: Rebuild.
* Makefile.in: Rebuild.
Mon Feb 15 18:21:48 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* ldexp.h (struct etree_value_type): Change valid onto valid_p.
* ldexp.c (new_abs): Ditto.
(new_rel, new_rel_from_section, fold_binary, invalid, fold_name,
exp_fold_tree, exp_binop, exp_trinop, stat_alloc,
exp_get_abs_int): Ditto
* ldlang.c (print_assignment, lang_size_sections,
lang_do_assignments): Ditto.
1999-02-11 Nick Clifton <nickc@cygnus.com>
* ldlang.c (lang_check_section_addresses): New function: Check
addresses assigned to section for overlaps.
(lang_process): Call lang_check_section_addresses if suitable.
* ld.h: Add new boolean field to args_type structure:
'check_section_addresses'.