Replace <ctype.h> with "safe-ctype.h"
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
29e1a6e4
NC
12003-05-29 Nick Clifton <nickc@redhat.com>
2
3 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
4
90be1c5c
MR
52003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6
7 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
8 trap on pointer crops.
9
cea3d58d
NC
102003-05-21 Marcus Comstedt <marcus@mc.pp.se>
11
12 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
13 as well as shle-...-netbsdelf.
14
80c7c40a
NC
152003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
16
17 * configure.host: Accept i[3-7]86 variants.
18 * configure.tgt: Likewise.
19
a6c0916f
L
202003-05-15 H.J. Lu <hongjiu.lu@intel.com>
21
22 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
23
d2012d17
DJ
242003-05-09 Daniel Jacobowitz <drow@mvista.com>
25
26 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
27 (earmelfb.c, earmelfb_linux.c): New rules.
28 * Makefile.in: Regenerated.
29 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 30 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 31
3cd9fdd5 322003-05-09 Nick Clifton <nickc@redhat.com>
66184979
NC
33
34 * ldlang.c (lang_size_sections_1): Default to generating a
35 fatal error message if a loadable section is not allocated
36 to a memory region when regions are defined.
37
efdffbe2
AM
382003-05-09 Alan Modra <amodra@bigpond.net.au>
39
40 * Makefile.am (em68hc11elf.c): Correct dependencies.
41 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
42 * Makefile.in: Regenerate.
43 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
44 bfd_elf_record_link_assignment name.
45
8aae64e6
AO
462003-05-07 Alexandre Oliva <aoliva@redhat.com>
47
48 * ldmain.h (overflow_cutoff_limit): Declare.
49 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
50 (reloc_overflow): Limit error messages based on it.
51 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
52 unlimited.
53
5c7966bf
AM
542003-05-05 Alan Modra <amodra@bigpond.net.au>
55
56 * ldlex.l: Accept C style comments in version scripts.
57
c7996ad6
L
582003-04-28 H.J. Lu <hjl@gnu.org>
59
60 * ldlang.c (lang_process): Add the relax finalize pass.
61
62 * ldmain.c (main): Initialize link_info.relax_finalizing to
63 FALSE.
64
d145330d
RM
652003-04-24 Roland McGrath <roland@redhat.com>
66
67 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
68 If a name string is unknown, give an error rather than crashing later.
69
702003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
71
72 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
73 eh8300hnelf.o, eh8300snelf.o and respective rules.
74 * Makefile.in: Regenerate.
75 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
76 * emulparams/h8300hn.sh: New
77 * emulparams/h8300sn.sh: New
d145330d 78 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
79 * emulparams/h8300snelf.sh: New
80 * scripttempl/h8300hn.sc: new
81 * scripttempl/h8300sn.sc: new
82
0f0569c4
L
832003-04-23 H.J. Lu <hjl@gnu.org>
84
85 * ldmain.c (link_callbacks): Initialize error_handler.
86
87 * ldmisc.c (error_handler): New function.
88
89 * ldmisc.h (error_handler): New prototype.
90
e2cebd4b
SC
912003-04-21 Stephane Carrez <stcarrez@nerim.fr>
92
93 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
94 * emulparams/m68hc11elfb.sh: Likewise.
95 * emulparams/m68hc12elf.sh: Likewise.
96 * emulparams/m68hc12elfb.sh: Likewise.
97
67bb9940
SC
982003-04-19 Stephane Carrez <stcarrez@nerim.fr>
99
100 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
101 68HC11 and 68HC12.
102 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
103 generate.
104 (LDEMUL_FINISH): Override to generate the trampolines after gc and
105 linker relaxation.
106 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
107 stub file for trampolines.
108 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
109 --no-trampoline and --bank-window to control the memory bank window.
110
97b51f20
L
1112003-04-18 H.J. Lu <hjl@gnu.org>
112
113 * ldfile.c (ldfile_add_library_path): Remove the unused
114 variable.
115
517ed485
NC
1162003-04-18 Andrew Haley <aph@cambridge.redhat.com>
117
118 * scripttempl/xstormy16.sc (__data, __rdata): New.
119
39f1ebed
NC
1202003-04-16 Nick Clifton <nickc@redhat.com>
121
122 * scripttempl/xstormy16.sc: Add .jcr section mapping.
123
731e28d8
L
1242003-04-15 H.J. Lu <hjl@gnu.org>
125
126 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
127
128 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
129
c2dcd04e
NC
1302003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
131
132 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
133 * ld.texinfo: Likewise.
134
877d60f7
AM
1352003-04-14 Alan Modra <amodra@bigpond.net.au>
136
137 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
138 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
139 other variants of crtbegin.o, crtend.o.
140 (DTOR): Likewise.
141 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
142 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
143 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
144 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
145 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
146 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
147 * scripttempl/mmo.sc (ctors, dtors): Likewise.
148 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
149
d4b6ee67
NC
1502003-04-09 Dmitry Diky <diwil@mail.ru>
151
152 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
153 sections to respect C++ constructor/destructor. Add ctors/dtors
154 start/stop definitions.
155 * scripttempl/elf32msp430_3.sc: Likewise.
156
bb10df36
NC
1572003-04-06 Nick Clifton <nickc@redhat.com>
158
159 * ld.texinfo (Options): Add a reminder of the target specific
160 nature to the description of the i386 PE specific options, for
161 readers who have not read all the way through the manual.
162
be33c5dd
SS
1632003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
164
9f863369 165 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
166 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
167 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
168 * emulparams/tic3xcoff_onchip.sh: Ditto
169 * emulparams/tic4xcoff.sh: Ditto
170 * scripttempl/tic4xcoff.sc: Ditto
171
e8fd7476
NC
1722003-04-03 Nick Clifton <nickc@redhat.com>
173
174 * NEWS: Mention support for Xtensa architecture.
175
2b817be1
NC
1762003-04-02 Nick Clifton <nickc@redhat.com>
177
178 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
179
1802003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
181
182 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
183 Don't call pe_dll_build_section() if link_info.relocateable.
184 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
185 if link_info.relocateable.
186
1872003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
188
189 * pe-dll.c (process_def_file): Don't create an export
190 section if there are no exports and we're building an exe
191 (pe_dll_build_sections): Ditto
192 (pe_dll_fill_sections): Conditionalize setting
193 abfd->dll true on info->shared
194 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
195 If i386pe or armpe, call pe_dll_build_section()
196 for both exe's and dll's, not just dll's.
197 (gld_${EMULATION_NAME}_finish): For all targets except
198 shpe and mipspe, call pe_dll_fill_sections() for both
199 exe's and dll's, not just dll's.
200
f6c8b716
BW
2012003-04-02 Bob Wilson <bob.wilson@acm.org>
202
203 * emulparams/xtensa-config.sh: Remove comment indicating that this is
204 a generated file.
205
e0001a05
NC
2062003-04-01 Bob Wilson <bob.wilson@acm.org>
207
877d60f7
AM
208 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
209 (eelf32xtensa.c): New target.
210 * Makefile.in: Regenerate.
211 * configure.tgt: Handle xtensa-*-*.
212 * gen-doc.texi: Set XTENSA variable.
213 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
214 * emulparams/elf32xtensa.sh: New file.
215 * emulparams/xtensa-config.sh: Likewise.
216 * emultempl/xtensaelf.em: Likewise.
217 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 218
276e5094
JJ
2192003-04-01 Jakub Jelinek <jakub@redhat.com>
220
221 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
222 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
223 if --enable-64-bit-bfd.
224
5a6c6817
NC
2252003-04-01 Nick Clifton <nickc@redhat.com>
226
394ce546 227 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 228 note section.
394ce546 229 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
230 name of note section.
231
a6e02871
AO
2322003-03-31 Alexandre Oliva <aoliva@redhat.com>
233
234 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
235 --section-start.
236
5ed6aba4
NC
2372003-03-31 David Heine <dlheine@suif.stanford.edu>
238
239 * ldfile.c (ldfile_add_library_path): Always allocate space for
240 the filename.
241 * ldlang.c (lang_register_vers_node): Free the node if it cannot
242 be used.
243 * ldmain.c (set_scripts_dir): Always free the constructed
244 directory name.
245 (add_keepsyms_file): Fix memory leak.
246 * ldmisc.c (vfinfo): Likewise.
877d60f7 247 * lexsup.c (parse_args): Likewise.
5ed6aba4 248
e16bb312
NC
2492003-03-25 Stan Cox <scox@redhat.com>
250 Nick Clifton <nickc@redhat.com>
877d60f7 251
e16bb312
NC
252 Contribute support for Intel's iWMMXt chip - an ARM variant:
253
254 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
255 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
256 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
257 (.bss): Likewise.
258
3fe38064
NC
2592003-03-25 Alexandre Oliva <aoliva@redhat.com>
260
261 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
262 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
263 (main): Initialize them.
264 * ldfile.c: Include pathnames.h.
265 (is_sysrooted_pathname): New.
266 (ldfile_add_library_path): Use it.
267 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
268 search_dirs if given an absolute pathname.
269 (ldfile_open_file): Issue error message for sysrooted
270 absolute pathnames.
271 * Makefile.am: Updated dependencies.
272 * Makefile.in: Rebuild.
273