Commit | Line | Data |
---|---|---|
c16d554d RM |
1 | 2003-06-05 Roland McGrath <roland@redhat.com> |
2 | ||
3 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove | |
4 | extra \t in -z noexecstack line. | |
5 | ||
9ee5e499 JJ |
6 | 2003-05-23 Jakub Jelinek <jakub@redhat.com> |
7 | ||
8 | * ldgram.y (phdr_type): Grok PT_GNU_STACK. | |
9 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add | |
10 | -z execstack and -z noexecstack. | |
11 | (gld${EMULATION_NAME}_list_options): Likewise. | |
12 | * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. | |
13 | ||
65982ba6 MS |
14 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
15 | and Bernd Schmidt <bernds@redhat.com> | |
16 | and Alexandre Oliva <aoliva@redhat.com> | |
9ee5e499 | 17 | |
65982ba6 MS |
18 | * Makefile.am: Add new emulations for h8300sx. |
19 | * Makefile.in: Regenerate. | |
20 | * configure.tgt: Add new emulations. | |
21 | * emulparams/h8300sx.sh: New emulation. | |
22 | * emulparams/h8300sxelf.sh: Ditto. | |
23 | * scripttempl/h8300sx.sc: Ditto. | |
24 | ||
6f6f27f8 L |
25 | 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> |
26 | ||
27 | * ldmisc.c: Include "bfdlink.h". | |
28 | (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION | |
29 | and -LD_DEFINITION_IN_DISCARDED_SECTION. | |
30 | ||
31 | * Makefile.am: Rebuild dependency. | |
32 | * Makefile.in: Regenerated. | |
33 | ||
308f753f KK |
34 | 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
35 | ||
36 | * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
37 | * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. | |
38 | ||
03a1c9a7 NC |
39 | 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> |
40 | ||
41 | * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is | |
42 | sorted alphabetically, instead of exported_symbols, which is | |
43 | sorted by ordinal. | |
44 | ||
36af4a4e JJ |
45 | 2003-05-30 Ulrich Drepper <drepper@redhat.com> |
46 | Jakub Jelinek <jakub@redhat.com> | |
47 | ||
48 | * lexsup.c (OPTION_PIE): Define. | |
49 | (ld_options): Add -pie and --pic-executable options. | |
50 | (parse_args): Handle OPTION_PIE. | |
51 | * ldmain.c (main): Initialize link_info.pie and | |
52 | link_info.executable. | |
53 | * genscripts.sh: Generate PIE scripts. | |
54 | * ld.texinfo: Document -pie and --pic-executable options. | |
55 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): | |
56 | (gld${EMULATION_NAME}_place_orphan): Likewise. | |
57 | (gld${EMULATION_NAME}_get_script): Include PIE scripts. | |
58 | * scripttempl/elf.sc: In PIE scripts set . the same way as in | |
59 | shared scripts. | |
60 | * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
61 | * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. | |
62 | * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
63 | * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
64 | * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. | |
65 | * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. | |
66 | * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
67 | * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
68 | * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. | |
69 | * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. | |
70 | * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. | |
71 | ||
cdaeef2e L |
72 | 2003-05-30 H.J. Lu <hongjiu.lu@intel.com> |
73 | ||
74 | * genscripts.sh: Create tmpdir/libpath.exp. | |
75 | ||
06aa7234 NC |
76 | 2003-05-30 Nick Clifton <nickc@redhat.com> |
77 | ||
78 | * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT | |
79 | with a test for a NULL bfd_for_interworking. | |
80 | ||
561c27b2 JT |
81 | 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
82 | ||
83 | * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS | |
84 | correctly for more recent versions of NetBSD. | |
85 | (alpha*-*-netbsd*): Remove. | |
86 | (i[3-7]86-*-netbsd*): Remove. | |
87 | ||
29e1a6e4 NC |
88 | 2003-05-29 Nick Clifton <nickc@redhat.com> |
89 | ||
90 | * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. | |
91 | ||
90be1c5c MR |
92 | 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
93 | ||
94 | * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to | |
95 | trap on pointer crops. | |
96 | ||
cea3d58d NC |
97 | 2003-05-21 Marcus Comstedt <marcus@mc.pp.se> |
98 | ||
99 | * configure.tgt: Check for a target triplet of shl-...-netbsdelf | |
100 | as well as shle-...-netbsdelf. | |
101 | ||
80c7c40a NC |
102 | 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com> |
103 | ||
104 | * configure.host: Accept i[3-7]86 variants. | |
105 | * configure.tgt: Likewise. | |
106 | ||
a6c0916f L |
107 | 2003-05-15 H.J. Lu <hongjiu.lu@intel.com> |
108 | ||
109 | * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. | |
110 | ||
d2012d17 DJ |
111 | 2003-05-09 Daniel Jacobowitz <drow@mvista.com> |
112 | ||
113 | * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. | |
114 | (earmelfb.c, earmelfb_linux.c): New rules. | |
115 | * Makefile.in: Regenerated. | |
116 | * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. | |
df9a14a1 | 117 | * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. |
d2012d17 | 118 | |
3cd9fdd5 | 119 | 2003-05-09 Nick Clifton <nickc@redhat.com> |
c16d554d | 120 | |
66184979 NC |
121 | * ldlang.c (lang_size_sections_1): Default to generating a |
122 | fatal error message if a loadable section is not allocated | |
123 | to a memory region when regions are defined. | |
124 | ||
efdffbe2 AM |
125 | 2003-05-09 Alan Modra <amodra@bigpond.net.au> |
126 | ||
127 | * Makefile.am (em68hc11elf.c): Correct dependencies. | |
128 | (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. | |
129 | * Makefile.in: Regenerate. | |
130 | * emultempl/elf32.em (find_exp_assignment): Adjust for changed | |
131 | bfd_elf_record_link_assignment name. | |
132 | ||
8aae64e6 AO |
133 | 2003-05-07 Alexandre Oliva <aoliva@redhat.com> |
134 | ||
135 | * ldmain.h (overflow_cutoff_limit): Declare. | |
136 | * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. | |
137 | (reloc_overflow): Limit error messages based on it. | |
138 | * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to | |
139 | unlimited. | |
140 | ||
5c7966bf AM |
141 | 2003-05-05 Alan Modra <amodra@bigpond.net.au> |
142 | ||
143 | * ldlex.l: Accept C style comments in version scripts. | |
144 | ||
c7996ad6 L |
145 | 2003-04-28 H.J. Lu <hjl@gnu.org> |
146 | ||
147 | * ldlang.c (lang_process): Add the relax finalize pass. | |
148 | ||
149 | * ldmain.c (main): Initialize link_info.relax_finalizing to | |
150 | FALSE. | |
151 | ||
d145330d RM |
152 | 2003-04-24 Roland McGrath <roland@redhat.com> |
153 | ||
154 | * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. | |
155 | If a name string is unknown, give an error rather than crashing later. | |
156 | ||
157 | 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> | |
158 | ||
159 | * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, | |
8d9cd6b1 NC |
160 | eh8300hnelf.o, eh8300snelf.o and respective rules. |
161 | * Makefile.in: Regenerate. | |
162 | * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf | |
163 | * emulparams/h8300hn.sh: New | |
164 | * emulparams/h8300sn.sh: New | |
d145330d | 165 | * emulparams/h8300hnelf.sh: New |
8d9cd6b1 NC |
166 | * emulparams/h8300snelf.sh: New |
167 | * scripttempl/h8300hn.sc: new | |
168 | * scripttempl/h8300sn.sc: new | |
169 | ||
0f0569c4 L |
170 | 2003-04-23 H.J. Lu <hjl@gnu.org> |
171 | ||
172 | * ldmain.c (link_callbacks): Initialize error_handler. | |
173 | ||
174 | * ldmisc.c (error_handler): New function. | |
175 | ||
176 | * ldmisc.h (error_handler): New prototype. | |
177 | ||
e2cebd4b SC |
178 | 2003-04-21 Stephane Carrez <stcarrez@nerim.fr> |
179 | ||
180 | * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. | |
181 | * emulparams/m68hc11elfb.sh: Likewise. | |
182 | * emulparams/m68hc12elf.sh: Likewise. | |
183 | * emulparams/m68hc12elfb.sh: Likewise. | |
184 | ||
67bb9940 SC |
185 | 2003-04-19 Stephane Carrez <stcarrez@nerim.fr> |
186 | ||
187 | * emultempl/m68hc1xelf.em: New file to generate far trampolines on | |
188 | 68HC11 and 68HC12. | |
189 | (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to | |
190 | generate. | |
191 | (LDEMUL_FINISH): Override to generate the trampolines after gc and | |
192 | linker relaxation. | |
193 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the | |
194 | stub file for trampolines. | |
195 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options | |
196 | --no-trampoline and --bank-window to control the memory bank window. | |
197 | ||
97b51f20 L |
198 | 2003-04-18 H.J. Lu <hjl@gnu.org> |
199 | ||
200 | * ldfile.c (ldfile_add_library_path): Remove the unused | |
201 | variable. | |
202 | ||
517ed485 NC |
203 | 2003-04-18 Andrew Haley <aph@cambridge.redhat.com> |
204 | ||
205 | * scripttempl/xstormy16.sc (__data, __rdata): New. | |
206 | ||
39f1ebed NC |
207 | 2003-04-16 Nick Clifton <nickc@redhat.com> |
208 | ||
209 | * scripttempl/xstormy16.sc: Add .jcr section mapping. | |
210 | ||
731e28d8 L |
211 | 2003-04-15 H.J. Lu <hjl@gnu.org> |
212 | ||
213 | From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: | |
214 | ||
215 | * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. | |
216 | ||
c2dcd04e NC |
217 | 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> |
218 | ||
219 | * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. | |
220 | * ld.texinfo: Likewise. | |
221 | ||
877d60f7 AM |
222 | 2003-04-14 Alan Modra <amodra@bigpond.net.au> |
223 | ||
224 | From Prashanth Tamraparni <prashanth_t@in.ibm.com> | |
225 | * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and | |
226 | other variants of crtbegin.o, crtend.o. | |
227 | (DTOR): Likewise. | |
228 | * scripttempl/crisaout.sc (ctors, dtors): Likewise. | |
229 | * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. | |
230 | * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. | |
231 | * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. | |
232 | * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. | |
233 | * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. | |
234 | * scripttempl/mmo.sc (ctors, dtors): Likewise. | |
235 | * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. | |
236 | ||
d4b6ee67 NC |
237 | 2003-04-09 Dmitry Diky <diwil@mail.ru> |
238 | ||
239 | * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors | |
240 | sections to respect C++ constructor/destructor. Add ctors/dtors | |
241 | start/stop definitions. | |
242 | * scripttempl/elf32msp430_3.sc: Likewise. | |
243 | ||
bb10df36 NC |
244 | 2003-04-06 Nick Clifton <nickc@redhat.com> |
245 | ||
246 | * ld.texinfo (Options): Add a reminder of the target specific | |
247 | nature to the description of the i386 PE specific options, for | |
248 | readers who have not read all the way through the manual. | |
249 | ||
be33c5dd SS |
250 | 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> |
251 | ||
9f863369 | 252 | * configure.tgt: Fixed bug in list of targ_extra_emuls. |
be33c5dd SS |
253 | * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace |
254 | cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ | |
255 | * emulparams/tic3xcoff_onchip.sh: Ditto | |
256 | * emulparams/tic4xcoff.sh: Ditto | |
257 | * scripttempl/tic4xcoff.sc: Ditto | |
258 | ||
e8fd7476 NC |
259 | 2003-04-03 Nick Clifton <nickc@redhat.com> |
260 | ||
261 | * NEWS: Mention support for Xtensa architecture. | |
262 | ||
2b817be1 NC |
263 | 2003-04-02 Nick Clifton <nickc@redhat.com> |
264 | ||
265 | * pe-dll.c (pe_detail_list): arm-pe targets use underscores. | |
266 | ||
267 | 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> | |
268 | ||
269 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
270 | Don't call pe_dll_build_section() if link_info.relocateable. | |
271 | (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() | |
272 | if link_info.relocateable. | |
273 | ||
274 | 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> | |
275 | ||
276 | * pe-dll.c (process_def_file): Don't create an export | |
277 | section if there are no exports and we're building an exe | |
278 | (pe_dll_build_sections): Ditto | |
279 | (pe_dll_fill_sections): Conditionalize setting | |
280 | abfd->dll true on info->shared | |
281 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
282 | If i386pe or armpe, call pe_dll_build_section() | |
283 | for both exe's and dll's, not just dll's. | |
284 | (gld_${EMULATION_NAME}_finish): For all targets except | |
285 | shpe and mipspe, call pe_dll_fill_sections() for both | |
286 | exe's and dll's, not just dll's. | |
287 | ||
f6c8b716 BW |
288 | 2003-04-02 Bob Wilson <bob.wilson@acm.org> |
289 | ||
290 | * emulparams/xtensa-config.sh: Remove comment indicating that this is | |
291 | a generated file. | |
292 | ||
e0001a05 NC |
293 | 2003-04-01 Bob Wilson <bob.wilson@acm.org> |
294 | ||
877d60f7 AM |
295 | * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. |
296 | (eelf32xtensa.c): New target. | |
297 | * Makefile.in: Regenerate. | |
298 | * configure.tgt: Handle xtensa-*-*. | |
299 | * gen-doc.texi: Set XTENSA variable. | |
300 | * ld.texinfo: Set XTENSA variable. Add new Xtensa node. | |
301 | * emulparams/elf32xtensa.sh: New file. | |
302 | * emulparams/xtensa-config.sh: Likewise. | |
303 | * emultempl/xtensaelf.em: Likewise. | |
304 | * scripttempl/elfxtensa.sc: Likewise. | |
e0001a05 | 305 | |
276e5094 JJ |
306 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
307 | ||
308 | * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 | |
309 | targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath | |
310 | if --enable-64-bit-bfd. | |
311 | ||
5a6c6817 NC |
312 | 2003-04-01 Nick Clifton <nickc@redhat.com> |
313 | ||
394ce546 | 314 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of |
5a6c6817 | 315 | note section. |
394ce546 | 316 | * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change |
5a6c6817 NC |
317 | name of note section. |
318 | ||
a6e02871 AO |
319 | 2003-03-31 Alexandre Oliva <aoliva@redhat.com> |
320 | ||
321 | * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of | |
322 | --section-start. | |
323 | ||
5ed6aba4 NC |
324 | 2003-03-31 David Heine <dlheine@suif.stanford.edu> |
325 | ||
326 | * ldfile.c (ldfile_add_library_path): Always allocate space for | |
327 | the filename. | |
328 | * ldlang.c (lang_register_vers_node): Free the node if it cannot | |
329 | be used. | |
330 | * ldmain.c (set_scripts_dir): Always free the constructed | |
331 | directory name. | |
332 | (add_keepsyms_file): Fix memory leak. | |
333 | * ldmisc.c (vfinfo): Likewise. | |
877d60f7 | 334 | * lexsup.c (parse_args): Likewise. |
5ed6aba4 | 335 | |
e16bb312 NC |
336 | 2003-03-25 Stan Cox <scox@redhat.com> |
337 | Nick Clifton <nickc@redhat.com> | |
877d60f7 | 338 | |
e16bb312 NC |
339 | Contribute support for Intel's iWMMXt chip - an ARM variant: |
340 | ||
341 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. | |
342 | * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. | |
343 | * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. | |
344 | (.bss): Likewise. | |
345 | ||
3fe38064 NC |
346 | 2003-03-25 Alexandre Oliva <aoliva@redhat.com> |
347 | ||
348 | * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. | |
349 | * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. | |
350 | (main): Initialize them. | |
351 | * ldfile.c: Include pathnames.h. | |
352 | (is_sysrooted_pathname): New. | |
353 | (ldfile_add_library_path): Use it. | |
354 | (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't | |
355 | search_dirs if given an absolute pathname. | |
356 | (ldfile_open_file): Issue error message for sysrooted | |
357 | absolute pathnames. | |
358 | * Makefile.am: Updated dependencies. | |
359 | * Makefile.in: Rebuild. | |
360 |