merge from gcc
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
877d60f7
AM
12003-04-14 Alan Modra <amodra@bigpond.net.au>
2
3 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
4 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
5 other variants of crtbegin.o, crtend.o.
6 (DTOR): Likewise.
7 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
8 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
9 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
10 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
11 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
12 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
13 * scripttempl/mmo.sc (ctors, dtors): Likewise.
14 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
15
d4b6ee67
NC
162003-04-09 Dmitry Diky <diwil@mail.ru>
17
18 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
19 sections to respect C++ constructor/destructor. Add ctors/dtors
20 start/stop definitions.
21 * scripttempl/elf32msp430_3.sc: Likewise.
22
bb10df36
NC
232003-04-06 Nick Clifton <nickc@redhat.com>
24
25 * ld.texinfo (Options): Add a reminder of the target specific
26 nature to the description of the i386 PE specific options, for
27 readers who have not read all the way through the manual.
28
be33c5dd
SS
292003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
30
9f863369 31 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
32 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
33 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
34 * emulparams/tic3xcoff_onchip.sh: Ditto
35 * emulparams/tic4xcoff.sh: Ditto
36 * scripttempl/tic4xcoff.sc: Ditto
37
e8fd7476
NC
382003-04-03 Nick Clifton <nickc@redhat.com>
39
40 * NEWS: Mention support for Xtensa architecture.
41
2b817be1
NC
422003-04-02 Nick Clifton <nickc@redhat.com>
43
44 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
45
462003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
47
48 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
49 Don't call pe_dll_build_section() if link_info.relocateable.
50 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
51 if link_info.relocateable.
52
532003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
54
55 * pe-dll.c (process_def_file): Don't create an export
56 section if there are no exports and we're building an exe
57 (pe_dll_build_sections): Ditto
58 (pe_dll_fill_sections): Conditionalize setting
59 abfd->dll true on info->shared
60 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
61 If i386pe or armpe, call pe_dll_build_section()
62 for both exe's and dll's, not just dll's.
63 (gld_${EMULATION_NAME}_finish): For all targets except
64 shpe and mipspe, call pe_dll_fill_sections() for both
65 exe's and dll's, not just dll's.
66
f6c8b716
BW
672003-04-02 Bob Wilson <bob.wilson@acm.org>
68
69 * emulparams/xtensa-config.sh: Remove comment indicating that this is
70 a generated file.
71
e0001a05
NC
722003-04-01 Bob Wilson <bob.wilson@acm.org>
73
877d60f7
AM
74 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
75 (eelf32xtensa.c): New target.
76 * Makefile.in: Regenerate.
77 * configure.tgt: Handle xtensa-*-*.
78 * gen-doc.texi: Set XTENSA variable.
79 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
80 * emulparams/elf32xtensa.sh: New file.
81 * emulparams/xtensa-config.sh: Likewise.
82 * emultempl/xtensaelf.em: Likewise.
83 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 84
276e5094
JJ
852003-04-01 Jakub Jelinek <jakub@redhat.com>
86
87 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
88 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
89 if --enable-64-bit-bfd.
90
5a6c6817
NC
912003-04-01 Nick Clifton <nickc@redhat.com>
92
394ce546 93 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 94 note section.
394ce546 95 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
96 name of note section.
97
a6e02871
AO
982003-03-31 Alexandre Oliva <aoliva@redhat.com>
99
100 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
101 --section-start.
102
5ed6aba4
NC
1032003-03-31 David Heine <dlheine@suif.stanford.edu>
104
105 * ldfile.c (ldfile_add_library_path): Always allocate space for
106 the filename.
107 * ldlang.c (lang_register_vers_node): Free the node if it cannot
108 be used.
109 * ldmain.c (set_scripts_dir): Always free the constructed
110 directory name.
111 (add_keepsyms_file): Fix memory leak.
112 * ldmisc.c (vfinfo): Likewise.
877d60f7 113 * lexsup.c (parse_args): Likewise.
5ed6aba4 114
e16bb312
NC
1152003-03-25 Stan Cox <scox@redhat.com>
116 Nick Clifton <nickc@redhat.com>
877d60f7 117
e16bb312
NC
118 Contribute support for Intel's iWMMXt chip - an ARM variant:
119
120 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
121 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
122 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
123 (.bss): Likewise.
124
3fe38064
NC
1252003-03-25 Alexandre Oliva <aoliva@redhat.com>
126
127 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
128 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
129 (main): Initialize them.
130 * ldfile.c: Include pathnames.h.
131 (is_sysrooted_pathname): New.
132 (ldfile_add_library_path): Use it.
133 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
134 search_dirs if given an absolute pathname.
135 (ldfile_open_file): Issue error message for sysrooted
136 absolute pathnames.
137 * Makefile.am: Updated dependencies.
138 * Makefile.in: Rebuild.
139