Default to generating a fatal error message if a loadable section is not
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
66184979
NC
12003-05-02 Nick Clifton <nickc@redhat.com>
2
3 * ldlang.c (lang_size_sections_1): Default to generating a
4 fatal error message if a loadable section is not allocated
5 to a memory region when regions are defined.
6
efdffbe2
AM
72003-05-09 Alan Modra <amodra@bigpond.net.au>
8
9 * Makefile.am (em68hc11elf.c): Correct dependencies.
10 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
11 * Makefile.in: Regenerate.
12 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
13 bfd_elf_record_link_assignment name.
14
8aae64e6
AO
152003-05-07 Alexandre Oliva <aoliva@redhat.com>
16
17 * ldmain.h (overflow_cutoff_limit): Declare.
18 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
19 (reloc_overflow): Limit error messages based on it.
20 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
21 unlimited.
22
5c7966bf
AM
232003-05-05 Alan Modra <amodra@bigpond.net.au>
24
25 * ldlex.l: Accept C style comments in version scripts.
26
c7996ad6
L
272003-04-28 H.J. Lu <hjl@gnu.org>
28
29 * ldlang.c (lang_process): Add the relax finalize pass.
30
31 * ldmain.c (main): Initialize link_info.relax_finalizing to
32 FALSE.
33
d145330d
RM
342003-04-24 Roland McGrath <roland@redhat.com>
35
36 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
37 If a name string is unknown, give an error rather than crashing later.
38
392003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
40
41 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
42 eh8300hnelf.o, eh8300snelf.o and respective rules.
43 * Makefile.in: Regenerate.
44 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
45 * emulparams/h8300hn.sh: New
46 * emulparams/h8300sn.sh: New
d145330d 47 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
48 * emulparams/h8300snelf.sh: New
49 * scripttempl/h8300hn.sc: new
50 * scripttempl/h8300sn.sc: new
51
0f0569c4
L
522003-04-23 H.J. Lu <hjl@gnu.org>
53
54 * ldmain.c (link_callbacks): Initialize error_handler.
55
56 * ldmisc.c (error_handler): New function.
57
58 * ldmisc.h (error_handler): New prototype.
59
e2cebd4b
SC
602003-04-21 Stephane Carrez <stcarrez@nerim.fr>
61
62 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
63 * emulparams/m68hc11elfb.sh: Likewise.
64 * emulparams/m68hc12elf.sh: Likewise.
65 * emulparams/m68hc12elfb.sh: Likewise.
66
67bb9940
SC
672003-04-19 Stephane Carrez <stcarrez@nerim.fr>
68
69 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
70 68HC11 and 68HC12.
71 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
72 generate.
73 (LDEMUL_FINISH): Override to generate the trampolines after gc and
74 linker relaxation.
75 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
76 stub file for trampolines.
77 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
78 --no-trampoline and --bank-window to control the memory bank window.
79
97b51f20
L
802003-04-18 H.J. Lu <hjl@gnu.org>
81
82 * ldfile.c (ldfile_add_library_path): Remove the unused
83 variable.
84
517ed485
NC
852003-04-18 Andrew Haley <aph@cambridge.redhat.com>
86
87 * scripttempl/xstormy16.sc (__data, __rdata): New.
88
39f1ebed
NC
892003-04-16 Nick Clifton <nickc@redhat.com>
90
91 * scripttempl/xstormy16.sc: Add .jcr section mapping.
92
731e28d8
L
932003-04-15 H.J. Lu <hjl@gnu.org>
94
95 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
96
97 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
98
c2dcd04e
NC
992003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
100
101 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
102 * ld.texinfo: Likewise.
103
877d60f7
AM
1042003-04-14 Alan Modra <amodra@bigpond.net.au>
105
106 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
107 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
108 other variants of crtbegin.o, crtend.o.
109 (DTOR): Likewise.
110 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
111 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
112 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
113 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
114 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
115 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
116 * scripttempl/mmo.sc (ctors, dtors): Likewise.
117 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
118
d4b6ee67
NC
1192003-04-09 Dmitry Diky <diwil@mail.ru>
120
121 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
122 sections to respect C++ constructor/destructor. Add ctors/dtors
123 start/stop definitions.
124 * scripttempl/elf32msp430_3.sc: Likewise.
125
bb10df36
NC
1262003-04-06 Nick Clifton <nickc@redhat.com>
127
128 * ld.texinfo (Options): Add a reminder of the target specific
129 nature to the description of the i386 PE specific options, for
130 readers who have not read all the way through the manual.
131
be33c5dd
SS
1322003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
133
9f863369 134 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
135 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
136 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
137 * emulparams/tic3xcoff_onchip.sh: Ditto
138 * emulparams/tic4xcoff.sh: Ditto
139 * scripttempl/tic4xcoff.sc: Ditto
140
e8fd7476
NC
1412003-04-03 Nick Clifton <nickc@redhat.com>
142
143 * NEWS: Mention support for Xtensa architecture.
144
2b817be1
NC
1452003-04-02 Nick Clifton <nickc@redhat.com>
146
147 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
148
1492003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
150
151 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
152 Don't call pe_dll_build_section() if link_info.relocateable.
153 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
154 if link_info.relocateable.
155
1562003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
157
158 * pe-dll.c (process_def_file): Don't create an export
159 section if there are no exports and we're building an exe
160 (pe_dll_build_sections): Ditto
161 (pe_dll_fill_sections): Conditionalize setting
162 abfd->dll true on info->shared
163 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
164 If i386pe or armpe, call pe_dll_build_section()
165 for both exe's and dll's, not just dll's.
166 (gld_${EMULATION_NAME}_finish): For all targets except
167 shpe and mipspe, call pe_dll_fill_sections() for both
168 exe's and dll's, not just dll's.
169
f6c8b716
BW
1702003-04-02 Bob Wilson <bob.wilson@acm.org>
171
172 * emulparams/xtensa-config.sh: Remove comment indicating that this is
173 a generated file.
174
e0001a05
NC
1752003-04-01 Bob Wilson <bob.wilson@acm.org>
176
877d60f7
AM
177 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
178 (eelf32xtensa.c): New target.
179 * Makefile.in: Regenerate.
180 * configure.tgt: Handle xtensa-*-*.
181 * gen-doc.texi: Set XTENSA variable.
182 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
183 * emulparams/elf32xtensa.sh: New file.
184 * emulparams/xtensa-config.sh: Likewise.
185 * emultempl/xtensaelf.em: Likewise.
186 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 187
276e5094
JJ
1882003-04-01 Jakub Jelinek <jakub@redhat.com>
189
190 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
191 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
192 if --enable-64-bit-bfd.
193
5a6c6817
NC
1942003-04-01 Nick Clifton <nickc@redhat.com>
195
394ce546 196 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 197 note section.
394ce546 198 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
199 name of note section.
200
a6e02871
AO
2012003-03-31 Alexandre Oliva <aoliva@redhat.com>
202
203 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
204 --section-start.
205
5ed6aba4
NC
2062003-03-31 David Heine <dlheine@suif.stanford.edu>
207
208 * ldfile.c (ldfile_add_library_path): Always allocate space for
209 the filename.
210 * ldlang.c (lang_register_vers_node): Free the node if it cannot
211 be used.
212 * ldmain.c (set_scripts_dir): Always free the constructed
213 directory name.
214 (add_keepsyms_file): Fix memory leak.
215 * ldmisc.c (vfinfo): Likewise.
877d60f7 216 * lexsup.c (parse_args): Likewise.
5ed6aba4 217
e16bb312
NC
2182003-03-25 Stan Cox <scox@redhat.com>
219 Nick Clifton <nickc@redhat.com>
877d60f7 220
e16bb312
NC
221 Contribute support for Intel's iWMMXt chip - an ARM variant:
222
223 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
224 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
225 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
226 (.bss): Likewise.
227
3fe38064
NC
2282003-03-25 Alexandre Oliva <aoliva@redhat.com>
229
230 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
231 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
232 (main): Initialize them.
233 * ldfile.c: Include pathnames.h.
234 (is_sysrooted_pathname): New.
235 (ldfile_add_library_path): Use it.
236 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
237 search_dirs if given an absolute pathname.
238 (ldfile_open_file): Issue error message for sysrooted
239 absolute pathnames.
240 * Makefile.am: Updated dependencies.
241 * Makefile.in: Rebuild.
242