]>
Commit | Line | Data |
---|---|---|
26c7ca95 ILT |
1 | Fri May 15 00:22:35 1998 Ian Lance Taylor <[email protected]> |
2 | ||
3 | * ldlex.l: Recognize keyword SORT. | |
4 | * ldgram.y (current_file): Change to struct wildcard_spec. | |
5 | (%union): Add new fields cname and wildcard. | |
6 | (wildcard_name, wildcard_spec): New nonterminals. | |
7 | (file_NAME_list): Use wildcard_spec. | |
8 | (input_section_spec): Change current_file usage. | |
9 | * ld.h (struct wildcard_spec): Define. | |
10 | * ldlang.h (lang_wild_statement_struct): Add new fields | |
11 | sections_sorted and filenames_sorted. | |
12 | (lang_add_wild): Update declaration. | |
13 | * ldlang.c (wild_sort): New static function. | |
14 | (wild_section): Use wild_sort. | |
15 | (print_wild_statement): Print sorting information. | |
16 | (lang_add_wild): Add new parameters sections_sorted and | |
17 | filenames_sorted. Change all callers. | |
18 | * mri.c (mri_draw_tree): Update calls to lang_add_wild. | |
19 | * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name. | |
20 | * scripttempl/elfd10v.sc: Likewise. | |
21 | * scripttempl/elfd30v.sc: Likewise. | |
22 | * scripttempl/elfppc.sc: Likewise. | |
23 | ||
5bb1a7be RH |
24 | Thu May 14 18:39:16 1998 Richard Henderson <[email protected]> |
25 | ||
26 | * emulparams/m32relf.sh (TEMPLATE_NAME): Define. | |
27 | ||
f0ba99a6 NC |
28 | Thu May 14 14:51:24 1998 Nick Clifton <[email protected]> |
29 | ||
30 | * ldemul.h: Add new prototype: ldemul_list_emulation_options. | |
31 | (ld_emulation_xfer_struct): Add new field: list_options. | |
32 | * ldemul.c (ldemul_list_options): New function. Call the | |
33 | list_options field of the ld_emulation_xfer_struct for each | |
34 | supported emulation, if such a function is present. | |
35 | * lexsup.c (help): Call ldemul_list_emulation_options. | |
36 | * emultempl/pe.em (gld_<>_list_options): New function. Describe | |
37 | the pe emulation specific command line options. | |
38 | * emultempl/armcoff.em (gld<>_list_options): New function. | |
39 | Describe the armcoff emulation specific command line options. | |
40 | ||
41 | * emultempl/pe.em: Add a new command line option: | |
42 | --support-old-code. | |
43 | * emultempl/armcoff.em: Ditto. | |
44 | * ld.texinfo: Document the --support-old-code option. | |
45 | ||
46 | * Makefile.in: Add emulation files for POTFILES.in target. | |
47 | * emultempl/pe.em: Internationalise suitable strings. | |
48 | * emultempl/armcoff.em: Internationalise suitable strings. | |
49 | * po/POTFILES.in: Rebuilt. | |
50 | ||
51 | Sun May 10 22:36:30 1998 Jeffrey A Law ([email protected]) | |
52 | ||
53 | * po/Make-in (install-info): New target. | |
54 | ||
55 | Tue Apr 28 19:18:30 1998 Tom Tromey <[email protected]> | |
56 | ||
57 | * ldmain.c (main): Conditionally call setlocale. | |
58 | * ld.h: Include <locale.h> if HAVE_LOCALE_H. | |
59 | (LC_MESSAGES): Now can be defined even when ENABLE_NLS. | |
60 | ||
bef28bc9 ILT |
61 | Mon Apr 27 11:56:21 1998 Ian Lance Taylor <[email protected]> |
62 | ||
5b10df4a ILT |
63 | * configure.in: Change version number to 2.9.4 |
64 | * configure: Rebuild. | |
65 | ||
6581c418 ILT |
66 | * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf. |
67 | ||
d091d2ab | 68 | Based on patch from H.J. Lu <[email protected]>: |
bef28bc9 ILT |
69 | * emultempl/elf32.em (global_vercheck_needed): New file static |
70 | variable. | |
71 | (global_vercheck_failed): New file static variable. | |
72 | (gld${EMULATION_NAME}_after_open): Check for shared libraries | |
73 | twice, once with force set to 0 and once with it set to 1. | |
74 | (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter. | |
75 | Change all callers. | |
76 | (gld${EMULATION_NAME}_search_needed): Likewise. | |
77 | (gld${EMULATION_NAME}_try_needed): Likewise. If not force, check | |
78 | whether the libraries needs any incompatible versions. | |
79 | (gld${EMULATION_NAME}_vercheck): New static function. | |
80 | ||
560270b7 TT |
81 | Wed Apr 22 16:01:35 1998 Tom Tromey <[email protected]> |
82 | ||
83 | * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). | |
84 | ||
f8a86f8f ILT |
85 | Wed Apr 22 12:40:56 1998 Ian Lance Taylor <[email protected]> |
86 | ||
f3b96ecc ILT |
87 | * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when |
88 | invoking runtest. | |
89 | * Makefile.in: Rebuild. | |
90 | ||
91 | * lexsup.c (parse_args): Change -l options into --library options | |
92 | to avoid confusion between -li and -library. | |
93 | ||
f8a86f8f ILT |
94 | * ld.texinfo (MEMORY): Clarify use of >REGION. |
95 | ||
8bc8f4bc TT |
96 | Tue Apr 21 23:12:40 1998 Tom Tromey <[email protected]> |
97 | ||
98 | * Many files: Added gettext invocations around user-visible | |
99 | strings. | |
100 | * ld.h: Added gettext-related includes and defines. | |
101 | * ldmain.c: Call setlocale, bindtextdomain, textdomain. | |
102 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, | |
103 | HAVE_LC_MESSAGES): Define. | |
104 | * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and | |
105 | po/Makefile. Use AM_PROG_LEX. | |
106 | (TDIRS): AC_SUBST early on, to avoid having value split when it | |
107 | happens to cross line 90 of the generated sed script. | |
108 | * Makefile.am (SUBDIRS): New macro. | |
109 | (POTFILES): Likewise. | |
110 | (po/POTFILES.in): New target. | |
111 | (ld_new_LDADD): Added INTLLIBS. | |
112 | (ld_new_DEPENDENCIES): Added INTLDEPS. | |
113 | * po/Make-in, po/POTFILES.in, po/gas.pot: New files. | |
114 | ||
36a8f215 ILT |
115 | Tue Apr 21 23:07:07 1998 Ian Lance Taylor <[email protected]> |
116 | ||
117 | * ld.texinfo (Simple Example): Rewrite a few things as suggested | |
118 | by Nick Clifton <[email protected]>. | |
119 | (PROVIDE): Likewise. | |
120 | ||
5de921b8 NC |
121 | Tue Apr 21 09:55:06 1998 Nick Clifton <[email protected]> |
122 | ||
123 | * emultempl/pe.em: Rename external arm interworking functions | |
124 | to conform to BFD naming conventions. Add code to _after_open() | |
125 | function to obtain a bfd for use by the interworking code. | |
126 | ||
127 | * emultempl/armcoff.em: Rename external arm interworking functions | |
128 | to conform to BFD naming conventions. Add new _after_open() | |
129 | function to obtain a bfd for use by the interworking code. | |
130 | ||
131 | Sun Apr 19 19:23:09 1998 Richard Henderson <[email protected]> | |
132 | ||
133 | * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]: | |
134 | Update dot and the default memory section even when relaxing. | |
135 | ||
79cee2b7 RH |
136 | Sat Apr 18 18:41:12 1998 Richard Henderson <[email protected]> |
137 | ||
138 | * ldlang.c (lang_one_common): Manipulate the section's cooked size | |
139 | rather than its raw size. | |
140 | ||
55ca0ccb ILT |
141 | Tue Apr 7 13:35:29 1998 H.J. Lu <[email protected]> |
142 | ||
143 | * configure.in (TESTBFDLIB): New. Defined and substituted. | |
144 | * Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@. | |
145 | * configure, Makefile.in: Rebuild. | |
146 | ||
83a33a21 ILT |
147 | Mon Apr 6 15:33:39 1998 Ian Lance Taylor <[email protected]> |
148 | ||
149 | * Makefile.am (ld.info): Invoke makeinfo with -I options directly | |
150 | rather than relying on default rule. Don't depend upon | |
151 | bfdsumm.texi. | |
152 | (ld.dvi): Likewise. | |
153 | (bfdsumm.texi): Remove target. | |
154 | (CLEANFILES): Take bfdsumm.texi out of value. | |
155 | * Makefile.in: Rebuild. | |
156 | ||
2a08e1de ILT |
157 | Sun Apr 5 13:07:57 1998 Ian Lance Taylor <[email protected]> |
158 | ||
159 | * scripttempl/pe.sc: Use shell variables to avoid depending upon | |
160 | how $ is handled when expanding a shell substitution. | |
161 | ||
af54556a ILT |
162 | Fri Apr 3 00:56:50 1998 Ian Lance Taylor <[email protected]> |
163 | ||
193bbe85 ILT |
164 | * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum. |
165 | (DISTCLEANFILES): Add site.exp and site.bak. | |
166 | * Makefile.in: Rebuild. | |
167 | ||
3c68cb41 ILT |
168 | * configure.in: Put the tdirs in a file and use AC_SUBST_FILE, |
169 | rather than in a shell variable and using AC_SUBST. | |
170 | * Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs. | |
171 | (distclean-local): New target. | |
172 | * configure, Makefile.in: Rebuild. | |
173 | ||
af54556a ILT |
174 | * ld.texinfo: Completely rewrite linker script documentation. |
175 | ||
176 | Mon Mar 30 12:47:33 1998 Ian Lance Taylor <[email protected]> | |
177 | ||
178 | * configure.in: Set version to 2.9.1. | |
179 | * configure: Rebuild. | |
180 | ||
181 | * Branched binutils 2.9. | |
182 | ||
26c61946 ILT |
183 | Sat Mar 28 16:48:19 1998 Ian Lance Taylor <[email protected]> |
184 | ||
437a04cb ILT |
185 | * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir. |
186 | (mostlyclean-local): New target to remove tmpdir. | |
187 | * Makefile.in: Rebuild. | |
188 | ||
26c61946 ILT |
189 | Fix some gcc -Wall warnings: |
190 | * ldcref.c (output_cref): Add casts to avoid warnings. | |
191 | * ldfile.c (ldfile_add_arch): Likewise. | |
192 | * ldlang.c (lang_leave_overlay_section): Likewise. | |
193 | * lexsup.c (OPTION_COUNT): Likewise. | |
194 | (parse_args): Likewise. | |
195 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): | |
196 | Likewise. | |
197 | * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise. | |
198 | * ldlang.c (lang_check): Initialize variables to avoid warnings. | |
199 | * ldwrite.c (build_link_order): Likewise. | |
200 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise. | |
201 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation): | |
202 | Remove unused variables. | |
203 | ||
204 | * Makefile.am (MOSTLYCLEANFILES): Correct name (was | |
205 | MOSTCLEANFILES). | |
206 | * Makefile.in: Rebuild. | |
207 | ||
c8e8b829 ILT |
208 | Fri Mar 27 16:39:25 1998 Ian Lance Taylor <[email protected]> |
209 | ||
210 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put | |
211 | ARM code inside ifdef TARGET_IS_armpe. | |
212 | ||
9216fffa ILT |
213 | Wed Mar 25 11:34:13 1998 Ian Lance Taylor <[email protected]> |
214 | ||
51b9a79b ILT |
215 | Based on patch from H.J. Lu <[email protected]>: |
216 | * Makefile.am (LDDISTSTUFF): New variable. | |
217 | (diststuff): New target. | |
218 | * Makefile.in: Rebuild. | |
219 | ||
9216fffa ILT |
220 | * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when |
221 | relocating. | |
222 | ||
3535c3c0 NC |
223 | Tue Mar 24 15:59:29 1998 Nick Clifton <[email protected]> |
224 | ||
225 | * scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to | |
226 | hold Arm/Thumb stubs. | |
227 | ||
228 | * emultempl/pe.em (gld_pe_before_allocation): Call | |
229 | arm_process_before_allocation (for ARM/Thumb targets) in order to | |
230 | gather interworking stb information. | |
231 | ||
a096e9b7 ILT |
232 | Mon Mar 23 18:54:15 1998 Joel Sherrill <[email protected]> |
233 | ||
234 | * configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF. | |
235 | ||
236 | Fri Mar 20 19:17:13 1998 Ian Lance Taylor <[email protected]> | |
237 | ||
238 | * aclocal.m4, configure: Rebuild with libtool 1.2. | |
239 | ||
155d9cc4 GN |
240 | Thu Mar 19 14:54:45 1998 Geoffrey Noer <[email protected]> |
241 | ||
242 | * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy | |
243 | section to avoid copying certain data on fork. The linker used to | |
244 | include this between __data_start__ and __data_end__, but that | |
245 | breaks building the cygwin32 dll. The fix is to rename the | |
246 | section ".data_cygwin_nocopy" and explictly include it after | |
247 | __data_end__. | |
248 | ||
c21f1da3 NC |
249 | Wed Mar 18 09:42:24 1998 Nick Clifton <[email protected]> |
250 | ||
251 | * configure.tgt (targ_extra_emuls): Add thumb-pe target. | |
252 | ||
253 | Sun Mar 8 23:34:14 1998 Stan Cox <[email protected]> | |
254 | ||
255 | * configure.tgt (sparclite*-*-elf): Added. | |
256 | ||
7cdb3e27 GRK |
257 | start-sanitize-vr4320 |
258 | Tue Mar 3 11:16:35 1998 Gavin Koch <[email protected]> | |
259 | ||
260 | * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added. | |
261 | ||
262 | end-sanitize-vr4320 | |
3a0d0c15 MM |
263 | Mon Mar 2 19:24:08 1998 Michael Meissner <[email protected]> |
264 | ||
265 | * ldlang.c (lang_size_sections): If the default memory region is | |
266 | *default*, see if there is a memory region that could be used. | |
267 | ||
e08a28c4 MM |
268 | start-sanitize-d30v |
269 | Thu Feb 26 17:09:53 1998 Michael Meissner <[email protected]> | |
270 | ||
271 | * scripttempl/elfd30v.sc: Add support for .eit_v section and put | |
272 | it at 0xfffff020. | |
273 | * emulparams/d30v{elf,_o,_e}.sh: Ditto. | |
274 | ||
275 | end-sanitize-d30v | |
fc96bc86 ILT |
276 | Mon Feb 23 17:46:51 1998 Ian Lance Taylor <[email protected]> |
277 | ||
278 | * emultempl/pe.em (sort_sections): Permit the wildcard to include | |
279 | a trailing '*' when sorting grouped sections. | |
280 | * scripttempl/pe.sc: Include grouped sections using NAME\$*. Only | |
281 | include them when relocating. | |
282 | ||
283 | Wed Feb 18 23:39:46 1998 Richard Henderson <[email protected]> | |
284 | ||
285 | * Makefile.am (install-exec-local): Install properly when ln | |
286 | fails or tooldir == prefix. | |
287 | ||
288 | Fri Feb 13 15:24:06 1998 Ian Lance Taylor <[email protected]> | |
289 | ||
290 | * Makefile.am (AUTOMAKE_OPTIONS): Define. | |
291 | * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. | |
292 | ||
b95ad8c8 ILT |
293 | Thu Feb 12 14:10:44 1998 Ian Lance Taylor <[email protected]> |
294 | ||
71468d84 ILT |
295 | * scripttempl/elf.sc: Align the _end symbol according to the ELF |
296 | format size. From Gordon W. Ross <[email protected]>. | |
297 | ||
c5eea473 ILT |
298 | NetBSD patches from Gordon W. Ross <[email protected]>: |
299 | * configure.host (alpha*-*-netbsd*): New host. | |
300 | * configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New | |
301 | targets. | |
302 | ||
b95ad8c8 ILT |
303 | * lexsup.c (help): Update bug-gnu-utils address. |
304 | * ld.texinfo (Bug Reporting): Likewise. | |
305 | ||
306 | Tue Feb 10 18:05:56 1998 Ian Lance Taylor <[email protected]> | |
307 | ||
308 | * ldlang.c (lang_size_sections): Warn if some memory regions were | |
309 | defined, but a loadable section is going into the default memory | |
310 | region. | |
311 | ||
2ff04012 ILT |
312 | Tue Feb 10 16:17:20 1998 H.J. Lu <[email protected]> |
313 | ||
314 | * ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix. | |
315 | ||
7d620e23 ILT |
316 | Tue Feb 10 15:09:45 1998 Ian Lance Taylor <[email protected]> |
317 | ||
318 | * Makefile.am (Makefile): Add target, for dependencies on | |
319 | configure.host and configure.tgt. | |
320 | * configure.host, configure.tgt: Change -linux* to -linux-gnu*. | |
321 | * Makefile.in: Rebuild. | |
322 | ||
bd8a4ea4 JL |
323 | start-sanitize-r5900 |
324 | Tue Feb 10 11:52:33 1998 Jeffrey A Law ([email protected]) | |
325 | ||
326 | * Makefile.in (ALL_EMULATIONS): Add eelf32l5900.o | |
327 | (eelf32l5900.c): Add rule for building. | |
328 | * configure.tgt: Use r5900 specific emulation script. | |
329 | * emulparams/elf32l5900.sh: 5900 specific emulation script. | |
330 | ||
331 | end-sanitize-r5900 | |
55872088 AC |
332 | Mon Feb 9 13:44:40 1998 Andrew Cagney <[email protected]> |
333 | ||
334 | * scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE. | |
335 | ||
336 | * emulparams/d10velf.sh (READONLY_START_ADDR): Read only section | |
337 | moved to 0x00.....4. | |
338 | ||
641146fe ILT |
339 | Sat Feb 7 15:41:26 1998 Ian Lance Taylor <[email protected]> |
340 | ||
341 | * configure, aclocal.m4: Rebuild with new libtool. | |
342 | ||
12e0afe5 ILT |
343 | Thu Feb 5 12:16:11 1998 Ian Lance Taylor <[email protected]> |
344 | ||
5bd5a5c7 ILT |
345 | * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections. |
346 | From Thomas de Lellis <[email protected]>. | |
347 | ||
12e0afe5 ILT |
348 | * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. |
349 | ||
ab1f47c0 ILT |
350 | Wed Feb 4 13:02:32 1998 Ian Lance Taylor <[email protected]> |
351 | ||
352 | * Makefile.am (ld_new_LDADD): Remove @LEXLIB@. | |
353 | * Makefile.in: Rebuild. | |
354 | ||
cdf91fe4 ILT |
355 | Mon Feb 2 19:34:54 1998 Steve Haworth <[email protected]> |
356 | ||
357 | Add tms320c30 support: | |
358 | * configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets. | |
359 | * emulparams/tic30aout.sh: New file. | |
360 | * emulparams/tic30coff.sh: New file. | |
361 | * scripttempl/tic30aout.sc: New file. | |
362 | * scripttempl/tic30coff.sc: New file. | |
363 | * Makefile.am (ALL_EMULATIONS): Add etic30aout.o and | |
364 | etic30coff.o. | |
365 | (etic30aout.c, etic30coff.c): New targets. | |
366 | * Makefile.in: Rebuild. | |
367 | ||
49d579a0 ILT |
368 | Mon Feb 2 14:10:59 1998 Ian Lance Taylor <[email protected]> |
369 | ||
370 | * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to | |
371 | accept either ld.so or ld-linux.so. | |
372 | ||
ca7f5c98 DE |
373 | Fri Jan 30 19:16:28 1998 Doug Evans <[email protected]> |
374 | ||
375 | * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name | |
376 | to transform. | |
377 | * Makefile.in: Regenerate. | |
378 | ||
93ed82b0 ILT |
379 | Fri Jan 30 19:15:17 1998 Geoff Keating <[email protected]> |
380 | ||
381 | * scripttempl/elfppc.sc: Put .dynsbss in .sbss. | |
382 | ||
532fe3e5 ILT |
383 | Fri Jan 30 11:43:49 1998 H.J. Lu <[email protected]> |
384 | ||
385 | * Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets. | |
386 | * Makefile.in: Rebuild. | |
387 | ||
2eda9a2a ILT |
388 | Thu Jan 29 16:04:21 1998 Mumit Khan <[email protected]> |
389 | ||
390 | * ldfile.c (slash): Set to backslash if _WIN32 but not | |
391 | __CYGWIN32__. | |
392 | (ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a | |
393 | leading backslash or a leading x: as an absolute path. | |
394 | (ldfile_find_command_file): Use slash rather than / when | |
395 | generating name to try. | |
396 | * lexsup.c (PATH_SEPARATOR): Define. | |
397 | (set_default_dirlist): Use PATH_SEPARATOR rather than ':'. | |
398 | ||
eafda179 RH |
399 | Wed Jan 28 14:06:30 1998 Richard Henderson <[email protected]> |
400 | ||
401 | * emulparams/elf64_sparc.sh (ELFSIZE): 64 | |
402 | (TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later. | |
403 | (DATA_PLT): Needed by v9 abi. | |
404 | ||
10102e8c | 405 | Wed Jan 28 16:37:27 1998 J.J. van der Heijden <[email protected]> |
a1ccffb2 ILT |
406 | |
407 | * configure.tgt (i[3456]86-*-mingw32*): New entry. | |
408 | ||
d415414e ILT |
409 | Wed Jan 28 15:51:58 1998 Ian Lance Taylor <[email protected]> |
410 | ||
411 | * scripttempl/elf.sc: Only include linkonce sections in final | |
412 | sections when relocating. | |
413 | ||
75aacf7a DE |
414 | start-sanitize-sky |
415 | Wed Jan 28 12:19:31 1998 Doug Evans <[email protected]> | |
416 | ||
417 | * configure.tgt (dvp-*-*): Recognize. | |
418 | ||
419 | end-sanitize-sky | |
5a59e34d ILT |
420 | Wed Jan 28 14:10:01 1998 Ian Lance Taylor <[email protected]> |
421 | ||
83d11af1 ILT |
422 | * ld.texinfo (Options): Add a brief description of the types of |
423 | information included in a link map. | |
424 | ||
f4175166 ILT |
425 | * ld.texinfo (Options): Mention LDEMULATION in description of -m. |
426 | (Environment): Mention LDEMULATION. | |
427 | ||
5a59e34d ILT |
428 | * ld.texinfo (Options): Clarify --export-dynamic a bit. |
429 | ||
1361ffbd RH |
430 | Thu Jan 22 16:07:23 1998 Richard Henderson <[email protected]> |
431 | ||
432 | * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this | |
433 | pattern could match. | |
434 | ||
d9dd8f2b ILT |
435 | Wed Jan 21 22:26:46 1998 Ian Lance Taylor <[email protected]> |
436 | ||
3d80840d ILT |
437 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing |
438 | a relocateable link, set the image base to 0, and don't define the | |
439 | various symbols. | |
440 | * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. | |
441 | * scripttempl/pe.sc: Swap the .data and .bss sections so that | |
442 | .data comes first. If doing a relocateable link, use | |
443 | RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the | |
444 | sections at 0, and don't define any symbols. | |
445 | ||
d9dd8f2b ILT |
446 | * ldlang.c (lang_memory_default): Correct parenthisization of |
447 | expression. | |
448 | ||
1bea23ac ILT |
449 | Wed Jan 21 21:20:32 1998 Manfred Hollstein <[email protected]> |
450 | ||
451 | * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h | |
452 | here; they are included already via sysdep.h. | |
453 | ||
b3521ecf RH |
454 | Tue Jan 6 13:40:02 1998 Richard Henderson <[email protected]> |
455 | ||
456 | * scripttempl/i960.sc: Don't explicitly set .data and .bss start. | |
457 | ||
d3c324e5 MM |
458 | Fri Jan 2 20:15:37 1998 Michael Meissner <[email protected]> |
459 | ||
460 | * ldgram.y (attributes_opt): Pass region pointer to | |
461 | lang_set_flags, not ®ion->flags. | |
462 | ||
463 | * ldlang.c (lang_memory_default): New function to figure out a | |
464 | default memory region for a section if it was not specified. | |
465 | (lang_memory_region_lookup): Zero flags, not_flags field. | |
466 | (lang_map{,_flags}): Print attribute flags in memory map. | |
467 | (lang_size_sections): Call lang_memory_default to get default | |
468 | memory region. | |
469 | (lang_set_flags): Implement attribute flags for real. Take new | |
470 | argument to give the flags we are to skip for this region. | |
471 | ||
472 | * ldlang.h (memory_region_struct): Add not_flags field, make both | |
473 | flags fields flagword type. | |
474 | (lang_output_section_state): Make flags field flagword type. | |
475 | (lang_set_flags): Update prototype to match new calling sequence. | |
476 | (lang_memory_region_default): Add prototype. | |
477 | ||
03ab605a | 478 | start-sanitize-d30v |
d3c324e5 MM |
479 | * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION): |
480 | Define whether or not the region gets default sections, and if so, | |
481 | what sections. | |
482 | ||
483 | * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get | |
484 | default sections. | |
485 | ||
03ab605a MM |
486 | Thu Jan 1 22:58:04 1998 Michael Meissner <[email protected]> |
487 | ||
488 | * scripttempl/elfd30v.sc (.eh_frame): Link into the data section. | |
489 | ||
490 | end-sanitize-d30v | |
2d6c57ce JL |
491 | Thu Jan 1 18:04:51 1998 Jeffrey A Law ([email protected]) |
492 | ||
493 | * scripttempl/h8300h.sc: Fix typo. | |
494 | * scripttempl/h8300s.sc: Likewise. | |
495 | ||
f5870264 DE |
496 | Sun Dec 21 12:51:49 1997 Ian Lance Taylor <[email protected]> |
497 | ||
498 | * ldexp.c (fold_name): Don't crash if the symbol is defined in a | |
499 | section with no output section, such as a shared library section. | |
500 | ||
ce71bfc2 ILT |
501 | Wed Dec 17 12:14:11 1997 Ian Lance Taylor <[email protected]> |
502 | ||
503 | * lexsup.c (parse_args): Keep track of where we are in the option | |
504 | parsing before calling ldemul_parse_args, so that we don't call it | |
505 | multiple times on the same argument and confuse the getopt | |
506 | internals. | |
507 | ||
41cf747a MM |
508 | start-sanitize-d30v |
509 | Thu Dec 11 09:00:15 1997 Michael Meissner <[email protected]> | |
510 | ||
511 | * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and | |
512 | d30velf_o to d30v_o to work in DOS environments. | |
513 | * Makefile.{am,in}: Ditto. | |
514 | ||
515 | * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}. | |
516 | * emulparams/d30velf_{o,e}: Deleted. | |
517 | ||
518 | end-sanitize-d30v | |
06434f5f FL |
519 | Wed Dec 10 17:40:08 1997 Nick Clifton <[email protected]> |
520 | ||
521 | * scripttempl/armcoff.sc: Add glue sections (code taken from Arm | |
522 | branch). | |
523 | ||
524 | * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. | |
525 | ||
526 | * emultempl/armcoff.em: New file, imported from Arm branch. | |
527 | ||
70a81042 MM |
528 | start-sanitize-d30v |
529 | Wed Dec 10 14:10:44 1997 Michael Meissner <[email protected]> | |
530 | ||
531 | * scripttempl/elfd30v.sc: Add .rel and .rela sections for all | |
532 | defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and | |
533 | external memory sections for rodata. Delete .string, .rodata1, | |
534 | and .data1 sections. | |
535 | ||
536 | end-sanitize-d30v | |
b0f76434 MM |
537 | Tue Dec 9 15:28:17 1997 Michael Meissner <[email protected]> |
538 | ||
e48412a2 MM |
539 | * Makefile.am: Add Oct 23 changes to Makefile.in here. |
540 | ||
541 | * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. | |
542 | ||
06434f5f | 543 | start-sanitize-tic80 |
e48412a2 MM |
544 | * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. |
545 | end-sanitize-tic80 | |
546 | ||
547 | start-sanitize-d30v | |
98d38753 MM |
548 | * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. |
549 | (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in | |
550 | external memory. | |
551 | (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in | |
552 | onchip memory. | |
e48412a2 | 553 | |
b0f76434 MM |
554 | * emulparams/d30velf.sh (STACK_START_ADDR): Top of default |
555 | stack. | |
556 | ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. | |
557 | ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and | |
558 | .bss should go in. | |
559 | ||
98d38753 MM |
560 | * emulparams/d30velf_{e,o}.sh: New files to be explicit whether |
561 | .text, .data, etc go in external memory or onchip memory. | |
562 | ||
563 | * configure.tgt (d30v-*-*ext*): New configuration to default | |
564 | .text, .data, etc. in external memory. | |
565 | (d30v-*-*onchip*): New configuration to default .text, .data, | |
566 | etc. in onchip memory. | |
567 | (d30v-*-*): Add d30velf_{e,o} emulations. | |
568 | ||
b0f76434 MM |
569 | * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in |
570 | either the onchip text/data areas or the external memory area. | |
571 | (MEMORY): Get sizes from d30velf.sh. | |
572 | (.e{data,text,bss}): Put sections in the external memory region. | |
573 | (.stext): Put section in the onchip text region. | |
574 | (.s{data,bss}): Put sections in the onchip data region. | |
575 | (__stack): Assign from ${STACK_START_ADDR}. | |
576 | (.text): Put in ${TEXT_MEMORY} memory region. | |
577 | (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory | |
578 | region. | |
579 | (.bss): Put in ${BSS_MEMORY} memory region. | |
b0f76434 | 580 | end-sanitize-d30v |
e48412a2 | 581 | |
89b993af NC |
582 | Tue Dec 2 10:14:47 1997 Nick Clifton <[email protected]> |
583 | ||
584 | * configure.tgt (targ_extra_emuls): Add support for Thumb target. | |
585 | ||
586 | Sat Nov 22 15:23:19 1997 Ian Lance Taylor <[email protected]> | |
587 | ||
588 | * ldlex.l: Don't define hex_mode. Correct number regexp to not | |
589 | accept hex digits without a leading $ or 0x. Handle leading $ | |
590 | correctly. Pass 0 rather than hex_mode to bfd_scan_vma. | |
591 | * ldlex.h (hex_mode): Don't declare. | |
592 | ||
7f7e2b00 MM |
593 | start-sanitize-d30v |
594 | Sun Nov 16 20:16:45 1997 Michael Meissner <[email protected]> | |
595 | ||
596 | * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start | |
597 | of internal data area and external memory on chip. | |
598 | ||
599 | * scripttempl/elfd30v.sc: Define a MEMORY region that describes | |
600 | the 3 regions of memory on the chip. Put .text/.init/.fini into | |
601 | the text memory region, put other segments into the data memory | |
602 | region. Add more of the standard elf sections. Default __stack | |
603 | to be 0x20008000, which is 1 byte beyond end of the internal data | |
604 | region. | |
605 | ||
606 | end-sanitize-d30v | |
607 | Thu Nov 13 13:45:00 1997 Andrew Cagney <[email protected]> | |
608 | ||
609 | * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd | |
610 | variant. | |
611 | ||
50d20d05 ILT |
612 | Sun Nov 2 14:51:36 1997 H.J. Lu <[email protected]> |
613 | ||
614 | * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set | |
615 | HOSTING_LIBS. | |
616 | ||
a8880eda ILT |
617 | Thu Oct 30 12:25:55 1997 Ian Lance Taylor <[email protected]> |
618 | ||
619 | * ld.h (args_type): Add warn_mismatch field. | |
620 | * ldmain.c (main): Initialize warn_mismatch field. | |
621 | * lexsup.c (parse_args): Handle --no-warn-mismatch option. | |
622 | * ldlang.c (ignore_bfd_error): New static function. | |
623 | (lang_check): If warn_mismatch is false, don't warn about | |
624 | mismatched input files. | |
625 | * ld.texinfo, ld.1: Document new option. | |
626 | ||
d020618a GRK |
627 | start-sanitize-tx49 |
628 | Wed Oct 29 17:50:26 1997 Gavin Koch <[email protected]> | |
629 | ||
630 | * configure.tgt: Add tx49 configury. | |
631 | ||
632 | end-sanitize-tx49 | |
c439ad75 NC |
633 | Thu Oct 23 14:38:18 1997 Nick Clifton <[email protected]> |
634 | ||
635 | * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' | |
636 | to avoid conflicts with C code which is defining a variable called | |
637 | 'stack'. | |
638 | ||
2b3ce0b3 RH |
639 | Thu Oct 23 00:57:45 1997 Richard Henderson <[email protected]> |
640 | ||
641 | * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ... | |
642 | (ALL_64_EMULATIONS): ... here. | |
643 | (eelf64_sparc.c): Template should be elf32 not generic. | |
644 | * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition. | |
645 | ||
639da7eb RH |
646 | Thu Oct 23 00:44:20 1997 Richard Henderson <[email protected]> |
647 | ||
648 | * configure.tgt: Add sparc64-*-linux*. | |
649 | * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New. | |
650 | ||
34ed833e ILT |
651 | Wed Oct 22 11:29:25 1997 Ian Lance Taylor <[email protected]> |
652 | ||
653 | * scripttempl/pe.sc: Put .eh_frame in .rdata. | |
654 | ||
b038ec7b RH |
655 | Fri Oct 17 00:00:13 1997 Richard Henderson <[email protected]> |
656 | ||
657 | * ldlang.c (lang_register_vers_node): Only check globals<=>locals, | |
658 | since we need to be able to export different versions of the same | |
659 | symbol. | |
660 | ||
a12e6215 ILT |
661 | Wed Oct 15 14:52:36 1997 Ian Lance Taylor <[email protected]> |
662 | ||
663 | * scripttempl/pe.sc: Put .stab and .stabstr sections at end. | |
664 | ||
f38b4974 RH |
665 | Wed Oct 8 12:37:05 1997 Richard Henderson <[email protected]> |
666 | ||
667 | * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; | |
668 | config.guess now recognizes alphaev5 etc. | |
669 | ||
670 | Fri Oct 3 14:23:02 1997 Ian Lance Taylor <[email protected]> | |
671 | ||
672 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat | |
673 | -s and -u as -static and -unix. | |
674 | ||
353e5cb6 ILT |
675 | Thu Oct 2 18:40:28 1997 Ian Lance Taylor <[email protected]> |
676 | ||
46d2f9e1 ILT |
677 | * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we |
678 | are not adding the first input section, and SEC_READONLY is clear | |
679 | on the output section, then don't copy it from the input section. | |
680 | If SEC_READONLY is not set on the input section, then clear it on | |
681 | the output section. | |
682 | ||
353e5cb6 ILT |
683 | * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than |
684 | elf32bmip. | |
685 | (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip | |
686 | to elf32bsmip. | |
687 | (mips*-*-linux*): Likewise. | |
688 | * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but | |
689 | setting ENTRY to __start. | |
690 | * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but | |
691 | setting ENTRY to __start. | |
692 | * scripttempl/elf.sc: Always set ENTRY to _start if it was not | |
693 | already set. | |
694 | ||
0fd15e0e NC |
695 | Wed Oct 1 16:41:00 1997 Nick Clifton <[email protected]> |
696 | ||
697 | * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New | |
698 | Variables. | |
699 | ||
700 | * scripttempl/v850.sc: Move read only areas out of zero and small | |
701 | data sections and into their own sections. | |
702 | ||
703 | Wed Sep 24 16:59:15 1997 Joel Sherrill <[email protected]> | |
704 | ||
705 | * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*. | |
706 | ||
b5db0960 ILT |
707 | Wed Sep 24 11:33:14 1997 Ian Lance Taylor <[email protected]> |
708 | ||
900f895c ILT |
709 | * ld.texinfo (Section Options): Improve documentation of NOLOAD |
710 | directive. | |
711 | ||
b5db0960 ILT |
712 | * aclocal.m4: Rebuild with new libtool. |
713 | * configure: Rebuild. | |
714 | ||
57cdbf7e ILT |
715 | Mon Sep 22 17:24:06 1997 Ian Lance Taylor <[email protected]> |
716 | ||
717 | * ldlang.c (wild_doit): Revert patch of September 3. | |
718 | ||
2e6fa283 NC |
719 | Wed Sep 17 16:45:34 1997 Nick Clifton <[email protected]> |
720 | ||
721 | * Makefile.am, Makefile.in: Add rule for ev850.c | |
722 | * configure.tgt (targ_extra_emuls): Add v850 target. | |
723 | ||
724 | start-sanitize-v850e | |
725 | Wed Sep 17 16:43:39 1997 Nick Clifton <[email protected]> | |
726 | ||
727 | * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. | |
728 | * scripttempl/v850.sc: Add call table data area | |
729 | ||
730 | end-sanitize-v850e | |
c8c76225 KR |
731 | start-sanitize-d30v |
732 | Mon Sep 15 11:29:13 1997 Ken Raeburn <[email protected]> | |
733 | ||
734 | Merge change from Martin Hunt: | |
735 | ||
736 | * scripttempl/elfd30v.sc: Put .rodata in the .text section. | |
737 | ||
738 | end-sanitize-d30v | |
f403d304 FF |
739 | Tue Sep 9 07:49:56 1997 Fred Fish <[email protected]> |
740 | ||
741 | * ldlang.c (lang_memory_region_lookup): Remove extraneous | |
742 | initialization of p. | |
743 | ||
f1dcefc6 ILT |
744 | Thu Sep 4 09:03:33 1997 Ian Lance Taylor <[email protected]> |
745 | ||
df2ea1f6 ILT |
746 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In |
747 | expression produced for -bpT and -bpD options, align to a 32 byte | |
748 | boundary rather than an 8 byte boundary. | |
749 | * scripttempl/aix.sc: Put .tocbss at start of .bss section. | |
750 | ||
f1dcefc6 ILT |
751 | * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid |
752 | function name conflict with AIX 4.2 unistd.h header file. | |
753 | ||
7e519ffc ILT |
754 | Wed Sep 3 15:12:32 1997 Ian Lance Taylor <[email protected]> |
755 | ||
756 | * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a | |
757 | noload_section. | |
758 | ||
24d2330e ILT |
759 | Fri Aug 29 00:32:31 1997 Ian Lance Taylor <[email protected]> |
760 | ||
761 | * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. | |
762 | * Makefile.in: Rebuild. | |
763 | ||
0c0b16f9 DE |
764 | Thu Aug 28 10:12:10 1997 Doug Evans <[email protected]> |
765 | ||
766 | * configure.tgt (arc-*-elf*): Recognize. | |
767 | * Makefile.am (ALL_EMULATIONS): Add earcelf.o. | |
768 | * Makefile.in: Regenerate. | |
769 | * emulparams/arcelf.sh: New file. | |
770 | ||
72068e8e ILT |
771 | Wed Aug 20 11:14:13 1997 Ian Lance Taylor <[email protected]> |
772 | ||
9f19768a ILT |
773 | * ldlang.c (wildcardp): Don't let a backslash by itself cause a |
774 | pattern to be treated as a wildcard pattern. | |
775 | ||
72068e8e ILT |
776 | * ldgram.y (atype): Accept parentheses with no type. |
777 | ||
778 | * ld.texinfo (Section Definition): Clarify use of whitespace. | |
779 | (Section Placement): Likewise. | |
780 | ||
57cdbf7e | 781 | start-sanitize-v850e |
72068e8e ILT |
782 | Mon Aug 18 11:12:03 1997 Nick Clifton <[email protected]> |
783 | ||
784 | * configure.tgt (targ_extra_emuls): Add support for v850e target. | |
72068e8e | 785 | |
72068e8e ILT |
786 | Mon Aug 18 11:12:03 1997 Nick Clifton <[email protected]> |
787 | ||
788 | * configure.tgt (targ_extra_emuls): Add support for v850e target. | |
789 | end-sanitize-v850e | |
790 | ||
49c009b5 ILT |
791 | Sat Aug 9 00:42:27 1997 Ian Lance Taylor <[email protected]> |
792 | ||
72068e8e ILT |
793 | * Makefile.am (ld.info): Change dependency from |
794 | $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi. | |
795 | (ld.dvi): Likewise. | |
796 | (bfdsumm.texi): New target. | |
797 | (CLEANFILES): Add bfdsumm.texi. | |
798 | * Makefile.in: Rebuild. | |
799 | ||
49c009b5 ILT |
800 | * Makefile.am: New file, based on old Makefile.in. |
801 | * acinclude.m4: New file, from old aclocal.m4. | |
802 | * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove | |
803 | shared library handling; now handled by libtool. Replace | |
804 | AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, | |
805 | AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, | |
806 | AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. | |
807 | * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR. | |
808 | * acconfig.h: Mention PACKAGE and VERSION. | |
809 | * stamp-h.in: New file. | |
0485d3df | 810 | * ldver.c (ld_program_version): Set ld_program_version from |
49c009b5 ILT |
811 | VERSION. |
812 | * ldgram.y, ldlex.l: Replace VERSION with VERSIONK. | |
813 | * Makefile.in: Now built with automake. | |
814 | * aclocal.m4: Now built with aclocal. | |
815 | * configure, config.in: Rebuild. | |
816 | ||
b9a5c27f RS |
817 | Mon Jul 28 19:04:50 1997 Rob Savoye <[email protected]> |
818 | ||
819 | * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for | |
820 | win32 dependencies. | |
821 | * configure: Regenerated with autoconf 2.12. | |
822 | * Makefile.in: Add $(EXEEXT) to executable. | |
823 | ||
beb76c0a ILT |
824 | Tue Jul 22 18:50:38 1997 Robert Hoehne <[email protected]> |
825 | ||
826 | * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32". | |
827 | (SEGMENT_SIZE): Set to 0x200. | |
828 | * scripttempl/i386go32.sc: Rewrite. | |
829 | * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. | |
830 | ||
d1ce2fc0 JL |
831 | start-sanitize-r5900 |
832 | Tue Jul 15 10:18:09 1997 Jeffrey A Law ([email protected]) | |
833 | ||
834 | * configure.tgt: Default the r5900 to little endian. | |
835 | ||
836 | end-sanitize-r5900 | |
81272efd ILT |
837 | Mon Jul 7 12:39:42 1997 Ian Lance Taylor <[email protected]> |
838 | ||
839 | From Manfred Hollstein <[email protected]>: | |
840 | * configure.host (i[3456]86-*-linux*libc1*): Renamed from | |
841 | i[3456]86-*-linux*. | |
842 | (i[3456]86-*-linux*): New host. | |
843 | ||
34260fe0 ILT |
844 | Thu Jun 26 13:54:03 1997 Ian Lance Taylor <[email protected]> |
845 | ||
846 | * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc | |
847 | sections in the output .rsrc section. | |
848 | ||
fe80f638 ILT |
849 | Wed Jun 25 12:48:41 1997 Andreas Schwab <[email protected]> |
850 | ||
851 | * configure.host (m68*-*-linux*libc1*): Renamed from | |
852 | `m68*-*-linux*'. | |
853 | (m68*-*-linux*): New configuration for use with GNU libc 2. | |
854 | ||
4602e5f4 ILT |
855 | Mon Jun 16 19:18:21 1997 Geoff Keating <[email protected]> |
856 | ||
857 | * scripttempl/elfppc.sc: Correct .rela.sdata entries. | |
858 | ||
859 | * scripttempl/elfppc.sc: Put the PLT between the small and large | |
860 | BSS segments. | |
861 | * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A | |
862 | program base of 0x02000000 is recommended...' because otherwise | |
863 | shared libraries are less efficient. We use 0x01800000 because | |
864 | otherwise it's impossible to branch to location 0, for instance if | |
865 | you have an undefined weak symbol. | |
866 | ||
02fbf070 ILT |
867 | Mon Jun 16 12:49:36 1997 H.J. Lu <[email protected]> |
868 | ||
f4ae97e1 ILT |
869 | * ldlang.c (lang_place_undefineds): Add \n in einfo call. |
870 | (lang_size_sections): Likewise. | |
871 | * ldlex.l: Likewise. | |
872 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. | |
873 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open): | |
874 | Likewise. | |
875 | (check_sections): Likewise. | |
876 | (gld${EMULATION_NAME}_after_allocation): Likewise. | |
877 | * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation): | |
878 | Likewise. | |
879 | * mpw-eppcmac.c (gldppcmacos_read_file): Likewise. | |
880 | * mpw-idtmips.c (gldmipsidt_after_open): Likewise. | |
881 | (check_sections): Likewise. | |
882 | (gldmipsidt_after_allocation): Likewise. | |
883 | ||
02fbf070 ILT |
884 | * ldemul.c (ldemul_choose_mode): Remove unused einfo argument. |
885 | ||
94d8217d ILT |
886 | Fri Jun 6 23:47:42 1997 Ian Lance Taylor <[email protected]> |
887 | ||
888 | * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of | |
889 | the import list. | |
890 | ||
891 | Thu May 29 13:13:22 1997 Ian Lance Taylor <[email protected]> | |
892 | ||
893 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't | |
894 | crash if an output section has no BFD section. | |
895 | ||
896 | Fri May 23 15:23:25 1997 Fred Fish <[email protected]> | |
897 | ||
898 | * lexsup.c (ld_options): Add entry for the new "task-link" option. | |
899 | (parse_args): Handle the "task-link" option. | |
900 | (OPTION_TASK_LINK): Add define. | |
901 | ||
b4a4a6dc ILT |
902 | Wed May 21 17:44:15 1997 Ian Lance Taylor <[email protected]> |
903 | ||
904 | * ldmain.c (main): Correct check of fclose return value when | |
905 | handling --force-exe-suffix. | |
906 | ||
907 | Thu May 15 11:35:29 1997 Nick Clifton <[email protected]> | |
908 | ||
94d8217d | 909 | * ldlang.c (lang_check): Add test of the return value from the |
b4a4a6dc ILT |
910 | call to bfd_merge_private_bfd_data(). |
911 | ||
1a7f2a86 ILT |
912 | Mon May 12 23:22:58 1997 Ian Lance Taylor <[email protected]> |
913 | ||
914 | * scripttempl/elfmips.sc: Remove. | |
915 | * scripttempl/elf.sc: Set ENTRY based on target. Permit | |
916 | TEXT_DYNAMIC to control .dynamic segment. Permit | |
917 | SHLIB_TEXT_START_ADDR to set start of shared object. Support | |
918 | INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put | |
919 | .gnu.linkonce.t* in .text when relocating. Support | |
920 | OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as | |
921 | DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. | |
922 | * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. | |
923 | (DATA_ADDR): Don't set. | |
924 | (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. | |
925 | (OTHER_TEXT_SECTIONS): Set. | |
926 | (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. | |
927 | (MACHINE): Set to empty string. | |
928 | * emulparams/elf32l4300.sh: Likewise. | |
929 | * emulparams/elf32ebmip.sh: Likewise. | |
930 | * emulparams/elf32elmip.sh: Likewise. | |
931 | * emulparams/elf32bmip.sh: Likewise. Also: | |
932 | (TEXT_DYNAMIC): Set. | |
933 | * emulparams/elf32lmips.sh: Likewise. | |
934 | * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than | |
935 | elfmips.sc. | |
936 | (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise. | |
937 | ||
3d046499 ILT |
938 | Mon May 12 11:11:06 1997 Andreas Schwab <[email protected]> |
939 | ||
940 | * scripttempl/elf.sc: Don't align the data segment on the next 8 | |
941 | byte boundary, instead let the linker use whatever the individual | |
942 | sections require. | |
943 | ||
f7f90eaa ILT |
944 | Fri May 9 17:45:46 1997 Ian Lance Taylor <[email protected]> |
945 | ||
946 | * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. | |
947 | ||
1ba1da86 ILT |
948 | Tue May 6 13:21:19 1997 Ian Lance Taylor <[email protected]> |
949 | ||
950 | From Sean McNeil <[email protected]>: | |
951 | * emultempl/pe.em (sort_by_file_name): Sort by archive name | |
952 | first. | |
953 | (sort_sections): Sort all sections, not just sections in the same | |
954 | archive. | |
955 | ||
a59a42ae ILT |
956 | Mon May 5 18:19:55 1997 Philip Blundell <[email protected]> |
957 | ||
958 | * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' | |
959 | targets. | |
960 | ||
df184f82 MM |
961 | start-sanitize-tic80 |
962 | Fri May 2 15:54:28 1997 Mike Meissner <[email protected]> | |
963 | ||
964 | * scripttempl/tic80coff.sc (.text): Add a leading underscore to | |
965 | __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items | |
f1687b6f MM |
966 | in the .text section. Move .const, .ctors, .dtors into separate |
967 | sections. | |
df184f82 MM |
968 | |
969 | end-sanitize-tic80 | |
970 | Wed Apr 30 12:23:21 1997 Manfred Hollstein <[email protected]> | |
971 | ||
972 | * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace | |
973 | around assignment of current location pointer. | |
974 | ||
cfa7c448 ILT |
975 | Thu Apr 17 13:07:18 1997 Ian Lance Taylor <[email protected]> |
976 | ||
977 | * ldctor.c (ldctor_build_sets): Make sure the set is aligned | |
978 | appropriately. | |
979 | ||
ba69384d ILT |
980 | Tue Apr 15 13:19:26 1997 Ian Lance Taylor <[email protected]> |
981 | ||
982 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
983 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. | |
984 | (install): Depend upon ld.new and installdirs. Use | |
985 | $(program_transform_name) directly, rather than using | |
986 | $(INSTALL_XFORM) and $(INSTALL_XFORM1). | |
987 | (installdirs): New target. | |
988 | (install-info): Run mkinstalldirs. | |
989 | ||
21d83d1c ILT |
990 | Mon Apr 14 12:06:15 1997 Ian Lance Taylor <[email protected]> |
991 | ||
ba69384d ILT |
992 | * Makefile.in (INSTALL): Change install.sh to install-sh. |
993 | ||
21d83d1c ILT |
994 | From Thomas Graichen <[email protected]>: |
995 | * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. | |
996 | * configure: Rebuild. | |
997 | ||
ab83171d ILT |
998 | Fri Apr 4 11:42:41 1997 Ian Lance Taylor <[email protected]> |
999 | ||
4507afd0 ILT |
1000 | * emultempl/pe.em: Include "libiberty.h". |
1001 | (sort_sections_1): Use xmalloc rather than alloca. | |
1002 | ||
ab83171d ILT |
1003 | * ldlex.l: Recognize SQUAD. |
1004 | * ldgram.y (length): Add SQUAD. | |
4507afd0 ILT |
1005 | * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte |
1006 | reloc. | |
ab83171d ILT |
1007 | * ldlang.c (print_data_statement): Handle SQUAD. |
1008 | (lang_size_sections, lang_do_assignments): Likewise. | |
1009 | * ldexp.c (exp_print_token): Add SQUAD to table. | |
1010 | * ldwrite.c (build_link_order): Handle SQUAD. | |
1011 | * ld.texinfo (Section Data Expressions): Document SQUAD. | |
1012 | ||
6f4b1d31 ILT |
1013 | Thu Apr 3 13:19:40 1997 Ian Lance Taylor <[email protected]> |
1014 | ||
1015 | * ldver.c (ld_program_version): Set to 2.8.1. | |
1016 | ||
1017 | * Branched binutils 2.8. | |
1018 | ||
dc696002 ILT |
1019 | Wed Apr 2 11:55:27 1997 Ian Lance Taylor <[email protected]> |
1020 | ||
c6cfcb7f ILT |
1021 | * mpw-idtmips.c: Rename from mpw-emipsidt.c. |
1022 | * mpw-elfmips.c: Rename from mpw-emipself.c. | |
1023 | * mpw-config.in: Update accordingly. | |
1024 | ||
dc696002 ILT |
1025 | * ldlang.c (lang_process): Call lang_check immediately after |
1026 | opening the input files, rather than at the end of the link. | |
1027 | ||
1028 | Mon Mar 31 23:44:00 1997 Ian Lance Taylor <[email protected]> | |
1029 | ||
1030 | * emultempl/pe.em (init): Fully bracket initializer. | |
1031 | (set_pe_stack_heap): Remove locals begin_commit and end. | |
1032 | (gld_${EMULATION_NAME}_after_open): Remove unused local i. | |
1033 | (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr. | |
1034 | ||
88ddffaf ILT |
1035 | Mon Mar 31 16:35:51 1997 Joel Sherrill <[email protected]> |
1036 | ||
1037 | * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*. | |
1038 | ||
1039 | Fri Mar 28 15:29:23 1997 H.J. Lu <[email protected]> | |
1040 | ||
1041 | Contributed by David S. Miller <[email protected]>: | |
1042 | * configure.tgt (sparc*-*-linuxaout*): New target. | |
1043 | (sparc*-*-linux*): New target. | |
1044 | * emulparams/sparclinux.sh: New file. | |
1045 | * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. | |
1046 | (esparclinux.c): New target. | |
1047 | ||
2032ade9 ILT |
1048 | Fri Mar 28 14:30:12 1997 Ian Lance Taylor <[email protected]> |
1049 | ||
1050 | From Ralf Baechle <[email protected]>: | |
1051 | * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and | |
1052 | mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and | |
1053 | elf32elmip. | |
1054 | ||
5fd92ccd ILT |
1055 | Thu Mar 27 17:14:32 1997 Ian Lance Taylor <[email protected]> |
1056 | ||
1057 | * lexsup.c (parse_args): Update copyright date in version | |
1058 | message. | |
1059 | ||
6d4314e0 ILT |
1060 | Fri Mar 21 12:28:41 1997 Philippe De Muyter <[email protected]> |
1061 | ||
7aef7107 | 1062 | * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv". |
6d4314e0 | 1063 | |
d7a48b6d ILT |
1064 | Tue Mar 18 11:16:23 1997 Ian Lance Taylor <[email protected]> |
1065 | ||
6d4314e0 ILT |
1066 | * Makefile.in: Rebuild dependencies. |
1067 | ||
d7a48b6d ILT |
1068 | * emultempl/aix.em: Include "obstack.h". |
1069 | ||
cadddcea ILT |
1070 | Mon Mar 17 19:26:06 1997 Ian Lance Taylor <[email protected]> |
1071 | ||
1072 | * ldlang.c: Include "obstack.h". | |
1073 | ||
b87ff07d FF |
1074 | Sat Mar 15 23:23:46 1997 Fred Fish <[email protected]> |
1075 | ||
1076 | * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. | |
1077 | ||
c5a0d31a ILT |
1078 | Sat Mar 15 18:10:38 1997 H.J. Lu <[email protected]> |
1079 | ||
1080 | * ldemul.h (ldemul_list_emulations): Use full prototype. | |
1081 | * ldlang.c (print_one_symbol): Add declaration. | |
1082 | * ldlang.h (dprint_statements): Declare. | |
1083 | * ldmain.c (remove_output): Declare. | |
1084 | * ldmisc.c (vfinfo): Declare. | |
1085 | * ldwrite.c (clone_section): Declare. | |
1086 | (split_sections): Make static. Declare. | |
1087 | * mri.c: Include libiberty.h. | |
1088 | (strdup): Don't declare. | |
1089 | (mri_alias): Use xstrdup rather than strdup. | |
1090 | ||
2adb092c ILT |
1091 | Fri Mar 14 21:30:06 1997 Ian Lance Taylor <[email protected]> |
1092 | ||
1093 | * scripttempl/elfmips.sc: Change handling of data area when | |
1094 | generating a shared library to not skip a large block of memory. | |
1095 | From Per Fogelstrom <[email protected]>. | |
1096 | ||
d7339c87 ILT |
1097 | Wed Mar 12 21:33:09 1997 Ian Lance Taylor <[email protected]> |
1098 | ||
1099 | * ldmain.c (multiple_definition): Only skip the warning if the | |
1100 | output section is absolute when the input section is not | |
1101 | absolute. | |
1102 | ||
1103 | * ldlex.l: Accept whitespace in VERS_START state. Warn about | |
1104 | invalid characters in VERS_* states. | |
1105 | ||
1106 | Tue Mar 11 13:51:31 1997 Ian Lance Taylor <[email protected]> | |
1107 | ||
1108 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a | |
1109 | trailing space lead us to think that there is a zero address. | |
1110 | ||
998f2b67 ILT |
1111 | Sun Mar 9 23:06:35 1997 Eric Youngdale <[email protected]> |
1112 | ||
1113 | * ldgram.y (vers_node): Correct typo of '(' for '{'. | |
1114 | ||
81fb245d | 1115 | start-sanitize-tic80 |
98ee67d8 FF |
1116 | Fri Mar 7 18:40:12 1997 Fred Fish <[email protected]> |
1117 | ||
1118 | * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start | |
1119 | rather than _start. | |
1120 | (__edata): Define this rather than "edata". | |
1121 | (__end): Define this rather than "end". | |
1122 | ||
81fb245d MM |
1123 | Tue Mar 4 17:18:35 1997 Michael Meissner <[email protected]> |
1124 | ||
1125 | * configure.tgt (tic80-*-*): Allow dropping of -coff. | |
1126 | ||
1127 | end-sanitize-tic80 | |
1128 | Sun Mar 2 22:59:49 1997 Fred Fish <[email protected]> | |
1129 | ||
1130 | * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well | |
1131 | as TEXINPUTS. Needed for building in separate build dir. | |
1132 | * ldint.texinfo (SCRIPT_NAME): Fix typo. | |
1133 | start-sanitize-tic80 | |
1134 | * emulparams/tic80coff.sh: Rewrite to include internal documentation | |
1135 | about each shell variable that is set (or not set). | |
1136 | * scripttempl/tic80coff.sc: Complete rewrite. | |
1137 | end-sanitize-tic80 | |
1138 | ||
22f9f902 ILT |
1139 | Fri Feb 28 17:42:27 1997 Ian Lance Taylor <[email protected]> |
1140 | ||
1141 | * ldmain.c (main): Call bfd_set_default_target. | |
1142 | * Makefile.in (ldmain.o): Define TARGET when compiling. | |
1143 | ||
24293f27 ILT |
1144 | Thu Feb 27 11:41:03 1997 Ian Lance Taylor <[email protected]> |
1145 | ||
9ae9e582 ILT |
1146 | * ldmain.c (main): Don't initialize link_info.lprefix or |
1147 | link_info.lprefix_len. | |
1148 | * emultempl/hppaelf.em (hppaelf_before_parse): Likewise. | |
1149 | ||
1150 | * emultempl/m88kbcs.em: Remove. | |
1151 | * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. | |
1152 | * Makefile.in (em88kbcs.c): Depend upon generic.em rather than | |
1153 | m88kbcs.em. | |
1154 | ||
24293f27 ILT |
1155 | * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD, |
1156 | to lang_enter_output_section_statement. From Mark Rasin | |
1157 | <[email protected]>. | |
1158 | ||
d73d49a4 ILT |
1159 | Wed Feb 26 11:51:44 1997 Ian Lance Taylor <[email protected]> |
1160 | ||
1161 | * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common | |
1162 | section. | |
1163 | ||
1164 | Tue Feb 25 20:38:11 1997 Stan Shebs <[email protected]> | |
1165 | ||
1166 | * configure.tgt (mips*-*-lnews*): New target. | |
1167 | * Makefile.in (emipslnews.c): New target. | |
1168 | * emulparams/mipslnews.sh: New file. | |
1169 | ||
1170 | Tue Feb 25 16:04:09 1997 Ian Lance Taylor <[email protected]> | |
1171 | ||
1172 | * emultempl/elf32.em (hold_interp): New static variable. | |
1173 | (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections | |
1174 | after hold_interp. Choose a unique output section name. | |
1175 | (gld${EMULATION_NAME}_place_section): Don't set hold_use if the | |
1176 | SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp. | |
1177 | ||
dc25aca0 ILT |
1178 | Mon Feb 24 18:16:09 1997 Ian Lance Taylor <[email protected]> |
1179 | ||
1180 | From Eric Youngdale <[email protected]>: | |
1181 | * ldlex.l (V_TAG, V_IDENTIFIER): New macros. | |
1182 | (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version | |
1183 | information. | |
1184 | (ldlex_version_script, ldlex_version_file): New functions. | |
1185 | * ldlex.h (enum input_enum): Add input_version_script. | |
1186 | (ldlex_version_script): Declare. | |
1187 | (ldlex_version_file): Declare. | |
1188 | * ldgram.y (%union): Add deflist, versyms, and versnode. | |
1189 | (VERS_TAG, VERS_IDENTIFIER): New terminals. | |
1190 | (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. | |
1191 | (file): Accept INPUT_VERSION_SCRIPT. | |
1192 | (ifile_p1): Accept version. | |
1193 | (version_script_file): New nonterminal. | |
1194 | (version, vers_nodes, vers_node): Likewise. | |
1195 | (verdep, vers_tag, ver_defns): Likewise. | |
1196 | * ldlang.c (lang_elf_version_info): New global variable. | |
1197 | (lang_new_vers_regex): New function. | |
1198 | (lang_new_vers_node): New function. | |
1199 | (version_index): New static variable. | |
1200 | (lang_register_vers_node): New function. | |
1201 | (lang_add_vers_depend): New function. | |
1202 | * ldlang.h (lang_elf_version_info): Declare. | |
1203 | (lang_new_vers_regex, lang_new_vers_node): Declare. | |
1204 | (lang_add_vers_depend, lang_register_vers_node): Declare. | |
1205 | * lexsup.c (OPTION_VERSION_SCRIPT): Define. | |
1206 | (ld_options): Add "version-script". | |
1207 | (parse_args): Handle OPTION_VERSION_SCRIPT. | |
1208 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
1209 | Pass lang_elf_version_info to size_dynamic_sections. | |
1210 | * scripttempl/elf.sc: Add .gnu.version sections. | |
d73d49a4 | 1211 | * ld.texinfo: Document symbol versioning. |
dc25aca0 | 1212 | |
232e8702 MH |
1213 | start-sanitize-d30v |
1214 | Fri Feb 21 17:37:51 1997 Martin M. Hunt <[email protected]> | |
1215 | ||
1216 | * Makefile.in (ed30velf.c): New target. | |
1217 | * configure.tgt (d30v-*-*): New target. | |
1218 | * emulparams/d30velf.sh: New file. | |
1219 | * scripttempl/elfd30v.sc: New file. | |
1220 | ||
1221 | end-sanitize-d30v | |
c6c7035c MM |
1222 | Fri Feb 14 18:28:31 1997 Ian Lance Taylor <[email protected]> |
1223 | ||
1224 | * ld.texinfo (Option Commands): Document the INCLUDE command. | |
1225 | ||
1226 | Thu Feb 13 20:31:37 1997 Philippe De Muyter <[email protected]> | |
1227 | ||
1228 | * configure.in: Call BFD_NEED_DECLARATION on getenv. | |
1229 | * acconfig.h (NEED_DECLARATION_GETENV): New macro. | |
1230 | * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. | |
1231 | * ldemul.c (ld_emul_default_target): Do not cast getenv return | |
1232 | value. | |
1233 | * ldmain.c (get_emulation): Likewise. | |
1234 | * configure, config.in: Rebuild. | |
1235 | ||
e7886d4b ILT |
1236 | Tue Feb 11 15:34:26 1997 Ian Lance Taylor <[email protected]> |
1237 | ||
1238 | * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and | |
1239 | .mips16.call.* in .text. | |
1240 | ||
276c2d7d GRK |
1241 | start-sanitize-r5900 |
1242 | Fri Feb 7 13:16:53 1997 Gavin Koch <[email protected]> | |
1243 | ||
1244 | * configure.tgt: add r5900. | |
1245 | ||
1246 | end-sanitize-r5900 | |
11effa69 FF |
1247 | start-sanitize-tic80 |
1248 | Sun Feb 9 18:09:13 1997 Fred Fish <[email protected]> | |
1249 | ||
1250 | * emulparams/tic80coff.sh: New (dummy) file for TIc80. | |
1251 | * scripttempl/tic80coff.sc: New (dummy) file for TIc80. | |
1252 | * Makefile.in (etic80coff.c): Add target and rule to build it. | |
1253 | * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. | |
1254 | ||
1255 | end-sanitize-tic80 | |
93d7eb0f ILT |
1256 | Fri Jan 31 13:16:53 1997 Ian Lance Taylor <[email protected]> |
1257 | ||
966be348 ILT |
1258 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for |
1259 | ".so" in the name, not ".so.". | |
1260 | (gld${EMULATION_NAME}_search_dir): Accept a plain .so file. | |
1261 | ||
93d7eb0f ILT |
1262 | * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra |
1263 | <[email protected]>. | |
1264 | ||
e87b950c ILT |
1265 | Thu Jan 30 11:31:52 1997 Ian Lance Taylor <[email protected]> |
1266 | ||
1267 | * emultempl/sunos.em: Include <ctype.h>. | |
1268 | (gld${EMULATION_NAME}_find_so): Skip the directory name when | |
1269 | searching for ".so.". | |
1270 | (gld${EMULATION_NAME}_search_dir): Make sure that the library name | |
1271 | has a version number, and that only version numbers follow .so. | |
1272 | ||
0fc327a3 GN |
1273 | Wed Jan 29 18:15:00 1997 Geoffrey Noer <[email protected]> |
1274 | ||
1275 | * scripttempl/pe.sc: | |
1276 | * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text | |
1277 | section so Win32 executables are valid. | |
1278 | ||
f5f212fb ILT |
1279 | Mon Jan 27 12:28:43 1997 Ian Lance Taylor <[email protected]> |
1280 | ||
1281 | * scripttempl/elf.sc: Put linkonce reloc section in other | |
1282 | appropriate reloc sections. | |
1283 | * scripttempl/elfmips.sc: Add linkonce support. | |
1284 | * scripttempl/elfppc.sc: Likewise. | |
1285 | ||
da1ba4b0 JL |
1286 | Fri Jan 24 10:44:09 1997 Jeffrey A Law ([email protected]) |
1287 | ||
1288 | * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the | |
1289 | stack up to 0x80000. | |
1290 | * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. | |
1291 | ||
c57cd823 DE |
1292 | Tue Jan 21 12:11:10 1997 Doug Evans <[email protected]> |
1293 | ||
1294 | * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE | |
1295 | to define `_stack'. | |
1296 | ||
cc28f8fb ILT |
1297 | Thu Jan 16 17:07:52 1997 Ian Lance Taylor <[email protected]> |
1298 | ||
3391c0a5 ILT |
1299 | * ld.h (args_type): Rename auxiliary_filter_shlib to |
1300 | auxiliary_filters, and make it char **. | |
1301 | * lexsup.c (parse_args): Handle -f by setting up an array. | |
1302 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use | |
1303 | new name of auxiliary_filters. | |
1304 | ||
cc28f8fb ILT |
1305 | * ld.texinfo (Options): Improve documentation of --filter and |
1306 | --auxiliary. | |
1307 | ||
f9c5c231 ILT |
1308 | Tue Jan 14 15:44:28 1997 Ian Lance Taylor <[email protected]> |
1309 | ||
cc28f8fb ILT |
1310 | * ld.texinfo (Options): Clarify that the normal usage is -T. |
1311 | (Commands): Likewise. | |
f9c5c231 | 1312 | |
24bc58bc ILT |
1313 | Thu Jan 9 11:26:27 1997 Ian Lance Taylor <[email protected]> |
1314 | ||
1315 | * scripttempl/armcoff.sc: Correct mask used for .data address. | |
1316 | ||
4ba1b439 GN |
1317 | Wed Jan 8 15:14:59 1997 Geoffrey Noer <[email protected]> |
1318 | ||
1319 | * emultempl/pe.em: make default executable a.exe instead of | |
1320 | a.out | |
1321 | ||
6243aa73 ILT |
1322 | Fri Jan 3 17:33:34 1997 Richard Henderson <[email protected]> |
1323 | ||
1324 | * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by | |
1325 | shifting .plt back. Rumour has it that the NetBSD ld.so depends | |
1326 | on .dynamic being after .got, so we leave that. | |
1327 | ||
feb20cfb ILT |
1328 | Fri Jan 3 14:04:40 1997 Ian Lance Taylor <[email protected]> |
1329 | ||
5e7127d7 ILT |
1330 | * Makefile.in (clean): Don't remove configdoc.texi. |
1331 | (maintainer-clean): Do remove configdoc.texi. | |
1332 | ||
feb20cfb ILT |
1333 | * ld.texinfo (Operators): Remove '@' from @smallexmple in comment |
1334 | to avoid confusing texi2roff. | |
1335 | ||
731828cb MM |
1336 | Fri Jan 3 11:27:02 1997 Michael Meissner <[email protected]> |
1337 | ||
1338 | * scripttempl/v850.sc (.zdata): Add .zcommon section. | |
1339 | (.tdata): Add .tcommon and .tcommon_byte sections. | |
1340 | ||
09342753 ILT |
1341 | Thu Jan 2 18:14:32 1997 Ian Lance Taylor <[email protected]> |
1342 | ||
1343 | * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets. | |
1344 | * scripttempl/elfmips.sc: Use __start as the entry address for | |
1345 | mips*-*-linux*. | |
1346 | ||
de220cbd ILT |
1347 | Tue Dec 31 14:48:30 1996 Ian Lance Taylor <[email protected]> |
1348 | ||
6ded6615 ILT |
1349 | * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. |
1350 | ||
de220cbd ILT |
1351 | * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib |
1352 | fields. | |
1353 | * lexsup.c (parse_args): Recognize --auxiliary/-f and | |
1354 | --filter/-F. | |
1355 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
1356 | Pass filter_shlib and auxiliary_filter_shlib to | |
1357 | size_dynamic_sections. | |
1358 | * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f. | |
1359 | ||
c43452b0 MM |
1360 | Mon Dec 30 13:55:57 1996 Michael Meissner <[email protected]> |
1361 | ||
1362 | * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections. | |
1363 | ||
7885e8b3 SS |
1364 | Wed Dec 18 22:57:35 1996 Stan Shebs <[email protected]> |
1365 | ||
1366 | * mpw-make.sed: Use NewFolderRecursive for installation. | |
1367 | ||
93f8f531 MM |
1368 | Fri Dec 13 14:08:50 1996 Michael Meissner <[email protected]> |
1369 | ||
1370 | * scripttempl/v850.sc: Make sure __{e,g}p start relative to the | |
1371 | {s,t}data sections. Do not emit any linker generated symbols if | |
1372 | -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize | |
1373 | where the different sections go. Change some whitespace. | |
1374 | ||
1375 | * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define | |
1376 | appropriately. Remove crud not used anymore. | |
1377 | ||
10e31c75 JL |
1378 | Fri Dec 13 10:19:57 1996 Jeffrey A Law ([email protected]) |
1379 | ||
1380 | * Makefile.in (emn10200.c): Add dependencies. | |
1381 | * configure.tgt: Handle mn10200. | |
1382 | * emulparms/mn10200.sh: New file. | |
1383 | ||
d0d5edba ILT |
1384 | Thu Dec 12 17:04:55 1996 Ian Lance Taylor <[email protected]> |
1385 | ||
1386 | * emultempl/gld960c.em: Include <ctype.h>. | |
1387 | (gld960_set_output_arch): Get the machine type from the -A option | |
1388 | if there is one, rather than always using core. | |
1389 | ||
1390 | Sat Dec 7 10:07:51 1996 Jeffrey A Law ([email protected]) | |
1391 | ||
1392 | * emulparms/mn10300.sh: Handle leading underscores. | |
1393 | ||
12436407 ILT |
1394 | Thu Dec 5 13:45:58 1996 Ian Lance Taylor <[email protected]> |
1395 | ||
c3f9e754 ILT |
1396 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only |
1397 | set hold_rel if SEC_ALLOC is set. | |
12436407 ILT |
1398 | |
1399 | Tue Dec 3 11:29:20 1996 Ian Lance Taylor <[email protected]> | |
1400 | ||
1401 | * ldlang.c (section_already_linked): Set the output_offset as well | |
1402 | as the output_section when only reading symbols from a file. | |
1403 | ||
1404 | Mon Dec 2 11:43:50 1996 Ian Lance Taylor <[email protected]> | |
1405 | ||
1406 | * emulparams/*.sh: Make sure that each set of parameters which | |
1407 | uses the elf.sc script sets MACHINE. | |
1408 | ||
037f6a23 JM |
1409 | Wed Nov 27 03:22:05 1996 Jason Merrill <[email protected]> |
1410 | ||
93f8f531 | 1411 | * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections. |
93f8f531 | 1412 | * scripttempl/elfd10v.sc: Likewise. |
93f8f531 | 1413 | * scripttempl/v850.sc: Likewise. |
037f6a23 | 1414 | |
0e809bba ILT |
1415 | Tue Nov 26 16:58:33 1996 Ian Lance Taylor <[email protected]> |
1416 | ||
1417 | * configure: Rebuild with autoconf 2.12. | |
1418 | ||
1419 | Mon Nov 25 12:17:55 1996 Jim Wilson <[email protected]> | |
1420 | ||
1421 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case | |
1422 | for bfd_vma to init loop. | |
1423 | ||
9e73a716 JL |
1424 | Mon Nov 25 09:55:07 1996 Jeffrey A Law ([email protected]) |
1425 | ||
1426 | * emulparms/mn10300.sh: Remove bogus '_' prefix for | |
1427 | entry symbol and ctor/dtor stuff. | |
1428 | ||
96e34542 JL |
1429 | Fri Nov 15 13:00:18 1996 Jeffrey A Law ([email protected]) |
1430 | ||
1431 | * Makefile.in (emn10300.c): Add dependencies. | |
1432 | * configure.tgt: Handle mn10300. | |
1433 | * emulparms/mn10300.sh: New file. | |
1434 | ||
96e34542 JL |
1435 | Tue Nov 5 10:57:50 1996 Martin M. Hunt <[email protected]> |
1436 | ||
1437 | * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. | |
1438 | (EMBEDDED): Define. | |
1439 | ||
e6b743a2 ILT |
1440 | Fri Nov 1 10:01:27 1996 Ian Lance Taylor <[email protected]> |
1441 | ||
9fde46a4 ILT |
1442 | * ld.texinfo: Add section on reporting bugs. |
1443 | ||
e6b743a2 ILT |
1444 | * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__ |
1445 | symbols are correctly aligned. | |
1446 | ||
e740228d JL |
1447 | Thu Oct 31 09:28:59 1996 Jeffrey A Law ([email protected]) |
1448 | ||
1449 | * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and | |
1450 | romzbss too. | |
1451 | ||
2f19ce78 MH |
1452 | Tue Oct 29 12:33:05 1996 Martin M. Hunt <[email protected]> |
1453 | ||
1454 | * emulparams/d10velf.sh: Changes needed for D10V-EVA board. | |
1455 | Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to | |
1456 | 0x2000000. | |
1457 | ||
1458 | * scripttempl/elfd10v.sc: Fix calculation of .text. Change | |
1459 | .stack to start at 0x2007ffe. | |
1460 | ||
56f8bcd1 DE |
1461 | Mon Oct 28 15:37:00 1996 Doug Evans <[email protected]> |
1462 | ||
1463 | * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. | |
1464 | ||
4ad9452c JL |
1465 | Wed Oct 23 16:17:22 1996 Jeffrey A Law ([email protected]) |
1466 | ||
e740228d | 1467 | * scriptempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata". |
56f8bcd1 | 1468 | |
4ad9452c JL |
1469 | * scriptempl/v850.sc (zdata): Make sure this stays |
1470 | in lo-memory. | |
1471 | ||
06c5b0fc JL |
1472 | Tue Oct 22 11:36:47 1996 Jeffrey A Law ([email protected]) |
1473 | ||
5549ebed JL |
1474 | * scripttempl/v850.sc (__ep): Put it at the start |
1475 | of the tda section. | |
1476 | ||
06c5b0fc JL |
1477 | * scriptempl/v850.sc: Move all "normal" sections into |
1478 | the external memory region (0x100000 - 0x200000). | |
1479 | ||
36cf21ce MM |
1480 | Mon Oct 21 17:16:59 1996 Michael Meissner <[email protected]> |
1481 | ||
1482 | * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to | |
1483 | 0x10000, so that is more room for data. | |
1484 | ||
1485 | * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000. | |
1486 | (READONLY_START_ADDR): Now 0x0. | |
1487 | (SCRIPT_NAME): Now elfd10v. | |
1488 | ||
1489 | * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc. | |
1490 | ||
e20f0dbd DE |
1491 | Fri Oct 18 22:12:49 1996 Doug Evans <[email protected]> |
1492 | ||
1493 | * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. | |
1494 | ||
30bddd33 ILT |
1495 | Fri Oct 18 15:43:38 1996 Ian Lance Taylor <[email protected]> |
1496 | ||
1497 | * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o. | |
1498 | (ALL_64_EMULATIONS): New variable. | |
1499 | * configure.in: Accept --enable-64-bit-bfd option. If it is set | |
1500 | with --enable-targets=all, include ALL_64_EMULATIONS in | |
1501 | EMULATION_OFILES. | |
1502 | * configure: Rebuild. | |
1503 | ||
b502879f JL |
1504 | Fri Oct 18 12:58:35 1996 Jeffrey A Law ([email protected]) |
1505 | ||
1506 | * scripttempl/v850.sc (__gp, __ep): Define. | |
1507 | ||
a5377d48 ILT |
1508 | Thu Oct 17 18:14:07 1996 Ian Lance Taylor <[email protected]> |
1509 | ||
1510 | * ld.texinfo: Try to consistently use a single or a double dash | |
1511 | for each option. | |
1512 | ||
a5c1ebec DE |
1513 | Thu Oct 17 10:17:20 1996 Doug Evans <[email protected]> |
1514 | ||
1515 | * emulparams/m32relf.sh (EMBEDDED): Define. | |
a5c1ebec | 1516 | |
2b8cd389 JL |
1517 | Thu Oct 17 10:56:49 1996 Jeffrey A Law ([email protected]) |
1518 | ||
c23b6a6b JL |
1519 | * scripttempl/v850.sc (.zdata): Add this before .text. |
1520 | (.sdata): Also include .rosdata as part of the .sdata. | |
1521 | (.tdata): Include this just before .sdata. | |
1522 | ||
2b8cd389 JL |
1523 | * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf". |
1524 | * scripttempl/v850.sc: Wrap script with a "cat << EOF". | |
1525 | ||
d27d34c3 JL |
1526 | Wed Oct 16 23:10:01 1996 Jeffrey A Law ([email protected]) |
1527 | ||
1528 | * scripttempl/v850.sc: New linker script for the V850. | |
1529 | * Makefile.in: Use it. | |
1530 | ||
f6f2b36e ILT |
1531 | Thu Oct 10 17:57:00 1996 Ian Lance Taylor <[email protected]> |
1532 | ||
1533 | * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not | |
1534 | OTHER_READWRITE_SECTIONS. | |
1535 | * emulparams/elf32l4300.sh: Likewise. | |
1536 | ||
961d5893 ILT |
1537 | Wed Oct 9 14:36:18 1996 Ian Lance Taylor <[email protected]> |
1538 | ||
458fc056 ILT |
1539 | * ld.h (ld_config_type): Add warn_section_align field. |
1540 | * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. | |
1541 | (ld_options): Add --warn-section-align. | |
1542 | (parse_args): Handle --warn-section-align. | |
1543 | * ldlang.c (lang_size_sections): If warn_section_align, warn if | |
1544 | the start of a section changes due to alignment. | |
1545 | * ld.texinfo, ld.1: Document --warn-section-align. | |
1546 | * ld.texinfo: Change some single dashes to double dashes. | |
1547 | ||
961d5893 ILT |
1548 | * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each |
1549 | subsystem type. Ifdef out os2 type. Recognize a version number. | |
1550 | ||
40d53fdf ILT |
1551 | Tue Oct 8 12:07:13 1996 Ian Lance Taylor <[email protected]> |
1552 | ||
d0d63887 ILT |
1553 | * emultempl/pe.em (set_pe_subsystem): When setting the subsystem |
1554 | to windows, set the entry point. | |
1555 | ||
40d53fdf ILT |
1556 | * Makefile.in (ldlex.c): Don't pass any options to $(LEX). |
1557 | ||
4164f2d5 ILT |
1558 | Mon Oct 7 17:29:05 1996 Ian Lance Taylor <[email protected]> |
1559 | ||
1560 | * ld.texinfo (Options): Mention .so extensions for shared | |
1561 | libraries. | |
1562 | ||
9193c60b JM |
1563 | Sun Oct 6 22:35:36 1996 Jason Merrill <[email protected]> |
1564 | ||
1565 | * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. | |
1566 | ||
0063d3a1 ILT |
1567 | Fri Oct 4 18:49:31 1996 Ian Lance Taylor <[email protected]> |
1568 | ||
1569 | * scripttempl/m68kcoff.sc: Only set the address of .text if | |
1570 | RELOCATING. | |
1571 | ||
afb8f218 DE |
1572 | Fri Oct 4 10:59:52 1996 Doug Evans <[email protected]> |
1573 | ||
1574 | * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define. | |
1575 | * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default. | |
1576 | (OUTPUT_FORMAT): Support bi-endian targets. | |
1577 | ||
3fac4887 ILT |
1578 | Thu Oct 3 13:52:03 1996 Ian Lance Taylor <[email protected]> |
1579 | ||
1580 | * fnmatch.h, fnmatch.c: Remove (now in libiberty). | |
1581 | * Makefile.in: Rebuild dependencies. | |
1582 | (CFILES): Remove fnmatch.c. | |
1583 | (HFILES): Remove fnmatch.h. | |
1584 | (OFILES): Remove fnmatch.o. | |
1585 | ||
bdec6bdb JM |
1586 | Thu Oct 3 15:41:24 1996 Jason Molenda ([email protected]) |
1587 | ||
1588 | * Makefile.in (mostlyclean): Move config.log to distclean. | |
1589 | ||
417fe276 GN |
1590 | Wed Oct 2 23:45:25 1996 Geoffrey Noer <[email protected]> |
1591 | ||
1592 | * emultmpl/pe.em: increase size of stack reserve to 0x2000000 | |
1593 | (necessary in order to compile parse.c in gcc sources under NT) | |
1594 | ||
30e23a1c ILT |
1595 | Wed Oct 2 14:49:10 1996 Ian Lance Taylor <[email protected]> |
1596 | ||
1597 | * lexsup.c (ld_options): Fix typo in --rpath-link description. | |
1598 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest | |
1599 | --rpath if a needed library is not found. | |
1600 | ||
6e9efeaf ILT |
1601 | Tue Oct 1 16:17:33 1996 Joel Sherrill <[email protected]> |
1602 | ||
1603 | * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*. | |
1604 | ||
9cfdc91a ILT |
1605 | Tue Oct 1 15:50:34 1996 Ian Lance Taylor <[email protected]> |
1606 | ||
b61364cc ILT |
1607 | * ld.texinfo (Options): Give more detail on -l option. |
1608 | ||
4fc7ca82 ILT |
1609 | * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that |
1610 | elf.sc does, so that glibc works better. | |
1611 | ||
9cfdc91a ILT |
1612 | * ldver.c (ld_program_version): New variable. |
1613 | (ldversion): Use it. | |
1614 | * ldver.h (ld_program_version): Declare. | |
1615 | * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not | |
1616 | --version. Change --version handling to match current GNU | |
1617 | standards. | |
1618 | (help): Print bug report address. | |
1619 | ||
79e9dc20 DE |
1620 | Mon Sep 30 12:14:43 1996 Doug Evans <[email protected]> |
1621 | ||
1622 | * Makefile.in (em32relf.c): Add rule for. | |
1623 | * configure.tgt (m32r-*-*): Recognize. | |
1624 | * emulparams/m32relf.sh: New file. | |
79e9dc20 DE |
1625 | |
1626 | Thu Sep 26 13:58:47 1996 Stan Shebs <[email protected]> | |
1627 | ||
1628 | * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit. | |
1629 | * mpw-config.in: Add mips-*-* case as mips-elf, and use more | |
1630 | wildcards in matching. | |
1631 | * mpw-emipself.c: New file, pregenerated mips elf emulation. | |
1632 | ||
4dfa8848 ILT |
1633 | Tue Sep 17 12:18:21 1996 Ian Lance Taylor <[email protected]> |
1634 | ||
79e9dc20 DE |
1635 | * ldint.texinfo: Rewrote. |
1636 | ||
4dfa8848 ILT |
1637 | * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. |
1638 | ||
df6b92ed ILT |
1639 | Mon Sep 16 17:55:21 1996 Ian Lance Taylor <[email protected]> |
1640 | ||
190de8a7 ILT |
1641 | * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix |
1642 | syntax error on __end__ line. | |
1643 | ||
df6b92ed ILT |
1644 | * scripttempl/armcoff.sc: For -N or -n, don't align .data. From |
1645 | Chris Hadley <[email protected]> | |
1646 | ||
9d879ade JL |
1647 | Sun Sep 15 22:09:56 1996 Jeffrey A Law ([email protected]) |
1648 | ||
1649 | * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS. | |
1650 | ||
3e925696 MA |
1651 | Sun Sep 15 10:38:16 1996 Mark Alexander <[email protected]> |
1652 | ||
1653 | * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put | |
1654 | stack at top of simulator memory. | |
1655 | ||
deb2a145 ILT |
1656 | Fri Sep 13 15:49:45 1996 Ian Lance Taylor <[email protected]> |
1657 | ||
1658 | * ldlex.l (SYMBOLCHARN): Add $, _, and ~. | |
1659 | ||
8ae650ea ILT |
1660 | Wed Sep 11 23:30:42 1996 Ian Lance Taylor <[email protected]> |
1661 | ||
1662 | * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. | |
1663 | ||
ee0523d5 ILT |
1664 | Thu Sep 5 15:24:12 1996 Ian Lance Taylor <[email protected]> |
1665 | ||
1666 | * ldlang.c (section_already_linked): Accept a lang_input_statement | |
1667 | as the PTR argument. If the file is symbols only, discard all | |
1668 | input sections. | |
1669 | (ldlang_add_file): Pass entry to bfd_map_over_sections. | |
1670 | ||
31cadbf4 ILT |
1671 | Wed Sep 4 15:53:43 1996 Ian Lance Taylor <[email protected]> |
1672 | ||
1673 | * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny | |
1674 | <[email protected]>. | |
1675 | ||
31cadbf4 ILT |
1676 | Tue Sep 3 00:52:54 1996 Jeffrey A Law ([email protected]) |
1677 | ||
1678 | * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS | |
1679 | ||
1680 | Sun Sep 1 21:48:58 1996 Jeffrey A Law ([email protected]) | |
1681 | ||
1682 | * emulparms/v850.sh: Set EMBEDDED. | |
1683 | ||
7ab4a84a JL |
1684 | Fri Aug 30 22:30:30 1996 Jeffrey A Law ([email protected]) |
1685 | ||
1686 | * emulparms/v850.sh: Entry symbol is "_start", tweak | |
1687 | ctor/dtor support. | |
1688 | ||
efd48a6a ILT |
1689 | Fri Aug 30 18:32:31 1996 Ian Lance Taylor <[email protected]> |
1690 | ||
1691 | * configure.tgt (sh-*-elf*): New target. | |
1692 | * emulparams/shelf.sh: New file. | |
1693 | * emulparams/shlelf.sh: New file. | |
1694 | * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o. | |
1695 | (eshelf.c, eshlelf.c): New targets. | |
1696 | * scripttempl/elf.sc: If EMBEDDED is defined, then don't add | |
1697 | SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END | |
1698 | around .ctors, and DTOR_START and DTOR_END around .dtors. Expand | |
1699 | OTHER_RELOCATING_SECTIONS if RELOCATING. | |
1700 | ||
1701 | Thu Aug 29 16:57:46 1996 Michael Meissner <[email protected]> | |
1702 | ||
1703 | * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium | |
1704 | pro. | |
1705 | ||
4c6856fa ILT |
1706 | Mon Aug 26 12:58:11 1996 Ian Lance Taylor <[email protected]> |
1707 | ||
efd48a6a ILT |
1708 | * ldgram.y (section): Add opt_nocrossrefs; pass value to |
1709 | lang_enter_overlay. | |
1710 | (opt_nocrossrefs): New nonterminal. | |
1711 | * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode. | |
1712 | * ldlang.c (overlay_nocrossrefs): New static variable. | |
1713 | (lang_enter_overlay): Add nocrossrefs parameter. | |
1714 | (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs | |
1715 | is set. Initialize overlay_nocrossrefs. | |
1716 | * ldlang.h (lang_enter_overlay): Update declaration. | |
1717 | * ld.texinfo (Overlays): Update documentation. | |
1718 | ||
4c6856fa ILT |
1719 | * ldver.c (ldversion): Print GNU ld in the version message. |
1720 | ||
1721 | Thu Aug 22 17:10:40 1996 Ian Lance Taylor <[email protected]> | |
1722 | ||
1723 | * configure.host: Set HLDENV. | |
1724 | * configure.in: Substitute HLDENV. | |
1725 | * configure: Rebuild. | |
1726 | * Makefile.in (HLDENV): New variable. | |
1727 | ($(LD_PROG)): Use $(HLDENV). | |
1728 | ||
04c17a75 JL |
1729 | Thu Aug 22 16:29:28 1996 Jeffrey A Law ([email protected]) |
1730 | ||
1731 | * Makefile.in (ev850.c): New target. | |
1732 | * configure.tgt (v850-*-*): New target. | |
1733 | * emulparams/v850.sh: New file. | |
1734 | ||
82939527 SS |
1735 | Thu Aug 22 11:16:02 1996 Stan Shebs <[email protected]> |
1736 | ||
1737 | * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit. | |
1738 | ||
18f0961e ILT |
1739 | Wed Aug 21 11:26:37 1996 Ian Lance Taylor <[email protected]> |
1740 | ||
8387e114 ILT |
1741 | * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate |
1742 | containing sections. | |
18f0961e | 1743 | |
8b5b6ebd ILT |
1744 | Mon Aug 19 13:01:42 1996 Ian Lance Taylor <[email protected]> |
1745 | ||
1746 | * fnmatch.c: Include sysdep.h. | |
1747 | ||
9099ec8f MM |
1748 | Mon Aug 19 11:28:29 1996 Michael Meissner <[email protected]> |
1749 | ||
1750 | * genscripts.sh: Undo 8/16 change. | |
1751 | ||
9099ec8f | 1752 | * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing. |
9099ec8f MM |
1753 | |
1754 | Fri Aug 16 19:18:08 1996 Michael Meissner <[email protected]> | |
1755 | ||
1756 | * genscripts.sh: Explicitly reset any shell variables set or used | |
1757 | by the various .sc scripts to allow inadvertant use of these | |
1758 | names as normal environment variables by the person running | |
1759 | configure. | |
1760 | ||
9099ec8f | 1761 | * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf. |
9099ec8f | 1762 | |
61e3ce74 JSC |
1763 | Fri Aug 16 14:15:41 1996 James G. Smith <[email protected]> |
1764 | ||
1765 | * scripttempl/armcoff.sc (__bss_start__, __bss_end__, | |
1766 | __data_start__, __data_end__): Added to keep in sync. with the | |
1767 | default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support. | |
1768 | ||
1769 | Thu Aug 8 14:24:56 1996 Ian Lance Taylor <[email protected]> | |
1770 | ||
1771 | * ldcref.c (check_reloc_refs): If info->same, look for any symbol | |
1772 | defined in info->defsec, not just the section symbol. | |
1773 | ||
27927278 ILT |
1774 | Wed Aug 7 14:40:48 1996 Philippe De Muyter <[email protected]> |
1775 | ||
1776 | * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. | |
1777 | * acconfig.h (NEED_DECLARATION_STRSTR): New macro. | |
1778 | (NEED_DECLARATION_SBRK): New macro. | |
1779 | * configure, config.in: Rebuild. | |
1780 | * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. | |
1781 | * ldmain.c (sbrk): Declare if HAVE_SBRK and | |
1782 | NEED_DECLARATION_SBRK. | |
1783 | ||
1784 | * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return. | |
1785 | ||
d22ec3b0 ILT |
1786 | Mon Aug 5 16:26:14 1996 Ian Lance Taylor <[email protected]> |
1787 | ||
1788 | * ldlex.l: Recognize OVERLAY. | |
1789 | * ldgram.y: Add section_phdr field to %union. | |
1790 | (section): Handle phdr_opt result. Add OVERLAY case. | |
1791 | (opt_exp_without_type): New nonterminal. | |
1792 | (phdr_opt): Return list of phdrs. | |
1793 | (overlay_section): New nonterminal. | |
1794 | * ldlang.c: Include <ctype.h>. | |
1795 | (lang_leave_output_section_statement): Add phdrs parameter. | |
1796 | Change all callers. | |
1797 | (lang_section_in_phdr): Remove. | |
1798 | (overlay_vma, overlay_lmn, overlay_max): New static variables. | |
1799 | (struct overlay_list): Define. | |
1800 | (overlay_list): New static variable. | |
1801 | (lang_enter_overlay, lang_enter_overlay_section): New functions. | |
1802 | (lang_leave_overlay_section, lang_leave_overlay): New functions. | |
1803 | * ldlang.h (lang_leave_output_section_statement): Update | |
1804 | declaration for new parameter. | |
1805 | (lang_section_in_phdr): Don't declare. | |
1806 | (lang_enter_overlay, lang_enter_overlay_section): Declare. | |
1807 | (lang_leave_overlay_section, lang_leave_overlay): Declare. | |
1808 | * ld.texinfo (Overlays): New node under SECTIONS, documenting | |
1809 | overlays. | |
1810 | ||
1811 | * ldlex.l: Recognize MAX and MIN. | |
1812 | * ldgram.y (MAX, MIN): New terminals. | |
1813 | (exp): Recognize MAX and MIN. | |
1814 | * ldexp.c (fold_binary): Handle MAX and MIN. | |
1815 | * ld.texinfo (Arithmetic Functions): Document MAX and MIN. | |
1816 | ||
1817 | * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header | |
1818 | index entries. | |
1819 | ||
1820 | * ldgram.y (SIZEOF, ADDR): Do not specify type. | |
1821 | ||
1822 | * ldcref.c (check_nocrossref): Skip symbols with no output | |
1823 | sections. | |
1824 | ||
5735ac9e ILT |
1825 | Fri Aug 2 14:57:49 1996 Ian Lance Taylor <[email protected]> |
1826 | ||
1827 | * ldgram.y (LOADADDR): New terminal. | |
1828 | (exp): Handle LOADADDR. | |
1829 | * ldlex.l: Recognize LOADADDR. | |
1830 | * ldexp.c (exp_print_token): Add LOADADDR. | |
1831 | (fold_name): Implement LOADADDR. | |
1832 | * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. | |
1833 | * ld.texinfo (Arithmetic Functions): Document LOADADDR. | |
1834 | ||
b947ed2d ILT |
1835 | Thu Aug 1 12:52:19 1996 Ian Lance Taylor <[email protected]> |
1836 | ||
582dd77f ILT |
1837 | * ld.h (check_nocrossrefs): Declare. |
1838 | * ldlang.h (struct lang_nocrossref): Define. | |
1839 | (struct lang_nocrossrefs): Define. | |
1840 | (nocrossref_list): Declare. | |
1841 | (lang_add_nocrossref): Declare. | |
1842 | * ldlex.l: Recognize NOCROSSREFS keyword. | |
1843 | * ldgram.y (%union): Add nocrossref field. | |
1844 | (NOCROSSREFS): New terminal. | |
1845 | (ifile_p1): Recognize NOCROSSREFS. | |
1846 | (nocrossref_list): New nonterminal. | |
1847 | * ldlang.c (nocrossref_list): Define. | |
1848 | (lang_add_nocrossref): New function. | |
1849 | * ldmain.c (main): If nocrossref_list is not NULL, call | |
1850 | check_nocrossrefs. | |
1851 | (warning_callback): Free symbols if there is no place to store | |
1852 | them. | |
1853 | (notice): Call add_cref if nocrossref_list is not NULL. | |
1854 | * ldcref.c: Include "ldexp.h" and "ldlang.h". | |
1855 | (check_nocrossrefs): New function. | |
1856 | (check_nocrossref): New static function. | |
1857 | (struct check_refs_info): Define. | |
1858 | (check_refs, check_reloc_refs): New static functions. | |
1859 | * Makefile.in: Rebuild dependencies. | |
1860 | * ld.texinfo (Option Commands): Document NOCROSSREFS. | |
1861 | ||
1862 | * ld.texinfo (Section Placement): Improve the wording of the | |
1863 | wildcard documentation. Mention that wildcards are only searched | |
1864 | for on the command line, not in the file system. | |
1865 | ||
b947ed2d ILT |
1866 | * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move |
1867 | definition of lib_path inside condition where it is used. | |
1868 | ||
ed4820d7 MH |
1869 | Wed Jul 31 13:17:10 1996 Martin M. Hunt <[email protected]> |
1870 | ||
1871 | * emulparams/d10velf.sh: Now works with elf.sc. | |
1872 | ||
364ffcf5 MH |
1873 | Wed Jul 31 11:52:03 1996 Martin M. Hunt <[email protected]> |
1874 | ||
1875 | * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla. | |
1876 | ||
cd09553a ILT |
1877 | Tue Jul 30 14:46:42 1996 Ian Lance Taylor <[email protected]> |
1878 | ||
72df7117 ILT |
1879 | * ldlang.c (lang_size_sections): Add the section VMA to the result |
1880 | value when computing the address of a section. | |
1881 | ||
cd09553a ILT |
1882 | * ld.h (args_type): Add cref field. |
1883 | * lexsup.c (parse_args): Set command_line.cref. | |
1884 | * ldmain.c (main): Check command_line.cref rather than | |
1885 | link_info.notice_all. | |
1886 | (notice): Likewise. | |
1887 | ||
1888 | * ldcref.c (output_one_cref): Don't crash if a symbol is defined | |
1889 | in a section without an owner. | |
1890 | ||
86bc0974 ILT |
1891 | Mon Jul 29 17:23:33 1996 Ian Lance Taylor <[email protected]> |
1892 | ||
1893 | * fnmatch.h, fnmatch.c: New files. | |
1894 | * ldlex.l: Remove unused definition of FILENAME. Add definition | |
1895 | of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a | |
1896 | NAME. | |
1897 | * ldgram.y (file_NAME_list): Accept '*' and '?' specially. | |
1898 | (input_section_spec): Accept '?' specially. | |
1899 | (statement): Change exp to mustbe_exp in length and FILL cases. | |
1900 | (section): Call ldlex_script before section statements, and call | |
1901 | ldlex_popstate after them. | |
1902 | * ldlang.c: Include "fnmatch.h". | |
1903 | (wildcardp): New static function. | |
1904 | (wild_section): Permit the section name to be a wildcard. | |
1905 | (wild_file): New static function, broken out of wild. | |
1906 | (wild): Call wild_file. Permit the file name to be a wildcard. | |
1907 | (open_input_bfds): Don't call lookup_name for a wildcard pattern. | |
1908 | * Makefile.in: Rebuild dependencies. | |
1909 | (CFILES): Add fnmatch.c. | |
1910 | (HFILES): Add fnmatch.h. | |
1911 | (OFILES): Add fnmatch.o. | |
1912 | * ld.texinfo: Document that file and section names can now be | |
1913 | wildcard patterns. | |
1914 | ||
1915 | * ldlang.c (lang_place_orphans): Correct condition: place a common | |
1916 | section if not relocateable or if common definitions are forced. | |
1917 | ||
364ffcf5 | 1918 | Wed Jul 24 12:16:38 1996 Martin M. Hunt <[email protected]> |
ebaf6370 MH |
1919 | |
1920 | * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. | |
1921 | ||
c5b89620 MM |
1922 | Wed Jul 24 13:38:22 1996 Michael Meissner <[email protected]> |
1923 | ||
1924 | * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v. | |
1925 | ||
e9525d96 MH |
1926 | Tue Jul 23 10:36:19 1996 Martin M. Hunt <[email protected]> |
1927 | ||
1928 | * Makefile.in (ed10velf.c): New target. | |
1929 | * configure.tgt (d10v-*-elf*): New target. | |
1930 | * emulparams/d10velf.sh: New file. | |
1931 | ||
71cd1bb6 ILT |
1932 | Thu Jul 18 16:25:39 1996 Ian Lance Taylor <[email protected]> |
1933 | ||
73a66e7a ILT |
1934 | * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth |
1935 | <[email protected]>. | |
1936 | ||
71cd1bb6 ILT |
1937 | * configure.host: Change irix5 to irix[56]*. |
1938 | * configure.tgt: Likewise. | |
1939 | ||
611a763f KK |
1940 | Wed Jul 17 10:52:46 1996 Kim Knuttila <[email protected]> |
1941 | ||
2154656e KK |
1942 | * emultempl/pe.em (sort_sections): Pay attention to return code. |
1943 | ||
611a763f KK |
1944 | * ldmisc.c (demangle): Remove all prefix '.'s from a name. |
1945 | ||
888b0b2f ILT |
1946 | Mon Jul 15 11:49:49 1996 Andreas Schwab <[email protected]> |
1947 | ||
1948 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round | |
1949 | the value of __start_SECNAME to the alignment required by the | |
1950 | section to be placed. | |
1951 | ||
719de0ea ILT |
1952 | Tue Jul 9 12:09:02 1996 Ian Lance Taylor <[email protected]> |
1953 | ||
1954 | * configure.tgt (mips*el-*-elf*): Use elf32elmip. | |
1955 | (mips*-*-elf*): Use elf32ebmip. | |
1956 | * emulparams/elf32bmip.sh (EMBEDDED): Don't define. | |
1957 | * emulparams/elf32lmip.sh (EMBEDDED): Don't define. | |
1958 | * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with | |
1959 | EMBEDDED defined. | |
1960 | * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with | |
1961 | EMBEDDED defined. | |
1962 | * emulparams/elf32b4300.sh (EMBEDDED): Define. | |
1963 | * emulparams/elf32l4300.sh (EMBEDDED): Define. | |
1964 | * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. | |
1965 | (eelf32ebmip.c, eelf32elmip.c): New targets. | |
1966 | ||
45c85bcb ILT |
1967 | Thu Jul 4 12:01:03 1996 Ian Lance Taylor <[email protected]> |
1968 | ||
e44c2b1c ILT |
1969 | * ldver.c (ldversion): Set version to cygnus-2.7.1. |
1970 | ||
45c85bcb ILT |
1971 | * Released binutils 2.7. |
1972 | ||
1ab4cd57 ILT |
1973 | * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid |
1974 | System V file name limitations. | |
1975 | * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use | |
1976 | pc532macha rather than pc532machaout. | |
1977 | * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to | |
1978 | epc532macha.o. | |
1979 | (epc532macha.c): Rename target from epc532machaout.c. | |
1980 | ||
4702444f ILT |
1981 | Wed Jul 3 11:40:10 1996 Ian Lance Taylor <[email protected]> |
1982 | ||
1983 | * ldlang.c (print_padding_statement): Use %u, not %x, to print | |
1984 | fill value. | |
1985 | ||
bfac208d SS |
1986 | Sun Jun 30 11:16:43 1996 Stan Shebs <[email protected]> |
1987 | ||
1988 | * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. | |
1989 | ||
2ea93eb9 ILT |
1990 | Thu Jun 27 14:03:42 1996 Ian Lance Taylor <[email protected]> |
1991 | ||
bfac208d SS |
1992 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa |
1993 | file just before the .so file, rather than just after. | |
1994 | ||
2ea93eb9 ILT |
1995 | * configure.host: Use -print-file-name=FILE rather than piping |
1996 | -print-libgcc-file-name through sed. | |
1997 | (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and | |
1998 | crtend.o files, in case gcc doesn't use them. | |
1999 | * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o. | |
2000 | ||
90c1d8f7 ILT |
2001 | Wed Jun 26 15:57:21 1996 Ian Lance Taylor <[email protected]> |
2002 | ||
2003 | * configure.tgt (mips*-dec-osf*): New target. | |
2004 | ||
f14a5192 JM |
2005 | Tue Jun 25 22:15:29 1996 Jason Molenda ([email protected]) |
2006 | ||
2007 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, | |
2008 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
2009 | (docdir): Removed. | |
2010 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2011 | (AC_PROG_INSTALL): Added. | |
2012 | * configure: Rebuilt. | |
2013 | ||
2014 | Mon Jun 24 18:48:16 1996 Michael Meissner <[email protected]> | |
2015 | ||
2016 | * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a | |
2017 | PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a | |
2018 | non-fixed location. | |
2019 | ||
d7b5386f ILT |
2020 | Mon Jun 24 17:55:31 1996 Jouke Numan <[email protected]> |
2021 | ||
2022 | * ldlang.h (enum section_type): Define. | |
2023 | (lang_output_section_statement_type): Remove loadable field. Add | |
2024 | sectype field. | |
2025 | (lang_enter_output_section_statement): Change flags parameter in | |
2026 | prototype to sectype. | |
2027 | * ldgram.y (typebits): Remove. | |
2028 | (sectype): New static variable. | |
2029 | (opt_at): Use sectype rather than typebits. | |
2030 | (type): Set sectype rather than typebits. | |
2031 | (atype): Likewise. | |
2032 | * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in | |
2033 | EXPRESSION mode. | |
2034 | * ldlang.c (lang_output_section_statement_lookup): Set sectype | |
2035 | field rather than loadable field. | |
2036 | (wild_doit): Check sectype rather than loadable. | |
2037 | (lang_record_phdrs): Likewise. | |
2038 | (lang_enter_output_section_statement): Rename flags parameter to | |
2039 | sectype. Set sectype field rather than loadable field. Set flags | |
2040 | field based on sectype. | |
2041 | ||
8530ae8e ILT |
2042 | Mon Jun 24 12:00:32 1996 Ian Lance Taylor <[email protected]> |
2043 | ||
d7b5386f ILT |
2044 | * scripttempl/elf.sc: Force .stab* and .comment sections to start |
2045 | at 0. | |
2046 | ||
8530ae8e ILT |
2047 | * configure.in: On alpha*-*-osf*, link against libbfd.a if not |
2048 | using shared libraries. | |
2049 | * configure: Rebuild with autoconf 2.10. | |
2050 | ||
817ef338 ILT |
2051 | Fri Jun 21 17:40:56 1996 Joel Sherrill <[email protected]> |
2052 | ||
2053 | * configure.tgt: Add support for *-*-rtems* configurations. | |
2054 | ||
539ae61d ILT |
2055 | Fri Jun 21 13:05:51 1996 Richard Henderson <[email protected]> |
2056 | ||
2057 | * configure.tgt (alpha-*-linuxecoff*): New target. | |
2058 | (alpha-*-linux*): Use elf64alpha. | |
2059 | * emulparams/elf64alpha.sh: New file. | |
2060 | * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use | |
2061 | ${ELFSIZE} rather than 32 when calling BFD routines. | |
2062 | (hold_rodata): New static variable. | |
2063 | (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a | |
2064 | readonly section that is not code. | |
2065 | (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use | |
2066 | a .rel section unless its bfd_section field is not NULL. | |
2067 | * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. | |
2068 | (eelf64alpha.c): New target. | |
2069 | ||
a475297c ILT |
2070 | Fri Jun 21 12:45:46 1996 Ian Lance Taylor <[email protected]> |
2071 | ||
2072 | * ldmisc.c (vfinfo): Correct handling of 0 in %W case. | |
2073 | ||
55745b34 ILT |
2074 | Thu Jun 20 13:55:28 1996 Ian Lance Taylor <[email protected]> |
2075 | ||
2076 | Add enough support to understand the gcc svr3.ifile script: | |
2077 | * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add | |
2078 | BIND keyword. | |
2079 | * ldgram.y: Add BIND token. | |
2080 | (section): Recognize GROUP. | |
2081 | (opt_ext_with_type): Recognize a couple of cases of BIND. | |
2082 | * ldlang.c (init_os): Don't do anything if section is already | |
2083 | initialized. Call exp_init_os on addr_tree field. | |
2084 | (exp_init_os): New static function. | |
2085 | (map_input_to_output_sections): Call exp_init_os on assignment | |
2086 | expression. | |
2087 | (lang_place_orphans): Check for common sections by name COMMON | |
2088 | rather than by common_section field. Don't warn about absence of | |
2089 | [COMMON] command. | |
2090 | ||
2091 | * ldlang.h (lang_input_statement_type): Remove useless fields | |
2092 | common_section, common_output_section, and complained, as well as | |
2093 | all references to them. | |
2094 | ||
2095 | * ldexp.c: Reindent a lot of code. | |
2096 | (exp_fold_tree): Call FAIL rather than einfo in default case. | |
2097 | ||
2098 | Wed Jun 19 11:40:14 1996 Ian Lance Taylor <[email protected]> | |
2099 | ||
2100 | * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From | |
2101 | <[email protected]>. | |
2102 | ||
55745b34 ILT |
2103 | Tue Jun 18 15:53:09 1996 Jeffrey A. Law <[email protected]> |
2104 | ||
2105 | * scripttempl/h8300s.sc: New file for H8/S. | |
2106 | * emulpararms/h8300s.sh: New file for H8/S. | |
2107 | * Makefile.in (ALL_EMULATIONS): Add H8/S. | |
2108 | (e_h8300s.c): Add dependencies. | |
2109 | * configure.tgt: Add H8/S to targ_extra_emuls. | |
2110 | ||
2e71dfc0 ILT |
2111 | Tue Jun 18 17:55:39 1996 Ian Lance Taylor <[email protected]> |
2112 | ||
2113 | * configure.tgt (i[345]86*-*-isc*): New target. From | |
2114 | <[email protected]>. | |
2115 | ||
2116 | Wed Jun 12 12:46:21 1996 Ian Lance Taylor <[email protected]> | |
2117 | ||
2118 | * lexsup.c: Include "libiberty.h". | |
2119 | (parse_args): Copy the -Y argument into memory. | |
2120 | (set_default_dirlist): Don't put the ':' back into the directory | |
2121 | list. | |
2122 | ||
b72b1a0c ILT |
2123 | Fri Jun 7 11:27:42 1996 Ian Lance Taylor <[email protected]> |
2124 | ||
2125 | * emultempl/sunos.em: Include libiberty.h. | |
2126 | (gld${EMULATION_NAME}_set_symbols): New static function to add | |
2127 | LD_LIBRARY_PATH to the list of search directories. | |
2128 | (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. | |
2129 | ||
39e6bc33 ILT |
2130 | Thu Jun 6 11:50:31 1996 Ian Lance Taylor <[email protected]> |
2131 | ||
1760b4ae ILT |
2132 | * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) |
2133 | rather than . when computing _gp value. From Per Fogelstrom. | |
2134 | * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. | |
2135 | ||
39e6bc33 ILT |
2136 | * ldmain.c (main): Don't close and unlink the file on error, since |
2137 | remove_output will do it anyhow. | |
2138 | * ldlang.c (open_output): Set boolean variable to true, not 1. | |
2139 | ||
2140 | Wed Jun 5 18:34:14 1996 James G. Smith <[email protected]> | |
2141 | ||
2142 | * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use | |
2143 | elfmips instead of elf. | |
2144 | ||
07acd23b ILT |
2145 | Tue Jun 4 18:43:07 1996 Ian Lance Taylor <[email protected]> |
2146 | ||
2147 | * ldcref.c: New file. | |
2148 | * ld.h (add_cref, output_cref): Declare. | |
2149 | * ldmain.c (main): Initialize notice_all field. If it is set at | |
2150 | end of link, call output_cref. | |
2151 | (notice): Rename from notice_ysym. Check notice_all. | |
2152 | * ldmisc.c (finfo): Make globally visible. | |
2153 | * ldmisc.h (finfo): Declare. | |
2154 | * lexsup.c (OPTION_CREF): Define. | |
2155 | (ld_options): Add "cref". | |
2156 | (parse_args): Handle OPTION_CREF. | |
2157 | * Makefile.in: Rebuild dependencies. | |
2158 | (CFILES): Add ldcref.c. | |
2159 | (OFILES): Add ldcref.o. | |
2160 | * ld.texinfo, ld.1: Document --cref. | |
2161 | ||
2c7aeec6 TT |
2162 | Tue Jun 4 12:12:25 1996 Tom Tromey <[email protected]> |
2163 | ||
2164 | * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. | |
2165 | ||
e5ca07bf ILT |
2166 | Fri May 31 12:40:55 1996 Ian Lance Taylor <[email protected]> |
2167 | ||
2168 | * emultempl/pe.em (sort_sections): Don't assume that a | |
2169 | wild_statement has a section name. | |
2170 | ||
a1d393cf ILT |
2171 | Wed May 29 13:13:35 1996 Ian Lance Taylor <[email protected]> |
2172 | ||
90557a6a ILT |
2173 | * scripttempl/elfmips.sc: Quote test -z argument. |
2174 | ||
a1d393cf ILT |
2175 | * ld.texinfo: Clarify the CONSTRUCTORS command. |
2176 | ||
64a37d3c ILT |
2177 | Thu May 23 16:07:44 1996 Ian Lance Taylor <[email protected]> |
2178 | ||
2179 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize | |
2180 | file, not impfile. | |
2181 | ||
fe6e2957 DE |
2182 | Wed May 22 11:31:30 1996 Doug Evans <[email protected]> |
2183 | ||
2184 | * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} | |
2185 | if final link. | |
2186 | * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. | |
2187 | (sort_by_section_name, sort_sections_1): New functions. | |
2188 | (sort_sections): Only sort by file name sections in .idata. | |
2189 | Add "Grouped Sections" support. | |
2190 | (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped | |
2191 | Sections. | |
2192 | (gld${EMULATION_NAME}_place_section): Delete. | |
2193 | * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). | |
2194 | (.CRT,.rsrc): Rewrite to use Grouped Section support. | |
2195 | ||
2196 | Tue May 21 14:31:48 1996 Stan Shebs <[email protected]> | |
2197 | ||
2198 | * mpw-eppcmac.c: Update to reflect changes to aix.em. | |
2199 | ||
4242ac27 DE |
2200 | Sun May 19 16:59:44 1996 Doug Evans <[email protected]> |
2201 | ||
2202 | * ldlang.c (dprint_statement): Stop printing at end of list. | |
2203 | ||
de7c7482 SC |
2204 | Sat May 18 13:12:05 1996 Steve Chamberlain <[email protected]> |
2205 | ||
2206 | Support for --force-exe-suffix | |
2207 | * ld.h (args_type): Add force_exe_suffix. | |
2208 | * ld.texinfo: Add documentation. | |
2209 | * ldmain.c (main): Add support for option. | |
2210 | * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. | |
2211 | (ld_options, parse_args): Add support for option. | |
2212 | ||
b3319029 JW |
2213 | Wed May 15 12:50:25 1996 Jim Wilson <[email protected]> |
2214 | ||
2215 | * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. | |
2216 | ||
fb2a7661 MM |
2217 | Fri May 10 16:28:44 1996 Michael Meissner <[email protected]> |
2218 | ||
2219 | * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was | |
2220 | referenced but not defined. | |
2221 | ||
01d8a359 RS |
2222 | Thu May 9 08:52:23 1996 Rob Savoye <[email protected]> |
2223 | ||
2224 | * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: | |
2225 | Set a new variable to signify if the final target is an embedded | |
2226 | system. | |
2227 | * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to | |
2228 | .text for an embedded system. | |
2229 | ||
7248b4e2 DE |
2230 | Tue May 7 10:56:11 1996 Doug Evans <[email protected]> |
2231 | ||
2232 | * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. | |
2233 | (gld${EMULATION_NAME}_place_section): New function. | |
2234 | (hold_{section,use,text,rdata,data}): New static locals. | |
2235 | (ld_${EMULATION_NAME}_emulation): Update orphan field. | |
2236 | * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. | |
2237 | (INIT,FINI): Delete, unused. | |
2238 | (.text): Document orphan .text.foo sections. | |
2239 | (.rdata): Document orphan .rdata.foo sections. | |
2240 | (.data): Document orphan .data.foo sections. | |
2241 | ||
d38d6b7a JL |
2242 | Tue May 7 11:35:46 1996 Jeffrey A Law ([email protected]) |
2243 | ||
00e6a1b1 JL |
2244 | * scripttempl/h8300.sc: Place ".tiny" sections right |
2245 | after ".data" sections. | |
2246 | * scripttempl/h8300h.sc: Place ".tiny" sections into | |
2247 | the "tiny" memory region, 0xff8000 through 0xffff00. | |
2248 | ||
12688490 JL |
2249 | * scripttempl/h8300.sc: Set the entry point to the value of |
2250 | "_start" rather than the start of the text segment. | |
2251 | * scripttempl/h8300h.sc: Likewise. | |
2252 | ||
2253 | * scripttempl/h8300.sc: Place .rodata sections before .text | |
2254 | sections in main ram. | |
2255 | * scripttempl/h8300h.sc: Likewise. | |
d38d6b7a | 2256 | |
4015337e JL |
2257 | Mon May 6 23:32:30 1996 Jeffrey A Law ([email protected]) |
2258 | ||
2259 | * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the | |
2260 | 8-bit region and 8-bit sections. | |
2261 | ||
0a0d1bdd DE |
2262 | Wed May 1 17:50:06 1996 Doug Evans <[email protected]> |
2263 | ||
2264 | * ldlang.c (section_already_linked): Fix typos. | |
2265 | ||
f2618f82 DE |
2266 | Mon Apr 29 20:31:06 1996 Doug Evans <[email protected]> |
2267 | ||
2268 | * scripttempl/pe.sc (.endjunk): Define __end__. | |
2269 | ||
0cacbcbe ILT |
2270 | Mon Apr 29 17:05:13 1996 Ian Lance Taylor <[email protected]> |
2271 | ||
2272 | * ldlang.c (longest_section_name): Remove. | |
2273 | (SECTION_NAME_MAP_LENGTH): Define. | |
2274 | (print_size, print_alignment, print_fill, print_section): Remove. | |
2275 | (print_flags): Remove. | |
2276 | (lang_map): Rewrite. | |
2277 | (print_output_section_statement): Rewrite. | |
2278 | (print_assignment): Rewrite. | |
2279 | (print_one_symbol): Rewrite. | |
2280 | (print_input_section): Rewrite. | |
2281 | (print_fill_statement): Rewrite. | |
2282 | (print_data_statement): Rewrite. | |
2283 | (print_address_statement): New static function. | |
2284 | (print_reloc_statement): Rewrite. | |
2285 | (print_padding_statement): Rewrite. | |
2286 | (print_wild_statement): Rewrite. | |
2287 | (print_statement_list): Clean up. | |
2288 | (print_statement): Clean up. Some minor output changes. | |
2289 | (print_statements): Clean up. | |
2290 | (load_symbols): Put another - before -whole-archive. | |
2291 | * ldexp.c (exp_print_tree): Change etree_value and etree_rel to | |
2292 | print 0x and to omit leading zeroes. For etree_rel, use %B to | |
2293 | print the BFD. For etree_assign, remove the space after the | |
2294 | destination name. | |
2295 | * ldwrite.c: Include "libiberty.h". | |
2296 | (clone_section): Call xstrdup, not strdup. | |
2297 | (ldwrite): Don't print any map information. | |
2298 | (print_symbol_table, print_file_stuff, print_symbol): Remove. | |
2299 | * ldmain.c (main): Call lang_map when appropriate. | |
2300 | * ldmisc.c (vfinfo): Add support for %W. | |
2301 | (print_address): Remove. | |
2302 | * ldmisc.h (print_address): Don't declare. | |
2303 | * Makefile.in: Rebuild dependencies. | |
2304 | ||
df872c9e ILT |
2305 | Mon Apr 29 10:29:07 1996 Andreas Schwab <[email protected]> |
2306 | ||
2307 | * configure.host (m68*-*-linux*): Add -dynamic-linker to | |
2308 | HOSTING_CRT0. Search -lgcc both before and after -lc in | |
2309 | HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory | |
2310 | at first. | |
2311 | (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler | |
2312 | directory at first. | |
2313 | ||
f0f80b13 ILT |
2314 | Fri Apr 26 14:42:27 1996 Ian Lance Taylor <[email protected]> |
2315 | ||
efa6c497 ILT |
2316 | * ldmisc.h (demangle): Declare. |
2317 | * ldmisc.c: Include "libiberty.h". Include demangle.h with "", | |
2318 | not <>. | |
2319 | (demangle): Make non-static. Remove remove_underscore paramter. | |
2320 | Always return an allocated string. | |
2321 | (vfinfo): Free result of demangle. Add case 'G'. Use %T to print | |
2322 | functionname, rather than calling demangle. Print a colon between | |
2323 | the BFD(section+offset) and the line number. | |
2324 | * ldmain.c (add_archive_element): Improve format of archive | |
2325 | information in map file. | |
2326 | (constructor_callback): Don't print anything to the map file. | |
2327 | * ldlang.c (lang_one_common): Improve format of common symbol | |
2328 | information in map file. | |
2329 | * ldctor.c (ldctor_build_sets): If producing a map file, print set | |
2330 | information. | |
2331 | * ldwrite.c (print_symbol_table): Print a newline before the | |
2332 | header in the map file. | |
2333 | * Makefile.in: Rebuild dependencies. | |
2334 | ||
f0f80b13 ILT |
2335 | * ldmisc.c (vfinfo): Reindent. |
2336 | ||
14706a96 ILT |
2337 | Mon Apr 22 12:07:32 1996 Ian Lance Taylor <[email protected]> |
2338 | ||
6799c638 ILT |
2339 | * ldlang.c (lang_size_sections): If _cooked_size is not 0, then |
2340 | don't clobber it when not relaxing. | |
2341 | ||
2342 | * ld.h (ld_config_type): Remove traditional_format field. | |
2343 | * ldmain.c (main): Use link_info.traditional_format rather than | |
2344 | config.traditional_format. | |
2345 | * ldlang.c (ldlang_open_output): Likewise. | |
2346 | * lexsup.c (parse_args): Likewise. | |
2347 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. | |
2348 | * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. | |
2349 | ||
6429ad7e ILT |
2350 | * ldlang.c (wild_doit): Discard debugging sections if we are |
2351 | stripping debugging information. | |
2352 | ||
14706a96 ILT |
2353 | * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. |
2354 | ||
e3e69b13 ILT |
2355 | Tue Apr 16 16:38:32 1996 Ian Lance Taylor <[email protected]> |
2356 | ||
2357 | * ldexp.c (fold_binary): Correct handling of subtraction with | |
2358 | absolute values. | |
2359 | (fold_name): Permit symbols in lang_allocating_phase_enum. | |
2360 | ||
2361 | * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo | |
2362 | accidental changes in last patch. | |
2363 | ||
56074c55 MM |
2364 | Tue Apr 16 10:25:42 1996 Michael Meissner <[email protected]> |
2365 | ||
2366 | * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. | |
2367 | (powerpcle*-*-{sysv,solaris}): Ditto. | |
2368 | ||
10533b5b RS |
2369 | Mon Apr 15 14:50:56 1996 Rob Savoye <[email protected]> |
2370 | ||
2371 | * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it | |
2372 | in m68k/crt0.S without things blowing up. | |
2373 | ||
2374 | Fri Apr 12 16:40:56 1996 Rob Savoye <[email protected]> | |
07f48792 RS |
2375 | |
2376 | * scripttempl/m68kcoff.sc: Remove default address for .data so | |
2377 | .text, .data, and .bss are all sequential. | |
2378 | ||
aa59d90e ILT |
2379 | Thu Apr 11 12:05:35 1996 Ian Lance Taylor <[email protected]> |
2380 | ||
2381 | * scripttempl/m68kcoff.sc: Remove regions and simplify. | |
2382 | ||
d26c498b JL |
2383 | Wed Apr 10 14:41:53 1996 Jeffrey A Law ([email protected]) |
2384 | ||
2385 | * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 | |
2386 | bytes of the address space. Put data from the ".eight" sections | |
2387 | into the 8-bit area. | |
2388 | * scripttempl/h8300h.sc: Likewise. | |
2389 | ||
b279f82e DE |
2390 | Tue Apr 9 14:10:42 1996 Doug Evans <[email protected]> |
2391 | ||
2392 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): | |
2393 | Pass $ARCH to ldfile_set_output_arch instead of setting | |
2394 | ldfile_output_architecture directly. | |
2395 | ||
28ad0357 MM |
2396 | Tue Apr 9 14:22:15 1996 Michael Meissner <[email protected]> |
2397 | ||
2398 | * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section | |
2399 | next to .text. Put _etext after .text, .init, .fini, and | |
2400 | .rodata{,2} sections. | |
2401 | ||
7ec9d825 ILT |
2402 | Tue Apr 9 12:18:57 1996 Ian Lance Taylor <[email protected]> |
2403 | ||
517a7caf ILT |
2404 | * ld.texinfo: Rearrange option documentation. |
2405 | ||
1ffec9e6 ILT |
2406 | * lexsup.c (ld_options): New static array. |
2407 | (parse_args): Build shortopts and longopts from ld_options array. | |
2408 | (help): New static function. | |
2409 | * ldver.h (help): Don't declare. | |
2410 | * ldver.c (ldversion): Reindent. | |
2411 | (help): Remove. | |
2412 | ||
7ec9d825 ILT |
2413 | * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. |
2414 | ||
90ba7e65 ILT |
2415 | Mon Apr 8 11:56:23 1996 Ian Lance Taylor <[email protected]> |
2416 | ||
0c4d3f6f ILT |
2417 | * emultempl/elf32.em: When checking for a native emulation, check |
2418 | that the current emulation is the default emulation. | |
2419 | * emultempl/sunos.em: Likewise. | |
2420 | ||
b4cb4ea2 ILT |
2421 | * configure.in: Permit --enable-shared to specify a list of |
2422 | directories. | |
2423 | * configure: Rebuild. | |
2424 | ||
90ba7e65 ILT |
2425 | * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, |
2426 | for HP/UX compatibility. | |
2427 | ||
8a42aa54 ILT |
2428 | Fri Apr 5 14:30:14 1996 Ian Lance Taylor <[email protected]> |
2429 | ||
6cc7365e ILT |
2430 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New |
2431 | static function, if ${host} = ${target}. | |
2432 | (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a | |
2433 | needed shared library if ${host} = $[target}. | |
2434 | ||
2435 | * configure.host (i[345]86-*-linux*): Add -dynamic-linker to | |
2436 | HOSTING_CRT0. Search -lgcc both before and after -lc in | |
2437 | HOSTING_LIBS. | |
2438 | ||
8a42aa54 ILT |
2439 | * configure.tgt: Add i[345]86-*-freebsdelf* target; from John |
2440 | Polstra <[email protected]>. | |
2441 | ||
4864a04f JSC |
2442 | Fri Apr 5 18:11:25 1996 James G. Smith <[email protected]> |
2443 | ||
2444 | * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit | |
2445 | architecture number. | |
2446 | * scripttempl/elf.sc: Use $MACHINE definition if present. | |
2447 | * configure.tgt (targ_extra_emuls): Force 4100 build to use same | |
2448 | template as 4300. | |
2449 | ||
09328690 ILT |
2450 | Mon Apr 1 17:35:40 1996 Ian Lance Taylor <[email protected]> |
2451 | ||
2452 | * ldlang.c (lang_size_sections): Change region check to handle | |
2453 | regions which end at the highest possible address correctly. | |
2454 | From Roland Weber <[email protected]>. | |
23595ba5 ILT |
2455 | |
2456 | * ldlang.c (section_already_linked): New static function. | |
2457 | (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a | |
2458 | relocateable link. Don't worry about section being NULL, since it | |
2459 | never should be. Don't call init_os unless the section is going | |
2460 | to be added. | |
2461 | (ldlang_add_file): Call section_already_linked for each section. | |
2462 | * ldmain.c (multiple_definition): Don't warn about multiple | |
2463 | definitions in sections which are being discarded. | |
2464 | ||
ea461c67 SC |
2465 | Sun Mar 31 00:30:47 1996 steve chamberlain <[email protected]> |
2466 | ||
2467 | * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. | |
2468 | * emultempl/pe.em (init): Remove special case PPC code. | |
2469 | ||
0e88ffa2 JL |
2470 | Fri Mar 29 00:01:29 1996 Jeffrey A Law ([email protected]) |
2471 | ||
2472 | * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long | |
2473 | so as not to overwrite the magic syscall entry at 0xc4. | |
2474 | * scripttempl/h8300h.sc: Likewise. | |
2475 | ||
bacc1703 DE |
2476 | Thu Mar 28 11:05:47 1996 Doug Evans <[email protected]> |
2477 | ||
2478 | * configure.tgt (sparc64-*-solaris2*): Delete. | |
2479 | Stick with sparc-*-solaris2*. | |
2480 | ||
64664e69 ILT |
2481 | Wed Mar 27 12:33:24 1996 Ian Lance Taylor <[email protected]> |
2482 | ||
cf2e4f5f ILT |
2483 | * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". |
2484 | * ldlang.c (init_os): Fail on an attempt to initialize any section | |
2485 | named DISCARD_SECTION_NAME. | |
2486 | (wild_doit): Discard input sections assigned to an output section | |
2487 | named DISCARD_SECTION_NAME. | |
2488 | * ld.texinfo: Document use of /DISCARD/. | |
2489 | ||
64664e69 ILT |
2490 | * ldlang.c: Fix some indentation and comments. |
2491 | ||
28113e82 ILT |
2492 | Tue Mar 26 18:14:49 1996 Ian Lance Taylor <[email protected]> |
2493 | ||
2494 | * ldmain.c (main): Call bfd_set_error_program_name. | |
2495 | ||
8ef401e2 ILT |
2496 | Thu Mar 21 13:17:34 1996 Ian Lance Taylor <[email protected]> |
2497 | ||
28113e82 ILT |
2498 | * ld.texinfo: Fix a couple of indexing entries. Mention that |
2499 | --verbose displays builtin linker scripts. | |
2500 | ||
4bcc5d32 ILT |
2501 | * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, |
2502 | and the local symbol name does not match the filename, print the | |
2503 | filename as well. | |
2504 | ||
8ef401e2 ILT |
2505 | Patches from John Polstra <[email protected]> for FreeBSD ELF: |
2506 | * lexsup.c (parse_args): -Bshareable is a synonym for -shared. | |
2507 | * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same | |
2508 | as TEXT_START_ADDR. | |
2509 | ||
baaaf6f2 ILT |
2510 | Wed Mar 20 18:18:25 1996 Andreas Schwab <[email protected]> |
2511 | ||
2512 | * ld.texinfo: Fix typos. Use @pxref only inside parentheses. | |
2513 | ||
0f5898cc ILT |
2514 | Wed Mar 20 16:56:15 1996 Ian Lance Taylor <[email protected]> |
2515 | ||
2516 | * ldmain.c (add_wrap): New function. | |
2517 | * ldmain.h (add_wrap): Declare. | |
2518 | * lexsup.c (parse_args): Call add_wrap. | |
2519 | ||
60e42680 DE |
2520 | Tue Mar 19 16:44:20 1996 Doug Evans <[email protected]> |
2521 | ||
2522 | * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. | |
2523 | ||
deddae66 JL |
2524 | Wed Mar 13 17:47:31 1996 Jeffrey A Law ([email protected]) |
2525 | ||
2526 | * scripttempl/h8300.sc: Change name of page zero memory | |
2527 | from "null" to "vectors". Create an output section for | |
2528 | vectors. Add comments on how to explicitly place items | |
2529 | in the vector table. | |
2530 | * scripttempl/h8300h.sc: Likewise. | |
2531 | ||
5cb57c2c ILT |
2532 | Wed Mar 13 12:40:18 1996 Ian Lance Taylor <[email protected]> |
2533 | ||
96704ebc ILT |
2534 | * emultempl/lnk960.em (machine_table): Add jx and hx. |
2535 | ||
5cb57c2c ILT |
2536 | * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't |
2537 | support it. | |
2538 | ||
4b7d2399 ILT |
2539 | Tue Mar 12 12:43:59 1996 David Mosberger-Tang <[email protected]> |
2540 | ||
2541 | * ld.h (ld_config_type): Add warn_multiple_gp field. | |
2542 | * lexsup.c (parse_args): Handle --warn-multiple-gp. | |
2543 | * ldmain.c (warning_callback): Suppress multiple gp values warning | |
2544 | if --warn_multiple_gp was not used. | |
2545 | * ld.texinfo, ld.1: Document --warn-multiple-gp. | |
2546 | ||
02df835b ILT |
2547 | Tue Mar 12 12:02:21 1996 Ian Lance Taylor <[email protected]> |
2548 | ||
e3d73386 ILT |
2549 | * lexsup.c (parse_args): Handle --wrap. |
2550 | * ldmain.c (main): Initialize link_info.wrap_hash. | |
2551 | * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED | |
2552 | and NAME cases. | |
2553 | * ld.texinfo, ld.1: Document --wrap. | |
2554 | ||
ea2488ad ILT |
2555 | * configure: Rebuild with autoconf 2.8. |
2556 | ||
02df835b ILT |
2557 | Don't do SunOS style dynamic linking for sparc-aout: |
2558 | * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. | |
2559 | (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. | |
2560 | (sparc*-wrs-vxworks*): Likewise. | |
2561 | * emulparams/sparcaout.sh: New file. | |
2562 | * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. | |
2563 | (esparcaout.c): New target. | |
2564 | ||
2565 | Wed Mar 6 16:06:52 1996 J.T. Conklin <[email protected]> | |
2566 | ||
2567 | * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change | |
2568 | in a different manner to work around differences in shell variable | |
2569 | expansion. | |
2570 | ||
6771b6e2 ILT |
2571 | Wed Mar 6 18:08:18 1996 Ian Lance Taylor <[email protected]> |
2572 | ||
2573 | * ldemul.h (ldemul_unrecognized_file): Declare. | |
2574 | (ldemulation_xfer_type): Add unrecognized_file field. | |
2575 | * ldemul.c (ldemul_unrecognized_file): New function. | |
2576 | * ldlang.c (load_symbols): If a file can not be recognized, call | |
2577 | ldemul_unrecognized_file before trying it as a linker script. | |
2578 | * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static | |
2579 | function. | |
2580 | (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". | |
2581 | (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. | |
2582 | ||
3d0c8fa1 ILT |
2583 | Mon Mar 4 14:11:17 1996 Ian Lance Taylor <[email protected]> |
2584 | ||
2585 | * ldlang.c (wild): Handle foo.a(.text) by mapping each included | |
2586 | member of foo.a separately. From Jouke Numan <[email protected]>. | |
2587 | ||
16385918 ILT |
2588 | Fri Mar 1 10:24:59 1996 Andreas Schwab <[email protected]> |
2589 | ||
2590 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): | |
2591 | Search trinary.cond rather than searching trinary.lhs twice. | |
2592 | ||
e24b45a8 SS |
2593 | Tue Feb 27 15:08:43 1996 Stan Shebs <[email protected]> |
2594 | ||
2595 | * mpw-make.sed: Edit out shared library support. | |
2596 | (@TDIRS@): Edit out, can't use genscripts. | |
2597 | ||
228b04d2 ILT |
2598 | Tue Feb 27 15:09:21 1996 Andreas Schwab <[email protected]> |
2599 | ||
2600 | * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. | |
2601 | * emulparams/m68klinux.sh: New file. | |
2602 | * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): | |
2603 | Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of | |
2604 | bfd_linux_size_dynamic_sections. | |
2605 | * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. | |
2606 | (em68klinux.c): New target. | |
2607 | * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. | |
2608 | ||
3c8deccc ILT |
2609 | Tue Feb 27 12:55:46 1996 Ian Lance Taylor <[email protected]> |
2610 | ||
228b04d2 ILT |
2611 | * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. |
2612 | Fill in missing entries. | |
2613 | ||
3c8deccc ILT |
2614 | * lexsup.c (parse_args): Recognize --no-whole-archive. |
2615 | * ldlang.h (lang_input_statement_type): Add whole_archive field. | |
2616 | * ldlang.c (new_afile): Set whole_archive field. | |
2617 | (load_symbols): Check input file specific whole_archive field | |
2618 | rather than global variable. | |
2619 | * ld.texinfo, ld.1: Document --no-whole-archive. | |
2620 | ||
fc7b6582 ILT |
2621 | Tue Feb 20 16:07:00 1996 Ian Lance Taylor <[email protected]> |
2622 | ||
2623 | * configure.tgt: Correct gldi960 to gld960. | |
2624 | ||
c653b370 ILT |
2625 | Mon Feb 19 11:16:44 1996 Ian Lance Taylor <[email protected]> |
2626 | ||
169df8d5 ILT |
2627 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check |
2628 | the SONAME if it is available. | |
2629 | (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the | |
2630 | filename, when checking for conflicting library versions. Don't | |
2631 | assume that the suffix is only numbers and dots. | |
2632 | ||
c653b370 ILT |
2633 | * ld.texinfo: Mention that -R can be used for -rpath. |
2634 | ||
9e2ef098 ILT |
2635 | Sun Feb 18 15:05:17 1996 Ian Lance Taylor <[email protected]> |
2636 | ||
2637 | * configure.host: Check for 'do not mix' from native linker before | |
2638 | trying to use -rpath. | |
2639 | ||
ad43e45b ILT |
2640 | Thu Feb 15 13:58:06 1996 Ian Lance Taylor <[email protected]> |
2641 | ||
c99fbc42 ILT |
2642 | * configure.in: Remove explicit substitution of CFLAGS; autoconf |
2643 | does it anyhow. | |
2644 | * configure: Rebuild. | |
2645 | * Makefile.in (LDFLAGS): Set to @LDFLAGS@. | |
2646 | ||
7e19f60e ILT |
2647 | * configure.in: Call AC_PROG_CC before configure.host. |
2648 | * configure: Rebuild. | |
2649 | * configure.host: Remove go32 host, since it should no longer be | |
2650 | necessary. Don't set CC for romp host. | |
2651 | ||
22aa1302 ILT |
2652 | * scripttempl/elf.sc: Don't skip a page in virtual memory space if |
2653 | the text segment ends exactly on a page boundary. | |
2654 | ||
ad43e45b ILT |
2655 | * configure.in: Substitute RPATH_ENVVAR. |
2656 | * configure: Rebuild. | |
2657 | * configure.host: Set RPATH_ENVVAR. | |
2658 | * Makefile.in (RPATH_ENVVAR): New variable. | |
2659 | (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. | |
2660 | ||
95d31c3c ILT |
2661 | Wed Feb 14 18:49:01 1996 Alan Modra <[email protected]> |
2662 | ||
2663 | * configure.in: Redo emulation handling so that each emulation | |
2664 | searches the correct tool directory, based on the target alias. | |
2665 | For example, "configure --enable-targets=m68k-coff i386-linux" | |
2666 | will search /usr/local/i386-linux/lib for linux and | |
2667 | /usr/local/m68k-coff/lib for m68k-coff. | |
2668 | * configure: Rebuild. | |
2669 | * configure.tgt: Add special tdir settings for Linux. | |
2670 | * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} | |
2671 | for each eEMUL.c target. | |
2672 | * genscripts.sh: Accept specific alias as 9th argument, and use it | |
2673 | in LIB_PATH. | |
2674 | ||
307585f1 ILT |
2675 | Wed Feb 14 16:38:36 1996 Martin Anantharaman <[email protected]> |
2676 | ||
2677 | * ldlang.c (lang_set_startof): Don't do anything for a | |
2678 | relocateable link. | |
2679 | ||
2680 | * ldgram.y (mri_script_file): Call mri_draw_tree. | |
2681 | * mri.c (mri_draw_tree): Make globally visible. Don't bother to | |
2682 | create memory regions. | |
2683 | (mri_load): Don't call mri_draw_tree. | |
2684 | * mri.h (mri_draw_tree): Declare. | |
2685 | ||
2686 | * configure.tgt (m68*-*-psos): New target. | |
2687 | * emulparams/m68kpsos.sh: New file. | |
2688 | * scripttempl/psos.sc: New file. | |
2689 | * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. | |
2690 | (em68kpsos.c): New target. | |
2691 | ||
db3bfcd6 ILT |
2692 | Wed Feb 14 11:09:25 1996 Ian Lance Taylor <[email protected]> |
2693 | ||
95d31c3c ILT |
2694 | * configure.tgt (*-*-ieee*): New target; use vanilla. |
2695 | ||
db3bfcd6 ILT |
2696 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip |
2697 | `:foo' from ${ARCH}. | |
2698 | ||
9cb8a981 ILT |
2699 | Tue Feb 13 15:58:58 1996 Bryan Ford <[email protected]> |
2700 | ||
2701 | * scripttempl/i386msdos.sc: Don't pad the .text section. Put | |
2702 | .rodata in .data. | |
2703 | ||
62548927 ILT |
2704 | Tue Feb 13 14:04:19 1996 Ian Lance Taylor <[email protected]> |
2705 | ||
b6acf084 ILT |
2706 | * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. |
2707 | ||
62548927 ILT |
2708 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if |
2709 | it looks like we might be linking in two different versions of the | |
2710 | same shared library. Based on a patch from H J Lu <[email protected]>. | |
2711 | ||
708f7fbc ILT |
2712 | Thu Feb 8 19:25:54 1996 Ian Lance Taylor <[email protected]> |
2713 | ||
2714 | * ldlang.c (lang_size_sections): Increment the section size when a | |
2715 | padding statement is encountered. | |
2716 | ||
2e598345 ILT |
2717 | Wed Feb 7 14:01:33 1996 Ian Lance Taylor <[email protected]> |
2718 | ||
2719 | * configure.in: Look for --enable-shared. Change the value of | |
2720 | BFDLIB when linking against a shared library on SunOS. | |
2721 | * configure: Rebuild. | |
2722 | * configure.host: If using a shared BFD library, try to pass a | |
2723 | reasonable -rpath option when linking. | |
2724 | * Makefile.in (BFDLIB): Set to @BFDLIB@. | |
2725 | ||
2726 | Tue Feb 6 12:29:14 1996 Doug Evans <[email protected]> | |
2727 | ||
2728 | * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. | |
2729 | * emultempl/generic.em: Strip `:foo' from ${ARCH}. | |
2730 | ||
f8d48971 ILT |
2731 | Mon Feb 5 16:25:30 1996 Ian Lance Taylor <[email protected]> |
2732 | ||
2733 | Support for building bfd and opcodes as shared libraries, based on | |
2734 | patches from Alan Modra <[email protected]>: | |
2735 | * configure.in (HLDFLAGS): New substitution. | |
2736 | * configure: Rebuild. | |
2737 | * configure.host: Set HLDFLAGS on SunOS. | |
2738 | * Makefile.in (HLDFLAGS): New variable. | |
2739 | (BFDDEP): New variable. | |
2740 | (BFDLIB): Change to -L../bfd -lbfd. | |
2741 | ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use | |
2742 | $(HLDFLAGS) in link. | |
2743 | (check): Set LD_LIBRARY_PATH in the environment. | |
2744 | ||
2745 | Fri Feb 2 19:26:25 1996 Michael Meissner <[email protected]> | |
2746 | ||
2747 | * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss | |
2748 | in the read-only section, not read/write unless we are making a | |
2749 | shared library. | |
2750 | (.debug*): Add dwarf debug sections. | |
2751 | (.rela.{sdata*,sbss*}): Add sections. | |
2752 | ||
ae9120f9 ILT |
2753 | Fri Feb 2 16:50:21 1996 Ian Lance Taylor <[email protected]> |
2754 | ||
2755 | * configure: Regenerate. | |
2756 | ||
48766668 ILT |
2757 | Thu Feb 1 10:50:46 1996 Ian Lance Taylor <[email protected]> |
2758 | ||
be54c2b6 ILT |
2759 | * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, |
2760 | for SVR4 compatibility. | |
2761 | ||
48766668 ILT |
2762 | * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. |
2763 | ||
923b8e0c SC |
2764 | Wed Jan 31 17:30:19 1996 Steve Chamberlain <[email protected]> |
2765 | ||
2766 | * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. | |
2767 | * emultempl/pe.em (definfo init): Make the default stack reserve | |
2768 | of a PPC larger. | |
2769 | ||
40ab9bb9 ILT |
2770 | Wed Jan 31 14:34:23 1996 Richard Henderson <[email protected]> |
2771 | ||
2772 | * configure.tgt (m68*-apple-aux*): New target. | |
2773 | * emulparams/m68kaux.sh: New file. | |
2774 | * scripttempl/m68kaux.sc: New file. | |
2775 | * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. | |
2776 | (em68kaux.c): New target. | |
2777 | ||
bc60f924 ILT |
2778 | Tue Jan 30 13:18:56 1996 Ian Lance Taylor <[email protected]> |
2779 | ||
2780 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore | |
2781 | -bnoentry, since the right thing tends to happen anyhow. | |
2782 | ||
4bdd9722 ILT |
2783 | Mon Jan 29 12:29:26 1996 Ian Lance Taylor <[email protected]> |
2784 | ||
2785 | * ld.texinfo, ld.1: Document -export-dynamic. | |
2786 | ||
2787 | Fri Jan 26 11:11:55 1996 Andreas Schwab <[email protected]> | |
2788 | ||
2789 | * emultempl/sunos.em: Check for native compile by comparing | |
2790 | ${target} and ${host}. | |
2791 | ||
de8d1609 JSC |
2792 | Thu Jan 25 16:46:58 1996 James G. Smith <[email protected]> |
2793 | ||
2794 | * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed | |
2795 | TEXT_START_ADDR to allow use on IDT and PMON systems. | |
2796 | ||
1759ad4d SC |
2797 | Wed Jan 24 20:59:40 1996 Steve Chamberlain <[email protected]> |
2798 | ||
2799 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): | |
2800 | correct spelling. | |
2801 | ||
b0cc94a1 DE |
2802 | Wed Jan 24 16:59:19 1996 Doug Evans <[email protected]> |
2803 | ||
2804 | * configure.tgt (sparc64-*-solaris2*): New configuration. | |
2805 | (sparc64-*-aout*): Renamed from sparc64*. | |
2806 | ||
7df4ba26 ILT |
2807 | Mon Jan 22 13:01:35 1996 Andreas Schwab <[email protected]> |
2808 | ||
2809 | * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. | |
2810 | * genscripts.sh: Set host, target and target_alias variables. | |
2811 | Check for native compile by comparing ${target} and ${host}. | |
2812 | * emultempl/elf32.em: Likewise. | |
2813 | * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. | |
2814 | ||
4d99a950 MM |
2815 | Mon Jan 22 11:03:23 1996 Michael Meissner <[email protected]> |
2816 | ||
2817 | * scripttempl/elfppc.sc: Refine eabi support to better support | |
2818 | .sdata, .sdata2, .sbss, etc. sections. | |
2819 | ||
a411bea0 ILT |
2820 | Tue Jan 16 15:16:58 1996 Ian Lance Taylor <[email protected]> |
2821 | ||
2822 | * ldgram.y (%union): Add phdr field. | |
2823 | (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. | |
2824 | (phdr_qualifiers): New nonterminal. Add support for FLAGS. | |
2825 | (opt_hdrs, hdr): Remove. | |
2826 | (phdr_val): New nonterminal. | |
2827 | * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr | |
2828 | and phdrs parameters. Add flags parameter. | |
2829 | (lang_record_phdrs): Update for changes to lang_phdr. Pass flags | |
2830 | to bfd_record_phdr. | |
2831 | * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and | |
2832 | phdrs fields. Add flags field. | |
2833 | (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. | |
2834 | (lang_new_phdr): Update declaration. | |
2835 | * ld.texinfo: Document FLAGS. | |
2836 | ||
fe1379d4 ILT |
2837 | Mon Jan 15 15:07:19 1996 Ian Lance Taylor <[email protected]> |
2838 | ||
0bc9a7d2 ILT |
2839 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): |
2840 | Don't make a shared library because of an undefined reference to | |
2841 | __GLOBAL_OFFSET_TABLE_. | |
2842 | ||
fe1379d4 ILT |
2843 | Add some Irix 5 support, mostly from Kazumoto Kojima |
2844 | <[email protected]>: | |
2845 | * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. | |
2846 | (SHLIB_TEXT_START_ADDR): Define. | |
2847 | (OTHER_GOT_SYMBOLS): Define. | |
2848 | (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. | |
2849 | (EXECUTABLE_SYMBOLS): Don't define. | |
2850 | (DYNAMIC_LINK): Don't define. | |
2851 | * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. | |
2852 | * scripttempl/elfmips.sc: New file. | |
2853 | * configure.host (mips*-dec-bsd*): Change mips to mips*. | |
2854 | (mips*-sgi-irix4*): Likewise. | |
2855 | (mips*-sgi-irix5*): New entry. | |
2856 | * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than | |
2857 | elf.sc. | |
2858 | (eelf32lmip.c): Likewise. | |
2859 | ||
be03dc3e MM |
2860 | Sat Jan 13 09:41:43 1996 Michael Meissner <[email protected]> |
2861 | ||
2862 | * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add | |
2863 | .rela.got.neg section. | |
2864 | ||
23cb3b65 ILT |
2865 | Fri Jan 12 14:56:19 1996 Ian Lance Taylor <[email protected]> |
2866 | ||
2afa4f21 ILT |
2867 | * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. |
2868 | ||
23cb3b65 ILT |
2869 | * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if |
2870 | ANSI_PROTOTYPES is defined. Remove special handling of | |
2871 | WINDOWS_NT. Various indendation fixes. | |
2872 | (vfinfo): Change fmt parameter to const char *. | |
2873 | (info_msg): Write <stdarg.h> version. | |
2874 | (einfo, minfo, finfo): Likewise. | |
2875 | (info_assert): Change file parameter to const char *. | |
2876 | * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is | |
2877 | defined, use a real prototype. | |
2878 | (info_assert): Change first parameter to be const char *. | |
2879 | ||
4fe13b2b MM |
2880 | Fri Jan 12 13:29:55 1996 Michael Meissner <[email protected]> |
2881 | ||
2882 | * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add | |
2883 | in old support that 2.7.2 needs, but the current compiler does | |
2884 | not. | |
2885 | ||
2886 | * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the | |
2887 | correct Linker script template. | |
2888 | ||
2889 | * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, | |
2890 | not 0x400000. | |
2891 | (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. | |
2892 | ||
37e46b8b ILT |
2893 | Tue Jan 9 15:53:02 1996 Ian Lance Taylor <[email protected]> |
2894 | ||
2895 | * scripttempl/alpha.sc: Put .rconst right after .rdata. | |
2896 | ||
d4279937 SC |
2897 | Fri Jan 5 14:07:45 1996 Steve Chamberlain <[email protected]> |
2898 | ||
2899 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): | |
2900 | sort using right pointer. | |
2901 | ||
9dee2948 MM |
2902 | Fri Jan 5 12:25:47 1996 Michael Meissner <[email protected]> |
2903 | ||
2904 | * scripttempl/elfppc.sc: Remove support for creating special | |
2905 | labels for eabi section begin/end here. The compiler now uses | |
2906 | crt{i,n}.o to create these symbols. | |
2907 | ||
ed1f99e7 ILT |
2908 | Thu Jan 4 17:08:58 1996 Ian Lance Taylor <[email protected]> |
2909 | ||
2910 | * configure.host: Change existing Linux HOSTING_CRT0 to be used | |
2911 | for a.out only, and put in appropriate HOSTING_CRT0 and | |
2912 | HOSTING_LIBS values for Linux ELF. | |
2913 | ||
5c5e420c DE |
2914 | Thu Jan 4 12:02:05 1996 Doug Evans <[email protected]> |
2915 | ||
2916 | * scripttempl/h8300.sc: Use all 64K for ram. | |
2917 | * scripttempl/h8300h.sc: Define 256K ram size. | |
2918 | ||
2919 | Thu Dec 21 15:57:18 1995 Ian Lance Taylor <[email protected]> | |
2920 | ||
2921 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass | |
2922 | export_defines as true to bfd_xcoff_size_dynamic_sections if -unix | |
2923 | was used, regardless of whether -bE was used. | |
2924 | ||
67cf6778 ILT |
2925 | Tue Dec 19 17:35:38 1995 Ian Lance Taylor <[email protected]> |
2926 | ||
2927 | * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set | |
2928 | relocateable before calling ldctor_build_sets if the output file | |
2929 | is in an XCOFF format. | |
2930 | ||
4fc151e9 ILT |
2931 | Fri Dec 15 16:34:36 1995 Ian Lance Taylor <[email protected]> |
2932 | ||
2933 | * ldwrite.c (build_link_order): When handling a data statement, if | |
2934 | the endianness of the output file is unknown, use the endianness | |
2935 | of the input file. | |
2936 | ||
d8d4a450 SS |
2937 | Tue Dec 12 13:55:41 1995 Stan Shebs <[email protected]> |
2938 | ||
2939 | * mpw-config.in: Recognize mips-*-* as equivalent to | |
2940 | mips-idt-ecoff. | |
2941 | * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. | |
2942 | * mpw-ld.r: Add version resources. | |
2943 | (cfrg): Use symbolic instead of literal name for executable. | |
2944 | ||
9499591f KK |
2945 | Mon Dec 11 15:13:41 1995 Kim Knuttila <[email protected]> |
2946 | ||
2947 | * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. | |
2948 | ||
e8bb9a12 DE |
2949 | Wed Dec 6 14:33:50 1995 Doug Evans <[email protected]> |
2950 | ||
2951 | * ldlang.c (print_statement{,s}): Delete duplicate prototype. | |
2952 | (print_statement_list): Renamed from print_statement. All callers | |
2953 | updated. | |
2954 | (print_statement): New function to print just one statement. | |
2955 | (print_{data,reloc,padding}_statement): Don't crash if | |
2956 | output_section == NULL. | |
2957 | (dprint_statement): New function. | |
2958 | ||
95b3cb6b DE |
2959 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix |
2960 | call to sort_sections. | |
2961 | ||
04215033 ILT |
2962 | Wed Dec 6 14:59:06 1995 Ian Lance Taylor <[email protected]> |
2963 | ||
9430b933 ILT |
2964 | * emultempl/aix.em (unix_ld): New static variable. |
2965 | (gld${EMULATION_NAME}_parse_args): Handle -unix. | |
2966 | (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass | |
2967 | gc as false and export_defineds as true to size_dynamic_sections. | |
2968 | ||
04215033 ILT |
2969 | * ldexp.c (exp_fold_tree): Permit assignments to dot in the final |
2970 | phase if the current section is abs_output_section. | |
2971 | ||
d4279937 SC |
2972 | |
2973 | Tue Dec 5 09:49:39 1995 Doug Evans <[email protected]> | |
2974 | ||
2975 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call | |
2976 | to sort_sections. | |
2977 | ||
061e65f8 ILT |
2978 | Fri Dec 1 16:48:36 1995 Ian Lance Taylor <[email protected]> |
2979 | ||
2980 | * ldgram.y (PHDRS): New token. | |
2981 | (ifile_p1): Accept phdrs. | |
2982 | (section): Accept phdr_opt at the end of the section definition. | |
2983 | (phdr_op): New nonterminal. | |
2984 | (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. | |
2985 | * ldlex.l: Accept PHDRS. | |
2986 | * ldlang.h (struct lang_output_section_phdr_list): Define. | |
2987 | (lang_output_section_statement_type): Add phdrs field. | |
2988 | (struct lang_phdr): Define. | |
2989 | (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. | |
2990 | (lang_new_phdr): Declare. | |
2991 | * ldlang.c (lang_phdr_list): New static variable. | |
2992 | (lang_output_section_statement_lookup): Initialize phdrs field. | |
2993 | (lang_process): Call lang_record_phdrs. | |
2994 | (lang_new_phdr): New function. | |
2995 | (lang_section_in_phdr): New function. | |
2996 | (lang_record_phdrs): New static function. | |
2997 | * ld.texinfo: Document PHDRS. | |
2998 | ||
d611a82e KK |
2999 | Thu Nov 30 13:14:30 1995 Kim Knuttila <[email protected]> |
3000 | ||
3001 | * scripttempl/ppcpe.sc: Moved .edata into its own section to | |
3002 | expose it. | |
3003 | ||
e7f2e923 ILT |
3004 | Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
3005 | ||
3006 | * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and | |
3007 | HOSTING_LIBS for testing. | |
3008 | (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for | |
3009 | testing. | |
3010 | ||
5aca4058 ILT |
3011 | Tue Nov 28 12:14:53 1995 Ian Lance Taylor <[email protected]> |
3012 | ||
3013 | * lexsup.c (parse_args): Set config.dynamic_link to false for -N | |
3014 | and -n. | |
3015 | ||
6a4667f4 ILT |
3016 | Mon Nov 27 13:12:09 1995 Ian Lance Taylor <[email protected]> |
3017 | ||
3018 | * configure: Rebuild with autoconf 2.7. | |
3019 | ||
d87e370b DE |
3020 | Fri Nov 24 18:35:35 1995 Doug Evans <[email protected]> |
3021 | ||
3022 | * scripttempl/pe.sc: Two .junk's is too much junk. | |
3023 | ||
13eb3290 ILT |
3024 | Tue Nov 21 16:14:32 1995 Ian Lance Taylor <[email protected]> |
3025 | ||
caf2a913 ILT |
3026 | * configure.in: Use BFD_NEED_DECLARATION. |
3027 | * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. | |
3028 | * configure, config.in: Rebuild with autoconf 2.6. | |
3029 | ||
13eb3290 | 3030 | * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR |
6a4667f4 | 3031 | being unsupported if this is not a relocateable link and the input |
13eb3290 ILT |
3032 | BFD supports it, since ldctor_build_sets can cope with that case. |
3033 | ||
3034 | Fri Nov 17 16:23:15 1995 Stan Shebs <[email protected]> | |
3035 | ||
3036 | * configure.tgt (powerpc-*-macos*): New target. | |
3037 | * emulparams/ppcmacos.sh: New file, PowerMac emulation. | |
3038 | * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. | |
3039 | (eppcmacos.c): New target. | |
3040 | * mpw-eppcmacos.c: Update. | |
3041 | * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. | |
3042 | ||
dfc84b08 ILT |
3043 | Fri Nov 17 10:37:27 1995 Ian Lance Taylor <[email protected]> |
3044 | ||
3045 | * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not | |
3046 | $(host_canonical) and $(target_canonical). | |
3047 | (CXX_FOR_TARGET): Likewise. | |
3048 | ||
c4a14eef DE |
3049 | Thu Nov 16 11:23:42 1995 Doug Evans <[email protected]> |
3050 | ||
3051 | * scripttempl/pe.sc (.endjunk): Move definition of `end' to here | |
3052 | so the malloc heap begins at a sane place. | |
3053 | ||
b218076e KR |
3054 | Thu Nov 16 03:09:32 1995 Ken Raeburn <[email protected]> |
3055 | ||
3056 | Version 2.6 released. | |
3057 | * ldver.c (ldversion): Update to 2.6. | |
3058 | ||
3059 | * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not | |
3060 | $(GENERATED_*FILES), since they need to be retained by distclean. | |
3061 | (maintainer-clean, realclean): Delete them here. | |
3062 | ||
20406675 ILT |
3063 | Tue Nov 14 17:08:06 1995 Ian Lance Taylor <[email protected]> |
3064 | ||
b218076e KR |
3065 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the |
3066 | base file with FOPEN_WB, not "w". | |
3067 | ||
20406675 ILT |
3068 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the |
3069 | environment variable LD_RUN_PATH if neither -rpath nor -rpath-link | |
3070 | were used. | |
3071 | (gld${EMULATION_NAME}_before_allocation): Use the environment | |
3072 | variable LD_RUN_PATH if -rpath was not used. | |
3073 | * ld.texinfo, ld.1: Document LD_RUN_PATH. | |
3074 | ||
97121c41 ILT |
3075 | Thu Nov 9 13:09:29 1995 Ian Lance Taylor <[email protected]> |
3076 | ||
20406675 ILT |
3077 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize |
3078 | -bl and -bloadmap options. | |
3079 | ||
7eb5ccf5 ILT |
3080 | * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, |
3081 | report a better error. | |
3082 | ||
97121c41 ILT |
3083 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add |
3084 | new local variable special_sections, and pass it to | |
3085 | size_dynamic_sections. Look through the results, and move the | |
3086 | sections around in the mapping so that they are defined correctly. | |
3087 | ||
9d3d323a ILT |
3088 | Wed Nov 8 11:40:59 1995 Ian Lance Taylor <[email protected]> |
3089 | ||
3090 | * ldemul.c (ldemul_default_target): Cast getenv return value. | |
3091 | ||
b2306582 KK |
3092 | Tue Nov 7 11:15:36 1995 Kim Knuttila <[email protected]> |
3093 | ||
9d3d323a ILT |
3094 | * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable |
3095 | Executable support. | |
3096 | * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable | |
3097 | support. | |
b2306582 KK |
3098 | |
3099 | * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. | |
3100 | * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. | |
3101 | ||
3102 | * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro | |
9d3d323a ILT |
3103 | (gld_$_before_allocation): added hooks for toc construction based |
3104 | on the above macro. | |
b2306582 | 3105 | |
e2ce2da8 ILT |
3106 | Tue Nov 7 11:47:23 1995 Ian Lance Taylor <[email protected]> |
3107 | ||
3108 | * ld.texinfo: The linker does not use _main as an entry point. | |
3109 | ||
36b72df3 ILT |
3110 | Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
3111 | ||
3112 | * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo | |
3113 | 0x2000 not 0x200. | |
3114 | ||
7ae3065c ILT |
3115 | Mon Nov 6 10:59:21 1995 Ian Lance Taylor <[email protected]> |
3116 | ||
92c71a0b ILT |
3117 | * configure.in: Add test for whether free must be declared. |
3118 | * sysdep.h: Declare free if necessary. Include "ansidecl.h". | |
3119 | * acconfig.h: Explain NEED_DECLARATION_FREE. | |
3120 | * configure, config.in: Rebuild. | |
3121 | ||
7ae3065c ILT |
3122 | * lexsup.c (parse_args): Take B:: out of shortopts. |
3123 | ||
bd329d41 KR |
3124 | Sun Nov 5 03:08:28 1995 Ken Raeburn <[email protected]> |
3125 | ||
3126 | * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 | |
3127 | for now, as with m68k4kbsd, until shared library support gets | |
3128 | done. | |
3129 | ||
3130 | * configure.host: For i386 BSD variants, crt0.o lives in | |
3131 | /usr/lib. (True for NetBSD at least, unconfirmed for others.) | |
3132 | ||
63982998 ILT |
3133 | Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
3134 | ||
3135 | * Makefile.in (ALL_EMULATIONS): Add edelta68.o. | |
3136 | (edelta68.c): New target. | |
92188bd2 | 3137 | * configure.tgt (m68*-motorola-sysv*): New target. |
63982998 ILT |
3138 | * emulparams/delta68.sh: New file. |
3139 | * scripttempl/delta68.sc: New file. | |
3140 | ||
3141 | * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section | |
3142 | addresses. | |
3143 | ||
2a80ec10 ILT |
3144 | Wed Nov 1 11:41:56 1995 Ian Lance Taylor <[email protected]> |
3145 | ||
ef51e36a ILT |
3146 | * ldgram.y (mri_script_command): Accept ',' as well as '=' in |
3147 | ALIGN and ALIGNMOD statements. | |
3148 | ||
2a80ec10 ILT |
3149 | * emultempl/aix.em: Include ldgram.h. |
3150 | (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on | |
3151 | AIX 4.1. | |
3152 | * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. | |
3153 | ||
02a5d235 ILT |
3154 | Tue Oct 31 18:22:24 1995 David Mosberger-Tang <[email protected]> |
3155 | ||
3156 | * configure.host (alpha-*-linux*): New host. | |
3157 | * configure.tgt (alpha-*-linux*): New target. | |
3158 | ||
5666490b ILT |
3159 | Tue Oct 31 12:36:52 1995 Ian Lance Taylor <[email protected]> |
3160 | ||
3161 | * emultempl/aix.em (export_files): Remove. | |
3162 | (import_files): Make static. | |
3163 | (struct export_symbol_list): Define. | |
3164 | (export_symbols): New static variable. | |
3165 | (gld${EMULATION_NAME}_parse_args): Handle an initial -b option | |
3166 | correctly. Call read_file for an export file. | |
3167 | (gld${EMULATION_NAME}_before_allocation): Call | |
3168 | bfd_xcoff_export_symbol for each export symbol, rather than | |
3169 | calling read_file for each export file. | |
3170 | (gld${EMULATION_NAME}_read_file): For an export file, make the | |
3171 | exported symbols undefined, and store them on the export_symbols | |
3172 | list. | |
3173 | ||
2543860d SC |
3174 | Sat Oct 28 00:10:03 1995 steve chamberlain <[email protected]> |
3175 | ||
3176 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): | |
3177 | Don't hang if last option is unrecognised. | |
3178 | (gld_${EMULATION_NAME}_set_symbols): Insert created | |
3179 | symbols into ABS output section. | |
3180 | ||
d0ae7d95 NH |
3181 | Fri Oct 27 18:03:17 1995 Niklas Hallqvist <[email protected]> |
3182 | ||
3183 | * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD | |
3184 | m68k4k arch. | |
3185 | (em68k4knbsd.c): New rule. | |
3186 | ||
3187 | * configure.tgt: Added support for the NetBSD m68k4k arch. | |
3188 | ||
3189 | * genscripts.sh, ldint.texinfo, | |
3190 | emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, | |
3191 | gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, | |
3192 | hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, | |
3193 | i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, | |
3194 | m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, | |
2e71dfc0 | 3195 | pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, |
d0ae7d95 NH |
3196 | st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed |
3197 | PAGE_SIZE to TARGET_PAGE_SIZE. | |
3198 | ||
3199 | * emulparams/m68knbsd.h: Ditto. | |
3200 | (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. | |
3201 | (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time | |
3202 | being. | |
3203 | ||
3204 | * emulparams/m68k4knbsd.sh: New file. | |
3205 | ||
3206 | * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. | |
3207 | ||
cf79773c ILT |
3208 | Fri Oct 27 17:59:09 1995 Ian Lance Taylor <[email protected]> |
3209 | ||
3210 | * emultempl/aix.em: Include ldctor.h. | |
3211 | (gld${EMULATION_NAME}_after_open): New static function. | |
3212 | (gld${EMULATION_NAME}_before_allocation): Call find_relocs. | |
3213 | (gld${EMULATION_NAME}_find_relocs): New static function. | |
3214 | (gld${EMULATION_NAME}_find_exp_assignment): New static function. | |
3215 | (ld_${EMULATION_NAME}_emulation): Use new after_open function. | |
3216 | * scripttempl/aix.sc: Use CONSTRUCTORS in .data. | |
3217 | * ldctor.c (struct set_info): Move definition into ldctor.h. | |
3218 | (struct set_element): Likewise. | |
3219 | (sets): Make non-static. | |
3220 | (ldctor_add_set_entry): Add name parameter. Save it in the new | |
3221 | set element. | |
3222 | (ldctor_build_sets): Avoid being called twice. Pass set element | |
3223 | name to lang_add_reloc. | |
3224 | * ldctor.h (struct set_info): Move definition here from ldctor.c. | |
3225 | (struct set_element): Likewise. Add new field name. | |
3226 | (sets): Declare. | |
3227 | (ldctor_add_set_entry): Declare new name parameter. | |
3228 | * ldwrite.c (build_link_order): Don't insist that either name or | |
3229 | section be NULL in a lang_reloc_statement. | |
3230 | * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for | |
3231 | new name parameter. | |
3232 | (constructor_callback): Pass name to ldctor_add_new_set_entry for | |
3233 | new name parameter. | |
3234 | ||
3235 | * ldmisc.c (demangle): Fix indentation. Remove a leading period. | |
3236 | ||
49af8a4e SS |
3237 | Thu Oct 26 22:22:49 1995 Stan Shebs <[email protected]> |
3238 | ||
3239 | * mpw-config.in: Add PowerMac target support, generate config.h. | |
3240 | * mac-ld.r: New file, Mac resources. | |
3241 | * mpw-make.sed: New file, edits Makefile.in into MPW syntax. | |
3242 | * mpw-make.in: Remove. | |
3243 | * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. | |
3244 | ||
328e5a48 ILT |
3245 | Thu Oct 26 14:11:26 1995 Ian Lance Taylor <[email protected]> |
3246 | ||
c7c8b500 ILT |
3247 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat |
3248 | -static as a synonym for -bnso. | |
3249 | ||
328e5a48 ILT |
3250 | * scripttempl/aix.sc: Move special symbols inside sections. |
3251 | Always start .data at 0. | |
3252 | ||
8a8965f1 PB |
3253 | Wed Oct 25 11:52:12 1995 Per Bothner <[email protected]> |
3254 | ||
3255 | * Makefile.in (diststuff): Also make info. | |
3256 | (maintainer-clean realclean): Also delete *.info*. | |
3257 | ||
e54bf1c1 ILT |
3258 | Wed Oct 25 11:27:25 1995 Ian Lance Taylor <[email protected]> |
3259 | ||
7d6439d9 ILT |
3260 | * emultempl/aix.em: Add support for various AIX linker options, |
3261 | for AIX import and export files, and for AIX shared objects. | |
3262 | * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. | |
3263 | ||
3264 | * ldmain.c (main): Initialize new field link_info.static_link. | |
3265 | ||
3266 | * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. | |
3267 | (constructor_callback): Likewise. | |
3268 | * ldmisc.c (vfinfo): Likewise. | |
3269 | * ldwrite.c (build_link_order): Likewise. | |
3270 | ||
e54bf1c1 ILT |
3271 | * ld.texinfo: The MRI ALIGN directive is supported. |
3272 | ||
3273 | Mon Oct 23 11:46:43 1995 James G. Smith <[email protected]> | |
3274 | ||
3275 | * emulparams/elf32vr4300.sh: Deleted. | |
3276 | * emulparams/elf32vr4300el.sh: Deleted. | |
3277 | * emulparams/elf32b4300.sh: Added. | |
3278 | * emulparams/elf32l4300.sh: Added. | |
3279 | * configure.tgt, Makefile.in: Updated the build to use the | |
3280 | new 8.3 unique names. | |
3281 | ||
5e8e7e66 ILT |
3282 | Thu Oct 19 17:41:46 1995 Ian Lance Taylor <[email protected]> |
3283 | ||
e54bf1c1 ILT |
3284 | * ldlang.c (entry_symbol): Make non-static. |
3285 | * ldlang.h (entry_symbol): Declare. | |
3286 | ||
5e8e7e66 ILT |
3287 | * ldlex.l: Treat PROVIDE as a keyword in expression state. |
3288 | ||
9c284f3f SC |
3289 | Wed Oct 18 17:34:06 1995 steve chamberlain <[email protected]> |
3290 | ||
3291 | * scripttempl/pe.sc (.bss): Move to be after .text | |
3292 | ||
03165292 ILT |
3293 | Tue Oct 17 12:22:05 1995 Ian Lance Taylor <[email protected]> |
3294 | ||
5df68a88 ILT |
3295 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): |
3296 | Search trinary.cond rather than searching trinary.lhs twice. From | |
3297 | [email protected]. | |
3298 | ||
235c6a67 ILT |
3299 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move |
3300 | directory searching code into gld${EMULATION_NAME}_search_dir. | |
3301 | (gld${EMULATION_NAME}_search_dir): New static function, extracted | |
3302 | from gld${EMULATION_NAME}_find_so. | |
3303 | (global_needed, global_found): New static variables. | |
3304 | (gld${EMULATION_NAME}_after_open): New static function. | |
3305 | (gld${EMULATION_NAME}_search_needed): New static function. | |
3306 | (gld${EMULATION_NAME}_try_needed): New static function. | |
3307 | (gld${EMULATION_NAME}_check_needed): New static function. | |
3308 | (ld_${EMULATION_NAME}_emulation): Use new after_open function. | |
3309 | * ld.texinfo, ld.1: Mention -rpath-link on SunOS. | |
3310 | ||
03165292 ILT |
3311 | * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. |
3312 | (eelf32lppc.c): Likewise. | |
3313 | * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. | |
3314 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
3315 | ||
b5f076d4 ILT |
3316 | Mon Oct 16 19:11:13 1995 Ian Lance Taylor <[email protected]> |
3317 | ||
3318 | * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named | |
3319 | bfd_link_needed-list; make appropriate changes. | |
3320 | ||
3321 | * configure.tgt (powerpc-*-aix*): New target; use aixppc. | |
3322 | (rs6000-*-aix*): New target; use aixrs6. | |
3323 | * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. | |
3324 | * emultempl/aix.em: New file. | |
3325 | * scripttempl/aix.sc: New file. | |
3326 | * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. | |
3327 | (eaixppc.c, eaixrs6.c): New targets. | |
3328 | ||
3329 | Fri Oct 13 14:00:37 1995 steve chamberlain <[email protected]> | |
3330 | ||
3331 | * scripttemp/pe.sc (.reloc): Move to the end. | |
3332 | ||
091824eb ILT |
3333 | Tue Oct 10 17:53:22 1995 Ian Lance Taylor <[email protected]> |
3334 | ||
3335 | * ldlang.c (lang_finish): Don't try to use an entry_symbol from a | |
3336 | section which was not linked into the final output. | |
3337 | ||
ef1d2d2e SC |
3338 | Tue Oct 10 10:17:22 1995 steve chamberlain <[email protected]> |
3339 | ||
3340 | * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix | |
3341 | fatal typos. | |
3342 | ||
5caef232 ILT |
3343 | Tue Oct 10 01:01:51 1995 Ian Lance Taylor <[email protected]> |
3344 | ||
3345 | * ld.h (args_type): Add rpath_link field. | |
3346 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for | |
3347 | required dependencies in rpath_link path. Only search | |
3348 | LD_LIBRARY_PATH when configured native. | |
3349 | * lexsup.c (parse_args): Recognize -rpath-link. | |
3350 | * ld.1, ld.texinfo: Document -rpath-link. | |
3351 | ||
776f2590 ILT |
3352 | Sat Oct 7 17:07:17 1995 Ian Lance Taylor <[email protected]> |
3353 | ||
3354 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
3355 | bother searching for needed libraries unless doing a final link. | |
3356 | ||
80165535 KR |
3357 | Fri Oct 6 16:26:16 1995 Ken Raeburn <[email protected]> |
3358 | ||
3359 | Mon Sep 25 22:49:32 1995 Andreas Schwab <[email protected]> | |
3360 | ||
3361 | * ld/ld.1: Fix formatting bugs. | |
3362 | ||
f054ce20 ILT |
3363 | Wed Oct 4 17:37:46 1995 Ian Lance Taylor <[email protected]> |
3364 | ||
3365 | * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. | |
3366 | * ldexp.h (exp_get_abs_int): Update declaration. | |
3367 | * ldlang.c (print_output_section_statement): Use fprintf_vma to | |
3368 | print return value of exp_get_abs_int. | |
3369 | ||
8055e7a8 ILT |
3370 | Mon Oct 2 13:56:09 1995 Ian Lance Taylor <[email protected]> |
3371 | ||
3372 | * emultempl/elf32.em (global_stat): New file static variable. | |
3373 | (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure | |
3374 | that the file has not already been included under another name. | |
3375 | (gld${EMULATION_NAME}_stat_needed): New static function. | |
3376 | ||
0b0642d6 ILT |
3377 | Fri Sep 29 12:00:18 1995 Doug Evans <[email protected]> |
3378 | ||
3379 | * scripttempl/armcoff.sc: Start .text at 0x8000. | |
3380 | Start .data at 0x40000. | |
3381 | ||
dd16b655 ILT |
3382 | Fri Sep 29 11:09:46 1995 Ian Lance Taylor <[email protected]> |
3383 | ||
0b0642d6 ILT |
3384 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If |
3385 | command_line.rpath is set, use it, rather than the -L options, to | |
3386 | build the rules section. | |
3387 | * ld.texinfo: Document this use of -rpath. | |
3388 | ||
dd16b655 ILT |
3389 | * lexsup.c (parse_args): Don't set link_info.shared for -assert |
3390 | pure-text. Pass true, not 1, to lang_add_entry. | |
3391 | * emultempl/sunos.em (find_assign): New static variable. | |
3392 | (found_assign): New static variable. | |
3393 | (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. | |
3394 | If not a relocateable link, and no start symbol was specified on | |
3395 | the command line, and there are any undefined symbols, set | |
3396 | link_info.shared. If link_info.shared is set, set the address of | |
3397 | the .text section to 0x20. | |
3398 | (gld${EMULATION_NAME}_find_assignment): Rename from | |
3399 | gld${EMULATION_NAME}_find_statement_assignment. If find_assign is | |
3400 | set, then just set found_assign based on whether an assignment is | |
3401 | found to find_assign. | |
3402 | (gld${EMULATION_NAME}_get_script): Don't use a special script when | |
3403 | producing a shared library. | |
3404 | * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. | |
3405 | * scripttempl/aout.sc: Remove CREATE_SHLIB tests. | |
3406 | * ldlang.c (entry_from_cmdline): New global variable. | |
3407 | (lang_add_entry): Change cmdline parameter from int to boolean. | |
3408 | Use global entry_from_cmdline rather than function static | |
3409 | from_cmdline. | |
3410 | * ldlang.h (entry_from_cmdline): Declare. | |
3411 | (lang_add_entry): Change declaration of second parameter from int | |
3412 | to boolean. | |
3413 | * ldgram.y: Pass false, not 0, to lang_add_entry. | |
3414 | ||
5753006b ILT |
3415 | Thu Sep 28 12:34:13 1995 Ian Lance Taylor <[email protected]> |
3416 | ||
630f4ac9 ILT |
3417 | * ld.h (parsing_defsym): Declare. |
3418 | * ldlex.h (lex_string): Declare. | |
3419 | * ldlex.l (lex_string): Define. | |
3420 | * lexsup.c (parsing_defsym): Define. | |
3421 | (parse_args): In OPTION_DEFSYM case, set lex_string before calling | |
3422 | lex_redirect, and clear it after calling yyparse. Set | |
3423 | parsing_defsym around call to yyparse. | |
3424 | * ldmain.c (main): Set lex_string before calling lex_redirect, and | |
3425 | clear it after calling yyparse. | |
3426 | * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built | |
3427 | in linker scripts correctly. | |
3428 | ||
a69bb1fa ILT |
3429 | * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other |
3430 | COFF targets, allowing for the leading underscore used on SPARC | |
3431 | COFF. | |
3432 | ||
5753006b ILT |
3433 | * lexsup.c (parse_args): Handle -assert. |
3434 | * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. | |
3435 | * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the | |
3436 | shared library script when appropriate. | |
3437 | * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text | |
3438 | section at SIZEOF_HEADERS. | |
3439 | ||
132dd910 DE |
3440 | Thu Sep 28 01:40:37 1995 Doug Evans <[email protected]> |
3441 | ||
3442 | * Makefile.in (earmcoff.c): Build. | |
3443 | * configure.tgt (arm-*-coff): New target | |
3444 | * emulparms/armcoff.sh: New file. | |
3445 | * scripttempl/armcoff.sc: New file. | |
3446 | ||
ef898239 ILT |
3447 | Tue Sep 26 10:59:32 1995 Ian Lance Taylor <[email protected]> |
3448 | ||
3449 | * scripttempl/i386coff.sc: Remove .data2; no longer needed. | |
3450 | ||
8dd03673 ILT |
3451 | Fri Sep 22 18:09:02 1995 Ian Lance Taylor <[email protected]> |
3452 | ||
3453 | * ldfile.c (ldfile_set_output_arch): Make arch const. | |
3454 | ||
7453a753 MM |
3455 | Thu Sep 21 17:55:24 1995 Michael Meissner <[email protected]> |
3456 | ||
3457 | * scripttempl/elfppc.sc: Correctly locate __bss_start at the | |
3458 | beginning of the .bss area, not at the end of data. Add | |
3459 | __sbss_{start,end} symbols. | |
3460 | ||
3461 | Wed Sep 20 12:29:36 1995 Ian Lance Taylor <[email protected]> | |
3462 | ||
3463 | * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). | |
3464 | (CXX_FOR_TARGET, install): Likewise. | |
3465 | ||
208bc89e ILT |
3466 | Mon Sep 18 14:53:22 1995 Ian Lance Taylor <[email protected]> |
3467 | ||
3468 | Based on patches by Alan Modra <[email protected]>: | |
3469 | * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. | |
3470 | (CXX_FOR_TARGET): Likewise. | |
3471 | (install): Likewise. | |
3472 | (GENERATED_HFILES): Remove config.h. | |
3473 | (.dep): Depend upon config.h. | |
3474 | ||
08879cde ILT |
3475 | Mon Sep 18 14:39:38 1995 Arne H. Juul <[email protected]> |
3476 | ||
3477 | * configure.tgt (mips*-dec-netbsd*): New target. | |
3478 | ||
db8beef4 KR |
3479 | Fri Sep 15 20:01:52 1995 Ken Raeburn <[email protected]> |
3480 | ||
3481 | * configure.host (m88*-*-dgux*): Fix another shell syntax error. | |
3482 | ||
3483 | Fri Sep 15 23:28:05 1995 Andrew Cagney <[email protected]> | |
3484 | ||
208bc89e | 3485 | * configure.host (i[345]86-*-bsd*): Fix shell syntax error. |
db8beef4 | 3486 | |
cf7f2f71 | 3487 | Thu Sep 12 12:50:49 1995 steve chamberlain <[email protected]> |
20a753df SC |
3488 | |
3489 | * scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. | |
3490 | Start .text section on the right boundary. Always align | |
3491 | stabs. | |
3492 | ||
b75d0928 ILT |
3493 | Tue Sep 12 12:24:17 1995 Ian Lance Taylor <[email protected]> |
3494 | ||
4977f3b4 ILT |
3495 | * Makefile.in (maintainer-clean): New target. |
3496 | ||
cf7f2f71 ILT |
3497 | * ldmain.c (struct warning_callback_info): Define. |
3498 | (warning_callback): Add new parameter symbol. Call | |
3499 | warning_find_reloc to try to find the section and VMA. | |
3500 | (warning_find_reloc): New static function. | |
3501 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
3502 | Pass NULL as symbol parameter to warning callback. | |
3503 | ||
cca520b5 ILT |
3504 | * ld.texinfo: Clarify -L option. |
3505 | ||
b75d0928 ILT |
3506 | * ldlang.c (lang_one_common): Add cast to avoid warning. |
3507 | (topower): Likewise. Also, reindent. | |
3508 | * ldwrite.c (clone_section): Change i to unsigned int. | |
3509 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add | |
3510 | cast to avoid warning. | |
3511 | ||
673f5b9f ILT |
3512 | Fri Sep 8 16:32:43 1995 Ian Lance Taylor <[email protected]> |
3513 | ||
ed753c20 ILT |
3514 | * Makefile.in (config.status): Depend upon configure.tgt. |
3515 | ||
62b4ac8b ILT |
3516 | * ldemul.h (ldemul_set_symbols): Declare. |
3517 | (ldemul_parse_args): Declare. | |
3518 | * ldemul.c (ldemul_parse_args): Fix indentation. | |
3519 | ||
b8345a37 ILT |
3520 | * configure.in: Call AC_HEADER_DIRENT. |
3521 | * configure, config.in: Rebuild. | |
3522 | * emultempl/sunos.em: Use autoconf recommend mechanism to define | |
3523 | DIR and struct dirent. | |
3524 | ||
d62ef165 ILT |
3525 | * configure.tgt (mips*-*-bsd*): New case. |
3526 | ||
673f5b9f ILT |
3527 | * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) |
3528 | New case. | |
3529 | * configure.tgt (i[345]86-*-ptx*): New case. | |
3530 | ||
9d325543 ILT |
3531 | Thu Sep 7 10:48:26 1995 Ian Lance Taylor <[email protected]> |
3532 | ||
ef346f1a ILT |
3533 | * config.in: Rename from config.h.in. |
3534 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
3535 | Check for config.h:config.in when creating stamp-h. | |
3536 | * configure: Rebuild. | |
3537 | * Makefile.in (stamp-h): Depend upon config.in rather than | |
3538 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
3539 | calling config.status. | |
3540 | ||
f40d9bc2 ILT |
3541 | * Makefile.in (distclean): Remove config.h and stamp-h. |
3542 | ||
36ea6198 ILT |
3543 | * configure.host (sparc-*-sunos64*): Remove. |
3544 | * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. | |
3545 | ||
9d325543 ILT |
3546 | * ldexp.c (exp_fold_tree): Don't warn about moving the location |
3547 | counter backward in the absolute section. | |
3548 | ||
3549 | Wed Sep 6 14:42:11 1995 Ian Lance Taylor <[email protected]> | |
3550 | ||
3551 | * configure.in: Rewrite to use autoconf. | |
3552 | * configure.host: New file. | |
3553 | * configure.tgt: New file. | |
3554 | * aclocal.m4: New file. | |
3555 | * configure: New file, built by autoconf. | |
3556 | * acconfig.h: New file. | |
3557 | * config.h.in: New file, built by autoheader. | |
3558 | * sysdep.h: New file. | |
3559 | * ld.h: Incorporate old contents of config.h. | |
3560 | * config.h: Remove. | |
3561 | * Makefile.in: Various changes for new configure script. Also: | |
3562 | (CC_FOR_BUILD): Remove. | |
3563 | (ldmain.o): Don't bother to ensure that EMUL is non-empty. | |
3564 | (dep.sed): Use @SRCDIR@, not @srcdir@. | |
3565 | * dep-in.sed: Use @SRCDIR@, not @srcdir@. | |
3566 | * genscripts.sh: Create ldscripts if it does not exist. | |
3567 | * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". | |
3568 | * mpw-esh.c, emultemp/*.em: Likewise. | |
3569 | * ldmain.c: Likewise. Include <ctype.h>. Don't try to set | |
3570 | HAVE_SBRK here. | |
3571 | * config/*.mt, config/*.mh: Remove. | |
3572 | ||
af0786b4 KR |
3573 | Tue Sep 5 14:55:24 1995 Ken Raeburn <[email protected]> |
3574 | ||
3575 | * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and | |
3576 | ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. | |
3577 | ||
3578 | Fri Sep 1 22:29:52 1995 Doug Evans <[email protected]> | |
3579 | ||
3580 | * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. | |
3581 | ||
f6feefe4 ILT |
3582 | Fri Sep 1 13:13:29 1995 Ian Lance Taylor <[email protected]> |
3583 | ||
3584 | * ldmain.c (warning_callback): Add abfd, section, and address | |
3585 | parameters. | |
3586 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
3587 | Change call to warning accordingly. | |
3588 | ||
3589 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not | |
3590 | relocateable and not shared, put .gnu.warning.SYMBOL sections into | |
3591 | the .text section. | |
3592 | ||
751b7dcc JSC |
3593 | Fri Sep 1 08:35:16 1995 James G. Smith <[email protected]> |
3594 | ||
3595 | * configure.in: Added mips*vr4300-idt-elf* and | |
3596 | mips*vr4300el-idt-elf* targets. | |
3597 | * Makefile.in: Added eelf32vr4300* targets. | |
3598 | * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. | |
3599 | * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. | |
3600 | ||
4dd284fa ILT |
3601 | Fri Sep 1 10:51:45 1995 Ian Lance Taylor <[email protected]> |
3602 | ||
3603 | * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe | |
3604 | <[email protected]>. | |
3605 | ||
5f8ac7e7 SC |
3606 | Thu Aug 31 16:37:07 1995 steve chamberlain <[email protected]> |
3607 | ||
3608 | * ldemul.c (ldemul_parse_args): New. | |
3609 | * ldemul.h (ld_emulation_xfer_struct): Add parse_args. | |
3610 | * lexsup.c (all pe stuff): Moved into pe.em | |
3611 | (parse_args): Call emulation arg parser. | |
3612 | * emultempl/pe.em (parse_args): handle PE specfic args. | |
3613 | ||
0b4fc03b ILT |
3614 | Thu Aug 31 17:01:37 1995 Ian Lance Taylor <[email protected]> |
3615 | ||
3616 | * ldlang.c (lang_memory_region_lookup): Don't use the first region | |
3617 | as the default region. Create a new region instead. | |
3618 | ||
3619 | Tue Aug 29 14:21:41 1995 steve chamberlain <[email protected]> | |
3620 | ||
3621 | * ldemul.c (ldemul_set_symbols): New function. | |
3622 | * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. | |
3623 | * ldmain.c (main): Add call to ldemul_set_symbols. | |
3624 | * lexsup.c (set_pe_value): New args. | |
3625 | (set_pe_name): New. | |
3626 | (parse_args): Cope with new set_pe_value args. | |
3627 | * emultempl/pe.em (set_symbols): New function. | |
3628 | (ld_emulation_xfer_struct): Add set_symbols. | |
3629 | * scripttempl/pe.sc: Use new symbols. | |
3630 | ||
3631 | Thu Aug 24 18:12:18 1995 Ian Lance Taylor ([email protected]) | |
3632 | ||
3633 | * lexsup.c (parse_args): Don't call set_default_dirlist for -O. | |
3634 | For -Y, ignore a leading `P,', and only call set_default_dirlist | |
3635 | after processing all the other arguments. | |
3636 | ||
6fd48357 SC |
3637 | Tue Aug 22 07:36:58 1995 steve chamberlain <[email protected]> |
3638 | ||
3639 | * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. | |
3640 | * emulparams/armpe.sh: Run PE script. | |
3641 | ||
011d93b3 SC |
3642 | Mon Aug 21 18:30:42 1995 steve chamberlain <[email protected]> |
3643 | ||
3644 | * ldmain.c (main): Remove PE stuff. | |
3645 | * lexsup.c (options): Load more PE options. | |
6fd48357 | 3646 | (set_pe_value): New function. |
011d93b3 | 3647 | |
eb7f87c5 SC |
3648 | Thu Aug 17 13:35:49 1995 steve chamberlain <[email protected]> |
3649 | ||
3650 | ||
3651 | * emultempl/{armpe.sc, i386pe.sc}: Deleted. | |
3652 | * emultempl/pe.sc: New file performs generic PE support and sorts | |
3653 | archive members. | |
3654 | * emulparams/{armpe.sh,i386pe.sh}: Use new file. | |
3655 | * scripttempl/{armpe.sc, i386pe.sc}: Deleted | |
3656 | * scripttempl/pe.sc: New. | |
3657 | * Makefile.in: Use new files. | |
3658 | ||
ed67cfa2 DE |
3659 | Thu Aug 17 14:46:34 1995 Doug Evans <[email protected]> |
3660 | ||
3661 | * scripttempl/h8500s.sc (.rdata): All data must go in data segment. | |
3662 | (.strings,.ctors,.dtors): Likewise. | |
3663 | ||
22cd79c5 SC |
3664 | Wed Aug 16 11:38:59 1995 steve chamberlain <[email protected]> |
3665 | ||
3666 | * scripttempl/armpe.sc: Always start code at 0x401000, even | |
3667 | if -r. | |
3668 | * ldwrite.c (strdup): New extern declaration. | |
3669 | * ldgram.y (atype): New rule to clarify type parsing. | |
3670 | * ldlang.c (init_os): Remove commented out code. | |
3671 | (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits | |
3672 | unless told not to by the link script. | |
3673 | ||
80fd1f45 ILT |
3674 | Wed Aug 16 11:45:11 1995 Ian Lance Taylor <[email protected]> |
3675 | ||
1d169acc ILT |
3676 | * ldlang.c (lang_set_startof): New static function. |
3677 | (lang_process): Call it. | |
3678 | ||
9b222190 ILT |
3679 | * ldgram.y: Tweak casesymlist to avoid bison errors. |
3680 | ||
80fd1f45 ILT |
3681 | * lexsup.c (parse_args): Accept -h as a synonym for --soname, for |
3682 | Solaris compatibility. | |
3683 | ||
3a473096 ILT |
3684 | Tue Aug 15 17:31:16 1995 Ian Lance Taylor <[email protected]> |
3685 | ||
3686 | * ldgram.y (YYDEBUG): If not defined, define as 1. | |
3687 | (CASE, EXTERN, START): New tokens. | |
3688 | (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. | |
3689 | (casesymlist): New nonterminal. | |
3690 | (extern_name_list): New nonterminal. | |
3691 | * ldlex.l: Accept lower case trailing base specifiers. Don't | |
3692 | ignore the first digit when the base is a suffix. Accept many | |
3693 | EXPRESSION state tokens in MRI state. Support MRI continuation | |
3694 | lines and MRI semicolon comments. Accept all MRI keywords in | |
3695 | lower case. Add CASE, EXTERN, and START MRI keywords. | |
3696 | ||
52a55937 KR |
3697 | Tue Aug 8 19:14:58 1995 Ken Raeburn <[email protected]> |
3698 | ||
3699 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc | |
3700 | instead of alloca. | |
3701 | ||
65d22248 C |
3702 | Tue Aug 8 15:24:05 1995 J.T. Conklin <[email protected]> |
3703 | ||
3704 | * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use | |
3705 | $r/../gcc/xgcc unless it is present. | |
3706 | ||
3707 | Thu Aug 3 11:56:22 1995 Ian Lance Taylor <[email protected]> | |
3708 | ||
3709 | * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text | |
3710 | when CONSTRUCTING. | |
3711 | * scripttempl/m68klynx.sc: Likewise. | |
3712 | * scripttempl/nw.sc: Likewise. | |
3713 | * scripttempl/sa29200.sc: Likewise. | |
3714 | * scripttempl/sparclynx.sc: Likewise. | |
3715 | ||
3716 | Fri Jul 28 12:02:23 1995 steve chamberlain <[email protected]> | |
3717 | ||
3718 | * emulparams/{z8001.sh, z8002.sh}: Fix typo. | |
3719 | ||
cc298fb9 KR |
3720 | Thu Jul 27 21:06:21 1995 Ken Raeburn <[email protected]> |
3721 | ||
3722 | * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. | |
3723 | ||
3724 | Thu Jul 27 15:26:28 1995 steve chamberlain <[email protected]> | |
3725 | ||
3726 | * scripttempl/i386pe.sc: Cope with constructors. | |
3727 | * scripttempl/z8ksim.sc: Deleted. | |
3728 | * scripttempl/z8000.sc: Resurrected as this, but | |
3729 | can handle z8001 and z8002 formats. | |
3730 | * emulparams/z8ksim.sh: Deleted. | |
3731 | * emulparams/{z8001.sh, z8002.sh}: New files. | |
3732 | * config/z8ksim.mt: Deleted | |
3733 | * config/z8k-coff.mt: New, generates both emulations. | |
3734 | ||
3735 | Tue Jul 25 14:53:02 1995 Ian Lance Taylor <[email protected]> | |
3736 | ||
3737 | * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using | |
3738 | %B, in case it is in an archive. | |
3739 | ||
59a0866d ILT |
3740 | Mon Jul 24 15:23:39 1995 Ian Lance Taylor <[email protected]> |
3741 | ||
3742 | * ldlang.c (lang_process): Call reset_memory_regions for each | |
3743 | relaxation pass. | |
3744 | ||
3745 | Fri Jul 21 22:49:44 1995 Michael Meissner <[email protected]> | |
3746 | ||
3747 | * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and | |
3748 | _SDA_BASE. | |
3749 | ||
d2c66084 KR |
3750 | Thu Jul 20 16:26:55 1995 Ken Raeburn <[email protected]> |
3751 | ||
3752 | * ldmain.c (constructor_callback): Allocate set_name in stack | |
3753 | frame, rather than always calling alloca with a fixed size. | |
3754 | ||
45bc7188 DE |
3755 | Wed Jul 19 16:21:43 1995 Doug Evans <[email protected]> |
3756 | ||
3757 | * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. | |
3758 | (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. | |
3759 | ||
242eee7a ILT |
3760 | Mon Jul 17 13:57:00 1995 Ian Lance Taylor <[email protected]> |
3761 | ||
45bc7188 DE |
3762 | * ldwrite.c (clone_section): Set the alignment of the clone |
3763 | section to that of the section being cloned. | |
3764 | ||
242eee7a ILT |
3765 | * ldwrite.c (split_sections): Don't split the first input section |
3766 | into a new output section. | |
3767 | ||
c7950dcc MM |
3768 | Sat Jul 15 00:26:35 1995 Michael Meissner <[email protected]> |
3769 | ||
3770 | * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. | |
3771 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
3772 | ||
8a0683c1 ILT |
3773 | Fri Jul 14 12:11:46 1995 Ian Lance Taylor <[email protected]> |
3774 | ||
63e1380d ILT |
3775 | * emultempl/mipsecoff.em (check_sections): Use %P, not %F. |
3776 | ||
8a0683c1 ILT |
3777 | * ldver.c (help): Update list of options to match currently |
3778 | supported list. | |
3779 | ||
047e0fcd ILT |
3780 | Thu Jul 13 13:52:10 1995 Ian Lance Taylor <[email protected]> |
3781 | ||
3782 | * emultempl/lnk960.em (ld_lnk960_emulation): Initialize | |
3783 | after_open field. | |
3784 | ||
3785 | * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; | |
3786 | it takes a size_t anyhow. | |
3787 | (exp_binop): Likewise. | |
3788 | (exp_trinop): Likewise. | |
3789 | (exp_unop): Likewise. | |
3790 | (exp_nameop): Likewise. | |
3791 | (exp_assop): Likewise. | |
3792 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
3793 | (init_os): Likewise. | |
3794 | (ldlang_add_undef): Likewise. | |
3795 | (insert_pad): Likewise. | |
3796 | * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to | |
3797 | bfd_size_type. | |
3798 | ||
3799 | * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. | |
3800 | ||
395ccfce ILT |
3801 | Wed Jul 12 11:32:22 1995 Ian Lance Taylor <[email protected]> |
3802 | ||
3803 | * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to | |
3804 | declaration. | |
3805 | (ld_emulation_xfer_type): Add search parameter to | |
3806 | open_dynamic_archive entry point. | |
3807 | * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. | |
3808 | * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and | |
3809 | make non-static. Change all callers to use new name. | |
3810 | (ldfile_open_file_search): Make static. If entry is dynamic, call | |
3811 | ldemul_open_dynamic_archive. | |
3812 | (ldfile_open_file): Don't call ldemul_open_dynamic_archive. | |
3813 | * ldfile.h (ldfile_open_file_search): Don't declare. | |
3814 | (ldfile_try_open_bfd): Declare. | |
3815 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
3816 | Accept search parameter. Don't search for a library, just look in | |
3817 | a single place. | |
3818 | * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
3819 | Likewise. | |
3820 | ||
3821 | Tue Jul 11 16:44:21 1995 Ian Lance Taylor <[email protected]> | |
3822 | ||
3823 | * ldmain.c (set_scripts_dir): Don't base script directory on | |
3824 | current directory. | |
3825 | ||
917199fe ILT |
3826 | Tue Jul 11 12:29:02 1995 Rick Sladkey <[email protected]> |
3827 | ||
3828 | * ldmisc.c (vfinfo): Don't print the line number if it isn't | |
3829 | meaningful. | |
3830 | ||
4551e108 ILT |
3831 | Mon Jul 10 13:38:28 1995 Ian Lance Taylor <[email protected]> |
3832 | ||
917199fe ILT |
3833 | * ld.h (ld_config_type): Add field warn_constructors. |
3834 | * ldmain.c (add_to_set): Warn if config.warn_constructors. | |
3835 | (constructor_callback): Likewise. | |
3836 | * lexsup.c (parse_args): Handle -warn-constructors. | |
3837 | * ld.texinfo, ld.1: Document -warn-constructors. | |
3838 | ||
c16b92d2 ILT |
3839 | * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't |
3840 | get confused by directory names if we searched for the file. | |
3841 | ||
7213def7 ILT |
3842 | Based on patches from H.J. Lu <[email protected]>: |
3843 | * ldlang.h (lang_input_statement_type): Add new field dynamic. | |
3844 | * ldlang.c (new_afile): Set dynamic from config.dynamic_link. | |
3845 | * ldfile.c: Include bfdlink.h. | |
3846 | (ldfile_open_file): Check dynamic field of entry, not global | |
3847 | dynamic_link field. Don't do a dynamic search when doing a | |
3848 | relocateable link. | |
3849 | * ldmain.c (main): Don't warn about dynamic_link for a | |
3850 | relocateable link. | |
3851 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if | |
3852 | dynamic is false. | |
3853 | (gld${EMULATION_NAME}_create_output_section_statements): Always | |
3854 | loop over input files. | |
3855 | * Makefile.in: Rebuild dependencies. | |
3856 | ||
4551e108 ILT |
3857 | * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and |
3858 | -shared. | |
3859 | ||
3860 | Mon Jul 10 13:29:43 1995 Eric Youngdale <[email protected]> | |
3861 | ||
3862 | * ldmain.c (main): Set link_info.symbolic to false. | |
3863 | * lexsup.c (parse_args): Handle -Bsymbolic. | |
3864 | ||
eac6290c FF |
3865 | Wed Jul 5 00:12:11 1995 Fred Fish ([email protected]) |
3866 | ||
3867 | * ldmain.c (HAVE_SBRK): Define for everything except | |
3868 | specific systems that are known to not support sbrk. | |
3869 | (main): Use HAVE_SBRK to decide whether or not to use sbrk. | |
3870 | ||
7523be35 ILT |
3871 | Tue Jul 4 12:55:48 1995 Ian Lance Taylor <[email protected]> |
3872 | ||
7158d2b1 ILT |
3873 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): |
3874 | Handle etree_provide. | |
3875 | ||
7523be35 ILT |
3876 | * emultempl/elf32.em (global_needed): New static variable. |
3877 | (global_found): Likewise. | |
3878 | (gld${EMULATION_NAME}_after_open): New static function. | |
3879 | (gld${EMULATION_NAME}_search_needed): Likewise. | |
3880 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
3881 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
3882 | (ld_${EMULATION_NAME}_emulation): Replace after_open_default with | |
3883 | gld${EMULATION_NAME}_after_open. | |
3884 | ||
cb848d61 SC |
3885 | Mon Jul 3 14:26:37 1995 Steve Chamberlain <[email protected]> |
3886 | ||
3887 | * configure.in (i386-*-win32): New target. | |
cb848d61 | 3888 | |
22d3533c ILT |
3889 | Mon Jul 3 14:39:22 1995 Ian Lance Taylor <[email protected]> |
3890 | ||
3891 | * lexsup.c (parse_args): Let -G either set the small data size or | |
3892 | be equivalent to --shared, depending on the next argument. Accept | |
3893 | and ignore -z for Solaris compatibility. | |
3894 | ||
243e7698 ILT |
3895 | Sun Jul 2 17:52:34 1995 Ian Lance Taylor <[email protected]> |
3896 | ||
3897 | * lexsup.c (parse_args): Cast fopen result to PTR before storing | |
3898 | it in link_info.base_file. Fix indentation. | |
3899 | ||
de71eb77 SC |
3900 | Wed Jun 28 17:11:25 1995 Steve Chamberlain <[email protected]> |
3901 | ||
3902 | * ldmain.c (main): Always initialize PE info in link_info. | |
3903 | * lexsup.c (OPTION_BASE_FILE): New option. | |
3904 | (parse_args): Handle new option. | |
3905 | * emulparams/armpe.sh: Output pei. | |
3906 | * emultempl/i386pe.em: Add newline to end. | |
3907 | * scripttempl/armpe.sc: Change output and quote the $s. | |
3908 | * scripttempl/i386pe.sc: Change output and quote the $s. | |
3909 | ||
3910 | Thu Jun 22 19:55:41 1995 Ken Raeburn <[email protected]> | |
3911 | ||
3912 | Sun May 7 11:53:41 MDT 1995 Bryan Ford <[email protected]> | |
3913 | ||
3914 | * configure.in (i386-*-msdos*, i386-*-moss*): New targets. | |
3915 | * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. | |
3916 | (i386msdos.o): New target. | |
3917 | * config/i386-msdos.mt: Created. | |
3918 | * emulparams/i386msdos.sh: Created. | |
3919 | * scripttempl/i386msdos.sc: Created. | |
3920 | ||
d5131191 MM |
3921 | Thu Jun 22 15:06:35 1995 Michael Meissner <[email protected]> |
3922 | ||
3923 | * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section | |
3924 | that contains pointers to be relocated. | |
3925 | ||
0283d893 SS |
3926 | Tue Jun 20 17:47:20 1995 Stan Shebs <[email protected]> |
3927 | ||
3928 | * mpw-esh.c: New file, modified for MPW from esh.c. | |
3929 | * scripttempl/sh.sc: Reformatted to simplify MPWification, | |
3930 | use *() to concat stab sections instead of []. | |
3931 | ||
3932 | Thu Jun 15 08:48:16 1995 Steve Chamberlain <[email protected]> | |
3933 | ||
3934 | * scripttempl/armpe.sc: Add constructor support. | |
3935 | ||
935cd0dd SC |
3936 | Tue Jun 13 09:11:20 1995 Steve Chamberlain <[email protected]> |
3937 | ||
3938 | * ldlang.c (lang_size_sections): Any section with a DATA | |
3939 | statement has contents. | |
3940 | ||
74b3ead3 KR |
3941 | Sun Jun 11 15:20:46 1995 Ken Raeburn <[email protected]> |
3942 | ||
3943 | * emulparams/m68kelf.sh (NOP): Define. | |
3944 | (DYNAMIC_LINK): Don't define. | |
3945 | (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers | |
3946 | will come from the linker script. | |
3947 | ||
ba0784fe SC |
3948 | Thu Jun 8 14:17:33 1995 Steve Chamberlain <[email protected]> |
3949 | ||
3950 | * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack. | |
3951 | ||
3952 | Mon Jun 5 02:16:24 1995 Ken Raeburn <[email protected]> | |
3953 | ||
3954 | * configure.in (i[345]86-*-gnu*): Use GNU elf config. | |
3955 | ||
3956 | Thu May 25 11:49:28 1995 Michael Meissner <[email protected]> | |
3957 | ||
3958 | From Andrew Cagney <[email protected]> | |
3959 | * Makefile.in: Fixup more gotchas from renaming elf32ppcle to | |
3960 | elf32lppc. | |
3961 | ||
28d0c3ce SC |
3962 | Wed May 24 11:23:21 1995 Steve Chamberlain <[email protected]> |
3963 | ||
3964 | Add support for ARM-PE. | |
3965 | * Makefile.in (ALL_EMULATIONS): Add armpe.o | |
3966 | * configure.in: Recognize armpe. | |
3967 | * config/arm-pe.mt: New file. | |
3968 | * emulparams/armpe.sh: New file. | |
3969 | * scripttempl/armpe.sc: New file. | |
3970 | ||
3971 | ||
3972 | Mon May 22 15:19:26 1995 Doug Evans <[email protected]> | |
3973 | ||
3974 | * configure.in (h8300h-*-hms): Deleted | |
3975 | * config/cf-h8300h.mt: Deleted. | |
3976 | ||
3977 | Thu May 18 04:26:10 1995 Ken Raeburn <[email protected]> | |
3978 | ||
3979 | Wed May 10 14:28:16 1995 Richard Earnshaw ([email protected]) | |
3980 | ||
3981 | From David Taylor ([email protected]) | |
3982 | * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o | |
3983 | * configure.in: Recognize arm{,e[lb]-*-aout. | |
3984 | * config/arm[lb]-aout.mt: New files. | |
3985 | * emulparams/armaout[lb].sh: New files. | |
3986 | * scripttempl/armaout.sc: New file. | |
3987 | ||
3988 | Tue May 16 18:27:11 1995 Michael Meissner <[email protected]> | |
3989 | ||
3990 | * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to | |
3991 | be unique in 8 characters for DOS. | |
3992 | ||
3993 | * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. | |
3994 | * emulparams/elf32ppcle.sh: Deleted. | |
3995 | ||
3996 | Fri May 12 11:03:55 1995 Steve Chamberlain <[email protected]> | |
3997 | Tom Griest <[email protected]> | |
3998 | ||
3999 | Initial support for PE executables (eg NT, win32) | |
4000 | ||
4001 | * Makefile.in (configure.in, ei386pe): Add support. | |
4002 | * ldmain.c (main): Initialize PE argument info. | |
4003 | * ldwrite.c (print_file_stuff): Don't print out .drectve | |
4004 | and .debug section info. | |
4005 | * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, | |
4006 | OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): | |
4007 | Handle new arguments. | |
4008 | * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: | |
4009 | New files | |
4010 | ||
dea16e4d SG |
4011 | Wed May 10 18:37:59 1995 Stu Grossman ([email protected]) |
4012 | ||
4013 | * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text | |
4014 | segment. This allows ld -r to preserve unwind sections. | |
4015 | ||
417ced0d MM |
4016 | Tue May 9 17:19:57 1995 Michael Meissner <[email protected]> |
4017 | ||
4018 | * configure.in: Add little endian PowerPC support. | |
4019 | ||
4020 | * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. | |
4021 | (eelf32ppcle.c): Support for little endian PowerPC. | |
4022 | ||
4023 | * config/ppcle-elf32.mt: New file for little endian PowerPC. | |
4024 | * emulparams/elf32ppcle.sh: Ditto. | |
4025 | ||
fa9dea80 KR |
4026 | Wed May 3 12:56:32 1995 Ken Raeburn <[email protected]> |
4027 | ||
4028 | * ldlang.c (print_output_section_statement): Check | |
4029 | subsection_alignment, instead of checking section_alignment twice. | |
4030 | Noticed by Alan Modra <[email protected]>. | |
4031 | ||
55ac59da JL |
4032 | Tue May 2 16:36:07 1995 Jeff Law ([email protected]) |
4033 | ||
4034 | * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. | |
4035 | ||
4036 | Mon Apr 24 19:21:02 1995 Michael Meissner <[email protected]> | |
4037 | ||
4038 | * ldwrite.c (ldwrite): Before doing anything, reset the error | |
4039 | code. If bfd_final_link returns an error, but the error code is | |
4040 | unset, don't issue an extra message. Assume a correct error | |
4041 | message was already set. | |
4042 | ||
4043 | Fri Apr 14 16:31:24 1995 Ken Raeburn <[email protected]> | |
4044 | ||
4045 | * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. | |
4046 | (em68kelf.o): New target. | |
4047 | * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. | |
4048 | * configure.in: Use them for m68*-*-elf. | |
4049 | ||
4050 | Tue Apr 11 12:02:03 1995 Stan Shebs <[email protected]> | |
4051 | ||
4052 | Merge in support for Mac MPW as a host. | |
4053 | (Old change descriptions retained for informational value.) | |
4054 | ||
4055 | * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. | |
4056 | (i386-unknown-coff): Remove. | |
4057 | (sh-hitachi-hms): New target. | |
4058 | (emulation_ofiles): Set correctly for each target. | |
4059 | (version, TDEFINES): Add to makefile fragment. | |
4060 | * mpw-make.in (BISON): Use byacc instead of bison. | |
4061 | (em_*.c): Replace with e*.c everywhere. | |
4062 | (ldgram.h): Separate action from ldgram.c generation. | |
4063 | (LD_PROG): Depend on Version.r. | |
4064 | (Version.r): generate from version info. | |
4065 | * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. | |
4066 | ||
4067 | * mpw-config.in (m68k-apple-macos, ppc-apple-macos, | |
4068 | i386-unknown-aout, i386-unknown-coff): New targets. | |
4069 | (m68k-aout, m68k-coff): Remove targets. | |
4070 | (mk.tmp): Add definition of EMUL. | |
4071 | ||
4072 | * mpw-config.in (emulname): Set based on target. | |
4073 | (ldemul-list.h): Construct. | |
4074 | * mpw-make.in (install-only): New target. | |
4075 | (install): Depend on install-only. | |
4076 | ||
4077 | * mpw-make.in (bindir): Fix pathname. | |
4078 | (install): Move here from mpw-build.in. | |
4079 | ||
4080 | * mpw-config.in: New file, MPW configuration fragment. | |
4081 | * mpw-make.in: New file, MPW makefile fragment. | |
4082 | (This file is semi-automatically generated from Makefile.in.) | |
4083 | * ldfile.c (slash): If MPW, set to `:'. | |
4084 | * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to | |
4085 | prevent redefinition errors. | |
4086 | ||
7e87eb13 DE |
4087 | Tue Apr 4 17:55:18 1995 Steve Chamberlain <[email protected]> |
4088 | ||
4089 | * ldwrite.c (clone_section): Align clone sections on even | |
4090 | boundaries. | |
4091 | ||
59b4c199 ILT |
4092 | Thu Mar 30 14:32:26 1995 H.J. Lu ([email protected]) |
4093 | ||
4094 | * configure.in: Change linux to default to elf. Using | |
4095 | i[345]86-*-linuxaout will build a linker which defaults to a.out. | |
4096 | * config/i386-laout.mt: Rename from old config/i386-linux.mt. | |
4097 | * config/i386-linux.mt: Rename from old config/i386-lelf.mt. | |
4098 | * config/i386-lelf.mt: Remove. | |
4099 | ||
e920526d ILT |
4100 | Thu Mar 30 13:09:46 1995 Ian Lance Taylor <[email protected]> |
4101 | ||
7e87eb13 DE |
4102 | * ldmain.c (main): If opening the map file fails, call |
4103 | bfd_set_error before calling einfo. | |
4104 | ||
e920526d ILT |
4105 | * ld.texinfo, ld.1: Document the -no-keep-memory option. |
4106 | ||
a735edad ILT |
4107 | Mon Mar 27 11:10:08 1995 Ian Lance Taylor <[email protected]> |
4108 | ||
4109 | * ldmain.c (main): Revert patch of March 10, since the SVR4 linker | |
4110 | does mark shared libraries as executable. | |
4111 | ||
68233e44 ILT |
4112 | Tue Mar 21 15:15:38 1995 Ian Lance Taylor <[email protected]> |
4113 | ||
4114 | * ldlang.c (lang_common): Change power to int. Pass larger values | |
4115 | before smaller values. | |
4116 | (lang_one_common): Treat info as int *. Don't bother to check for | |
4117 | last value, since it is now zero. | |
4118 | ||
f400bbbb ILT |
4119 | Sat Mar 18 01:49:14 1995 Ian Lance Taylor <[email protected]> |
4120 | ||
4da1dcea | 4121 | * ldlang.c (load_symbols): An empty archive is OK. |
f400bbbb ILT |
4122 | |
4123 | Fri Mar 17 16:15:31 1995 Stan Shebs <[email protected]> | |
4124 | ||
4125 | * ldmain.c (progress.h): Include. | |
4126 | (main): Call START_PROGRESS and END_PROGRESS. | |
4127 | ||
86d0248d MM |
4128 | Thu Mar 16 17:17:33 1995 Michael Meissner <[email protected]> |
4129 | ||
4130 | * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and | |
4131 | .dtors sections, so that these pointers get relocated also. | |
4132 | Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning | |
4133 | and end of the constructors/destructors. | |
4134 | ||
f2f55b16 ILT |
4135 | Thu Mar 16 13:59:14 1995 Roland McGrath <[email protected]> |
4136 | ||
4137 | * ldlang.c (load_symbols): If whole_archive is true and ENTRY | |
4138 | describes an archive, call bfd_link_add_symbols on each member. | |
4139 | * ldmain.c (whole_archive): New variable. | |
4140 | (main): Initialize it to false. | |
4141 | * ldmain.h: Declare whole_archive. | |
4142 | * lexsup.c (parse_args): Grok --whole-archive switch. | |
ee499d81 | 4143 | * ld.texinfo, ld.1: Document --whole-archive. |
f2f55b16 | 4144 | |
cb5362c5 ILT |
4145 | Thu Mar 16 11:38:48 1995 Ian Lance Taylor <[email protected]> |
4146 | ||
171eb2f2 ILT |
4147 | * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not |
4148 | using the default emulation. | |
4149 | ||
cb5362c5 ILT |
4150 | * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set |
4151 | LDEMULATION. | |
4152 | * config/hppaelf.mh (HOSTING_EMU): Likewise. | |
4153 | ||
e66fa842 ILT |
4154 | Tue Mar 14 12:28:03 1995 Ian Lance Taylor <[email protected]> |
4155 | ||
4156 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj | |
4157 | for -lc.N. From H.J. Lu <[email protected]>. | |
4158 | ||
01bc8f35 ILT |
4159 | Fri Mar 10 14:43:48 1995 Ian Lance Taylor <[email protected]> |
4160 | ||
22c41f00 ILT |
4161 | * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. |
4162 | ||
01bc8f35 ILT |
4163 | * ldlex.l: Return -lFILENAME as the token LNAME. |
4164 | * ldgram.y: Add token LNAME. | |
4165 | (input_list): Treat LNAME like NAME, but pass it to | |
4166 | lang_add_input_file as lang_input_file_is_l_enum. | |
4167 | * ld.texinfo: Document using -lFILENAME in INPUT. | |
4168 | ||
4169 | Thu Mar 9 12:21:51 1995 Michael Meissner <[email protected]> | |
4170 | ||
4171 | * ldlang.c (lang_check): If the architectures are compatible call | |
4172 | bfd_merge_private_bfd_data to let the backend do additional | |
4173 | checks. | |
4174 | ||
b939d1f4 ILT |
4175 | Tue Mar 7 00:53:08 1995 Ian Lance Taylor <[email protected]> |
4176 | ||
4177 | * ldemul.c (ldemul_choose_mode): If emulation not recognized, list | |
4178 | all supported emulations. | |
4179 | ||
b73b4131 ILT |
4180 | Mon Mar 6 14:03:50 1995 Ian Lance Taylor <[email protected]> |
4181 | ||
4182 | * ldemul.c (ldemul_list_emulations): New function. | |
4183 | * ldemul.h (ldemul_list_emulations): Declare. | |
4184 | * ldver.c (help): List supported targets and emulations. | |
4185 | ||
4186 | Fri Mar 3 15:40:36 1995 Doug Evans <[email protected]> | |
4187 | ||
4188 | * scripttempl/elf.sc (.debug): Relocate to address 0. | |
4189 | (.debug_srcinfo, .debug_aranges, .debug_pubnames, | |
4190 | .debug_sfnames, .line): Likewise. | |
4191 | ||
30e12576 ILT |
4192 | Fri Mar 3 17:07:14 1995 Ian Lance Taylor <[email protected]> |
4193 | ||
4194 | * emultempl/elf32.em (hold_rel): New static variable. | |
4195 | (gld${EMULATION_NAME}_place_orphan): Place readonly sections with | |
4196 | contents whose names begin with ".rel" after hold_rel. Remove the | |
4197 | assertion which checked for unplaced .rel sections. Don't try to | |
4198 | sort the section into place if place->bfd_section is NULL. | |
4199 | (gld${EMULATION_NAME}_place_section): Set hold_rel to the first | |
4200 | section beginning with ".rel". | |
4201 | ||
4202 | Thu Mar 2 14:34:43 1995 Ian Lance Taylor <[email protected]> | |
4203 | ||
4204 | Doc note from [email protected] (Pierre Willard): | |
4205 | * ld.texinfo: -X and -x work even if -s or -S are not specified. | |
4206 | * ld.1: Similar change. | |
4207 | ||
0b153077 ILT |
4208 | Wed Mar 1 13:51:16 1995 Ian Lance Taylor <[email protected]> |
4209 | ||
4210 | * emulparams/gld960coff.sh (COFF_CTORS): Define. | |
4211 | * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. | |
4212 | ||
882c80a7 ILT |
4213 | Tue Feb 28 12:42:56 1995 Ian Lance Taylor <[email protected]> |
4214 | ||
4215 | * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. | |
4216 | (i[345]86-*-gnuelf*): New target. Use i386-gelf. | |
4217 | * config/i386-lelf.mt: New file. | |
4218 | * config/i386-gelf.mt: New file. | |
4219 | ||
decc32b7 RS |
4220 | Tue Feb 28 10:27:54 1995 Rob Savoye <[email protected]> |
4221 | ||
4222 | * configure.in: Match on mips-ecoff, and default to the IDT | |
4223 | configuration. | |
4224 | ||
4225 | Fri Feb 17 13:06:47 1995 Michael Meissner <[email protected]> | |
4226 | ||
4227 | * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. | |
4228 | Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area | |
4229 | to double the size of the table. | |
4230 | ||
4ad2d640 KR |
4231 | Thu Feb 9 18:29:43 1995 Ken Raeburn <[email protected]> |
4232 | ||
4233 | * Makefile.in (distclean): Do recursive deletion, since ldscripts | |
4234 | is a directory. | |
4235 | ||
1f59c7a7 ILT |
4236 | Thu Feb 9 11:38:22 1995 Ian Lance Taylor <[email protected]> |
4237 | ||
be2213eb ILT |
4238 | * ldmain.c (main): If trace_file_tries is true, and we are using |
4239 | an internal linker script, print out the script. | |
4240 | * ldfile.c (try_open): Reindent function. Make the messages about | |
4241 | opening script files more informative. | |
4242 | ||
1f59c7a7 ILT |
4243 | * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. |
4244 | * ld.texinfo, ld.1: Update accordingly. | |
4245 | ||
3565dee4 ILT |
4246 | Wed Feb 8 17:34:45 1995 Ian Lance Taylor <[email protected]> |
4247 | ||
4248 | * ldlang.c (lang_one_common): Adjust references to common symbol | |
4249 | information for new structure. | |
4250 | ||
5039302a ILT |
4251 | Mon Feb 6 12:17:24 1995 Ian Lance Taylor <[email protected]> |
4252 | ||
23244cd6 ILT |
4253 | * ldmain.c (undefined_symbol): Handle section being NULL. |
4254 | ||
484a0896 | 4255 | * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. |
8ed88239 ILT |
4256 | * ldexp.c (fold_name): Likewise. |
4257 | * ldlang.c (print_one_symbol): Likewise. | |
4258 | (lang_finish): Likewise. | |
4259 | * ldmain.c (multiple_common): Likewise. | |
4260 | * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak | |
4261 | renamed to bfd_link_hash_undefweak. | |
4262 | ||
5039302a ILT |
4263 | * scripttempl/alpha.sc: Set address of .data section correctly |
4264 | when -n or -N is used. Patch from Chris G Demetriou | |
4265 | <[email protected]>. | |
4266 | * scripttempl/mips.sc: Similar change. | |
4267 | ||
e802f0be DE |
4268 | Tue Jan 31 16:20:52 1995 Doug Evans <[email protected]> |
4269 | ||
4270 | * ldlang.c (lang_size_sections): Clarify error message when user | |
4271 | specified start addr conflicts with region. Fix resetting of | |
4272 | region pointer. | |
4273 | ||
1abb243d ILT |
4274 | Tue Jan 31 12:37:09 1995 Ian Lance Taylor <[email protected]> |
4275 | ||
4276 | * ldexp.c (fold_name): In case NAME, permit an absolute symbol | |
4277 | in lang_allocating_phase_enum. | |
4278 | ||
4279 | Mon Jan 30 11:33:25 1995 Ian Lance Taylor <[email protected]> | |
4280 | ||
4281 | * Makefile.in (distclean): Depend upon clean. Don't bother to | |
4282 | remove files which will be removed by clean. From patch by | |
4283 | [email protected] (Alan Modra). | |
4284 | ||
50708d56 ILT |
4285 | Fri Jan 27 16:27:34 1995 Ian Lance Taylor <[email protected]> |
4286 | ||
4287 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For | |
4288 | a MIPS target, clobber the size of all but the first input | |
4289 | .reginfo section to be 0, so that lang_size_sections sets the | |
4290 | correct size for the output .reginfo section. | |
4291 | ||
ae02b41c ILT |
4292 | Thu Jan 26 19:53:37 1995 Ian Lance Taylor <[email protected]> |
4293 | ||
4294 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
4295 | Remove unused variable is. | |
4296 | ||
5f16938d MM |
4297 | Thu Jan 26 12:33:05 1995 Michael Meissner <[email protected]> |
4298 | ||
4299 | * configure.in: Add support for powerpc-*-eabi. | |
4300 | ||
4301 | * scripttempl/elfppc.sc: New file for PowerPC embedded ABI | |
4302 | support. | |
4303 | ||
4304 | * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of | |
4305 | elf.sc, which defines some new symbols PowerPC elf needs. | |
4306 | ||
6ade1673 ILT |
4307 | Tue Jan 24 10:32:15 1995 Ian Lance Taylor <[email protected]> |
4308 | ||
4309 | * ldctor.c (ldctor_add_set_entry): Don't dump core if a | |
4310 | constructor entry is in the absolute section. | |
4311 | ||
c1e128e5 ILT |
4312 | Mon Jan 23 13:58:13 1995 Ian Lance Taylor <[email protected]> |
4313 | ||
4314 | * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. | |
4315 | * config/i386-gnu.mt: New file. Include ELF support. | |
4316 | ||
4317 | Thu Jan 19 16:22:11 1995 Ian Lance Taylor <[email protected]> | |
4318 | ||
4319 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If | |
4320 | there are any input sections named .gnu.warning, treat them as | |
4321 | containing a warning message to be printed by the linker, and | |
4322 | clobber the size so that the message is not copied into the output | |
4323 | file. | |
4324 | * scripttempl/elf.sc: Put .gnu.warning sections into the .text | |
4325 | section. | |
4326 | ||
506f4ede SC |
4327 | Sun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> |
4328 | ||
4329 | * configure.in (w65-*-*): New target. | |
4330 | * Makefile.in: Update. | |
4331 | * scripttempl/w65.sc: New. | |
4332 | * config/coff-w65.mt: New. | |
4333 | ||
cc37d01d ILT |
4334 | Thu Jan 12 01:32:25 1995 Ian Lance Taylor <[email protected]> |
4335 | ||
4336 | * ldlang.c (lang_place_orphans): Don't ignore files with | |
4337 | just_syms_flag set. Instead, put all their sections in | |
4338 | bfd_abs_section_ptr, using the section VMA as the output_offset. | |
4339 | ||
cc38364d KR |
4340 | Wed Jan 11 22:59:09 1995 Ken Raeburn <[email protected]> |
4341 | ||
4342 | * ldctor.c (ldctor_build_sets): Don't use `const' with typedef | |
4343 | name `reloc_howto_type', since it's now defined to be const. | |
4344 | * ldlang.c (lang_add_reloc): Ditto. | |
4345 | * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. | |
4346 | ||
93a0630f ILT |
4347 | Wed Jan 11 11:24:45 1995 Ian Lance Taylor <[email protected]> |
4348 | ||
4349 | * ldexp.c (fold_binary): Adding or subtracting an absolute value | |
4350 | to a relative value does not require forcing the relative value to | |
4351 | be absolute. Also, reindent function. | |
4352 | ||
fa440b5a SC |
4353 | Wed Dec 28 22:05:52 1994 Steve Chamberlain ([email protected]) |
4354 | ||
4355 | * ldwrite.c (clone_section): Create a symbol with the | |
4356 | same name as the section. | |
4357 | ||
885ae6b9 SC |
4358 | Mon Dec 19 14:02:13 1994 Steve Chamberlain ([email protected]) |
4359 | ||
4360 | * ld.h (split_by_reloc, split_by_file): New flags. | |
4361 | * ldwrite.c (clone_section, split_sections): New functions. | |
4362 | * lexsup.c (parse_args): Understand new split options. | |
4363 | ||
4e59f36d ILT |
4364 | Fri Dec 9 17:22:55 1994 Ian Lance Taylor <[email protected]> |
4365 | ||
4366 | * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to | |
4367 | .data segment. They must be writable when creating a shared | |
4368 | library. From H.J. Lu <[email protected]>. | |
4369 | ||
4370 | Fri Dec 2 14:09:00 1994 Ian Lance Taylor <[email protected]> | |
4371 | ||
4372 | * emultempl/miposecoff.em: New file. | |
4373 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. | |
4374 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. | |
4375 | * scripttempl/mips.sc: Put .rel.sdata sections in .text, and | |
4376 | provide __runtime_reloc_start and __runtime_reloc_stop if they are | |
4377 | used. Align _fdata to a 16 byte boundary. | |
4378 | * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than | |
4379 | generic.em. | |
4380 | (emipsidtl.c): Likewise. | |
4381 | (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. | |
4382 | ||
4383 | * ld.h (args_type): Add new field embedded_relocs. | |
4384 | * ldemul.h (ldemul_after_open, after_open_default): Declare. | |
4385 | (ld_emulation_xfer_struct): Add new field after_open. | |
4386 | * ldemul.c (ldemul_after_open): New function. | |
4387 | (after_open_default): New function. | |
4388 | * ldlang.c (lang_process): Call ldemul_after_open. | |
4389 | * lexsup.c (parse_args): Handle --embedded-relocs. | |
4390 | * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize | |
4391 | new after_open field to after_open_default. | |
4392 | * emultempl/generic.em, emultempl/gld960.em: Likewise. | |
4393 | * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. | |
4394 | * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. | |
4395 | * emultempl/sunos.em, emultempl/vanilla.em: Likewise. | |
4396 | * ld.texinfo, ld.1: Mention -embedded-relocs. | |
4397 | ||
e93e87cb SC |
4398 | Wed Nov 23 22:04:47 1994 Steve Chamberlain ([email protected]) |
4399 | ||
4400 | * Makefile.in: Add eshl.o. | |
4401 | * config/coff-sh.mt: Add shl emulation. | |
4402 | ||
18368f46 ILT |
4403 | Tue Nov 22 11:55:37 1994 Ian Lance Taylor <[email protected]> |
4404 | ||
4405 | * scripttempl/elf.sc: Fill .text section with NOPS. From Eric | |
4406 | Youngdale <[email protected]>. | |
4407 | ||
60822a36 ILT |
4408 | Thu Nov 17 14:39:48 1994 Ian Lance Taylor <[email protected]> |
4409 | ||
4410 | Patches from [email protected] (Martin Pirker). | |
4411 | * config/i386linux.mh: New file; set HOSTING_CRT0. | |
4412 | * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is | |
4413 | /usr/lib, since that is already in LIB_PATH. | |
4414 | ||
831d7ac4 JL |
4415 | Wed Nov 16 10:03:03 1994 Jeff Law ([email protected]) |
4416 | ||
15ec1d5c JL |
4417 | * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start |
4418 | address. | |
4419 | (.data, .bss): If "-N", then place the data/bss just after the end | |
4420 | of the .text section rather than at the default 0x40000000. | |
4421 | ||
831d7ac4 JL |
4422 | * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the |
4423 | text segment. | |
4424 | ||
fd41732a ILT |
4425 | Sat Nov 12 15:55:56 1994 Ian Lance Taylor ([email protected]) |
4426 | ||
831d7ac4 JL |
4427 | Patches from Eric Youngdale <[email protected]>: |
4428 | * ldlang.c (lang_finish): Don't warn if entry symbol not found | |
4429 | when generating a shared library. | |
4430 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if | |
4431 | attempting to place an orphaned relocation section when generating | |
4432 | a dynamically linked object. | |
4433 | ||
fd41732a ILT |
4434 | * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to |
4435 | _start. | |
4436 | ||
5efddb2e ILT |
4437 | Fri Nov 11 14:27:23 1994 Ian Lance Taylor <[email protected]> |
4438 | ||
4439 | * ld.h (args_type): Add field export_dynamic. | |
4440 | * lexsup.c (parse_args): Recognize --export-dynamic. | |
4441 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
4442 | Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. | |
4443 | ||
809391bd ILT |
4444 | Wed Nov 9 12:47:11 1994 Ian Lance Taylor <[email protected]> |
4445 | ||
4446 | * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where | |
4447 | we allocate common symbols. | |
4448 | ||
cd1d4f83 ILT |
4449 | Tue Nov 8 17:50:43 1994 Eric Youngdale ([email protected]) |
4450 | ||
4451 | * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and | |
4452 | .rela.fini to the list of .rel* sections. | |
4453 | ||
6a02a973 ILT |
4454 | Tue Nov 8 17:47:45 1994 Ian Lance Taylor <[email protected]> |
4455 | ||
4456 | * ldlang.c (load_symbols): Add new argument place. Only accept | |
4457 | linker scripts if place is not NULL. Put commands found in an | |
4458 | assumed linker script into place. | |
4459 | (lookup_name): Pass NULL as place argument to load_symbols. | |
4460 | (open_input_bfds): In lang_input_statement_enum case, pass a place | |
4461 | argument to load_symbols, and store any new statements after the | |
4462 | current one. | |
4463 | ||
4464 | Mon Nov 7 15:53:02 1994 Ken Raeburn <[email protected]> | |
4465 | ||
4466 | * ldver.c (ldversion): Bump to 2.5.3. | |
4467 | ||
ca8f2f0d KR |
4468 | Fri Nov 4 15:11:26 1994 Ken Raeburn <[email protected]> |
4469 | ||
4470 | * Makefile.in (e*nbsd.c): Fix typo in dependencies. | |
4471 | ||
0128cbae KR |
4472 | Thu Nov 3 19:35:44 1994 Ken Raeburn <[email protected]> |
4473 | ||
4474 | * Makefile.in (check): Add missing "else true" clause. | |
4475 | ||
4476 | * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". | |
4477 | ||
4478 | * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default | |
4479 | entry point to "start". Align at end of each section to 0x200. | |
4480 | Start .text section 0x1000 later. Add _etext, _edata, _end | |
4481 | symbols. | |
4482 | ||
52329a29 ILT |
4483 | Wed Nov 2 12:17:49 1994 Ian Lance Taylor <[email protected]> |
4484 | ||
4485 | * ldctor.c (ldctor_add_set_entry): Don't permit a set to be | |
4486 | composed of different object file formats. | |
4487 | (ldctor_build_sets): If the output format does not support the | |
4488 | reloc, and we are not generating a relocateable link, try getting | |
4489 | the reloc from the input format. | |
4490 | ||
e574ddd4 C |
4491 | Tue Nov 1 10:30:19 1994 J.T. Conklin ([email protected]) |
4492 | ||
4493 | * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. | |
4494 | (em68knbsd.c): New target. | |
4495 | ||
4496 | * config/m68k-nbsd.mt: New file. | |
4497 | * emulparams/m68knbsd.sh: New file. | |
4498 | * configure.in (m68*-*-netbsd*): Use above configs. | |
4499 | ||
fbf967b0 ILT |
4500 | Mon Oct 31 19:35:17 1994 Ian Lance Taylor <[email protected]> |
4501 | ||
4502 | * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an | |
4503 | appropriately named static library, stop the search at that | |
4504 | directory. | |
4505 | ||
32286e08 C |
4506 | Wed Oct 26 13:59:12 1994 J.T. Conklin ([email protected]) |
4507 | ||
4508 | * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o | |
4509 | and esparcnbsd.o; sorted entries. | |
4510 | (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. | |
4511 | ||
4512 | * config/netbsd532.mt: Removed. | |
4513 | * emulparams/netbsd532.sh: Removed. | |
4514 | ||
4515 | * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. | |
4516 | * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. | |
4517 | * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, | |
4518 | sparc*-*-netbsd*): Use above configs. | |
4519 | ||
fdfe873a ILT |
4520 | Tue Oct 25 11:47:10 1994 Ian Lance Taylor <[email protected]> |
4521 | ||
4522 | * ldmain.c (multiple_common): One of the types may now be | |
4523 | bfd_link_hash_indirect. The old BFD argument may be NULL. | |
4524 | ||
3286598f ILT |
4525 | Thu Oct 20 22:01:39 1994 Ian Lance Taylor ([email protected]) |
4526 | ||
4527 | * configure.in: Add * at the end of m68k-hp-hpux. | |
4528 | ||
81100e78 ILT |
4529 | Tue Oct 18 15:58:39 1994 Ian Lance Taylor <[email protected]> |
4530 | ||
4531 | * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to | |
4532 | YY_CHAR *. | |
4533 | ||
51bdfd9b C |
4534 | Mon Oct 17 14:53:16 1994 J.T. Conklin ([email protected]) |
4535 | ||
4536 | * scripttempl/nw.sc: Gather constructors and destructors and | |
4537 | define __CTOR__LIST__ and __DTOR_LIST__ appropriately. | |
4538 | ||
54d64846 C |
4539 | Fri Oct 14 14:35:38 1994 J.T. Conklin ([email protected]) |
4540 | ||
0a1e63c4 KR |
4541 | * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. |
4542 | (ei386nw.c, eppcnw.c): New targets. | |
4543 | ||
4544 | * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, | |
51bdfd9b | 4545 | scripttempl/nw.sc: New files, for i386 and powerpc netware. |
0a1e63c4 KR |
4546 | |
4547 | * configure.in: Changed netware ld_target name to be {i386,ppc}-nw | |
4548 | instead of {i386,ppc}-elf. | |
4549 | ||
4550 | * configure.in (sparc*-*-netware): Removed. There is no such | |
4551 | thing anymore. | |
4552 | ||
54d64846 C |
4553 | * ldint.texinfo: Move misplaced `@end iftex'. |
4554 | ||
81d191be ILT |
4555 | Fri Oct 14 12:02:18 1994 Eric Youngdale ([email protected]) |
4556 | ||
4557 | * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and | |
4558 | .rela.dtors to the list of .rel* sections. | |
4559 | ||
f608f62e KR |
4560 | Thu Oct 13 14:16:27 1994 Ken Raeburn <[email protected]> |
4561 | ||
0a1e63c4 KR |
4562 | * ldver.c (ldversion): Update to version 2.5. |
4563 | * Version 2.5 released. | |
4564 | ||
f608f62e KR |
4565 | * configure.in (all_targets): Handle i386-linux*. |
4566 | ||
243f6d0d ILT |
4567 | Thu Oct 13 11:24:33 1994 Ian Lance Taylor <[email protected]> |
4568 | ||
4569 | * scripttempl/aout.sc: Set _etext and __etext to ., not | |
4570 | ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, | |
4571 | will not break any other system. From Eric Valette | |
4572 | <[email protected]>. | |
4573 | ||
a82ae15d ILT |
4574 | Wed Oct 12 16:22:58 1994 Ian Lance Taylor <[email protected]> |
4575 | ||
4576 | * lexsup.c (parse_args): Change -V to be a synonym for -v. Add | |
4577 | --verbose to get the old -V behaviour. | |
4578 | * ld.1, ld.texinfo: Document this change. | |
4579 | ||
262c8763 ILT |
4580 | Tue Sep 27 14:56:20 1994 Ian Lance Taylor ([email protected]) |
4581 | ||
a82ae15d ILT |
4582 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove |
4583 | assertion, since it could fail with a user defined linker script. | |
4584 | ||
aa61b923 ILT |
4585 | * ldexp.c (fold_name): For DEFINED case, don't try to look up the |
4586 | name in the hash table during the first phase--the hash table does | |
4587 | not even exist at that point, much less have the right value. | |
4588 | ||
262c8763 ILT |
4589 | * Makefile.in (CC): Define. |
4590 | (CXX): Move definition, change from g++ to gcc. | |
4591 | (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. | |
4592 | (RUNTEST_CC, RUNTEST_CFLAGS): Remove. | |
4593 | (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. | |
4594 | (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. | |
4595 | (.cc.o): Comment out. | |
4596 | (testdir): Remove. | |
4597 | (site.exp): Don't create testdir or set tmpdir. | |
4598 | (check): Run checks even if not running native. Use CC_FOR_TARGET | |
4599 | instead of RUNTEST_CC, and likewise for CXX. | |
4600 | (cdtest targets): Comment out. | |
4601 | * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. | |
4602 | * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove. | |
4603 | * cdtest-main.cc, cdtest.exp: Remove. | |
4604 | ||
2150c3ee ILT |
4605 | Mon Sep 26 11:40:30 1994 Ian Lance Taylor ([email protected]) |
4606 | ||
262c8763 ILT |
4607 | * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS |
4608 | file naming problems. | |
4609 | * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. | |
4610 | * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to | |
4611 | eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. | |
4612 | (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. | |
4613 | (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. | |
4614 | * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. | |
4615 | * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. | |
4616 | ||
38189778 ILT |
4617 | * genscripts.sh: Always search /usr/local/TARGET/lib. |
4618 | ||
2150c3ee ILT |
4619 | * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". |
4620 | ||
4621 | Fri Sep 23 15:05:49 1994 Ken Raeburn <[email protected]> | |
4622 | ||
4623 | * configure.in: Handle i386-bsdi* targets like i386-bsd. | |
4624 | ||
a2eea823 ILT |
4625 | Fri Sep 23 00:06:59 1994 Ian Lance Taylor ([email protected]) |
4626 | ||
4627 | * lexsup.c (parse_args): Add support for -a for HP/UX | |
4628 | compatibility. | |
4629 | ||
4630 | * lexsup.c (parse_args): -c takes an argument. | |
4631 | ||
f1781adc ILT |
4632 | Tue Sep 20 14:35:27 1994 Ian Lance Taylor ([email protected]) |
4633 | ||
86037281 ILT |
4634 | * ld.h (args_type): Add new field endian. |
4635 | * lexsup.c (parse_args): Handle -EB and -EL by setting | |
4636 | command_line.endian. | |
4637 | * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. | |
4638 | * ldlang.c (lang_add_output_format): Add arguments big and little. | |
4639 | If command_line.endian is set, use it to select big or little | |
4640 | rather than the default. Changed all callers. | |
4641 | * ldlang.h (lang_add_output_format): Update declaration. | |
4642 | * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and | |
4643 | LITTLE_OUTPUT_FORMAT. | |
4644 | * emulparams/elf32mipl.sh: Likewise. | |
4645 | * emulparams/mipsbig.sh: Likewise. | |
4646 | * emulparams/mipsbsd.sh: Likewise. | |
4647 | * emulparams/mipsidt.sh: Likewise. | |
4648 | * emulparams/mipsidtl.sh: Likewise. | |
4649 | * emulparams/mipslit.sh: Likewise. | |
4650 | * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and | |
4651 | LITTLE_OUTPUT_FORMAT if not already defined. Pass them to | |
4652 | OUTPUT_FORMAT. | |
4653 | * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and | |
4654 | LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. | |
4655 | * scripttempl/mipsbsd.sc: Likewise. | |
4656 | ||
4657 | * Makefile.in (ldgram.h): Make separate target from ldgram.c, | |
4658 | depending upon ldgram.c, so that a parallel make does not try to | |
4659 | build both at once. | |
4660 | ||
f1781adc | 4661 | * configure.in (mips*el-elf*): New target. |
5ccef180 ILT |
4662 | * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. |
4663 | (eelf32mipl.c): New target. | |
86037281 | 4664 | |
f1781adc ILT |
4665 | * config/mipsl-elf32.mt: New file. |
4666 | * emulparams/elf32mipl.sh: New file. | |
4667 | ||
006ae0e4 ILT |
4668 | Fri Sep 16 12:16:20 1994 Ian Lance Taylor ([email protected]) |
4669 | ||
4670 | * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as | |
4671 | ld -r -S -x. | |
4672 | ||
7aa8f496 ILT |
4673 | Thu Sep 15 13:05:44 1994 Ian Lance Taylor ([email protected]) |
4674 | ||
4675 | * ldmisc.c (vfinfo): Print BFD file name as well as file name | |
4676 | returned by find_nearest_line, in case the file name is something | |
4677 | unhelpful such as a .h file. Handle %u. | |
4678 | ||
467a0380 SC |
4679 | Wed Sep 14 12:49:12 1994 Steve Chamberlain ([email protected]) |
4680 | ||
4681 | * ldlang.c (lang_do_assignments): Make sure output statement | |
4682 | has an attached bfd_section before trying to dereference it. | |
4683 | ||
8bff41c1 ILT |
4684 | Wed Sep 14 12:48:09 1994 Ian Lance Taylor ([email protected]) |
4685 | ||
809ee7e0 ILT |
4686 | * ld.h (ld_config_type): Add new field warn_once. |
4687 | * ldmain.c (undefined_symbol): Handle -warn-once. | |
4688 | * lexsup.c (parse_args): Recognize -warn-once. | |
4689 | * ld.texinfo (Options): Document -warn-once. | |
4690 | * ld.1: Likewise. | |
4691 | ||
cc23cc69 ILT |
4692 | * ldmisc.c (vfinfo): Handle %D as %C, but never print the function |
4693 | name. For %C, print the function name on a separate line, to keep | |
4694 | the length of error messages under control. | |
4695 | * ldmain.c (multiple_definition): Use %D for ``first defined | |
4696 | here.'' | |
4697 | (undefined_symbol): Use %D for ``more undefined references | |
4698 | follow''. | |
4699 | ||
8bff41c1 ILT |
4700 | * ldmisc.c (multiple_warn): Remove; no longer used. |
4701 | * ldmisc.h (multiple_warn): Don't declare. | |
4702 | ||
3deb20fb SC |
4703 | Tue Sep 13 20:47:58 1994 Steve Chamberlain ([email protected]) |
4704 | ||
4705 | * ldlang.c (print_output_section_statement): Print all lines | |
4706 | to the map file. | |
4707 | ||
0b3499f6 ILT |
4708 | Tue Sep 13 16:30:11 1994 Ian Lance Taylor ([email protected]) |
4709 | ||
4710 | * ldlang.c (load_symbols): Check for archive before object. Use | |
4711 | bfd_check_format_matches, and, if ambiguous, print a list of | |
4712 | matching formats. If file format is not recognized, treat file as | |
4713 | a linker script. | |
4714 | * ldgram.y (yyerror): If assuming an object file is a script, | |
4715 | mention that. Tweak the format of the error messages. | |
4716 | * ldlex.l (lex_warn_invalid): If assuming an object is a script, | |
4717 | guess that this is not actually a script, and just report that the | |
4718 | file format was not recognized. | |
4719 | * ld.texinfo (Options): Admit that -( may be used more than once. | |
4720 | Add note that unrecognized object files are now treated as linker | |
4721 | scripts. | |
4722 | ||
4723 | * ldfile.c (ldfile_input_filename): Make const. | |
4724 | (ldfile_assumed_script): New variable. | |
4725 | (try_open): Change arguments types to const. | |
4726 | (ldfile_find_command_file): Likewise. | |
4727 | (ldfile_open_command_file): Likewise. Also, set lineno to 1. | |
4728 | * ldfile.h: Update declarations for ldfile.c changes. | |
4729 | * ldlex.l: Include <ctype.h>. | |
4730 | (file_name_stack): Change to be const char *. | |
4731 | (lineno_stack): New static variable. | |
4732 | (<<EOF>>): Set lineno as well as ldfile_input_filename. | |
4733 | (lex_push_file): Make name argument const. Initialize | |
4734 | lineno_stack entry. | |
4735 | (lex_redirect): Initialize lineno_stack entry. | |
4736 | (lex_warn_invalid): Handle non printable characters nicely. | |
4737 | * ldlex.h (lex_push_file): Declare second argument as const. | |
4738 | ||
4739 | * ldgram.y (ifile_p1): Recognize GROUP. | |
4740 | * ldlex.l: Recognize GROUP. | |
4741 | * ld.texinfo (Option Commands): Document GROUP. | |
4742 | ||
2fd87dbc ILT |
4743 | Mon Sep 12 17:04:27 1994 Ian Lance Taylor ([email protected]) |
4744 | ||
4745 | * config/m68klynx.mh: New file. | |
4746 | ||
cb2af5cf JL |
4747 | Mon Sep 12 01:50:03 1994 Jeff Law ([email protected]) |
4748 | ||
4749 | * emultempl/hppaelf.em: Add newlines to the error messages. | |
4750 | ||
7b63ff76 ILT |
4751 | Sat Sep 10 16:05:38 1994 Ian Lance Taylor ([email protected]) |
4752 | ||
4753 | * config/i386lynx.mh: New file. | |
4754 | * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text | |
4755 | unless CONSTRUCTING. | |
4756 | ||
dd37f215 ILT |
4757 | Thu Sep 8 13:25:24 1994 Ian Lance Taylor ([email protected]) |
4758 | ||
4759 | * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. | |
4760 | (GENERATE_SHLIB_SCRIPT): Define as yes. | |
4761 | (DYNAMIC_LINK): Define as false. | |
4762 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): | |
4763 | Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. | |
4764 | (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. | |
4765 | * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than | |
4766 | generic.em. | |
4767 | ||
fa3539fe SC |
4768 | Thu Sep 8 16:30:37 1994 Steve Chamberlain ([email protected]) |
4769 | ||
4770 | * scripttempl/h8500b.sc: Put rdata stuff into own segment. | |
4771 | ||
a864a26e ILT |
4772 | Thu Sep 8 13:25:24 1994 Ian Lance Taylor ([email protected]) |
4773 | ||
4774 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; | |
4775 | .got section is now explicitly handled in elf.sc. | |
4776 | ||
4777 | Wed Sep 7 13:08:34 1994 Ian Lance Taylor ([email protected]) | |
4778 | ||
4779 | * scripttempl/alpha.sc: Redo script to set . outside of sections | |
4780 | and not bother to explicitly specify section addresses. | |
4781 | Explicitly place .sdata section. | |
4782 | ||
82950a80 ILT |
4783 | Tue Sep 6 23:51:45 1994 Ian Lance Taylor ([email protected]) |
4784 | ||
4785 | * scripttempl/m68kcoff.sc: Put .bss in data segment. | |
4786 | ||
4787 | * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of | |
4788 | 0, and to only be marked as NOLOAD if relocating. | |
4789 | * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. | |
4790 | * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. | |
4791 | * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. | |
4792 | * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. | |
4793 | * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. | |
4794 | * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. | |
4795 | * scripttempl/sparclynx.sc: Likewise. | |
4796 | ||
4797 | Sun Sep 04 17:58:10 1994 Richard Earnshaw ([email protected]) | |
318b02b6 KR |
4798 | |
4799 | * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. | |
4800 | * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: | |
4801 | New files. | |
4802 | ||
3b21918a ILT |
4803 | Tue Aug 30 11:48:08 1994 Eric Youngdale ([email protected]) |
4804 | ||
4805 | * ld.h (args_type): Add field soname. | |
4806 | * lexsup.c (parse_args): Handle -soname argument. | |
4807 | * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, | |
4808 | pass soname. | |
4809 | * ld.texinfo: Document -soname. | |
4810 | ||
69927008 ILT |
4811 | Mon Aug 29 15:21:50 1994 Ian Lance Taylor ([email protected]) |
4812 | ||
4813 | * ldlang.c (lang_check): Don't try to set the architecture if the | |
4814 | input and output files are incompatible. Just warn. | |
4815 | ||
6d445436 ILT |
4816 | Wed Aug 24 12:52:30 1994 Ian Lance Taylor ([email protected]) |
4817 | ||
4818 | * configure.in: Change i[34]86 to i[345]86. | |
4819 | ||
4820 | Sun Aug 21 16:17:19 1994 Ian Lance Taylor ([email protected]) | |
4821 | ||
4822 | * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. | |
4823 | ||
b400f56d ILT |
4824 | Thu Aug 18 15:37:45 1994 Ian Lance Taylor ([email protected]) |
4825 | ||
4826 | Make the ELF linker handle orphaned sections reasonably. Also, | |
4827 | define __start_SECNAME and __stop_SECNAME around sections whose | |
4828 | names can be represented in C, for the benefit of symbol sets in | |
4829 | glibc. | |
4830 | * ldemul.h (ldemul_place_orphan): Declare. | |
4831 | (ld_emulation_xfer_type): Add place_orphan field. | |
4832 | * ldemul.c (ldemul_place_orphan): New function. | |
4833 | * ldlang.h (wild_doit): Declare. | |
4834 | * ldlang.c (wild_doit): Make nonstatic. | |
4835 | (lang_place_orphans): Call ldemul_place_orphan. | |
4836 | * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". | |
4837 | (hold_section, hold_use, hold_text, hold_data, hold_bss): New | |
4838 | static variables. | |
4839 | (gld${EMULATION_NAME}_place_orphan): New static function. | |
4840 | (gld${EMULATION_NAME}_place_section): New static function. | |
4841 | (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. | |
4842 | ||
9e5a036f ILT |
4843 | Tue Aug 16 00:17:20 1994 Eric Youngdale ([email protected]) |
4844 | ||
4845 | * scripttempl/aout.sc: Add .linux-dynamic after .data. | |
4846 | ||
c1a9aaa3 ILT |
4847 | Tue Aug 16 00:08:22 1994 Ian Lance Taylor ([email protected]) |
4848 | ||
9e5a036f ILT |
4849 | * lexsup.c (parse_args) Treat --dll-verbose as --version, for |
4850 | Linux compatibility. From [email protected] (H.J. Lu). | |
c1a9aaa3 | 4851 | |
1fee94ec ILT |
4852 | Mon Aug 15 17:17:33 1994 Ian Lance Taylor ([email protected]) |
4853 | ||
4854 | * ldexp.h (exp_get_abs_int): Declare. | |
4855 | ||
4856 | Sat Aug 6 01:45:39 1994 Steve Chamberlain ([email protected]) | |
4857 | ||
4858 | * ldlang.c (lang_do_assignments): Handle complex AT's better. | |
4859 | * ldexp.c (exp_get_abs_int): New function. | |
4860 | ||
28d1c6ec JM |
4861 | Fri Aug 5 20:55:55 1994 Jason Molenda ([email protected]) |
4862 | ||
4863 | * configure.in: add i960-nindy-coff support. | |
4864 | ||
63936abc JMD |
4865 | Thu Aug 4 14:45:50 1994 Ian Lance Taylor ([email protected]) |
4866 | ||
4867 | * ldlex.l (yy_create_string_buffer): Handle change to internal | |
4868 | interface in flex 2.4.7. | |
4869 | ||
bb329c20 JMD |
4870 | Tue Aug 2 11:52:06 1994 Eric Youngdale ([email protected]) |
4871 | ||
4872 | * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): | |
4873 | New function; add 0x20 to any use of -Ttext. | |
4874 | (gld${EMULATION_NAME}_create_output_section_statements): New | |
4875 | function. | |
4876 | (ld_${EMULATION_NAME}_emulation): Use the new function | |
4877 | gld${EMULATION_NAME}_create_output_section_statements. | |
4878 | ||
a1ed2435 ILT |
4879 | Mon Aug 1 15:50:44 1994 Ian Lance Taylor ([email protected]) |
4880 | ||
4881 | * scripttempl/mips.sc: Redo script to set . outside of sections | |
4882 | and not bother to explicitly specify section addresses. | |
4883 | ||
b019d460 ILT |
4884 | Tue Jul 26 11:02:35 1994 Ian Lance Taylor ([email protected]) |
4885 | ||
4886 | * scripttempl/elf.sc: Copy several more relocation sections into | |
4887 | the output. Put .got.plt sections into .got. | |
4888 | ||
309c8153 ILT |
4889 | Fri Jul 22 12:15:36 1994 Ian Lance Taylor ([email protected]) |
4890 | ||
31ddb156 ILT |
4891 | * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. |
4892 | ||
4893 | Add a new script operator, PROVIDE, to define a symbol only if it | |
4894 | is needed. | |
4895 | * ldgram.y (PROVIDE): New token. | |
4896 | (assignment): Accept PROVIDE. | |
4897 | * ldlex.l (PROVIDE): New token. | |
4898 | * ldexp.h (node_type): Add etree_provide to node_class enum. | |
4899 | (exp_provide): Declare. | |
4900 | * ldexp.c (exp_fold_tree): Handle etree_provide. | |
4901 | (exp_provide): New function. | |
4902 | (exp_print_tree): Handle etree_provide. | |
4903 | * ld.texinfo: Document PROVIDE. | |
4904 | ||
36c6e8c3 ILT |
4905 | * ldlang.c (lang_common): Pass desired alignment to |
4906 | lang_one_common as power of two. | |
4907 | (lang_one_common): Get common symbol alignment from linker hash | |
4908 | table entry. Treat desired alignment as a power of two. | |
4909 | ||
309c8153 ILT |
4910 | * ldlang.c (wild_section): Attach all section with the given name, |
4911 | not just the first one. If there is no name, attach all sections | |
4912 | even if the SEC_IS_COMMON flag is set. | |
4913 | ||
a1ad915d ILT |
4914 | Wed Jul 20 15:49:27 1994 Ian Lance Taylor ([email protected]) |
4915 | ||
4916 | * ld.h (args_type): Add field rpath. | |
4917 | * lexsup.c (S_ISDIR): Define if not already defined. | |
4918 | (parse_args): Add support for -rpath. If -R is used to name a | |
4919 | directory, treat it as -rpath for Solaris compatibility. | |
4920 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
4921 | Pass command_line.rpath to bfd_elf32_size_dynamic_sections. | |
4922 | * ldmain.c (main): Initialize command_line.rpath to NULL. | |
4923 | * ld.texinfo: Document -rpath option. | |
4924 | ||
cdf71377 KR |
4925 | Sun Jul 10 00:33:24 1994 Ian Dall ([email protected]) |
4926 | ||
4927 | * emulparams/pc532machaout.sh: New file. Pc532 mach script | |
4928 | parameters. | |
4929 | ||
4930 | * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. | |
4931 | ||
4932 | * config/pc532mach.mt: New file. Pc532 mach target support. | |
4933 | ||
4934 | * config/pc532mach.mh: New file. Pc532 mach host support. | |
4935 | ||
4936 | * config/netbsd532.mt: New file. Netbsd 532 target support. | |
4937 | ||
4938 | * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. | |
4939 | ||
4940 | * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c | |
4941 | dependency. | |
4942 | ||
db770dfa ILT |
4943 | Fri Jul 8 10:57:02 1994 Ian Lance Taylor ([email protected]) |
4944 | ||
4945 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use | |
4946 | bfd_abs_section_ptr, not &bfd_abs_section. | |
4947 | ||
4948 | * lexsup.c (parse_args): Changed "retain-symbols-file" from | |
4949 | no_argument to required_argument. From djm. | |
4950 | ||
4951 | Thu Jul 7 12:29:53 1994 Ian Lance Taylor ([email protected]) | |
4952 | ||
4953 | * scripttempl/elf.sc: Explicitly mention .stab and .stabstr | |
4954 | sections to force a VMA of 0; needed for ELF backends which have | |
4955 | not been converted to the new linker style. | |
4956 | ||
aee611f5 JL |
4957 | Mon Jul 4 19:35:45 1994 Jeff Law ([email protected]) |
4958 | ||
4959 | * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, | |
4960 | it was for the HPUX dynamic loader's use and it creates problems | |
4961 | with ELF GDB. | |
4962 | ||
4963 | Fri Jul 1 12:53:47 1994 Jeff Law ([email protected]) | |
4964 | ||
4965 | * ldlang.c (lang_do_assignments): No longer static. Delete decl. | |
4966 | * ldlang.h (lang_do_assignments): Put external decl here. | |
4967 | * emultempl/hppaelf.em: Minor cleanups throughout file. | |
4968 | (hppa_elf_create_output_section_statements): Rewrite. | |
4969 | (hppaelf_finish): Rewrite. | |
4970 | ||
111b24d5 JMD |
4971 | Wed Jun 29 16:50:00 1994 Ian Lance Taylor ([email protected]) |
4972 | ||
03730624 JMD |
4973 | * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. |
4974 | ||
111b24d5 JMD |
4975 | * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not |
4976 | accept plain -B. | |
4977 | * ld.texinfo: -Bstatic is not ignored. | |
4978 | ||
1c883f34 SS |
4979 | Tue Jun 28 12:13:34 1994 Stan Shebs ([email protected]) |
4980 | ||
4981 | * ldlex.l: Recognize \r the same as \n. | |
4982 | ||
4983 | Thu Jun 23 17:53:04 1994 Ian Lance Taylor ([email protected]) | |
4984 | ||
4985 | Preliminary support for generating shared libraries, from Eric | |
4986 | Youngdale <[email protected]>. | |
4987 | * genscripts.sh: If the emulation parameter file sets | |
4988 | GENERATE_SHLIB_SCRIPT, generate a .xs script file with | |
4989 | CREATE_SHLIB defined. | |
4990 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If | |
4991 | link_info.shared is set, use the .xs script file. | |
4992 | * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a | |
4993 | .interp section, and don't include TEXT_START_ADDR in the starting | |
4994 | address of the first section. | |
4995 | * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. | |
4996 | * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. | |
4997 | ||
1f8b3b57 DM |
4998 | Thu Jun 23 12:52:22 1994 David J. Mackenzie ([email protected]) |
4999 | ||
5000 | * configure.in: Change --with-targets to --enable-targets. | |
5001 | ||
3b7553e7 ILT |
5002 | Wed Jun 22 13:42:14 1994 Ian Lance Taylor ([email protected]) |
5003 | ||
cf4245af ILT |
5004 | * lexsup.c (parse_args): Add support for new options -( -) with |
5005 | synonyms --start-group --end-group. | |
5006 | * ldlang.h (enum statement_enum): Add lang_group_statement_enum. | |
5007 | (lang_group_statement_type): Define new struct. | |
5008 | (lang_statement_union_type): Add group_statement field. | |
5009 | (lang_enter_group, lang_leave_group): Declare. | |
5010 | * ldlang.c (lang_for_each_statement_worker): Handle | |
5011 | lang_group_statement_enum. | |
5012 | (map_input_to_output_sections, print_statement): Likewise. | |
5013 | (lang_size_sections, lang_do_assignments): Likewise. | |
5014 | (open_input_bfds): Completely rewrite. Now does its own looping, | |
5015 | rather than using lang_for_each_statement. Handle groups. | |
5016 | (lang_process): Update call to open_input_bfds. | |
5017 | (print_group): New static function. | |
5018 | (lang_enter_group, lang_leave_group): New static functions. | |
5019 | * ldfile.c (ldfile_open_file): If the file has already been | |
5020 | opened, just return rather than taking an assertion failure. | |
5021 | * ldver.c (help): Mention new options. | |
5022 | * ld.texinfo: Document new options. | |
5023 | ||
02b57980 ILT |
5024 | * ldlang.c (end_of_data_section_statement_list): Don't define. |
5025 | (lang_leave_output_section_statement): Don't set obsolete variable | |
5026 | end_of_data_section_statement_list. | |
5027 | ||
62a4b36c ILT |
5028 | * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an |
5029 | ALIGN. | |
5030 | ||
686739e2 ILT |
5031 | * ldlang.c (lang_size_sections): Adjust current region address |
5032 | even for sections with an explicit address. From | |
5033 | [email protected] (Ralph Campbell). | |
5034 | ||
7d56d4f1 ILT |
5035 | * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. |
5036 | From [email protected] (Rick Sladkey). | |
5037 | ||
3b7553e7 ILT |
5038 | * scripttempl/mipsbsd.sc: Let sections align to their natural |
5039 | boundaries. | |
5040 | ||
5041 | Tue Jun 21 11:27:04 1994 Ian Lance Taylor ([email protected]) | |
5042 | ||
5043 | * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not | |
5044 | &bfd_abs_section. | |
5045 | (lang_abs_symbol_at_beginning_of): Likewise. | |
5046 | (lang_abs_symbol_at_end_of): Likewise. | |
5047 | (lang_size_sections): Use bfd_is_abs_section to check for the | |
5048 | absolute section. Don't try to set the VMA or output_offset or | |
5049 | size of the absolute section. | |
5050 | * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the | |
5051 | undefined section. | |
5052 | ||
c4aa82c1 JL |
5053 | Thu Jun 16 22:48:41 1994 Jeff Law ([email protected]) |
5054 | ||
5055 | * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 | |
5056 | when generating relocatable objects. | |
5057 | ||
08f20f66 ILT |
5058 | Thu Jun 16 14:25:22 1994 Eric Youngdale ([email protected]) |
5059 | ||
5060 | * emultempl/linux.em: New file providing support for linking | |
5061 | against Linux shared libraries. | |
5062 | * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. | |
5063 | * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. | |
5064 | ||
952b6c2c ILT |
5065 | Thu Jun 16 12:22:01 1994 Ian Lance Taylor ([email protected]) |
5066 | ||
64887de2 ILT |
5067 | * lexsup.c (parse_args): Add -shared to longopts, and handle it. |
5068 | * ldmain.c (main): Initialize link_info.shared to false. Give | |
5069 | error if link_info.relocateable and link_info.shared are both set. | |
5070 | ||
5d1ffb2f ILT |
5071 | * configure.in: If EMUL_EXTRA* is defined in a config file, treat |
5072 | it as naming an emulation to be added to EMULATION_OFILES. | |
5073 | * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. | |
5074 | ||
bf82ab68 ILT |
5075 | * Makefile.in: Rebuilt dependencies. |
5076 | (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, | |
5077 | eelf64_sparc.o. Remove $(OTHER_EMULATIONS). | |
5078 | (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. | |
5079 | * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. | |
5080 | (ei386linux.c): Remove; now in Makefile.in. | |
5081 | * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. | |
5082 | * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. | |
5083 | * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. | |
5084 | * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. | |
5085 | (eelf64_sparc.c): Remove; now in Makefile.in. | |
5086 | * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. | |
5087 | (eelf32_sparc.c): Remove; now in Makefile.in. | |
5088 | ||
641fe79b ILT |
5089 | * ldexp.c (exp_print_tree): Don't crash if etree_rel section has |
5090 | no owner--it might be bfd_abs_section. From Eric Youngdale | |
5091 | <[email protected]>. | |
5092 | ||
952b6c2c ILT |
5093 | * scripttempl/aout.sc: Let sections align to their natural |
5094 | boundaries. | |
5095 | ||
c96386c4 ILT |
5096 | Wed Jun 15 01:54:54 1994 Ian Lance Taylor ([email protected]) |
5097 | ||
33b90e52 ILT |
5098 | * ldemul.h (ldemul_open_dynamic_archive): Declare. |
5099 | (ld_emulation_xfer_type): Add new field open_dynamic_archive. | |
5100 | * ldemul.c: Include ldexp.h and ldlang.h. | |
5101 | (ldemul_open_dynamic_archive): New function. | |
5102 | * ldfile.h (ldfile_open_file_search): Declare. | |
5103 | * ldfile.c: Include ldemul.h. | |
5104 | (try_open_bfd): Rename from cache_bfd_openr. Return boolean | |
5105 | argument, not bfd *. Change all callers. | |
5106 | (ldfile_open_file_search): Rename from open_a. Return boolean | |
5107 | argument, not bfd *. Clean up. Change all callers. | |
5108 | (ldfile_open_file): If doing a dynamic link, call | |
5109 | ldemul_open_dynamic_archive rather than assuming the extension of | |
5110 | a dynamic object is ".so". | |
5111 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
5112 | New function. | |
5113 | (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive | |
5114 | field. | |
5115 | * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
5116 | ||
cbbf9608 ILT |
5117 | * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. |
5118 | * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. | |
42792411 | 5119 | Accept -static as a synonym for -non_shared. |
cbbf9608 | 5120 | |
7fb9ca5f ILT |
5121 | Let the user change the dynamic linker used by ELF code. |
5122 | * ld.h (args_type): Add new field interpreter. | |
5123 | * lexsup.c (parse_args): Add dynamic-linker to longopts, and | |
5124 | handle it. | |
5125 | * ldmain.c (main): Initialize command_line.interpreter to NULL. | |
5126 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get | |
5127 | the ELF backend to return the .interp section. If | |
5128 | command_line.interpreter is not NULL, set the contents of .interp | |
5129 | to it. | |
5130 | * ld.texinfo: Mention -dynamic-linker. | |
5131 | ||
5132 | * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not | |
5133 | generic.em. | |
5134 | ||
bec7a138 ILT |
5135 | * lexsup.c (parse_args): Sort out the option macros and change the |
5136 | definitions to make it easier to add a new option. | |
5137 | ||
66da6c84 ILT |
5138 | * scripttempl/aout.sc: Define __etext and __edata to go along with |
5139 | _etext and _edata. | |
5140 | ||
c96386c4 | 5141 | * ld.h (ld_config_type): Add new field traditional_format. |
605da7e2 | 5142 | * lexsup.c (parse_args): Add traditional-format to longopts, and |
c96386c4 ILT |
5143 | handle it. |
5144 | * ldmain.c (main): Initialize config.traditional_format to false. | |
5145 | * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD | |
5146 | flags of output_bfd according to config.traditional_format. | |
605da7e2 | 5147 | * ldver.c (help): Mention -traditional-format. |
c96386c4 ILT |
5148 | * ld.texinfo: Document -traditional-format. |
5149 | ||
7fe331f1 ILT |
5150 | Tue Jun 14 23:10:07 1994 Ian Lance Taylor ([email protected]) |
5151 | ||
5152 | * ldctor.c (ldctor_add_entry): Add entries to a set in the order | |
5153 | they are encountered. | |
5154 | ||
39a00f7d ILT |
5155 | Tue Jun 14 18:05:09 1994 Eric Youngdale ([email protected]) |
5156 | ||
5157 | * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. | |
5158 | (NONPAGED_TEXT_START_ADDR): Define as 0x20. | |
5159 | ||
eb7edfa1 ILT |
5160 | Mon Jun 13 15:46:09 1994 Ian Lance Taylor ([email protected]) |
5161 | ||
23677217 ILT |
5162 | * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of |
5163 | _FTEXT, _ETEXT and _FDATA. Dont define _END. | |
5164 | ||
e845d289 ILT |
5165 | * ldfile.c (open_a): If this is not an archive, try to open it in |
5166 | the current directory before searching for it. | |
5167 | ||
3e1fd33d ILT |
5168 | * lexsup.c (parse_args): Treat -i as a synonym for -r. |
5169 | ||
f24078fd ILT |
5170 | * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that |
5171 | BLOCK works in a section address as documented. | |
5172 | ||
eb7edfa1 ILT |
5173 | * ldgram.y (YYDEBUG): Don't define. |
5174 | ||
f8015b85 ILT |
5175 | Fri Jun 10 16:45:39 1994 Ian Lance Taylor ([email protected]) |
5176 | ||
5177 | * emultempl/gld960.em: Pass false for new argument to | |
5178 | ldfile_add_library_path. | |
5179 | * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. | |
5180 | ||
5181 | * emultempl/sunos.em: Only look for .so files if doing a dynamic | |
5182 | link. | |
5183 | ||
9beeb5d9 ILT |
5184 | Thu Jun 9 08:35:17 1994 Ian Lance Taylor ([email protected]) |
5185 | ||
5186 | * scripttempl/i960.sc: Add CONSTRUCTORS to .data. | |
5187 | ||
64bb143c BC |
5188 | Thu Jun 9 06:52:29 1994 Bill Cox ([email protected]) |
5189 | ||
5190 | * Makefile.in (check): Delete ld.new dependency so that a regression | |
5191 | test doesn't trigger a rebuild of the linker. | |
5192 | ||
ef01a8a8 ILT |
5193 | Thu Jun 9 00:17:20 1994 Ian Lance Taylor ([email protected]) |
5194 | ||
5195 | * ldlang.c (map_input_to_output_sections): For lang_address, call | |
5196 | init_os if it hasn't already been called. | |
5197 | ||
ed601bea ILT |
5198 | Thu Jun 2 17:24:08 1994 Ian Lance Taylor ([email protected]) |
5199 | ||
5200 | Add support for SunOS shared libraries. | |
5201 | * aout.sc: Don't define __DYNAMIC here. Add new sections used by | |
5202 | shared library support code. | |
5203 | * emultempl/sunos.em: New file. | |
5204 | * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. | |
f7e66391 | 5205 | * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. |
ed601bea | 5206 | * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. |
f7e66391 | 5207 | (esun3.c): Likewise. |
ed601bea ILT |
5208 | |
5209 | * ldlang.c: Minor formatting cleanups. | |
5210 | (lang_for_each_input_file): New function. | |
5211 | * ldlang.h (lang_for_each_input_file): Declare. | |
5212 | ||
5213 | * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline | |
5214 | field. | |
5215 | (search_head): Declare. | |
5216 | (ldfile_add_library_path): Add new cmdline argument in prototype. | |
5217 | * ldfile.c (search_head): Make non-static. | |
5218 | (search_dirs_type): Move to ldfile.h. | |
5219 | (ldfile_add_library_path): Accept cmdline argument, and save it. | |
5220 | * lexsup.c (parse_args): Pass true for new cmdline argument of | |
5221 | ldfile_add_library_path. | |
5222 | (set_default_dirlist): Likewise. | |
5223 | * ldmain.c (check_for_scripts_dir): Pass false for new cmdline | |
5224 | argument of ldfile_add_library_path. | |
5225 | * ldgram.y (ifile_p1): Likewise. | |
5226 | ||
210c52ac ILT |
5227 | Wed Jun 1 14:24:08 1994 Ian Lance Taylor ([email protected]) |
5228 | ||
5229 | * ldlang.h (lang_input_statement_type): Remove fields subfiles, | |
5230 | total_size, superfile and chain. | |
5231 | * ldfile.c (open_a): Don't clear search_dirs_flag. | |
5232 | (ldfile_open_file): Don't try to open superfile. Assert that file | |
5233 | has not already been opened. | |
5234 | * ldlang.c (new_afile): Don't initialize superfile. | |
5235 | * ldmain.c (add_archive_element): Don't initialize subfiles or | |
5236 | chain or superfile. Initialize search_dirs_flag to false. | |
5237 | ||
c06e55d9 KR |
5238 | Fri May 27 12:25:33 1994 Ken Raeburn ([email protected]) |
5239 | ||
5240 | * ldver.c (ldversion): Changed version to "cygnus-2.4.1". | |
5241 | ||
5242 | Changes from binutils-2.4 release: | |
5243 | ||
5244 | * genscripts.sh (RELOCATING, CONSTRUCTING): When setting | |
5245 | variables, use whitespace, so scripts don't break. | |
5246 | ||
5247 | * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. | |
5248 | ||
5249 | * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. | |
5250 | ||
5251 | * cdtest-bar.cc: Renamed from cdtest-func.cc. | |
5252 | * Makefile.in: Noted change. | |
5253 | ||
5254 | * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I | |
5255 | don't know where that's supposed to come from, or why it's | |
5256 | necessary. | |
5257 | ||
5258 | Wed May 11 22:32:00 1994 DJ Delorie ([email protected]) | |
5259 | ||
5260 | * configure.bat: update to latest makefile.in | |
5261 | * emulpara/go32.sh: set to coff-go32 not aout | |
5262 | * emultemp/generic.em: strength-reduce the structure of | |
5263 | this shell script, since the only available shell for | |
5264 | DOS can't handle complex syntax. | |
5265 | * emultemp/stringify.sed: for "sed -f" instead of inline. | |
5266 | * makefile.in: depend on stringify.sed as well as genscripts.sh | |
5267 | * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format | |
5268 | * genscripts.sh: empty variables aren't always considered "set", | |
5269 | so set them to "y" instead. | |
5270 | ||
29371b1f ILT |
5271 | Fri May 27 01:08:14 1994 Ian Lance Taylor ([email protected]) |
5272 | ||
60e8a534 ILT |
5273 | * ldlang.c (entry_symbol): Make static. |
5274 | (lang_add_entry): Add cmdline argument. | |
5275 | * ldlang.h (lang_add_entry): Change prototype. | |
5276 | * ldgram.y (statement_anywhere): Change lang_add_entry call. | |
5277 | * lexsup.c (parse_args): Likewise. | |
29371b1f | 5278 | |
f49f58c6 ILT |
5279 | Tue May 24 16:13:43 1994 Ian Lance Taylor ([email protected]) |
5280 | ||
5281 | * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give | |
5282 | .reginfo an address. | |
5283 | (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. | |
5284 | (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. | |
5285 | * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. | |
5286 | ||
2a9fa50c ILT |
5287 | Thu May 19 13:31:33 1994 Ian Lance Taylor ([email protected]) |
5288 | ||
5289 | Add support for ELF shared libraries. | |
5290 | * ld.h (ld_config_type): Add field dynamic_link. | |
5291 | * ldmain.c (main): Initialize config.dynamic_link to false. Warn | |
5292 | on attempts to use -r with -relax, -call_shared or -s. | |
5293 | * lexsup.c (longopts): Separate OPTION_CALL_SHARED from | |
5294 | OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values | |
5295 | accordingly. Add "dy" and "non_shared" options. Change "Qy" to | |
5296 | OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and | |
5297 | OPTION_NON_SHARED by setting dynamic_link field accordingly. | |
5298 | Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for | |
5299 | -r and -Ur. | |
5300 | * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try | |
5301 | opening a file with a .so extension first. | |
5302 | * emultempl/elf32.em: New file. | |
5303 | * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. | |
5304 | (NONPAGED_TEXT_START_ADDR): Likewise. | |
5305 | (TEMPLATE_NAME): Define as elf32. | |
5306 | (DATA_PLT): Define. | |
5307 | * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. | |
5308 | * scripttempl/elf.sc: Add placement for new dynamic sections. | |
5309 | Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end | |
5310 | outside of any section. Don't use ALIGN(8); just let one section | |
5311 | VMA follow another. Put .dynbss in .bss. Don't mention debugging | |
5312 | sections; they'll be handled correctly anyhow. | |
5313 | * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. | |
5314 | ||
188ce705 ILT |
5315 | Wed May 18 10:15:39 1994 Ian Lance Taylor ([email protected]) |
5316 | ||
5317 | * Makefile.in (install): Redirect output of ln to /dev/null. | |
5318 | ||
4bd5c39f JL |
5319 | Mon May 16 13:35:08 1994 Jeff Law ([email protected]) |
5320 | ||
5321 | * emultempl/hppaelf.em: Change all references of | |
5322 | .hppa_linker_stubs to .PARISC.stubs. | |
5323 | * scripttempl/hppaelf.sc: Likewise. | |
5324 | ||
439a3604 ILT |
5325 | Fri May 13 13:00:38 1994 Ian Lance Taylor ([email protected]) |
5326 | ||
269773c1 ILT |
5327 | * ldlang.c (print_output_section_statement): Change ``no attached |
5328 | output section'' message slightly. | |
5329 | (lang_do_assignments): Don't recurse down if there is no real | |
5330 | section. | |
5331 | ||
439a3604 ILT |
5332 | * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to |
5333 | match corresponding change in emulation templates. | |
5334 | * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. | |
5335 | * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. | |
5336 | ||
82ebe9a2 KR |
5337 | Wed May 11 18:16:46 1994 Ken Raeburn ([email protected]) |
5338 | ||
5339 | * ldver.c (ldversion): Updated version number. | |
5340 | ||
5341 | * cdtest-foo.cc: Use explicit "#pragma implementation". | |
5342 | * cdtest-bar.cc: Renamed from cdtest-func.cc. | |
5343 | * Makefile.in: References to cdtest-func.o changed to | |
5344 | cdtest-bar.o. | |
5345 | ||
f9d3d71a ILT |
5346 | Wed May 11 16:24:19 1994 Ian Lance Taylor ([email protected]) |
5347 | ||
5348 | Don't create unnecessary output sections. | |
5349 | * ldlang.c (out_bfd_get_section_by_name): Remove. | |
5350 | (wild_section): Call bfd_get_section_by_name rather than | |
5351 | our_bfd_get_section_by_name. Don't call wild_doit if there is no | |
5352 | section. | |
5353 | (lang_create_output_section_statements): Remove. | |
5354 | (map_input_to_output_sections): For several cases, call init_os if | |
5355 | it has not already been called. | |
5356 | (lang_size_sections): If output section was not created, skip it. | |
5357 | (lang_process): Don't call lan_create_output_section_statements. | |
5358 | (lang_place_orphans): Skip files with just_syms_flags set to true. | |
5359 | * ld.texinfo: Document change. | |
5360 | ||
27f7237e ILT |
5361 | Tue May 10 14:31:16 1994 Ian Lance Taylor ([email protected]) |
5362 | ||
5363 | * ldlang.c (wild_doit): Don't bother initializing the vma and | |
5364 | section size. Don't special case SEC_SHARED_LIBRARY. | |
5365 | (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections | |
5366 | specially. | |
5367 | ||
c1124600 ILT |
5368 | Fri May 6 12:24:27 1994 Steve Chamberlain ([email protected]) |
5369 | ||
5370 | * config/go32.mh : New file for Xgo32X. | |
5371 | ||
f6671f28 ILT |
5372 | Fri May 6 15:15:35 1994 Ian Lance Taylor ([email protected]) |
5373 | ||
5acce559 ILT |
5374 | * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call |
5375 | before calling einfo, since we are reporting an fopen failure. | |
5376 | From [email protected] (Rick Sladkey). | |
5377 | ||
f6671f28 ILT |
5378 | * configure.in: Use "e" rather than "em_" as prefix for |
5379 | emulations. | |
5380 | ||
6e1e82a0 KR |
5381 | Fri May 6 01:08:14 1994 Ken Raeburn ([email protected]) |
5382 | ||
5383 | * emultempl/generic.em: Use "e" rather than "em_" as prefix for | |
5384 | filename. | |
5385 | * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, | |
5386 | emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: | |
5387 | Ditto. | |
5388 | * Makefile.in: Changed all generated file names. | |
5389 | (ldemul-list.h): Depend on Makefile, not config.status. Changed | |
5390 | sed patterns to handle new filenames. | |
5391 | ||
5392 | * config/mipsl-idt.mt: Renamed from mips-idtl.mt. | |
5393 | * configure.in: Adjusted. | |
5394 | ||
5395 | Thu May 5 15:07:32 1994 Ken Raeburn ([email protected]) | |
5396 | ||
5397 | * Makefile.in (install-info): Don't use "$<*", it doesn't always | |
5398 | work. Instead, check build dir and $srcdir explicitly, and use | |
5399 | `echo' to get all the filenames. | |
5400 | ||
5401 | * configure.in (h8300h-*-hms): Changed ld_target name to | |
5402 | cf-h8300h. | |
5403 | * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it | |
5404 | unique in 8.3. | |
5405 | ||
5406 | * config/i960coff.mt: New file. | |
5407 | * emulparams/gld960coff.sh: New file. | |
5408 | * emultempl/gld960c.em: New file. | |
5409 | * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use | |
5410 | i960coff configuration. | |
5411 | * Makefile.in (em_gld960coff.c): Added dependencies, build rule. | |
5412 | ||
5413 | * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the | |
5414 | code isn't included in FSF releases, and it can still be | |
5415 | explicitly selected. | |
5416 | (distclean): Remove site.bak and tmpdir. | |
5417 | (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). | |
5418 | (mostlyclean): Delete them explicitly here. Also remove tmpdir. | |
5419 | ||
5420 | Patches from Ralph Campbell: | |
5421 | * config/mipsbsd.mh: New file. | |
5422 | * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. | |
5423 | * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. | |
5424 | * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' | |
5425 | instead of `aout'. | |
5426 | ||
5427 | * configure.in (i386-*-gnu*): Treat like i386-*-mach*. | |
5428 | ||
269ec825 ILT |
5429 | Wed May 4 11:59:40 1994 Ian Lance Taylor ([email protected]) |
5430 | ||
6e1e82a0 KR |
5431 | * config/m68k.mt (EMUL): Set to m68kaout. |
5432 | * emulparams/m68kaout.sh: New file. | |
5433 | * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. | |
5434 | (em_m68kaout.c): New target. | |
5435 | ||
269ec825 ILT |
5436 | * ldlang.c (lang_size_sections): If dot moves because of an |
5437 | assignment, don't try to insert a pad into the absolute output | |
5438 | section, just change the address of the default memory region | |
5439 | instead. | |
5440 | ||
5441 | * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, | |
5442 | cdtest-ur.out, and cdtest-ur.tmp. | |
5443 | ||
e6d84626 ILT |
5444 | Wed Apr 27 16:03:37 1994 Ian Lance Taylor ([email protected]) |
5445 | ||
5446 | * scripttempl/sa29200.sc: Align all sections to four byte | |
5447 | boundaries. | |
5448 | ||
6c86b9ff SC |
5449 | Wed Apr 27 10:48:03 1994 Steve Chamberlain ([email protected]) |
5450 | ||
5451 | * Makefile.in, configure.in: Support for go32 coff. | |
5452 | * config/i386-go32.mt: New file | |
5453 | * emulparams/i386go32.sh: New file | |
5454 | * scripttempl/i386go32.sc: New file | |
5455 | ||
028f8872 SS |
5456 | Tue Apr 26 17:20:03 1994 Stan Shebs ([email protected]) |
5457 | ||
5458 | * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use | |
5459 | Lynx-specific script templates. | |
5460 | * configure.in (sparclite*-*-coff): Use coff-sparc. | |
5461 | * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. | |
5462 | * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. | |
5463 | (ENTRY): Set to __main. | |
5464 | * scripttempl/i386lynx.sc: New file, script for I386 Lynx. | |
5465 | * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. | |
5466 | * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. | |
5467 | ||
cde73501 ILT |
5468 | Tue Apr 26 12:41:03 1994 Ian Lance Taylor ([email protected]) |
5469 | ||
c435aba8 ILT |
5470 | * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 |
5471 | byte boundary, in case the global constructors do not take up an | |
5472 | even 16 bytes. | |
5473 | ||
cde73501 ILT |
5474 | * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not |
5475 | exist, get crtbegin based on gcc -print-libgcc-file-name. | |
5476 | (HOSTING_LIBS): Similar change for ../gcc/crtend.o. | |
5477 | ||
feaa9c4b ILT |
5478 | Mon Apr 25 15:27:52 1994 Ian Lance Taylor ([email protected]) |
5479 | ||
5480 | * ldlang.c (lang_size_sections): When no address is given for a | |
5481 | section, align it according to its requirements. | |
5482 | ||
1e45c4c3 ILT |
5483 | Thu Apr 21 17:24:24 1994 Ian Lance Taylor ([email protected]) |
5484 | ||
5485 | * Makefile.in (clean, distclean): Remove configdoc.texi. | |
5486 | ||
9ad75873 BC |
5487 | Tue Apr 19 12:12:15 1994 Bill Cox ([email protected]) |
5488 | ||
5489 | * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. | |
5490 | ||
9d87af56 ILT |
5491 | Fri Apr 15 14:35:42 1994 Ian Lance Taylor ([email protected]) |
5492 | ||
5493 | * ldlang.c (lang_size_sections): When relaxing, adjust the | |
5494 | position of a padding statement, and adjust dot accordingly. | |
5495 | ||
ea68d58d BC |
5496 | Mon Apr 11 17:37:09 1994 Bill Cox ([email protected]) |
5497 | ||
5498 | * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. | |
5499 | ||
4f2ee958 ILT |
5500 | Mon Apr 11 12:32:57 1994 Ian Lance Taylor ([email protected]) |
5501 | ||
5502 | * scripttempl/i386coff.sc: If relocating, don't put .init and | |
5503 | .fini sections into .text; keep them separate. | |
5504 | * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not | |
5505 | exist, get crtbegin based on gcc -print-libgcc-file-name. | |
5506 | (HOSTING_LIBS): Similar change for ../gcc/crtend.o. | |
5507 | ||
099c286e BC |
5508 | Mon Apr 11 10:31:00 1994 Bill Cox ([email protected]) |
5509 | ||
5510 | * Makefile.in (check): Set TCL_LIBRARY for runtest. | |
5511 | ||
79f7de91 JL |
5512 | Wed Apr 6 00:09:37 1994 Jeffrey A. Law ([email protected]) |
5513 | ||
f39a73b1 JL |
5514 | * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the |
5515 | manufacturer. | |
5516 | ||
79f7de91 JL |
5517 | * emultempl/hppaelf.em (hppaelf_finish): Only resize sections |
5518 | if building a final executable. | |
5519 | ||
67d0e7ff ILT |
5520 | Tue Apr 5 12:17:30 1994 Ian Lance Taylor ([email protected]) |
5521 | ||
5522 | * ldmain.c (main): Check the return value of bfd_close. | |
5523 | ||
be9ffc1f ILT |
5524 | Thu Mar 31 18:07:06 1994 Ian Lance Taylor ([email protected]) |
5525 | ||
5526 | * scripttempl/alpha.sc: Clean up section alignment to ensure that | |
5527 | sections never overlap when using -r. | |
5528 | ||
6c00b04f ILT |
5529 | Wed Mar 30 15:51:15 1994 Ian Lance Taylor ([email protected]) |
5530 | ||
5531 | * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD | |
5532 | changes: get_symtab_upper_bound renamed and returns long, | |
5533 | bfd_canonicalize_symtab returns long, check for error indications. | |
5534 | ||
f078dc7c ILT |
5535 | Fri Mar 25 17:20:01 1994 Ian Lance Taylor ([email protected]) |
5536 | ||
5537 | * ldlang.c (print_input_section): For section size, use | |
5538 | _cooked_size if it is non-zero, size otherwise. | |
5539 | (size_input_section): Likewise. | |
5540 | (lang_do_assignments): Likewise (case lang_input_section_enum). | |
5541 | ||
193c5f93 ILT |
5542 | Thu Mar 24 15:20:47 1994 Ian Lance Taylor ([email protected]) |
5543 | ||
5544 | * ldlang.c (new_afile): Add new argument add_to_list. Don't set | |
5545 | real to true for lang_input_file_is_marker_enum. Clear the_bfd. | |
5546 | (lang_add_input_file): Pass true to new_afile for add_to_list. | |
5547 | (lookup_name): Remove force_load argument. Changed all callers. | |
5548 | Pass false to new_afile for add_to_list. Split loading of symbols | |
5549 | out into separate function. | |
5550 | (load_symbols): New function split out of lookup_name. Don't load | |
5551 | the symbols if they are already loaded. | |
5552 | (open_input_bfds): For lang_input_statement_enum call load_symbols | |
5553 | rather than lookup_name. | |
5554 | (lang_process): Pass abs_output_section rather than NULL to | |
5555 | lang_size_sections. | |
5556 | (lang_startup): Set real field of first_file to true. | |
5557 | ||
a2670c2f ILT |
5558 | Wed Mar 23 14:15:44 1994 Ian Lance Taylor ([email protected]) |
5559 | ||
193c5f93 ILT |
5560 | * ldlang.c (had_relax): Removed. |
5561 | (relax_again): New static variable. | |
5562 | (lang_size_sections): Change call to bfd_relax_section to | |
5563 | correspond to BFD changes. Set relax_again appropriately. | |
5564 | (lang_process): Remove #if 0 code. When relaxing, keep calling | |
5565 | lang_do_assignments and lang_size_sections until relax_again | |
5566 | becomes false. | |
5567 | ||
a2670c2f ILT |
5568 | * emultemp/gld960.em: Include libiberty.h |
5569 | (gld960_before_parse): Pass NULL as final argument to concat. | |
5570 | ||
f3bc3ac3 ILT |
5571 | Tue Mar 22 13:08:28 1994 Ian Lance Taylor ([email protected]) |
5572 | ||
f7a26f1b ILT |
5573 | * scripttempl/aout.sc: Force _end and __end to be aligned to a |
5574 | four byte boundary. | |
5575 | ||
f3bc3ac3 ILT |
5576 | * ldwrite.c (build_link_order): Handle lang_data_statement_enum by |
5577 | building a bfd_data_link_order, rather than by setting the section | |
5578 | contents immediately. | |
5579 | ||
4fdbafb2 ILT |
5580 | Mon Mar 21 18:28:37 1994 Ian Lance Taylor ([email protected]) |
5581 | ||
5582 | Changes to make -Ur work again. | |
5583 | * ldmain.c (add_to_set): Now takes reloc argument rather than | |
5584 | bitsize. Check config.build_constructors here. If an new hash | |
5585 | table entry is created, mark it as undefined. | |
5586 | (constructor_callback): No longer takes bitsize argument. Pass | |
5587 | BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the | |
5588 | BFD backend supports it. | |
5589 | (reloc_overflow): Handle a NULL abfd argument. | |
5590 | (reloc_dangerous, unattached_reloc): Likewise. | |
5591 | * ldctor.c: Include ldmain.h. | |
5592 | (struct set_info): Change bitsize field to reloc. | |
5593 | (ldctor_add_set_entry): Now takes reloc argument rather than | |
5594 | bitsize. Don't bother to check config.build_constructors here. | |
5595 | (ldctor_build_sets): Get the size from the reloc howto. If | |
5596 | generating relocateable output, call lang_add_reloc rather than | |
5597 | lang_add_data. | |
5598 | * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc | |
5599 | instead of bitsize. | |
5600 | * ldlang.h (statement_enum): Add lang_reloc_statement_enum. | |
5601 | (lang_reloc_statement_type): New structure. | |
5602 | (lang_statement_union_type): Add reloc_statement field. | |
5603 | (lang_add_reloc): Declare new function. | |
5604 | * ldlang.c (lang_for_each_statement_worker): Handle | |
5605 | lang_reloc_statement_enum. | |
5606 | (map_input_to_output_sections, print_statement): Likewise. | |
5607 | (lang_size_sections, lang_do_assignments): Likewise. | |
5608 | (print_reloc_statement): New function. | |
5609 | (lang_add_reloc): New function. | |
5610 | * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. | |
5611 | ||
5612 | * Makefile.in (cdtest.out, cdtest-ur.o): New targets. | |
5613 | (cdtest-ur, cdtest-ur.out): New targets. | |
5614 | (check-cdtest): Now also check that -Ur works correctly. | |
5615 | ||
5616 | * scripttemp/alpha.sc: Align all sections to 16 byte boundaries. | |
5617 | ||
5618 | Thu Mar 17 12:45:41 1994 Ian Lance Taylor ([email protected]) | |
5619 | ||
5620 | * ldlang.c (lang_process): Move lang_common call before | |
5621 | map_input_to_output_sections, to ensure that any alignment | |
5622 | constraints set by common symbols are copied over to the output | |
5623 | sections. | |
5624 | ||
5625 | Fri Mar 11 22:17:34 1994 Ian Lance Taylor ([email protected]) | |
5626 | ||
5627 | * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. | |
5628 | (OTHER_READWRITE_SECTIONS): Rename .toc to .got. | |
5629 | * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. | |
5630 | * emultempl/ppc.em: Remove ugly stub code; turns out not to be | |
5631 | needed for ELF. | |
5632 | ||
0071a731 DM |
5633 | Tue Mar 8 04:22:27 1994 David J. Mackenzie ([email protected]) |
5634 | ||
5635 | * config/i386bsd.mh: New file. | |
5636 | ||
7f0638d5 ILT |
5637 | Mon Mar 7 15:23:24 1994 Ian Lance Taylor ([email protected]) |
5638 | ||
5639 | * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be | |
5640 | defined. | |
5641 | * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. | |
5642 | (DATA_START_SYMBOLS): Define _fdata. | |
5643 | ||
b897ed67 SS |
5644 | Mon Feb 28 10:59:14 1994 Stan Shebs ([email protected]) |
5645 | ||
5646 | * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. | |
5647 | ||
2e39abdb JL |
5648 | Sun Feb 27 16:29:38 1994 Jeffrey A. Law ([email protected]) |
5649 | ||
ff68559e JL |
5650 | * emultempl/hppaelf.em (hppaelf_finish): Update comments. This |
5651 | works again. Attach some output symbols to the stub file bfd. | |
5652 | ||
2e39abdb JL |
5653 | * emultempl/hppaelf.em: Include elf32-hppa.h. |
5654 | (file_chain): Add decl. | |
5655 | (hppa_look_for_stubs_in_section): Delete decl. | |
5656 | (hppaelf_finish): Reenable code. Do not pass symbols | |
5657 | down to hppa_look_for_stubs_in_section. | |
5658 | ||
b495c314 ILT |
5659 | Sat Feb 26 10:58:25 1994 Ian Lance Taylor ([email protected]) |
5660 | ||
5661 | * ldmain.c (write_map): Don't define. Removed all references. | |
5662 | Just use map_file or map_filename instead. | |
5663 | (add_archive_element): Use minfo to write map information, not | |
5664 | info_msg. | |
5665 | (constructor_callback): Use fprintf to write map information, not | |
5666 | info_msg. | |
5667 | * ldmain.h (write_map): Don't declare. | |
5668 | * ldgram.y (mri_script_command): Removed reference to write_map. | |
5669 | * ldlang.c (lang_one_common): Likewise. | |
5670 | * lexsup.c (parse_args): Likewise. | |
5671 | ||
4725fb48 ILT |
5672 | Fri Feb 25 19:12:03 1994 Ian Lance Taylor ([email protected]) |
5673 | ||
bff600cf ILT |
5674 | * scripttempl/elf.sc: Force all sections to be aligned. |
5675 | ||
27baca71 ILT |
5676 | * ldgram.y (section): Reverse the order of memspec_opt and |
5677 | fill_opt to avoid an ambiguity when both are used. | |
5678 | * ld.texinfo: Changed accordingly. | |
5679 | ||
6232b6c4 ILT |
5680 | * ldgram.y: Move include of ldlex.h back with other includes. |
5681 | * ldlex.h (input_type): Don't initialize enum constants to | |
5682 | particular values. | |
5683 | * ldlex.l: Use a switch to return the right token based on | |
5684 | input_type, rather than knowing that input_type has a value based | |
5685 | on a token type. | |
5686 | ||
4725fb48 ILT |
5687 | * ldgram.y (dirlist_ptr): Removed; not used. |
5688 | * lexsup.c: Include ldver.h. | |
5689 | * Makefile.in: Rebuilt dependencies. | |
5690 | ||
fc1dfb71 ILT |
5691 | Fri Feb 25 18:55:54 1994 Ted Lemon ([email protected]) |
5692 | ||
5693 | * ldlang.c (lookup_name): don't call bfd_set_gp_size. | |
5694 | (ldlang_add_file): call it here instead. | |
5695 | ||
ff33a8c1 DM |
5696 | Fri Feb 25 18:13:46 1994 David J. Mackenzie ([email protected]) |
5697 | ||
5698 | * ldgram.y: Include ldlex.h after %token decls, for byacc. | |
5699 | ||
a62494c4 JL |
5700 | Fri Feb 25 10:47:25 1994 Jeffrey A. Law ([email protected]) |
5701 | ||
531a5bd1 JL |
5702 | * emultempl/hppaelf.em: First attempt to clean this file up. |
5703 | Add comments in several functions as to their purpose and | |
5704 | how they function (or my current best guess). Clean up horrible | |
5705 | spacing and indention that never should have been accepted in the | |
5706 | first place. Add FIXMEs for issues which need to be resolved. | |
5707 | Disable linker-stub generation until it gets fixed. This allows | |
5708 | the linker to at least work on simple code for testing purposes. | |
5709 | ||
a62494c4 JL |
5710 | * ldlang.c (lang_size_sections): No longer static (PA ELF calls |
5711 | it via hppaelf_finish). Prototype moved into ldlang.h. | |
5712 | (lang_process): Move problematic extra call to lang_size_sections | |
5713 | into the PA ELF specific code. | |
5714 | * emultempl/hppaelf.em (hppaelf_finish): Extra call to | |
5715 | lang_size_sections moved here. | |
5716 | ||
c361ce46 ILT |
5717 | Thu Feb 24 16:47:33 1994 Ian Lance Taylor ([email protected]) |
5718 | ||
5719 | * configure.in (powerpc-*-elf*): New target; use ppc-elf32. | |
5720 | * config/ppc-elf32.mt: New file. | |
5721 | * emulparams/elf32ppc.sh: New file. | |
5722 | * emultempl/ppc.em: New file. | |
5723 | * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. | |
5724 | (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. | |
5725 | (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. | |
5726 | ||
d4e5e3c3 DM |
5727 | Thu Feb 24 12:27:07 1994 David J. Mackenzie ([email protected]) |
5728 | ||
d5b79a89 DM |
5729 | * lexsup.c (parse_args): Use symbolic numbers for long options. |
5730 | Fix misunderstanding in -Y and -call_shared et al. | |
5731 | ||
d4e5e3c3 DM |
5732 | Use getopt instead of lex and yacc to parse the command line. |
5733 | ||
5734 | * ld.texinfo (Options): Document changes to option syntax. | |
5735 | * Makefile.in: Update dependencies. | |
5736 | * ldver.c (help): Tweak dashes in usage message. | |
5737 | * ldgram.y (%union): Remove unused members. | |
5738 | Remove %tokens for command line options; add ones for input types. | |
5739 | (command_line): Rules removed. | |
5740 | (file): Instead of command line, recognize an | |
5741 | input type indicator, then use the nonterminal for that type. | |
5742 | (defsym_expr): New nonterminal from code formerly in command_line. | |
5743 | * ldlex.h: Declare parser input type enum and variable. | |
5744 | Don't declare parse_line. | |
5745 | * ldlex.l: Remove unused variables. Make some used ones static | |
5746 | and comment them. | |
5747 | (COMMAND): Start state and its rules removed. | |
5748 | At start of yylex, return input state token if at start of input. | |
5749 | (lex_redirect): Don't need to set yyout. | |
5750 | (ldlex_command): Function removed. | |
5751 | * ldmain.c (main): Instead of calling parse_line, set up the | |
5752 | redirections and call yyparse directly. | |
5753 | * ldmisc.c (vfinfo): If there's no input filename, print nothing, not | |
5754 | "command line". | |
5755 | * lexsup.c: Remove #if 0'd code. | |
5756 | (parse_line): Function removed. | |
5757 | (parse_args): Rewrite to use getopt_long_only. | |
5758 | (set_default_dirlist): New function from code formerly in | |
5759 | ldgram.y:command_line. | |
5760 | (set_section_start): New function. | |
5761 | * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, | |
5762 | emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose | |
5763 | compiled-in link scripts in "{" and "}", as the grammar no longer | |
5764 | wants them to be. | |
5765 | ||
5766 | Thu Feb 24 08:43:26 1994 Ken Raeburn ([email protected]) | |
5767 | ||
5768 | * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't | |
5769 | require that it be in $(srcdir). | |
5770 | ||
6b8929a1 ILT |
5771 | Tue Feb 22 09:21:18 1994 Ian Lance Taylor ([email protected]) |
5772 | ||
a733e1d7 ILT |
5773 | * ldlang.c (lang_size_sections): Only align section to alignment |
5774 | required by linker script, not to maximum alignment of input | |
5775 | sections. | |
5776 | ||
6b8929a1 ILT |
5777 | * ldlang.h (largest_section): Don't declare. |
5778 | * ldlang.c (largest_section): Don't define. | |
5779 | (size_input_section): Don't set largest_section; not used. | |
5780 | ||
ef76742f ILT |
5781 | Mon Feb 21 15:15:29 1994 Ian Lance Taylor ([email protected]) |
5782 | ||
5783 | * ldlang.c (new_afile): Pass NULL as last argument to concat. | |
5784 | ||
42f62ead ILT |
5785 | Thu Feb 17 15:51:23 1994 Ian Lance Taylor ([email protected]) |
5786 | ||
5787 | * ldlang.c, ldmain.c: Include libiberty.h. | |
5788 | ||
5789 | * ldmisc.h (concat): Don't declare. | |
5790 | * ldmisc.c (concat): Don't define; just use the one in libiberty. | |
5791 | ||
5792 | * ld.h (as_output_section_statement): Removed; not used. | |
5793 | ||
5bcb7f28 DM |
5794 | Thu Feb 17 09:32:14 1994 David J. Mackenzie ([email protected]) |
5795 | ||
5796 | * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and | |
5797 | bfd_set_error and new error names. | |
5798 | ||
7ff6f2da KR |
5799 | Tue Feb 15 20:14:53 1994 Ken Raeburn ([email protected]) |
5800 | ||
5801 | * ldwrite.c (build_link_order): If the cooked size of the section | |
5802 | has been set, use it, for determining link_order size. | |
5803 | (ldwrite): In the error message displayed if bfd_final_link fails, | |
5804 | indicate that it was in fact the final link step that failed. | |
5805 | ||
5806 | * ldlang.c (lang_size_sections): Clear bfd_error before calling | |
5807 | bfd_relax_section, in case it returns false but doesn't flag an | |
5808 | error. If an error is returned, indicate which one it is in the | |
5809 | error message. | |
5810 | ||
5811 | * Makefile.in (install-info): Depend on ld.info, and use "$<*" so | |
5812 | it'll get picked up from $(srcdir) if appropriate. | |
5813 | ||
5814 | Tue Feb 15 16:32:04 1994 David J. Mackenzie ([email protected]) | |
5815 | ||
5816 | * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. | |
5817 | * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. | |
5818 | ||
09aaf97a DM |
5819 | Fri Feb 11 17:02:49 1994 David J. Mackenzie ([email protected]) |
5820 | ||
5821 | * ldlex.l (comment): Increment line number when newline is read. | |
5822 | ||
c4e48be3 ILT |
5823 | Fri Feb 11 17:36:20 1994 Ian Lance Taylor ([email protected]) |
5824 | ||
5825 | * ldlang.c (lookup_name): Take new argument, force_load. If true, | |
5826 | reload the file even if it is already loaded. | |
5827 | (wild): Call lookup_name with force_load argument of 0. | |
5828 | (open_input_bfds): Call lookup_name with force_load argument of 1. | |
5829 | (print_symbol): Remove declaration of non-existent function. | |
5830 | (print_one_symbol): Return true rather than falling off end. | |
5831 | ||
410945f1 ILT |
5832 | Thu Feb 10 11:52:38 1994 Ian Lance Taylor ([email protected]) |
5833 | ||
5834 | * ldmain.c (main): Use %ld when printing long values. | |
5835 | ||
5836 | * scripttempl/elf.sc: Move _edata after the .sdata section. | |
5837 | Permit OTHER_BSS_SYMBOLS to be defined. | |
5838 | * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. | |
5839 | ||
f7d4f6f6 JL |
5840 | Mon Feb 7 16:31:15 1994 Jeffrey A. Law ([email protected]) |
5841 | ||
5842 | * Rename all "hppaosf" files to "hppaelf". | |
410945f1 ILT |
5843 | * Change all "osf" references to "elf" in hppaelf files. |
5844 | * Makefile.in: Likewise. | |
5845 | * configure.in: Likewise. | |
f7d4f6f6 | 5846 | |
f4972135 DM |
5847 | Sun Feb 6 20:31:56 1994 David J. Mackenzie ([email protected]) |
5848 | ||
6f671266 DM |
5849 | * ldmain.c (main): Call xatexit, not atexit. |
5850 | Call xmalloc_set_program_name. | |
5851 | ||
f4972135 DM |
5852 | * ldlang.c (lang_size_sections): Check if bfd_relax_section set |
5853 | bfd_errno. | |
5854 | ||
52a8ebfe DM |
5855 | Sat Feb 5 03:54:34 1994 David J. Mackenzie ([email protected]) |
5856 | ||
5857 | * emultempl/lnk960.em (append), emultempl/hppaosf.em | |
5858 | (hppaosf_finish): Call xmalloc, not ldmalloc. | |
5859 | * ldmain.c (preserve_output): Function removed. | |
5860 | (main): Do it here instead. | |
5861 | ||
9dd7d585 JL |
5862 | Fri Feb 4 23:02:19 1994 Jeffrey A. Law ([email protected]) |
5863 | ||
5864 | * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) | |
5865 | GNU C specific macros. | |
5866 | ||
5867 | * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining | |
5868 | call to LANG_FOR_EACH_INPUT_SECTION. | |
5869 | ||
0b2f8d2e DM |
5870 | Fri Feb 4 16:26:08 1994 David J. Mackenzie ([email protected]) |
5871 | ||
5872 | * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions | |
5873 | deleted; will use libiberty versions instead. | |
5874 | * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c | |
5875 | mri.c Makefile.in: Change callers. | |
5876 | ||
5877 | * ldmisc.c (vfinfo): Remove cleanup code. | |
5878 | * ldmain.c (remove_output): Put it here (new function). | |
5879 | (preserve_output): New function. | |
5880 | (main): Register remove_output and preserve_output with atexit. | |
5881 | * ldmain.c ldgram.y: Call xexit instead of exit. | |
5882 | * ldmisc.h: Declare xexit. | |
5883 | ||
9e0f78c8 SC |
5884 | Fri Feb 4 15:19:01 1994 Steve Chamberlain ([email protected]) |
5885 | ||
5886 | * Makefile.in: Lots of new H8/500 memory models. | |
5887 | ||
836dcbcf KR |
5888 | Sun Jan 30 14:33:40 1994 Ken Raeburn ([email protected]) |
5889 | ||
5890 | * ldlex.l: Removed duplicate rules. | |
5891 | (yywrap): Provide default definition, needed with some versions of | |
5892 | flex. | |
5893 | ||
fb55f9b8 DM |
5894 | Fri Jan 28 09:12:56 1994 David J. Mackenzie ([email protected]) |
5895 | ||
288897f4 DM |
5896 | * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print |
5897 | the archive filename too. | |
5898 | ||
fb55f9b8 DM |
5899 | * ldlex.l: Add rule to catch invalid input characters instead of |
5900 | printing them. Include "ldmain.h" for program_name decl. | |
5901 | (lex_warn_invalid): New function. | |
5902 | * Makefile.in: Add dependency. | |
5903 | ||
f3c6455f KR |
5904 | Fri Jan 28 12:58:45 1994 Ken Raeburn ([email protected]) |
5905 | ||
5906 | * Makefile.in (check): Don't bother running any tests of | |
5907 | cross-linker until the test suite no longer assumes native mode. | |
5908 | ||
804c8601 SC |
5909 | Thu Jan 27 17:19:54 1994 Steve Chamberlain ([email protected]) |
5910 | ||
5911 | * ldlang.c (print_one_symbol, print_input_section): Print | |
5912 | global symbols in symbol table again. | |
5913 | ||
7b40f2b1 DM |
5914 | Thu Jan 27 12:35:01 1994 David J. Mackenzie ([email protected]) |
5915 | ||
5916 | * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, | |
5917 | exit successfully instead of complaining if no input files are | |
5918 | given. | |
5919 | ||
8594f568 SS |
5920 | Tue Jan 25 13:19:41 1994 Stan Shebs ([email protected]) |
5921 | ||
74e6b793 SS |
5922 | * Makefile.in: Format variable definitions consistently. |
5923 | (LD_PROG): Remove unnecessary variables from link command, | |
5924 | change variable LOADLIBES to EXTRALIBS. | |
5925 | ||
8594f568 SS |
5926 | * ldmain.c (main): Compute and display total execution time. |
5927 | * ld.texinfo (-stats): Document the option. | |
5928 | ||
755f42fe ILT |
5929 | Mon Jan 24 12:56:37 1994 Ian Lance Taylor ([email protected]) |
5930 | ||
5dad4c97 ILT |
5931 | * ldmain.c (reloc_overflow): Added name, reloc_name and addend |
5932 | arguments. | |
5933 | ||
de08b0b1 ILT |
5934 | * ldlang.c (lookup_name): Set BFD GP size to -G argument value |
5935 | after opening BFD. | |
5936 | ||
755f42fe ILT |
5937 | * ldlang.c (relaxing): Removed global variable. |
5938 | (lang_size_sections): If the canonical symbols have not already | |
5939 | been read in, read them in before relaxing. | |
5940 | * ldlang.h (relaxing): Removed declaration. | |
5941 | ||
5e6cd559 ILT |
5942 | Fri Jan 21 00:44:44 1994 Ian Lance Taylor ([email protected]) |
5943 | ||
5944 | * ldlang.c (new_afile): Initialize loaded field to false. | |
5945 | (lookup_name): If file was already loaded, don't call the | |
5946 | add_symbols entry point again. | |
5947 | ||
8de26d62 DM |
5948 | Wed Jan 19 13:57:00 1994 David J. Mackenzie ([email protected]) |
5949 | ||
5950 | * ld.texinfo: Clarify what -T option does. | |
5951 | ||
a843c817 SC |
5952 | Tue Jan 18 16:18:15 1994 Steve Chamberlain ([email protected]) |
5953 | ||
5954 | * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's | |
5955 | for a.out. | |
5956 | ||
901f3538 ILT |
5957 | Tue Jan 11 13:22:04 1994 Ian Lance Taylor ([email protected]) |
5958 | ||
8a432746 ILT |
5959 | * ldmain.c (add_archive_element): If trace_files or |
5960 | trace_file_tries, print file name. | |
5961 | * ldlang.c (lookup_name): Likewise. | |
5962 | (ldlang_add_file): Don't put files on input_bfds list in reverse | |
5963 | order. | |
5964 | ||
901f3538 ILT |
5965 | * scripttempl/elf.sc: Correct typo. |
5966 | ||
c344d884 DM |
5967 | Mon Jan 10 19:49:05 1994 David J. Mackenzie ([email protected]) |
5968 | ||
5969 | * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and | |
5970 | their arguments optional, for compatibility with the old GNU ld. | |
5971 | ||
267a3ab3 ILT |
5972 | Fri Jan 7 20:00:24 1994 Ian Lance Taylor ([email protected]) |
5973 | ||
5974 | * scripttempl/elf.c: Define __bss_start before the .sbss section. | |
5975 | ||
3107eb5b ILT |
5976 | Thu Jan 6 00:13:10 1994 Ian Lance Taylor ([email protected]) |
5977 | ||
2f84ec0d ILT |
5978 | * ldmain.c (add_to_set): Add bitsize argument. |
5979 | (constructor_callback): New function. | |
5980 | (link_callbacks): Add constructor_callback. | |
5981 | * ldctor.c (struct set_info): Add bitsize field. | |
5982 | (ldctor_add_set_entry): Add bitsize argument. | |
5983 | (ldctor_build_sets): Base the size of the elements of the set on | |
5984 | the bitsize, rather than always using LONG. | |
5985 | * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. | |
5986 | ||
5987 | * ld.h (QUAD_SIZE): Define. | |
5988 | * ldgram.y (QUAD): New token. | |
5989 | (length): Handle it. | |
5990 | * ldlex.l: Return QUAD. | |
5991 | * lexsup.c (keywords): Add QUAD. | |
5992 | * ldwrite.c (build_link_order): Handle QUAD. | |
5993 | * ldlang.c (print_data_statement): Handle QUAD. | |
5994 | (lang_size_sections): Likewise. | |
5995 | (lang_do_assignments): Likewise. | |
5996 | * ldexp.c (exp_print_token): Add QUAD to table. | |
5997 | * ld.texinfo: Describe QUAD. | |
5998 | ||
3107eb5b ILT |
5999 | * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, |
6000 | since the Alpha doesn't use them. | |
6001 | ||
080d8af0 DM |
6002 | Wed Jan 5 17:42:16 1994 David J. Mackenzie ([email protected]) |
6003 | ||
6004 | * ldemul.h (ld_emulation_xfer_struct): Comment the members. | |
6005 | ||
6006 | Sat Jan 1 13:39:31 1994 Rob Savoye ([email protected]) | |
6007 | ||
6008 | * Makefile.in, configure.in: Add support for VSTa micro-kernel. | |
6009 | * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. | |
6010 | ||
34f9bf4b DM |
6011 | Sat Jan 1 10:53:35 1994 David J. Mackenzie ([email protected]) |
6012 | ||
6013 | * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; | |
23fdc6be | 6014 | needed for i386mach. (Should be a no-op on other systems.) |
34f9bf4b DM |
6015 | |
6016 | * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. | |
6017 | (PAGE_SIZE): Don't define; not used. | |
6018 | ||
1d166443 ILT |
6019 | Fri Dec 31 16:12:06 1993 Ian Lance Taylor ([email protected]) |
6020 | ||
6021 | * ldgram.y (yyerror): Make argument const char *, and actually | |
6022 | print it out rather than assuming it is a syntax error. | |
6023 | * ldmisc.h: Change declaration of yyerror. | |
6024 | * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. | |
6025 | ||
ae9c8007 DM |
6026 | Fri Dec 31 11:37:28 1993 David J. Mackenzie ([email protected]) |
6027 | ||
6028 | * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include | |
6029 | exec header offset, since the exec header isn't loaded. | |
6030 | (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. | |
6031 | ||
4a6afc88 ILT |
6032 | Thu Dec 30 13:01:43 1993 Ian Lance Taylor ([email protected]) |
6033 | ||
6034 | A major rewrite to move the bulk of the linker into BFD so that | |
6035 | more efficient backend code can be written for specific object | |
6036 | files. | |
6037 | * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, | |
6038 | ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. | |
6039 | * ldctor.c, ldctor.h: Complete rewrite. | |
6040 | * ldwrite.c, ldwrite.h: Complete rewrite. | |
6041 | * ld.h (strip_symbols_type, strip_symbols): Removed. Use | |
6042 | link_info.strip instead. Changed all uses. | |
6043 | (discard_locals_type, discard_locals): Removed. Use | |
6044 | link_info.discard instead. Changed all uses. | |
6045 | (ld_config_type): Removed relocateable_output field; use | |
6046 | link_info.relocateable instead; changed all uses. Added stats | |
6047 | field. | |
6048 | (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, | |
6049 | set_loader_symbol): Removed. | |
6050 | * ldexp.h (node_class): Added etree_rel. | |
6051 | (etree_type): Added rel field. | |
6052 | * ldexp.c (exp_print_token): Bracketed table initialization. | |
6053 | (exp_relop): New function. | |
6054 | (fold_name): Use linker hash table rather than ldsym functions. | |
6055 | (exp_fold_tree): Likewise. Also, handle etree_rel case. | |
6056 | (exp_print_tree): Handle etree_rel. | |
6057 | * ldgram.y (strip_symbols, discard_locals): Removed. | |
6058 | (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. | |
6059 | (REL): New token. Does not appear in grammar, but needed for | |
6060 | expression code. | |
6061 | (file): Don't call lang_final; it's called by main anyhow. | |
6062 | * ldlex.l: Accept -stats and -no-keep-memory options. | |
6063 | * ldlang.h (fill_type): Make unsigned int, not unsigned short. | |
6064 | * ldlang.c: Consistently use fill_type for fill argument. | |
6065 | (lang_init_script_file, script_file): Removed. | |
6066 | (create_object_symbols): Removed. Use | |
6067 | link_info.create_object_symbols_section instead. Changed all | |
6068 | uses. | |
6069 | (lang_add_keepsyms_file): Removed. | |
6070 | (lookup_name): Call bfd_link_add_symbols instead of | |
6071 | ldmain_open_file_read_symbol. | |
6072 | (wild): Don't iterate over script_file. | |
6073 | (open_output): Create link hash table. | |
6074 | (lang_place_undefineds): Rewrote. | |
6075 | (lang_size_sections): Handle relaxing (doesn't work yet). | |
6076 | (lang_relocate_globals): Removed. | |
6077 | (lang_finish): Use link hash table rather than ldsym functions. | |
6078 | (lang_common): Rewrote. | |
6079 | (lang_one_common): New function. | |
6080 | (ldlang_add_file): Add file to link_info.input_bfds list. Set | |
6081 | usrdata. | |
6082 | (create_symbol): Removed. | |
6083 | (lang_process): Don't call lang_init_script_file. Call | |
6084 | ldctor_build_sets rather than find_constructors. Don't call | |
6085 | lang_relocate_globals. | |
6086 | (lang_abs_symbol_at_beginning_of): Rewrote. | |
6087 | (lang_abs_symbol_at_end_of): Rewrote. | |
6088 | * ldmain.c (had_y): Removed. | |
6089 | (lprefix, lprefix_len): Removed; use link_info fields instead. | |
6090 | Changed all uses. | |
6091 | (multiple_def_count, commons_pending, undefined_global_sym_count, | |
6092 | total_symbols_seen, total_files_seen): Removed. | |
6093 | (link_callbacks, link_info): New variables. | |
6094 | (main): Initialize link_info. Don't call init_bfd_error_vector or | |
6095 | ldsym_init. Don't set now unused variables. Handle -stats. | |
6096 | (get_emulation): Removed obsolete and nonfunctional GNU960 code. | |
6097 | (add_ysym): Rewrote. | |
6098 | (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, | |
6099 | search_library, gnu960_check_format, decode_library_subfile, | |
6100 | linear_library, symdef_library, clear_syms, subfile_wanted_p): | |
6101 | Removed. | |
6102 | (add_keepsyms_file, add_archive_element, multiple_definition, | |
6103 | multiple_common, add_to_set, warning_callback, undefined_symbol, | |
6104 | reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): | |
6105 | New functions. | |
6106 | * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't | |
6107 | require symbols for %C; look them up instead. | |
6108 | * emultempl/hppaosf.em: Pass link_info to | |
6109 | hppa_look_for_stubs_in_section. | |
6110 | * Makefile.in: Rebuilt dependencies. | |
6111 | (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and | |
6112 | relax.c. | |
6113 | (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and | |
6114 | relax.h. | |
6115 | (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, | |
6116 | ldlang.h and ldctor.h. | |
6117 | ||
6118 | * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove | |
6119 | declarations of free and malloc from flex output. Change malloc | |
6120 | to ldmalloc in flex output. | |
6121 | ||
6122 | Thu Dec 16 21:19:57 1993 Jeffrey A. Law ([email protected]) | |
6123 | ||
6124 | * ldmain.c (lprefix): Change default from a char to a string | |
6125 | with only one character. | |
6126 | (lprefix_len): Set default to one. | |
6127 | ||
6128 | * ldmain.h (lprefix_len): Declare. | |
6129 | ||
6130 | * ldsym.c (write_file_locals): Use strncmp rather than a character | |
6131 | comparison for lprefix. | |
6132 | ||
6133 | * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len | |
6134 | correctly. | |
6135 | ||
6136 | * emultmpl/hppaosf.em: Include ldexp.h. | |
6137 | (before_parse): Set lprefix and lprefix_len correctly. | |
6138 | ||
498fbd3c ILT |
6139 | Tue Dec 14 17:19:03 1993 Ian Lance Taylor ([email protected]) |
6140 | ||
553b0021 ILT |
6141 | * ldlex.h: Don't declare yywrap if it is a macro. |
6142 | * ldlex.l: Include sysdep.h. | |
498fbd3c ILT |
6143 | * ldlang.c (lang_for_each_statement_worker, |
6144 | lang_for_each_statement): Forgot to use PARAMS. | |
6145 | ||
1400cdc5 ILT |
6146 | Mon Dec 13 14:30:03 1993 Ian Lance Taylor ([email protected]) |
6147 | ||
6148 | * Makefile.in: Added .PHONY targets where appropriate. Added some | |
6149 | comments. Also: | |
6150 | (gcclibdir, version): Removed unused variables. | |
6151 | (DEP): New variable, set to mkdep. | |
6152 | (ALL_CFLAGS): New variable. Used in .c.o target. | |
6153 | (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New | |
6154 | variables. | |
6155 | (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, | |
6156 | GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed | |
6157 | mostly obsolete variables. Adjusted remaining uses. | |
6158 | (DEF_EMUL): Removed variable. | |
6159 | (ldmain.o): Handle undefined EMUL error correctly. | |
6160 | (ldemul-list.h): Depend on config.status rather than Makefile. | |
6161 | Create via temporary file. | |
6162 | (ver960.c, roll, make): Removed obsolete targets. | |
6163 | (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild | |
6164 | dependencies. | |
6165 | * dep-in.sed: New file, used when rebuilding dependencies. | |
6166 | ||
2c6635a4 ILT |
6167 | Sat Dec 11 14:43:44 1993 Ian Lance Taylor ([email protected]) |
6168 | ||
fcf276c4 ILT |
6169 | Made many changes to eliminate gcc warnings. Made various |
6170 | cosmetic changes, declared various things in header files, removed | |
6171 | various extern declarations from .c files. No substantive | |
6172 | changes. | |
6173 | ||
2c6635a4 ILT |
6174 | * ldlang.c (lang_process): Ifdef out final call to |
6175 | lang_size_sections again (reverting change of Nove 2), since it | |
6176 | breaks the Sun4 linker. | |
6177 | ||
6178 | Thu Dec 2 16:31:47 1993 Ian Lance Taylor ([email protected]) | |
6179 | ||
6180 | * configure.in (alpha-*-netware*): New target; use alpha. | |
6181 | ||
d05ac46b KR |
6182 | Wed Dec 1 14:04:20 1993 Ken Raeburn ([email protected]) |
6183 | ||
6184 | * configure.in: Group targets by CPU. Merge some m68k target | |
6185 | entries with different CPU specs that use the same ld_target | |
6186 | values. | |
6187 | ||
6188 | * configure.in: Add sparc*-*-coff. | |
6189 | * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. | |
6190 | * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. | |
6191 | (em_coff_sparc.c): Add dependencies and build rules. | |
6192 | ||
6193 | * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. | |
6194 | ||
f651733a ILT |
6195 | Wed Dec 1 12:19:55 1993 Ian Lance Taylor ([email protected]) |
6196 | ||
8e964b07 ILT |
6197 | * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): |
6198 | New tokens. | |
f651733a | 6199 | (command_line_option): Accept and ignore them (for now). |
8e964b07 ILT |
6200 | * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On |
6201 | where n is a number. | |
f651733a ILT |
6202 | |
6203 | Mon Nov 22 14:14:29 1993 Ian Lance Taylor ([email protected]) | |
6204 | ||
6205 | * ldmain.c (subfile_wanted_p): If merging a common symbol which is | |
6206 | not in bfd_com_section, create the section in the BFD so that it | |
6207 | can be placed in the right output section. | |
6208 | ||
2332114c ILT |
6209 | Fri Nov 19 14:12:39 1993 Ian Lance Taylor ([email protected]) |
6210 | ||
6211 | * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. | |
6212 | * emulparams/elf32mipsb.sh (DATA_ADDR): Define. | |
6213 | (OTHER_READONLY_SECTIONS): Define for .reginfo. | |
6214 | (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. | |
6215 | * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. | |
6216 | Move OTHER_READONLY_SECTIONS after all the other readonly | |
6217 | sections. Don't use DATA_ADDR twice. | |
6218 | ||
6219 | * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If | |
6220 | p is in a common section, make sure the BFD has a section of that | |
6221 | name. | |
6222 | ||
6223 | * ldlang.c (lang_common): Add newline to error message. | |
6224 | ||
6225 | Thu Nov 11 15:54:41 1993 Stan Shebs ([email protected]) | |
6226 | ||
6227 | * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a | |
6228 | Lynx-specific script instead of m68kcoff. | |
6229 | (OUTPUT_FORMAT): Define as "coff-m68k-lynx". | |
6230 | (ENTRY): Define as __main. | |
6231 | (TEXT_START_ADDR): Define as 0. | |
6232 | (PAGE_SIZE): Define as 0x1000. | |
6233 | * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. | |
6234 | * scripttempl/m68klynx.sc: New file. | |
6235 | ||
6236 | Mon Nov 8 12:00:16 1993 Ian Lance Taylor ([email protected]) | |
6237 | ||
6238 | * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 | |
6239 | arguments rather than treating them as emulation names. | |
6240 | ||
b11b3ace DHW |
6241 | Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace ([email protected]) |
6242 | ||
6243 | * configure.in: Support x86 unixware and netware plus generic netware. | |
6244 | ||
2ccb88c0 DM |
6245 | Fri Nov 5 21:47:55 1993 David J. Mackenzie ([email protected]) |
6246 | ||
6247 | * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): | |
6248 | Correct values (?). | |
6249 | ||
3c1af24d KR |
6250 | Wed Nov 3 15:10:15 1993 Ken Raeburn ([email protected]) |
6251 | ||
6252 | * Makefile.in (distclean): Don't delete dvi or info files. | |
4ecfad79 | 6253 | (ld.info): Update dependency list. |
2ccb88c0 | 6254 | (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. |
3c1af24d | 6255 | |
3c292c5a DM |
6256 | Wed Nov 3 12:07:39 1993 David J. Mackenzie ([email protected]) |
6257 | ||
6258 | * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. | |
6259 | Set output_filename instead of creating a new node. | |
6260 | (open_output): Don't set output_filename. | |
6261 | (lang_final): Create the new node here. | |
6262 | * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. | |
6263 | ||
97fbbaca JL |
6264 | Tue Nov 2 15:45:51 1993 Jeffrey A. Law ([email protected]) |
6265 | ||
f1f6b5e9 JL |
6266 | From Pete Hoogenboom ([email protected]): |
6267 | ||
6268 | * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, | |
6269 | edata, _edata, end): Add definitions of these symbols. | |
6270 | (__end): Remove definition of this symbol. | |
6271 | (__data_start): Move definition of this symbol. | |
6272 | ||
5f62613e JL |
6273 | * emultempl/hppaosf.em: Various fixes and support for linker stub |
6274 | generation. | |
6275 | (hppaosf_finish, hppaosf_search_for_padding_statements, | |
6276 | hppaosf_create_output_section_statements): New functions in | |
6277 | support of linker stub generation. | |
6278 | (ld_hppaosf_emulation): Redefine to include new | |
6279 | emulation-specific routines. | |
6280 | ||
97fbbaca JL |
6281 | * ldlang.c (lang_process): Re-enable last call lang_size_sections. |
6282 | Pass abs_output_section rather than NULL to avoid invalidating | |
6283 | absolute symbols. | |
6284 | ||
6285 | Thu Oct 28 21:16:42 1993 David J. Mackenzie ([email protected]) | |
6286 | ||
6287 | * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. | |
6288 | (em_i386mach.c): New rule. | |
6289 | * configure.in (i[34]86-*-mach*): New case. | |
6290 | * config/i386-mach.mt: New file. | |
6291 | * emulparams/i386mach.sh: New file. | |
6292 | ||
c3b34cfd ILT |
6293 | Fri Oct 29 14:55:05 1993 Ian Lance Taylor ([email protected]) |
6294 | ||
6295 | * ld.h (flag_is_*): Removed macros. | |
6296 | * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): | |
6297 | Consistently check the BFD symbol flags directly, rather than | |
6298 | using file_is_* macros. | |
6299 | ||
7b95fe96 SS |
6300 | Thu Oct 28 19:08:42 1993 Stan Shebs ([email protected]) |
6301 | ||
6302 | * configure.in (sparc*-*-lynxos*): New target. | |
6303 | * Makefile.in: Add rule for em_sparclynx.c. | |
6304 | (ALL_EMULATIONS): Add Lynx emulations. | |
6305 | * config/sparc-lynx.mt: New file. | |
6306 | * emulparams/sparclynx.sh: New file. | |
6307 | * scripttempl/sparccoff.sc: New file. | |
6308 | ||
d17eb3db ILT |
6309 | Thu Oct 28 13:50:25 1993 Ian Lance Taylor ([email protected]) |
6310 | ||
6311 | * Makefile.in: Add dependency for $(EMULATION_OFILES). | |
6312 | ||
db4b5ad0 ILT |
6313 | Mon Oct 25 16:09:24 1993 Ian Lance Taylor ([email protected]) |
6314 | ||
6315 | * relax.c (write_relax): Check return value of bfd_seclet_link. | |
6316 | ||
2fe6619e KR |
6317 | Mon Oct 25 09:31:21 1993 Ken Raeburn ([email protected]) |
6318 | ||
6319 | * ldlang.c (delete_output_file_on_failure): New variable. | |
6320 | (open_output): Set it after bfd open succeeds. | |
6321 | * ldmisc.c (vfinfo): Test it. | |
6322 | ||
6323 | Changes from Peter Hoogenboom, [email protected]: | |
6324 | ||
6325 | * ldsym.c (write_file_locals): Set the BSF_FILE flag for object | |
6326 | symbols. | |
6327 | ||
6328 | * ldemul.c: Support was added to allow emulation-specific | |
6329 | processing to occur. This support was added primarily for linker | |
6330 | stub generation in the elf32-hppa gld. | |
6331 | (ldemul_finish, ldemul_create_output_section_statements): New | |
6332 | functions. | |
6333 | * ldemul.h: Support was added to allow emulation-specific | |
6334 | processing to occur. (As described above.) Added finish and | |
6335 | create_output_section_statements fields to | |
6336 | ld_emulation_xfer_struct structure. | |
6337 | * ldlang.c: Add calls to emulation-specific routines. | |
6338 | (lang_process): Add call to | |
6339 | ldemul_create_output_section_statements function. | |
6340 | (lang_process): Add call to a emulation-specific routine (and | |
6341 | some processing after the call). | |
6342 | ||
6343 | Fri Oct 22 20:54:13 1993 david d `zoo' zuhn ([email protected]) | |
6344 | ||
6345 | * configure.in: mips*- instead of mips-, mips*el changes | |
6346 | ||
1c4b3cda ILT |
6347 | Tue Oct 19 15:46:28 1993 Ian Lance Taylor ([email protected]) |
6348 | ||
6349 | * configure.in (alpha-*-osf*): New target; use alpha.mt. | |
6350 | * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. | |
6351 | (em_alpha.c): New target; use alpha.sh and alpha.sc. | |
6352 | * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. | |
6353 | * config/alpha.mt: New file. | |
6354 | * emulparams/alpha.sh: New file. | |
6355 | * scripttempl/alpha.sc: New file. | |
6356 | ||
6357 | Fri Oct 15 02:20:04 1993 Doug Evans ([email protected]) | |
6358 | ||
6359 | * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle | |
6360 | types of different sizes (eg: 64 and 32 bits), so coerce. | |
6361 | * ld.h (ALIGN_N): Add warning about usage. | |
6362 | ||
98b5caad ILT |
6363 | Wed Oct 13 16:02:39 1993 Ian Lance Taylor ([email protected]) |
6364 | ||
6365 | * ldmain.c (enter_global_ref): Just ignore any weak symbol for | |
6366 | which we already have a definition, rather than checking in | |
6367 | several different places whether the symbol is weak. | |
6368 | ||
a71da760 ILT |
6369 | Tue Oct 12 17:30:51 1993 Ian Lance Taylor ([email protected]) |
6370 | ||
6371 | * configure.in (mips-*-elf*): New target; use mipsb-elf32. | |
6372 | * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and | |
6373 | OTHER_READWRITE_SECTIONS if relocating. Shell variables are not | |
6374 | expanded within them. | |
6375 | * config/mipsb-elf32.mt: New file. | |
6376 | * emulparams/elf32mipb.sh: New file. | |
6377 | * Makefile.in (em_elf32mipb.c): New target. | |
6378 | ||
a4aeaacf RS |
6379 | Thu Sep 30 17:00:36 1993 Rob Savoye ([email protected]) |
6380 | ||
a4aeaacf RS |
6381 | * ldgram.y: In input_list, change lang_input_file_is_file_enum to |
6382 | lang_input_file_is_search_file_enum so objects brought in using | |
6383 | INPUT() do a path lookup. | |
6384 | ||
6385 | Tue Sep 28 13:31:23 1993 Stan Shebs ([email protected]) | |
6386 | ||
6387 | * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx | |
6388 | instead of {i386,m68k}-coff. | |
6389 | * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. | |
6390 | * config/i386-lynx.mt: New file. | |
6391 | * config/m68k-lynx.mt: New file. | |
6392 | * emulparams/i386lynx.sh: New file. | |
6393 | * emulparams/m68klynx.sh: New file. | |
6394 | ||
6395 | * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, | |
6396 | but defaulting to _start. | |
6397 | ||
6398 | * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, | |
6399 | ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with | |
6400 | LynxOS libc. | |
6401 | ||
6402 | Thu Sep 23 14:51:03 1993 Ian Lance Taylor ([email protected]) | |
6403 | ||
6404 | * config/solaris2.mh: New file. Define HOSTING_CRT0 and | |
6405 | HOSTING_LIBS for testing. | |
6406 | ||
9a467cb2 ILT |
6407 | Fri Sep 17 17:52:24 1993 Ian Lance Taylor ([email protected]) |
6408 | ||
6409 | Finish up support for i386-sysv4 (without shared libraries): | |
6410 | * ld.h (flag_is_weak): Define. | |
6411 | * ldlang.c (print_symbol): Mention whether symbol is weak. | |
6412 | (print_input_section): Print weak symbols as globals. | |
6413 | * ldmain.c (refize): Do not zero out BSF_WEAK flag. | |
6414 | (enter_global_ref): Do not warn if a weak symbol redefines a | |
6415 | global symbol. Do not let a weak symbol redefine a common symbol. | |
6416 | (enter_file_symbols): Treat weak symbols as global symbols. | |
6417 | (subfile_wanted_p): Do not pull in an object file from a archive | |
6418 | just to resolve an undefined weak symbol. | |
6419 | * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal | |
6420 | error; the error might be that malloc has run out of space. | |
6421 | * ldsym.c (write_file_locals): Treat weak symbols as global. | |
6422 | * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; | |
6423 | use i386-elf. | |
6424 | * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. | |
6425 | * config/i386-elf.mt: New file; set EMUL to elf_i386. | |
6426 | * emulparams/elf_i386.sh: New file. | |
6427 | * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). | |
6428 | * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. | |
6429 | (ALL_EMULATIONS): Add em_elf_i386.o. | |
6430 | (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. | |
6431 | (em_elf_i386.c): New target, like other em_*.c targets. | |
6432 | ($(LD_PROG)): Pass $(CFLAGS) to $(CC). | |
6433 | * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If | |
6434 | nonempty, and configured for native, add it to LIB_PATH. | |
6435 | ||
4f6d6db9 SS |
6436 | Fri Sep 17 13:07:39 1993 Stan Shebs ([email protected]) |
6437 | ||
6438 | * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: | |
6439 | Added statements to pass stab and stabstr sections through and | |
6440 | mark them as NOLOAD, which makes GDB happier. | |
6441 | ||
6442 | Wed Sep 15 16:02:29 1993 Stan Shebs ([email protected]) | |
6443 | ||
6444 | * configure.in: Accept m68k-lynx-lynxos config. | |
6445 | ||
6446 | * Makefile.in: Use $(SHELL) to run genscripts.sh. | |
6447 | ||
1bff7c38 DE |
6448 | Sun Sep 12 16:04:40 1993 Doug Evans ([email protected]) |
6449 | ||
4f6d6db9 SS |
6450 | * config/coff-h8300.mt: Add EMUL=h8300h. |
6451 | ||
1bff7c38 DE |
6452 | * ldmain.c (main): Call set_scripts_dir after argv has been processed. |
6453 | ||
8a6665ae JW |
6454 | Fri Sep 10 09:36:29 1993 Jeffrey Wheat ([email protected]) |
6455 | ||
6456 | * Makefile.in: Changed CXX back to g++. | |
6457 | ||
3a9149a7 JW |
6458 | Fri Sep 10 09:34:29 1993 Jeffrey Wheat ([email protected]) |
6459 | ||
6460 | * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. | |
6461 | ||
cbb5c2d1 DM |
6462 | Fri Sep 10 07:26:57 1993 David J. Mackenzie ([email protected]) |
6463 | ||
6464 | * Makefile.in (TAGS): Use shell wildcards. | |
6465 | ||
959eba20 JO |
6466 | Tue Sep 7 18:04:54 1993 Jeffrey Osier ([email protected]) |
6467 | ||
6468 | * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target | |
6469 | ||
a0a55af6 | 6470 | Fri Sep 3 16:46:41 1993 Roland H. Pesch ([email protected]) |
c1074477 | 6471 | |
a0a55af6 RP |
6472 | * ld.texinfo: re-enable included config file; conditionalize doc |
6473 | for -oformat to interact properly with SingleFormat doc config | |
6474 | var; rename @up/@down to @raisesections/@lowersections. | |
c1074477 DE |
6475 | |
6476 | Wed Aug 25 16:29:56 1993 K. Richard Pixley ([email protected]) | |
6477 | ||
6478 | * configure.in: recognize m88110. | |
6479 | ||
4346166b KR |
6480 | Tue Aug 24 18:49:40 1993 Ken Raeburn ([email protected]) |
6481 | ||
6482 | From Peter Hoogenboom <[email protected]>: | |
6483 | * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA | |
6484 | ELF emulation is "elf32-hppa" not "elf-big". | |
6485 | (hppaosf_before_parse): Remove unneeded processing of environment | |
6486 | variables. | |
6487 | * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in | |
6488 | .text segment of output file. | |
6489 | * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. | |
6490 | ||
b98bd3db RP |
6491 | Tue Aug 24 16:17:00 1993 K. Richard Pixley ([email protected]) |
6492 | ||
95a2b9d2 RP |
6493 | * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no |
6494 | longer in bfd.h. | |
6495 | ||
6496 | * ldlang.c, ld.h: updated copyright. | |
b98bd3db | 6497 | |
ddddcdf0 ILT |
6498 | Tue Aug 17 15:22:03 1993 Ian Lance Taylor ([email protected]) |
6499 | ||
6500 | * ldlang.c (open_output, lang_check): Check return value of | |
6501 | bfd_set_arch_mach. | |
6502 | ||
ea1c0ad2 SC |
6503 | Tue Aug 17 07:02:19 1993 Steve Chamberlain ([email protected]) |
6504 | ||
6505 | * scripttempl/h8500.sc: Start all sections in a different segment. | |
6506 | * scripttempl/z8ksim.sc: Handle constructors | |
6507 | ||
ea1c0ad2 SC |
6508 | Thu Aug 12 16:05:37 1993 Jeffrey Wheat ([email protected]) |
6509 | ||
6510 | * Makefile.in: revert earlier changes back to execute runtest | |
6511 | with make check. cdtest and bootstrap now function as they | |
6512 | did within the Makefile. | |
6513 | ||
6514 | Thu Aug 12 10:20:05 1993 David J. Mackenzie ([email protected]) | |
6515 | ||
6516 | * Makefile.in: Update dependencies. | |
6517 | ||
6518 | * configure.in: Set EMULATION_OFILES in Makefile based on | |
6519 | --with-targets option. | |
6520 | ||
d301e438 JW |
6521 | Thu Aug 12 08:52:29 1993 Jeffrey Wheat ([email protected]) |
6522 | ||
6523 | * Makefile.in: check targets reimplemented to old way. | |
6524 | ||
75fe5471 ILT |
6525 | Wed Aug 11 08:26:11 1993 Ian Lance Taylor ([email protected]) |
6526 | ||
d62026ad ILT |
6527 | * config/i386v.mh, config/irix4.mh: Use gcc |
6528 | -print-libgcc-file-name rather than $(libdir)/libgcc.a. | |
75fe5471 ILT |
6529 | * config/i386sco.mh: New file; copy of i386v.mh to correspond to |
6530 | bfd/configure.host change. | |
6531 | ||
6532 | Mon Aug 9 14:25:35 1993 Ken Raeburn ([email protected]) | |
6533 | ||
6534 | * scripttempl/elf.sc: Handle .line and .debug* sections. | |
6535 | ||
6536 | * ldlex.l: Use bfd_scan_vma, not strtoul. | |
6537 | ||
31f55aa5 DM |
6538 | Fri Aug 6 08:57:39 1993 David J. Mackenzie ([email protected]) |
6539 | ||
6540 | * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: | |
6541 | Remove inital caps in some error messages, change "can't" to | |
6542 | "cannot", add missing colons. | |
6543 | * ldmisc.c (vfinfo): Print "%%" as a single %. | |
6544 | For '%' followed by unrecognized character, print them both | |
6545 | verbatim instead of expecting a char * arg. | |
6546 | For '%C', don't put the function name in parens. | |
6547 | ||
6548 | * ldexp.c (invalid): Pass "%%", not "% ". | |
6549 | ||
33536304 ILT |
6550 | Fri Aug 6 14:31:22 1993 Ian Lance Taylor ([email protected]) |
6551 | ||
6552 | * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. | |
6553 | (BSS_VAR): Removed; now always define _fbss. | |
6554 | * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): | |
6555 | Removed. | |
6556 | ||
6557 | Thu Aug 5 15:55:19 1993 david d `zoo' zuhn ([email protected]) | |
6558 | ||
6559 | * configure.in: z8k-coff is the same as z8k-sim | |
6560 | ||
7c6a9e79 JW |
6561 | Wed Aug 4 21:00:18 1993 Jeffrey Wheat ([email protected]) |
6562 | ||
6563 | * testsuite/lib/ld.exp: new file | |
6564 | * testsuite/config/unix-ld.exp: new file | |
6565 | * testsuite/ld.bootstrap/bootstrap.exp: new file | |
6566 | * Makefile.in: add dejagnu support for make check | |
6567 | ||
8bf66be8 DM |
6568 | Wed Aug 4 17:52:32 1993 David J. Mackenzie ([email protected]) |
6569 | ||
6570 | * ldlex.l (comment): Add missing newline in message. | |
6571 | * ldindr.c (add_indirect): Ditto. | |
6572 | * ldexp.c (exp_fold_tree): Ditto. | |
6573 | ||
2a28d8b0 DM |
6574 | Tue Aug 3 10:57:41 1993 David J. Mackenzie ([email protected]) |
6575 | ||
6576 | * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons | |
6577 | into externs. | |
6578 | ||
6579 | * ldmisc.c (multiple_warn): New function. | |
6580 | * ldmisc.h: Declare it. | |
6581 | * ldmain.c (enter_global_ref): Call it. | |
6582 | * ld.h (ld_config_type): Add warn_common. | |
6583 | * ldlex.l, ldgram.y: Set it with -warn-common option. | |
6584 | * ldver.c (help): Document it. | |
6585 | ||
94f9d427 KR |
6586 | Mon Aug 2 12:04:36 1993 Ken Raeburn ([email protected]) |
6587 | ||
6588 | * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and | |
6589 | target-specific sections, and for changing data section vma. | |
6590 | ||
6b93d764 KR |
6591 | Mon Jul 26 14:00:02 1993 Ken Raeburn ([email protected]) |
6592 | ||
6593 | * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New | |
6594 | terminals, for Solaris. | |
6595 | (dirlist_ptr): New static variable. | |
6596 | (command_line_option): Accept new options. | |
6597 | ||
6598 | * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and | |
6599 | "-YP,...". | |
6600 | ||
6601 | * config/sun4sol2.mt: Pass emulation name without ".sh". | |
6602 | ||
94f9d427 KR |
6603 | * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. |
6604 | * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. | |
6605 | ||
6b93d764 KR |
6606 | Fri Jul 23 13:51:09 1993 Ken Raeburn ([email protected]) |
6607 | ||
6608 | * scripttempl/elf.sc: Add support for .init, .fini, .ctors, | |
6609 | .dtors, .data1, .rodata1 sections, instead of combining them into | |
6610 | other sections. For `-r', set all section start addresses to | |
6611 | zero. | |
6612 | ||
6613 | * emulparams/elf32-sparc.sh (TEXT_START_ADDR, | |
6614 | NONPAGED_TEXT_START_ADDR): Value should be 0x10100. | |
6615 | (MAXPAGESIZE): Renamed from PAGE_SIZE. | |
6616 | ||
a6152e39 DM |
6617 | Wed Jul 21 14:28:42 1993 David J. Mackenzie ([email protected]) |
6618 | ||
d59e5a47 DM |
6619 | * genscripts.sh: If this is the default emulation, set |
6620 | COMPILE_IN. | |
6621 | * emultempl/*.em: Use it to determine whether to compile in the | |
6622 | scripts. | |
6623 | ||
a6152e39 DM |
6624 | * Makefile.in (GENSCRIPTS): Pass the default emulation name to |
6625 | genscripts.sh. Pass the current emulation name without ".sh" on | |
6626 | the end. | |
6627 | * genscripts.sh: Take an default emulation arg. | |
d59e5a47 | 6628 | Use the current emulation name as EMULATION_NAME. |
a6152e39 DM |
6629 | Make default lib path for cross-compiling ':', not null. |
6630 | * emulparams/*.sh: Don't set EMULATION_NAME. | |
6631 | * ldemul.c (ldemul_get_script): Take isfile arg. | |
6632 | Pass it to emulation's get_script function. | |
6633 | * ldemul.h: Adjust get_script prototypes. | |
6634 | * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. | |
6635 | No longer static. | |
6636 | * ldfile.h: Declare it. | |
6637 | * ldgram.y: Accept a script on the command line again, | |
6638 | for parsing compiled-in scripts. | |
6639 | * ldmain.c (main): If ld script is a file, parse it as a -T | |
6640 | option, otherwise parse it directly. | |
6641 | * emultempl/*.em (*get_script): Return the scripts themselves if | |
6642 | this is the default emulation; otherwise return their file names. | |
18d9a9c5 | 6643 | * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of |
a6152e39 DM |
6644 | generic.em. |
6645 | * emulparams/m88kbcs.sh: Use it. | |
6646 | ||
18d9a9c5 | 6647 | * ld.h (ld_config_type::unix_relocate): Remove unused element. |
a6152e39 | 6648 | |
0750b974 KR |
6649 | Tue Jul 20 12:01:49 1993 Ken Raeburn ([email protected]) |
6650 | ||
6651 | * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which | |
6652 | there's no change log entry yet, tsk tsk) from the list of | |
6653 | emulations compiled in until Mark gets around to checking in | |
6654 | emulparams/i386linux.sh. | |
820c446c KR |
6655 | (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is |
6656 | changed, this file gets updated. | |
0750b974 | 6657 | |
fe619ced ILT |
6658 | Fri Jul 16 14:14:32 1993 Ian Lance Taylor ([email protected]) |
6659 | ||
6660 | * ldgram.y (OPTION_Lfile): New token. | |
6661 | (command_line_option): Accept OPTION_L NAME (whitespace after -L). | |
6662 | * ldlex.l (<COMMAND>): Accept -L without FILENAME. | |
6663 | ||
dd8ca662 DE |
6664 | Fri Jul 16 13:44:26 1993 Doug Evans ([email protected]) |
6665 | ||
6666 | * configure.in: h8/300h support needs own .mt file. | |
6667 | config/coff-h8300h.mt: New file. | |
6668 | ||
922018a1 DM |
6669 | Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected]) |
6670 | ||
6671 | * ldmain.c: Don't include sys/stat.h; it already got included | |
6672 | somewhere along the way. | |
6673 | ||
4ab3a31f DE |
6674 | Thu Jul 15 14:43:34 1993 Doug Evans ([email protected]) |
6675 | ||
6676 | * Makefile.in: Add h8300h support. | |
dd8ca662 DE |
6677 | emulparams/h8300h.sh: New file. |
6678 | scripttempl/h8300h.sc: New file. | |
4ab3a31f | 6679 | |
bbd2521f DM |
6680 | Thu Jul 15 12:44:35 1993 David J. Mackenzie ([email protected]) |
6681 | ||
6682 | * ldfile.c (ldfile_open_file): In error message, use the name the | |
6683 | user gave (e.g., "-lc"), rather than the base file name. | |
6684 | ||
6685 | * ldexp.c (exp_fold_tree): Don't assign an int to an enum. | |
6686 | ||
6687 | * ldmain.[ch]: Remove initial Q_ from function names. | |
6688 | * ldexp.c, ldindr.c, ldlang.c: Change callers. | |
6689 | ||
6690 | * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. | |
6691 | ||
6692 | * ldlang.c (lang_process): Move loading of default script from | |
6693 | here to main. Add a "/" to start of script name to prevent | |
6694 | finding it in "." first. | |
6695 | ||
6696 | * ldmain.c (set_scripts_dir): Don't look in "." first. | |
6697 | ||
6698 | * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var | |
6699 | option_longmap. | |
6700 | ||
9edc5b2e ILT |
6701 | Thu Jul 15 10:55:59 1993 Ian Lance Taylor ([email protected]) |
6702 | ||
6703 | * Makefile.in (em_m88kbcs.c): Correct dependency. | |
b0955bc9 ILT |
6704 | * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET |
6705 | statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. | |
6706 | * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. | |
9edc5b2e | 6707 | |
cffdcde9 DM |
6708 | Wed Jul 14 21:42:53 1993 David J. Mackenzie ([email protected]) |
6709 | ||
6710 | * ldfile.c (ldlang_open_file, ldfile_open_command_file), | |
6711 | main.c (main): Print the errno string in the error message. | |
6712 | ||
ac2c0ee7 DE |
6713 | Tue Jul 13 20:00:30 1993 Doug Evans ([email protected]) |
6714 | ||
6715 | * configure.in: Accept h8300h for target cpu. | |
6716 | ||
6717 | * ldmisc.c (vfinfo): Have demangle remove leading underscore if | |
6718 | present (demangle is smart enough to know whether to do it or not). | |
6719 | ||
d723cd17 DM |
6720 | Mon Jul 12 11:45:48 1993 David J. Mackenzie ([email protected]) |
6721 | ||
f4208462 DM |
6722 | * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for |
6723 | ldscripts, as well as <ld bin dir> and SCRIPTDIR. | |
6724 | ||
d723cd17 DM |
6725 | * ldlang.c (lang_process): Use sizeof instead of magic constant. |
6726 | ||
6727 | * ldmain.c (get_emulation, check_for_scripts_dir, | |
6728 | set_scripts_dir): New functions. | |
6729 | (main): Call them. | |
6730 | ||
e7affb09 KR |
6731 | Mon Jul 12 10:57:03 1993 Ken Raeburn ([email protected]) |
6732 | ||
6733 | * scripttempl/elf.sc: Include .init, .fini, .rodata sections. | |
6734 | Create symbol "end" instead of "__end". Comment out some parts | |
6735 | that may not be needed (yet) for elf. | |
6736 | ||
6737 | * configure.in: Accept sparc-elf and sparc-solaris2 configs. | |
6738 | ||
3cb61417 KR |
6739 | Thu Jul 8 15:33:32 1993 Ken Raeburn ([email protected]) |
6740 | ||
6741 | * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). | |
6742 | ||
6743 | * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro | |
6744 | when no prototype is being supplied. | |
6745 | (ldmalloc, ldrealloc): Size argument is now size_t. | |
6746 | ||
6747 | * ldmisc.c (finfo): New function, accepts FILE* argument. | |
6748 | (vfinfo, case 'v'): New format character; displays bfd_vma in hex | |
6749 | without leading zeros. | |
6750 | (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a | |
6751 | bfd_vma value, instead of fprintf(%x) which won't hold a long long | |
6752 | value. | |
6753 | (concat, buystring): String lengths are size_t. | |
6754 | (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. | |
6755 | ||
6756 | * ldlang.c (new_statement): Size argument is now size_t. Added | |
6757 | forward declaration with prototype. | |
6758 | ||
de87cdb4 DM |
6759 | Thu Jul 8 10:53:47 1993 David J. Mackenzie ([email protected]) |
6760 | ||
6761 | * ldgram.y (OPTION_v): Don't turn on verbose output. | |
6762 | ||
49bfda2c KR |
6763 | Wed Jul 7 17:10:45 1993 Ken Raeburn ([email protected]) |
6764 | ||
3cb61417 KR |
6765 | * ldlex.l: Get rid of local typedef for bfd_vma! Get it from |
6766 | bfd.h instead. | |
49bfda2c | 6767 | |
e357065c ILT |
6768 | Wed Jul 7 11:33:12 1993 Ian Lance Taylor ([email protected]) |
6769 | ||
6770 | * Makefile.in (install): Don't install as $(tooldir)/bin/gld; | |
6771 | collect2 doesn't look for gld any more anyhow. | |
6772 | ||
55636aa7 ILT |
6773 | Mon Jul 5 14:29:48 1993 Ian Lance Taylor ([email protected]) |
6774 | ||
6775 | * ldlang.c (lang_relocate_globals): Skip indirect symbols, which | |
6776 | now have a non NULL srefs_chain. | |
6777 | ||
6778 | * config/hp300hpux.mt: Use emulation hp3hpux rather than | |
6779 | hp300hpux, since the latter does not exist. | |
6780 | ||
ff76a7db DM |
6781 | Fri Jul 2 18:06:05 1993 David J. Mackenzie ([email protected]) |
6782 | ||
6783 | * genscripts.sh: Put the scripts in the ldscripts directory, not | |
6784 | emulations. | |
6785 | * configure.in (ldscripts): Make, instead of emulations. | |
6786 | * Makefile.in (scriptdir): Take off the "ld" part. | |
6787 | (install, clean, distclean): Use ldscripts, not emulations. | |
a04f1d00 | 6788 | In tests, don't pass -Lemulations. |
ff76a7db DM |
6789 | Don't pass tooldir/lib to genscripts.sh. |
6790 | * genscripts.sh: Don't take tooldir/lib arg. | |
6791 | * ldlang.c (lang_process): Add "ldscripts/" to the name of the | |
6792 | default script file. | |
6793 | ||
7434d4e5 DE |
6794 | Fri Jul 2 17:13:35 1993 Doug Evans ([email protected]) |
6795 | ||
6796 | * scripttempl/h8300.sc: Add .tors section for constructor/destructors. | |
6797 | ||
6798 | Thu Jul 1 16:38:45 1993 Doug Evans ([email protected]) | |
6799 | ||
6800 | * config/coff-h8300.mt: EMUL=h8300hms -> h8300. | |
6801 | ||
559d7baf RP |
6802 | Wed Jun 30 15:45:55 1993 K. Richard Pixley ([email protected]) |
6803 | ||
1e787898 RP |
6804 | * Makefile.in (.y.c): skip default .y.c rules. gnu make can now |
6805 | run in parallel without colliding on yacc's static file names. | |
6806 | Without the stub rule, make will try to start two yacc's | |
6807 | concurrently which fails because of yacc's static file names. | |
559d7baf RP |
6808 | |
6809 | Tue Jun 29 12:20:36 1993 Ian Lance Taylor ([email protected]) | |
6810 | ||
6811 | * ldmain.c (subfile_wanted_p): Don't dump core if there are no | |
6812 | symbols. | |
6813 | ||
59fb874e DM |
6814 | Mon Jun 28 12:22:11 1993 David J. Mackenzie ([email protected]) |
6815 | ||
559d7baf RP |
6816 | * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's |
6817 | different from libdir. | |
6818 | ||
59fb874e DM |
6819 | * Makefile.in (scriptdir): Base on tooldir, not datadir. |
6820 | ||
bf065bfd DM |
6821 | Sat Jun 26 12:03:57 1993 David J. Mackenzie ([email protected]) |
6822 | ||
6823 | * ldver.c (help): New function. | |
6824 | * ldver.h: Declare it. | |
6825 | * ldlex.l, ldgram.y: Recognize new options --help and --version. | |
6826 | ||
304b747a KR |
6827 | Mon Jun 21 20:39:48 1993 Ken Raeburn ([email protected]) |
6828 | ||
6829 | * Makefile.in (INCLUDES): Don't need ../include any more. | |
6830 | ||
2b63dbfe DM |
6831 | Mon Jun 21 16:38:35 1993 David J. Mackenzie ([email protected]) |
6832 | ||
bf065bfd DM |
6833 | * ldlex.l, ldgram.y: Support new -oformat option. |
6834 | Remove attempt at supporting script fragments on the command line. | |
6835 | * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. | |
6836 | * mri.c (mri_format), ldgram.y: Change callers. | |
6837 | * ldlang.h: Change prototype. | |
2b63dbfe | 6838 | |
e9b991c6 DZ |
6839 | Thu Jun 17 16:53:56 1993 david d `zoo' zuhn ([email protected]) |
6840 | ||
6841 | * Makefile.in: canonicalize install.sh; for use within | |
6842 | this directory (and subdirs) | |
6843 | ||
565c93e9 DM |
6844 | Thu Jun 17 14:33:09 1993 David J. Mackenzie ([email protected]) |
6845 | ||
2de8edce DM |
6846 | * ldgram.y: Tweak grammar to make reporting of invalid options work. |
6847 | ||
565c93e9 DM |
6848 | * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc |
6849 | and .cc.o rule. | |
6850 | ||
8ddef552 DM |
6851 | Wed Jun 16 11:45:32 1993 David J. Mackenzie ([email protected]) |
6852 | ||
6853 | * ldfile.c (ldfile_open_command): Don't try .ld extension. | |
6854 | It wasn't documented (or likely used) and wastes time. | |
6855 | (try_open): If EXTEN is empty, don't try it. | |
6856 | ||
6857 | * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, | |
6858 | ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, | |
6859 | ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls | |
6860 | with normal function declarations. | |
6861 | ||
6862 | * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. | |
6863 | Move *.sc-sh to scripttempl/*.sc. | |
6864 | * {emultempl,emulparams,scripttempl}/README: New files. | |
6865 | * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files | |
6866 | removed, replaced with generic.em. | |
6867 | * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from | |
6868 | h8[35]00hms.s[ch]. Change their contents to omit the "hms". | |
6869 | ||
6870 | * *.em (*_get_script): Return script name instead of script contents. | |
6871 | * ldlang.c (lang_process): Change caller. | |
6872 | ||
6873 | * ldlex.l, ldgram.y: Recognize -m option. | |
6874 | Check for input files after *all* options in grammar. | |
6875 | * ldmain.c (main): Check for -m options. Add default directory | |
6876 | for -m. | |
6877 | ||
6878 | * mkscript.c: File removed. | |
6879 | * genscripts.sh: Take two more parameters, tooldirlib and libdir, | |
6880 | to add to the default LIB_PATH. | |
6881 | Look for input files in the new subdirectories. | |
6882 | Create the scripts in emulations subdirectory and don't filter | |
6883 | them through mkscript. | |
6884 | * configure.in: Make the emulations subdirectory. | |
6885 | ||
6886 | * Makefile.in: Account for all of the above changes. | |
6887 | Remove unused .SUFFIXES. Get libgcc.a path with gcc | |
6888 | -print-libgcc-file-name instead of $(libdir)/libgcc.a. | |
6889 | Put CFLAGS last in the compilation rules. | |
6890 | Add -I../bfd to INCLUDES so sysdep.h is found. | |
6891 | ||
2a963f1a KR |
6892 | Tue Jun 15 23:04:46 1993 Ken Raeburn ([email protected]) |
6893 | ||
6894 | * Makefile.in (INCLUDES): Look in ../include, not ../bfd. | |
6895 | ||
6896 | * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO | |
6897 | dependent on RELOCATING, not RELOCATION. | |
6898 | * hp3hpux.sh (SHLIB_PATH): Define it. | |
6899 | ||
8ddef552 DM |
6900 | Mon Jun 14 19:06:15 1993 David J. Mackenzie ([email protected]) |
6901 | ||
6902 | * ldfile.c (try_open): If opening without the extension fails, | |
6903 | try with the extension even if -v or -V was given. | |
6904 | had_script is imported (from ldgram.y), not exported. | |
6905 | ||
c97b9003 DZ |
6906 | Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) |
6907 | ||
6908 | * Makefile.in: remove parentdir support, use INSTALL_XFORM | |
6909 | ||
6910 | Thu Jun 10 14:00:06 1993 Ian Lance Taylor ([email protected]) | |
6911 | ||
6912 | * ldexp.c (exp_fold_tree): Don't lose the old flag bits. | |
6913 | * ldgram.y (statement_list_opt): New nonterminal, either empty or | |
6914 | statement_list. | |
6915 | (section): Use statement_list_opt, not statement_list. | |
6916 | * m68kcoff.sc-sh: Gather constructors and destructors and define | |
6917 | __CTOR_LIST__ and __DTOR_LIST__ appropriately. | |
6918 | * sa29200.sc-sh: Gather constructors and destructors and define | |
6919 | ___CTOR_LIST__ and ___DTOR_LIST__ appropriately. | |
6920 | ||
7f2649bb PB |
6921 | Mon Jun 7 12:53:28 1993 Per Bothner ([email protected]) |
6922 | ||
6923 | * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. | |
6924 | * configure.in: No longer need to configure to get sysdep.h. | |
6925 | ||
91b3a2b6 DZ |
6926 | Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
6927 | ||
7f2649bb PB |
6928 | * Makefile.in: remove install:all and install-info:info |
6929 | dependencies (these cause some spurious rebuilds at 'make install' | |
6930 | time) | |
91b3a2b6 | 6931 | |
559d1cff ILT |
6932 | Fri Jun 4 08:50:14 1993 Ian Lance Taylor ([email protected]) |
6933 | ||
98f3d1af ILT |
6934 | * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. |
6935 | (mips-idt-ecoff*): Added trailing '*'. | |
6936 | * config/mips-idtl.mt: New file; use EMUL of mipsidtl. | |
6937 | * mipsidtl.sh: New file; like mipsidt.sh, but little endian. | |
6938 | * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. | |
6939 | ||
559d1cff ILT |
6940 | * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and |
6941 | incorrect definitions. | |
6942 | ||
1cf91c69 PB |
6943 | Tue Jun 1 14:56:10 1993 Per Bothner ([email protected]) |
6944 | ||
6945 | * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR | |
6946 | symbols, unless stripping. | |
6947 | ||
63545898 ILT |
6948 | Tue May 25 15:34:25 1993 Ian Lance Taylor ([email protected]) |
6949 | ||
6950 | * Makefile.in: configure looks for ####, so remove lines with many | |
6951 | '#' characters. | |
6952 | * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 | |
6953 | and HOSTING_LIBS correctly so that ``make check'' will work. | |
6954 | ||
6955 | Thu May 20 13:56:16 1993 Per Bothner ([email protected]) | |
6956 | ||
6957 | * mips.sc-sh: Define _etext, _edata, and _end, in addition | |
6958 | to etext, edata, and end. Needed for IRIX 4.0.5F. | |
6959 | Patch from [email protected] (Michael Paddon). | |
6960 | ||
2a963f1a KR |
6961 | * Version 2.2.1 released. |
6962 | ||
5266c5ec KR |
6963 | Thu May 20 11:42:06 1993 Ken Raeburn ([email protected]) |
6964 | ||
6965 | * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh. | |
6966 | * mipsbsd.sh (EMULATION_NAME): Use new file name. | |
6967 | ||
6968 | Tue May 18 17:10:24 1993 Ken Raeburn ([email protected]) | |
6969 | ||
6970 | * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it | |
6971 | properly right now. | |
6972 | ||
6973 | * Version 2.2 released. | |
6974 | ||
6975 | Mon May 17 15:37:28 1993 Ken Raeburn ([email protected]) | |
6976 | ||
6977 | * ldver.c (ldversion): Bump version number to 2.2. | |
6978 | ||
bc3b479c PB |
6979 | Mon May 17 12:44:31 1993 Per Bothner ([email protected]) |
6980 | ||
6981 | * NEWS: New file. | |
6982 | ||
6983 | Fri May 14 11:26:24 1993 Ian Lance Taylor ([email protected]) | |
6984 | ||
6985 | * mips.sc-sh: Don't define BSS_VAR unless relocating. | |
6986 | ||
6987 | Wed May 12 13:33:29 1993 Ian Lance Taylor ([email protected]) | |
6988 | ||
6989 | * Makefile.in (mkscript.o, mkscript): Build mkscript via | |
6990 | mkscript.o, rather than directly from mkscript.c. | |
6991 | ||
b8fc168d KR |
6992 | Tue May 4 21:58:56 1993 Ken Raeburn ([email protected]) |
6993 | ||
6994 | * configure.in: Look for ${target_makefile_frag} relative to | |
6995 | ${srcdir}, not relative to build directory. | |
6996 | ||
6997 | * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files. | |
6998 | * configure.in: Recognize hppa*-hp-osf. | |
6999 | * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. | |
7000 | (em_hppaosf.c): Build it. | |
bc3b479c | 7001 | * config/hppaosf.mh, hppaosf.mt: New files. |
b8fc168d KR |
7002 | |
7003 | * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with | |
7004 | some system header files. All uses changed. | |
7005 | ||
7006 | * configure.in: Recognize i386-aix configurations as i386-coff | |
7007 | targets. | |
7008 | ||
7009 | * configure.in: Recognize m68*-*-hpux. | |
7010 | * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output | |
7011 | the value of STACKZERO. | |
7012 | * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. | |
7013 | (em_hp3hpux.c): Build it. | |
7014 | * hp3hpux.sh, config/hp300hpux.mt: New files. | |
7015 | ||
ef868186 ILT |
7016 | Tue May 4 12:37:35 1993 Ian Lance Taylor ([email protected]) |
7017 | ||
7018 | * mips.sc-sh: Put constructors in the .data section. | |
7019 | * Makefile.in (cdtest): Added dependency on ld.new. | |
7020 | ||
034351e3 PB |
7021 | Mon May 3 19:43:39 1993 Per Bothner ([email protected]) |
7022 | ||
7023 | * Makefile.in: Change definition of $(tooldir) to match FSF. | |
7024 | * vax.sh, config/vax.mt, configure.in, Makefile.in: | |
7025 | Support VAX Ultrix and BSD. | |
7026 | ||
7027 | Mon Apr 26 18:35:47 1993 Steve Chamberlain ([email protected]) | |
7028 | ||
7029 | * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. | |
7030 | ||
7031 | Wed Apr 14 21:01:51 1993 John Gilmore ([email protected]) | |
7032 | ||
7033 | * ldlang.h (struct memory_region): Change `length' and | |
7034 | `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. | |
7035 | * ldlang.c, mri.c: Corresponding changes, plus lint. | |
7036 | ||
7037 | Thu Apr 8 22:08:18 1993 Ian Lance Taylor ([email protected]) | |
7038 | ||
7039 | * configure.in: For all i386 targets, accept i486 as well. | |
7040 | ||
7041 | Mon Apr 5 17:33:39 1993 Ian Lance Taylor ([email protected]) | |
7042 | ||
7043 | * ldlang.c (wild_doit): Preserve all flags for a | |
7044 | SEC_SHARED_LIBRARY section. | |
7045 | (size_input_section): Consider any SEC_HAS_CONTENTS section when | |
7046 | computing largest_section. | |
7047 | ||
1b8a42f3 ILT |
7048 | Fri Apr 2 14:33:52 1993 Ian Lance Taylor ([email protected]) |
7049 | ||
7050 | * ldlang.c (lang_output_section_statement_lookup): Initialize all | |
7051 | fields of newly created structure. | |
7052 | ||
7053 | Wed Mar 31 18:19:15 1993 Ian Lance Taylor ([email protected]) | |
7054 | ||
7055 | * ldmain.c (g_switch_value): New variable. | |
7056 | * ldgram.y (OPTION_G, OPTION_Gval): New tokens. | |
7057 | (command_line_option): Accept -G and set g_switch_value. | |
7058 | * ldlex.l (COMMAND): Accept -G. | |
7059 | * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. | |
7060 | ||
29f33467 SC |
7061 | Tue Mar 30 09:40:25 1993 Steve Chamberlain ([email protected]) |
7062 | ||
9fce28ed SC |
7063 | Support for linking and loading at different places: |
7064 | ||
7065 | * ldlex.l: Add "AT" keyword. | |
7066 | * ldgram.y: Cleanup, and parse AT. | |
7067 | * ldlang.c (print_output_section_statement): Print output address | |
7068 | of section in map. (lang_size_sections): Fill sections' lma with | |
7069 | load address. | |
7070 | * ldlang.h (lang_output_section_statement_type): Add load_base | |
7071 | information. | |
7072 | ||
29f33467 SC |
7073 | * ldindr.c (add_indirect): Keep more information in the alias |
7074 | symbol chain. | |
7075 | * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section | |
7076 | attribute from an input section. | |
7077 | * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by | |
7078 | default. (Q_enter_file_symbos): Indirect symbols now are known by | |
7079 | their section, not a special symbol flag. | |
7080 | * ldsym.c (write_file_locals): Indirect symbols aren't local. | |
7081 | (write_file_globals): Write the mapping for an indirect symbol. | |
7082 | * relax.c (build_it): When forced to write a NEVER_LOAD section, | |
7083 | fill it with zeros. | |
7084 | ||
7085 | Tue Mar 23 13:24:10 1993 Jeffrey Osier ([email protected]) | |
7086 | ||
7087 | * ld.texinfo: changes for q1 | |
7088 | ||
f20e9842 DZ |
7089 | Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
7090 | ||
7091 | * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck | |
7092 | ||
7093 | Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7094 | ||
7095 | * Makefile.in: rename HOST_CC to CC_FOR_BUILD | |
7096 | ||
7097 | Thu Mar 4 12:44:33 1993 Ian Lance Taylor ([email protected]) | |
7098 | ||
7099 | * mips.sc-sh: Added variables which may be overridden by a | |
7100 | specific emulation. | |
7101 | * mipsidt.sh: New file; emulation for IDT MIPS board. | |
7102 | * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. | |
7103 | (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. | |
7104 | * config/mips-idt.mt: New file; sets EMUL to mipsidt. | |
7105 | * configure.in (mips-idt-ecoff): New target; uses mips-idt. | |
7106 | ||
e637dcf0 KR |
7107 | Sat Feb 27 00:00:14 1993 Ken Raeburn ([email protected]) |
7108 | ||
7109 | * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell, | |
7110 | [email protected]. | |
7111 | * i386bsd.sh, config/i386bsd.mt: New files. | |
7112 | * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. | |
7113 | ||
26483cc6 PB |
7114 | Thu Feb 25 15:33:10 1993 Per Bothner ([email protected]) |
7115 | ||
e637dcf0 | 7116 | * mri.c: Add extern declaration of strdup. |
26483cc6 PB |
7117 | * ldsym.c (KEEP macro): Add spaces around '=' for the |
7118 | sake of old (e.g. PCC) compilers. | |
7119 | ||
05985c77 PB |
7120 | Wed Feb 24 19:49:31 1993 Per Bothner ([email protected]) |
7121 | ||
7122 | * ldver.c: Bump to version 2.1. | |
7123 | ||
067e2baa SC |
7124 | Fri Feb 12 08:09:11 1993 Steve Chamberlain ([email protected]) |
7125 | ||
7126 | * ldgram.y: allow section types without address expressions. | |
7127 | * ldlang.c (lang_relocate_globals): avoid possible hang with | |
7128 | undefined but unreferenced symbols. | |
7129 | * relax.c (relax_section): don't complain if the script file isn't | |
7130 | relaxable but -relax is set | |
7131 | ||
fb8ecc3d DZ |
7132 | Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
7133 | ||
7134 | * configure.in: go32 is the 3rd part of the triple, not the 2nd | |
7135 | ||
067e2baa SC |
7136 | Wed Feb 3 09:05:56 1993 Ian Lance Taylor ([email protected]) |
7137 | ||
7138 | * mipsbig.sh: New file. Big endian MIPS emulation. | |
7139 | * config/mips-big.mt: New file. Use mipsbig emulation. | |
7140 | * configure.in (mips-sgi-irix*): Use target mips-big. | |
7141 | * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. | |
7142 | (em_mipsbig.c): New target. Uses mipsbig.sh. | |
7143 | ||
e193c31b ILT |
7144 | Tue Feb 2 11:32:27 1993 Ian Lance Taylor ([email protected]) |
7145 | ||
7146 | * mips.sc-sh: Put .scommon sections into .sbss section. | |
7147 | ||
7148 | * ldmain.c (subfile_wanted_p): Preserve section of common symbols, | |
7149 | rather than always putting them in bfd_com_section. | |
7150 | * ldlang.c (lang_common): If a common symbol is not in | |
7151 | bfd_com_section, put in a section of the same name, rather than | |
7152 | always putting it in section COMMON. | |
7153 | ||
8a3efe67 ILT |
7154 | Fri Jan 29 09:57:58 1993 Ian Lance Taylor ([email protected]) |
7155 | ||
f31cb329 ILT |
7156 | * ldmain.c (subfile_wanted_p): If we already have a common |
7157 | definition of a symbol, don't necessarily pull in an object file | |
7158 | that provides a non-common definition. | |
7159 | ||
8a3efe67 ILT |
7160 | * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, |
7161 | returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS | |
7162 | linker. | |
7163 | * ldgram.y (OPTION_EB, OPTION_EL): New tokens. | |
7164 | (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. | |
7165 | ||
af6237a4 ILT |
7166 | Thu Jan 28 15:12:04 1993 Ian Lance Taylor ([email protected]) |
7167 | ||
7168 | * Makefile.in (install): Remove $(tooldir)/bin/gld before creating | |
7169 | the link to it. | |
7170 | ||
8a045e50 ILT |
7171 | Tue Jan 26 11:49:50 1993 Ian Lance Taylor ([email protected]) |
7172 | ||
7173 | * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than | |
7174 | checking for equality to bfd_com_section. | |
7175 | ||
42b5c739 ILT |
7176 | Fri Jan 22 14:22:44 1993 Ian Lance Taylor ([email protected]) |
7177 | ||
7178 | * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF | |
7179 | targets, linker script. | |
7180 | * mipslit.sh: New file. Little endian MIPS emulation. | |
7181 | * config/mips-lit.mt: New file. Use mipslit emulation. | |
7182 | * configure.in (mips-dec-ultrix*): Use target mips-lit. | |
7183 | * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. | |
7184 | (em_mipslit.c): New target. Uses mipslit.sh. | |
7185 | ||
7186 | Thu Jan 14 15:30:27 1993 Ian Lance Taylor ([email protected]) | |
7187 | ||
7188 | * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and | |
7189 | $(tooldir)/bin/gld, so that gcc can find it with or without | |
7190 | collect2. | |
7191 | ||
ac496d4f ILT |
7192 | Mon Jan 11 18:50:07 1993 Ian Lance Taylor ([email protected]) |
7193 | ||
7194 | * ldwrite.c: Removed perform_relocation, copy_and_relocate, and | |
7195 | write_norel. All linking is now done via write_relax. Call | |
7196 | ldsym_write before calling write_relax. | |
7197 | * relax.c: Added copyright. | |
7198 | (write_relax): Renamed from write_relaxnorel. Added relocateable | |
7199 | argument. seclet_dump renamed to bfd_seclet_link. | |
7200 | * relax.h: Added copyright. | |
7201 | ||
0550e9f4 SC |
7202 | Mon Jan 11 15:41:56 1993 Steve Chamberlain ([email protected]) |
7203 | ||
7204 | * ldmain.c (decode_library_subfile): Patch from | |
7205 | [email protected], don't reread library symbol tables. | |
7206 | ||
7207 | Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7208 | ||
7209 | * config/vxworks960.mt renamed to config/i960.mt | |
7210 | ||
7211 | * configure.in: sparc-aout emulates a sun4, as does | |
7212 | sparc*-vxworks, i960-nindy uses gld960 emulation | |
7213 | ||
dadd414a SC |
7214 | Fri Jan 8 14:39:07 1993 Steve Chamberlain ([email protected]) |
7215 | ||
7216 | Fix support for NOLOAD, add INCLUDE | |
7217 | * ldfile.c (ldfile_open_command_file): pass file name to | |
7218 | lex_push_file. | |
7219 | * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD | |
7220 | * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD | |
7221 | attribute. | |
7222 | ||
7223 | Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7224 | ||
7225 | * Makefile.in, config.h: no more default emulation. Make the lack | |
7226 | of emulation a compile time error | |
7227 | ||
7228 | Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7229 | ||
7230 | * configure.in: recognise all sparclite variants, not just 'sparclite' | |
7231 | ||
a70947c1 ILT |
7232 | Mon Dec 28 11:15:35 1992 Ian Lance Taylor ([email protected]) |
7233 | ||
7234 | * m68kcoff.sc-sh: define _end as well as end, for consistency with | |
7235 | aout.sc-sh. | |
7236 | ||
7237 | * configure.in: accept *-ericsson-ose for any m68k CPU. | |
7238 | ||
7239 | * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag | |
7240 | for each output section. | |
7241 | ||
086c5e37 PB |
7242 | Mon Dec 21 16:06:59 1992 Per Bothner ([email protected]) |
7243 | ||
7244 | * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new | |
7245 | macro bfd_asymbol_bfd as appropriate. | |
7246 | * Makefile.in: Un-duplicate ldlex.c dependency. | |
7247 | * condigure.in: Replace my_host case table by sourcing | |
7248 | ../bfd/configure.host. Allow std-host as the default. | |
7249 | * ldmisc.c: Change logic for C++ name demangling: There is | |
7250 | no initial '_' to remove from stab-derived function names. | |
7251 | ||
7252 | Sun Dec 13 16:31:26 1992 Steve Chamberlain ([email protected]) | |
7253 | ||
7254 | * ldlang.c (lang_init_script_file): don't attach the output file | |
7255 | sections to the script file. | |
7256 | ||
7257 | Wed Dec 9 08:38:05 1992 Steve Chamberlain ([email protected]) | |
7258 | * ldlang.c (wild): run expansion loop over command line bfd too. | |
7259 | (lang_ini_script_file): initialize more parts of the command line | |
7260 | bfd. | |
7261 | * ldlex.l: fix DEFINED start states. | |
8ddef552 | 7262 | |
85e38cfa SC |
7263 | Mon Dec 7 08:43:41 1992 Steve Chamberlain ([email protected]) |
7264 | -y support | |
7265 | * ld.texinfo: new doc. | |
7266 | * ldgram.y, ldlex.l: understand -y<symbol> | |
7267 | * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and | |
7268 | print info. (add_ysym): new function. | |
7269 | * ldsym.h: (ldsym_type): new define SYM_Y. | |
7270 | ||
e20873a7 JG |
7271 | Sat Nov 21 03:15:27 1992 John Gilmore ([email protected]) |
7272 | ||
7273 | * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, | |
7274 | ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, | |
7275 | ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue | |
7276 | macros with PARAMS. Recreational cleanup. Update copyrights. | |
7277 | ||
7278 | Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7279 | ||
7280 | * Makefile.in: pass down the bfd source directory for includes | |
7281 | ||
22292613 ILT |
7282 | Thu Nov 5 15:41:55 1992 Ian Lance Taylor ([email protected]) |
7283 | ||
7284 | * ldlang.c (lang_size_sections): don't change size and address for | |
7285 | SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD | |
7286 | sections. | |
7287 | ||
85c838d6 SC |
7288 | Thu Nov 5 11:33:57 1992 Steve Chamberlain ([email protected]) |
7289 | ||
7290 | * relax.c (build_it): re-enable the processing of data_statements | |
7291 | in scripts, makes counted contructor lists work again. | |
7292 | ||
6e94236a JG |
7293 | Thu Nov 5 05:43:01 1992 John Gilmore ([email protected]) |
7294 | ||
7295 | * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). | |
7296 | ||
7297 | Tue Oct 20 10:56:06 1992 Ian Lance Taylor ([email protected]) | |
7298 | ||
7299 | * m68kcoff.sc-sh: don't use initial underscores for etext, edata | |
7300 | and end. | |
7301 | ||
e9b63852 ILT |
7302 | Mon Oct 19 09:45:38 1992 Ian Lance Taylor ([email protected]) |
7303 | ||
7304 | * Support for i386-sysv. | |
7305 | configure.in: check for i386-*-sysv* and i386-*-sco*. | |
7306 | i386coff.sc-sh: rewrote to support SVR3 by default. | |
7307 | ldctor.c (find_constructors): preserve stat_ptr. | |
7308 | ldlang.c (wild_doit): initialize vma and size of new output | |
7309 | section to corresponding input section. This is required for | |
7310 | shared library support. | |
7311 | (lang_size_sections): don't modify vma and size of sections which | |
7312 | are never loaded (for shared libraries). | |
7313 | ldwrite.c (copy_and_relocate): copy the contents of any section | |
7314 | which has contents, not just sections which are loaded (for shared | |
7315 | libraries). | |
7316 | ||
ba2c2b1c SC |
7317 | Thu Oct 15 15:20:26 1992 Steve Chamberlain ([email protected]) |
7318 | ||
7319 | * ldlang.c (size_input_section): count the sizes of all sections | |
7320 | we allocate. | |
7321 | ||
a385b38f SC |
7322 | Thu Oct 8 09:05:25 1992 Steve Chamberlain ([email protected]) |
7323 | ||
7324 | * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to | |
7325 | to demangle symbols better | |
7326 | ||
81150d34 ILT |
7327 | Tue Oct 6 13:08:54 1992 Ian Lance Taylor ([email protected]) |
7328 | ||
7329 | * ldlang.c (lang_finish): don't warn if -e start symbol does not | |
7330 | exist when linking with -r. | |
7331 | ||
b5ddf942 ILT |
7332 | Mon Oct 5 14:07:37 1992 Ian Lance Taylor ([email protected]) |
7333 | ||
7334 | * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the | |
7335 | .bss segment. | |
7336 | ||
f3739bc3 SC |
7337 | Mon Oct 5 08:55:14 1992 Steve Chamberlain ([email protected]) |
7338 | ||
7339 | * ldmain.c (linear_library): don't even think about processing | |
7340 | an object file if it's already been done | |
7341 | ||
7342 | Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7343 | ||
7344 | * configure.in: the hp9000/300 config file is now hp300 | |
7345 | ||
ac0832f3 SC |
7346 | Wed Sep 30 07:34:09 1992 Steve Chamberlain ([email protected]) |
7347 | ||
7348 | * config/z8ksim.mt: new file | |
7349 | ||
f3b36ecb KR |
7350 | Fri Sep 25 13:49:52 1992 Ken Raeburn ([email protected]) |
7351 | ||
7352 | * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, | |
7353 | lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. | |
7354 | ||
7355 | * ld.h (strip_symbols_type): Add value STRIP_SOME. | |
7356 | * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. | |
ac0832f3 | 7357 | * ldlang.c (lang_add_keepsyms_file): New function. |
f3b36ecb KR |
7358 | * ldlex.l: Handle "-retain-symbols-file". |
7359 | * ldsym.c (keepsyms_file, kept_syms): New vars. | |
7360 | (process_keepsyms): New functihon; reads file, marks symbols for | |
7361 | saving. | |
7362 | (write_file_locals): File symbols should always be kept. | |
7363 | (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" | |
7364 | and "-s". Process retain-symbols file before setting symtab. | |
7365 | * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. | |
7366 | (keepsyms_file, kept_syms): Declare them. | |
7367 | ||
7368 | * ldmain.c (main): Non-fatal errors should still cause non-zero | |
7369 | exit status even with -r. | |
7370 | ||
22a78f0d SC |
7371 | Fri Sep 25 11:08:01 1992 Steve Chamberlain ([email protected]) |
7372 | ||
7373 | Added initial support for the z8k | |
7374 | * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files | |
7375 | * configure.in, Makefile.in: modified to reflect above | |
7376 | ||
7377 | * ldlang.c (lang_check): when linking conflicting architectures, | |
7378 | make the output file reflect at least one of the bad inputs. | |
7379 | ||
56409445 ILT |
7380 | Tue Sep 15 15:35:38 1992 Ian Lance Taylor ([email protected]) |
7381 | ||
7382 | * Makefile.in (install): if $(tooldir) exists, install ld in | |
7383 | $(tooldir)/bin. | |
7384 | ||
99e6298a SC |
7385 | Fri Sep 11 10:24:22 1992 Steve Chamberlain ([email protected]) |
7386 | ||
7387 | * Makefile.in, configure.in: modified to support i386-coff | |
7388 | * i386coff.sh: new file | |
7389 | ||
ab57b174 ILT |
7390 | Wed Sep 9 11:52:58 1992 Ian Lance Taylor ([email protected]) |
7391 | ||
7392 | * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt: | |
7393 | added m68k-coff emulation mode, stolen from a29k emulation. | |
7394 | Almost certainly wrong, but perhaps better than sun3. | |
7395 | ||
8e71a984 PB |
7396 | Thu Sep 3 14:19:30 1992 Per Bothner ([email protected]) |
7397 | ||
ab57b174 ILT |
7398 | * Makefile.in, Makefile.dos, generic.em, genscripts.sh, |
7399 | gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, | |
7400 | vanilla.em: Rename all (generated) ld__*.c files to em_.c. | |
7401 | This is one character shorter, and lets people build on | |
7402 | SVR3 system. (ld__h8300xray.[co] was the killer there; | |
7403 | h8300xray.sc-sh is also overlong, but seems harmless.) | |
7404 | Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. | |
7405 | * Makefile.in (clean): Fix typo mostclean -> mostlyclean. | |
7406 | * configure.in: Add host isc. | |
7407 | ||
8e71a984 PB |
7408 | * ldver.c: Call it version 2.0. |
7409 | ||
7410 | Wed Sep 2 00:21:33 1992 Per Bothner ([email protected]) | |
7411 | ||
7412 | * ldver.c: Bump to version 0.98. | |
7413 | * TODO: New file. | |
7414 | ||
7415 | * Makefile.in: Added mostlyclean, distclean, realclean rules. | |
7416 | ||
c52bdfec PB |
7417 | Tue Sep 1 23:42:16 1992 Per Bothner ([email protected]) |
7418 | ||
7419 | * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). | |
7420 | * ldlex.l: Moved comment() to end, since some compilers | |
7421 | otherwise have problems with input() used before it is defined. | |
7422 | ||
2df68136 DZ |
7423 | Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
7424 | ||
7425 | * configure.in: added Solaris 2 and Irix 4 host support. | |
7426 | ||
7427 | Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7428 | ||
7429 | * Makefile.in: remove -S flag from the FLEX definition | |
7430 | ||
7431 | * configure.in: rewrote, using new style case statement. use | |
7432 | m68k.mt for m68k-aout systems | |
7433 | ||
0bb95ac8 ILT |
7434 | Sun Aug 30 21:38:53 1992 Ian Lance Taylor ([email protected]) |
7435 | ||
7436 | * Makefile.in: map "ld" through program_transform_name when | |
7437 | installing. | |
7438 | ||
fe2b6209 PB |
7439 | Sun Aug 30 18:12:13 1992 Per Bothner ([email protected]) |
7440 | ||
7441 | * cplus-dem.c: Removed. Use the version in libiberty now. | |
7442 | * ldmisc.c: Use new libiberty version of cplus_demangle(). | |
7443 | ||
94cc1ee7 ILT |
7444 | Thu Aug 27 16:38:42 1992 Ian Lance Taylor ([email protected]) |
7445 | ||
5f2d9799 ILT |
7446 | * gld960.em (gld960_choose_target): default to little endian, not |
7447 | big endian. | |
94cc1ee7 | 7448 | |
cd1d8c6d SC |
7449 | Wed Aug 26 17:28:51 1992 Steve Chamberlain ([email protected]) |
7450 | ||
7451 | * ldlang.c (lang_process): don't pass null pointers when | |
7452 | abs_output_section is what is required. | |
7453 | * ldwrite.c (ldwrite): use malloc to allocate the largest space | |
7454 | used, and pass that down. | |
7455 | * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather | |
7456 | than alloca. | |
7457 | ||
afba2b22 ILT |
7458 | Mon Aug 24 14:42:06 1992 Ian Lance Taylor ([email protected]) |
7459 | ||
7460 | * configure.in, config/ose68.mt: renamed OSE to ose. | |
7461 | ||
571c4c26 KR |
7462 | Thu Aug 20 19:55:22 1992 Ken Raeburn ([email protected]) |
7463 | ||
7464 | * ldsym.c (write_file_locals): Reorder check for common or | |
7465 | undefined symbols so that it works. | |
7466 | ||
b189e892 ILT |
7467 | Tue Aug 18 13:41:36 1992 Ian Lance Taylor ([email protected]) |
7468 | ||
7469 | * configure.in: accept all m68K family members. | |
7470 | ||
7471 | * Makefile.in: always create installation directories. | |
7472 | ||
6bf2e3a7 SC |
7473 | Thu Aug 13 11:49:34 1992 Steve Chamberlain ([email protected]) |
7474 | ||
7475 | * ldlex.l: now parses comment correctly, added ~ to acceptable | |
7476 | chars in filenames | |
7477 | ||
7478 | * ldexp.c (exp_unop): pass down abs_output_section - now can have | |
7479 | unary -ve constants. | |
7480 | ||
7481 | * ldlang.c (lang_finish): warn when an entry symbol supplied on | |
7482 | the command line can't be found. | |
7483 | ||
ae475b39 SC |
7484 | Fri Aug 7 12:31:10 1992 Steve Chamberlain ([email protected]) |
7485 | ||
7486 | * ldlang.h: add new field "loadable" to output_section_statement. | |
7487 | * ldlang.c (lang_output_section_statement_lookup): initilize new | |
7488 | field. (wild_doit): if new field is not set, then stop output | |
7489 | section from being loadable. | |
7490 | (lang_enter_output_section_statement): set the field from the | |
7491 | NOLOAD keyword | |
7492 | * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. | |
7493 | * h8300hms.sc-sh, h8300hms.em: get -r right. | |
7494 | ||
4b91c519 PB |
7495 | Thu Aug 6 18:35:21 1992 Per Bothner ([email protected]) |
7496 | ||
7497 | * ldint.texinfo: New internals manual (beginnings thereof). | |
7498 | * PORTING: Removed, merged into ldint.texinfo. | |
7499 | ||
917bffa7 PB |
7500 | Tue Aug 4 21:12:29 1992 Per Bothner ([email protected]) |
7501 | ||
7502 | * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, | |
7503 | cdtest.exp: A test program (copied from libg++/test-install) | |
7504 | that tests that constructor and destructors are handled | |
7505 | corrrectly. | |
7506 | ||
b40f9c73 DZ |
7507 | Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
7508 | ||
7509 | * Makefile.in (install): install from ld.new, renaming during the | |
7510 | copy, or else the next 'make install' needs to re-link ld. | |
7511 | ||
7512 | Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace ([email protected]) | |
7513 | ||
7514 | * configure.in: generalise hp recognition (from sef). | |
7515 | ||
7516 | Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
7517 | ||
7518 | * configure.in: recognize bsd and hpux hppa configurations. | |
7519 | error messages echo to stderr, not stdout | |
7520 | ||
ec467c83 RP |
7521 | Fri Jul 17 22:06:11 1992 K. Richard Pixley ([email protected]) |
7522 | ||
7523 | * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, | |
7524 | ldmisc.c: removed rcsid's. | |
7525 | ||
67cddd9f SC |
7526 | Tue Jul 14 08:34:34 1992 Steve Chamberlain ([email protected]) |
7527 | ||
7528 | * ldlang.c (lang_map): print changes in sizes due to relaxing | |
7529 | (size_input_section): maintain the delta information. | |
7530 | * ldlang.h: add new field to struct to contain delta info. | |
7531 | * relax.c (relax_section): complain if input not relaxable. | |
7532 | * ldlex.l : add '_', ',' and '$' to chars which can appear at the | |
7533 | start of a filename | |
7534 | ||
f7c76897 SC |
7535 | Mon Jul 13 17:33:00 1992 Steve Chamberlain ([email protected]) |
7536 | ||
7537 | * ldmain.c(main): prevent -r and -relax from being on at the same | |
7538 | time. | |
7539 | ||
28b6b1ab SC |
7540 | Wed Jul 1 17:51:19 1992 Steve Chamberlain ([email protected]) |
7541 | ||
7542 | * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for | |
7543 | aliasing problems | |
7544 | ||
7545 | ||
30d1a390 SC |
7546 | Thu Jun 18 09:38:56 1992 Steve Chamberlain ([email protected]) |
7547 | ||
7548 | * h8300hms.em, h8300hms.sc-sh: do the right thing for -r | |
7549 | * ldexp.c: lint | |
7550 | * ldlang.c(open_output): set the target arch and machine as soon | |
7551 | as we can. (lang_size_sections): use new macros for setting vma | |
7552 | * ldwrite.c: lint | |
7553 | ||
5bdf878e MT |
7554 | Mon Jun 15 08:47:43 1992 Michael Tiemann ([email protected]) |
7555 | ||
7556 | * configure.in (my_target): Accept m680?0 for wrs as vxworks68. | |
7557 | Also deleted an unreachable path to wrs. | |
7558 | ||
7559 | Wed May 27 23:24:19 1992 Michael Tiemann ([email protected]) | |
7560 | ||
7561 | * Makefile.in (install): use -d test for $tooldir before | |
7562 | installing ld there so that $tooldir can be inherited from | |
7563 | top-level Makefile. | |
7564 | ||
7565 | Wed May 27 16:56:48 1992 Per Bothner ([email protected]) | |
7566 | ||
7567 | * ldlang.c: Two non-substantial changes for the sake of | |
7568 | the old Portable C Compiler. | |
7569 | ||
5e81edb2 SC |
7570 | Wed May 27 15:15:58 1992 Steve Chamberlain ([email protected]) |
7571 | ||
7572 | * ldgram.y, ldlex.l: parse ABSOLUTE | |
7573 | * ldexp.c: add support for ABSOLUTE | |
7574 | ||
7aacc9cc PB |
7575 | Wed May 27 13:07:20 1992 Per Bothner ([email protected]) |
7576 | ||
7577 | * Makefile.in: Added default definitions for HOSTING_CRT0, | |
7578 | HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. | |
7579 | * config/*.mh: Miscellaneous clean-up: Removed definitions | |
7580 | of YACC (since it is not longer used in the Makefile). | |
7581 | Remove HOSTING_* definitions that are subsumed by the | |
7582 | ones added to Makefile.in. Removed most definitions of CC. | |
7583 | * config/{sparc,news,hp300bsd,decstation}.mh: Removed; | |
7584 | These are no longer needed. | |
7585 | ||
91e25b4f PB |
7586 | Fri May 22 13:47:19 1992 Per Bothner ([email protected]) |
7587 | ||
5ff21fa5 PB |
7588 | * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex |
7589 | rules, since these are used when building a distribution. | |
7590 | * Makefile.in (ldlex.c): Don't re-direct output, since that | |
7591 | leaves a bogus output files if it fails. | |
7592 | ||
91e25b4f PB |
7593 | * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. |
7594 | * ldlex.c: Fix some unnecessary flex-specific-isms. | |
7595 | ||
7596 | Fri May 8 11:49:43 1992 Steve Chamberlain ([email protected]) | |
7597 | ||
7598 | * ldgram.y: move spurious semicolon | |
7599 | * ldexp.h: fix prototype | |
7600 | ||
82d1666a RP |
7601 | Thu May 7 17:01:12 1992 Roland H. Pesch ([email protected]) |
7602 | ||
7603 | * ld.texinfo: references to linker now say "ld" not "gld". | |
7604 | ||
32846f9c SC |
7605 | Wed May 6 13:26:19 1992 Steve Chamberlain ([email protected]) |
7606 | ||
7607 | changed calling convention for Q_enter_global_ref | |
7608 | * ldexp.c, ldlang.c, ldmain.c: reflect this | |
7609 | * ldver.c: bump version to 1.97.1 | |
7610 | * ldindr.c (add_indirect): when an edict declaring an indirect | |
7611 | symbol is found, make sure that any ideas about the symbol being | |
7612 | common are changed if it now known to be defined. | |
7613 | * ldmain.c (linear_library): complain once if archive isn't | |
7614 | ranlibbed. | |
7615 | * ldlang.h, ldlang.c: make room for and initialize the complain | |
7616 | once field. | |
7617 | ||
bf3acf44 RP |
7618 | Wed May 6 11:07:35 1992 K. Richard Pixley ([email protected]) |
7619 | ||
7620 | * Makefile.in: use flex & bison from ../ if they exist. | |
7621 | ||
9c99a57e SC |
7622 | Tue May 5 17:47:33 1992 Steve Chamberlain ([email protected]) |
7623 | ||
7624 | * relax.c (build_it): don't allocate space in the output file for | |
7625 | stuff if -R flag applys to it. | |
7153b2ff SC |
7626 | * ldfile.c: merge in VMS filename support |
7627 | * ldmain.c (main): take out ./ from library path, and close file | |
7628 | before unlinking. Make multiple defs of a symbol create an | |
7629 | unexecable file. | |
7630 | * ldmisc.c: fatal errosrs delete output file | |
9c99a57e | 7631 | |
98377f31 PB |
7632 | Tue May 5 14:05:05 1992 Per Bothner ([email protected]) |
7633 | ||
7634 | * ldver.c: Increase version number to 1.97, for consistency | |
7635 | with ../binutils. | |
7636 | ||
3f350eda RP |
7637 | Tue May 5 12:12:24 1992 K. Richard Pixley ([email protected]) |
7638 | ||
813da1a5 RP |
7639 | * Makefile.in: FLEX -> LEX. |
7640 | ||
3f350eda RP |
7641 | * ld.texinfo: {} -> @{@}. |
7642 | ||
e0047d49 RP |
7643 | Mon May 4 17:52:41 1992 Roland H. Pesch ([email protected]) |
7644 | ||
7645 | * ld.texinfo: describe alternate, MRI-compatible linker scripts | |
7646 | (and associated change in -c option, now used for these scripts) | |
7647 | ||
bfbdc80f SC |
7648 | Mon May 4 16:10:10 1992 Steve Chamberlain ([email protected]) |
7649 | ||
7650 | * ldver.c: Bumped version to 1.96 - new release, resync with the | |
7651 | bfd too #. | |
7652 | * ldexp.c, ldlang.c: now build memory shape tree in obstacks | |
7653 | rather than with raw malloc, makes it easier to track where memory | |
7654 | is going. | |
7655 | * ldsym.h, ldsym.c: create obstack for all global symbols too. | |
7656 | * ldwrite.c (ldwrite): moved malloc so only used when needed. | |
7657 | * sa29200-sc.sh: added support for .lit, data1 and data2 sections. | |
7658 | ||
7659 | ||
d3451fe8 RP |
7660 | Fri May 1 18:17:52 1992 K. Richard Pixley ([email protected]) |
7661 | ||
7662 | * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. | |
7663 | ||
7664 | * Makefile.in: use bootstrap for check. | |
7665 | ||
dc4726c2 SC |
7666 | Fri May 1 13:03:41 1992 Steve Chamberlain ([email protected]) |
7667 | ||
e14a43bf SC |
7668 | * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and |
7669 | PUBLIC. | |
7670 | * Makefile.in: now use flex, not lex | |
dc4726c2 SC |
7671 | * ldlex.l, ldlang.c, ldctor.c: lint |
7672 | ||
ee0c4cf7 SC |
7673 | Wed Apr 22 12:48:42 1992 Steve Chamberlain ([email protected]) |
7674 | ||
7675 | * ldlex.l: added CMDFILENAMECHAR state so that you can lex | |
7676 | different sorts of filenames on the command line than in a script. | |
7677 | ||
77b19d3d RP |
7678 | Mon Apr 20 22:37:04 1992 K. Richard Pixley ([email protected]) |
7679 | ||
7680 | * Makefile.in: rework CFLAGS so that they can be passed on the | |
7681 | make command line. Remove MINUS_G. Default CFLAGS to -g. | |
7682 | ||
119afd7b RP |
7683 | Fri Apr 17 08:57:17 1992 Steve Chamberlain ([email protected]) |
7684 | ||
7685 | * relax.c: added handling for new "padding" seclet type, used to | |
7686 | fill out gaps between section. | |
7687 | * ldgram.y, ldlex.l: now -defsym on the command line is done | |
7688 | properly. | |
7689 | ||
7690 | Wed Apr 15 21:20:07 1992 K. Richard Pixley ([email protected]) | |
7691 | ||
7692 | * Makefile.in: the tooldir copy of ld goes directly in tooldir. | |
7693 | ||
2e38b71d SC |
7694 | Wed Apr 15 16:09:33 1992 Steve Chamberlain ([email protected]) |
7695 | ||
7696 | * mri.c, ldgram.y, ldlex.l: added support for minimal strange link | |
7697 | scripts. | |
7698 | ||
1900f884 KR |
7699 | Thu Apr 9 05:52:02 1992 Ken Raeburn ([email protected]) |
7700 | ||
7701 | * Makefile.in (install): Install second copy in $(tooldir)/bin | |
7702 | without $(program_prefix), since that's what gcc expects. | |
7703 | ||
9d1fe8a4 SC |
7704 | Sat Apr 4 17:44:06 1992 Steve Chamberlain ([email protected]) |
7705 | ||
7706 | * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. | |
7707 | * h8300*: fix bit rot and add support for h8300xray target | |
7708 | * go32.sh: target emulation for go32. | |
7709 | ||
9d1fe8a4 SC |
7710 | Mon Mar 16 14:53:29 1992 Steve Chamberlain ([email protected]) |
7711 | ||
7712 | * gld960.em, i960.sc-sh. Fix i960 bit rot | |
7713 | ||
f0280cd2 RP |
7714 | Fri Mar 13 19:47:22 1992 K. Richard Pixley ([email protected]) |
7715 | ||
7716 | * Makefile.in: install man page. | |
7717 | ||
12fa72d4 SC |
7718 | Fri Mar 13 08:23:59 1992 Steve Chamberlain ([email protected]) |
7719 | ||
7720 | * config/mt-<foo> renamed to <foo>.mt | |
7721 | * config/mh-<foo> renamed to <foo>.mt | |
7722 | * configure.in changed to reflect this | |
7723 | * genscripts.sh now make .xbn files rather than .xN files | |
7724 | ||
7725 | Sat Mar 7 03:40:40 1992 K. Richard Pixley ([email protected]) | |
7726 | ||
7727 | * ldver.h: fix decl of ldversion. | |
7728 | ||
7729 | Fri Mar 6 22:00:35 1992 K. Richard Pixley ([email protected]) | |
7730 | ||
7731 | * Makefile.in: added check target. | |
7732 | ||
fe563ffe SC |
7733 | Fri Mar 6 06:59:04 1992 Steve Chamberlain ([email protected]) |
7734 | ||
7735 | * ldmain.c (Q_enter_file_symbols): now aliases work again | |
7736 | ||
12fa72d4 SC |
7737 | Thu Mar 5 21:39:29 1992 K. Richard Pixley ([email protected]) |
7738 | ||
7739 | * Makefile.in: added clean-info target. | |
7740 | ||
fe563ffe SC |
7741 | Thu Mar 5 16:55:56 1992 Steve Chamberlain ([email protected]) |
7742 | ||
7743 | * ldexp.c (exp_print_tree): don't try and follow null pointers | |
7744 | around. | |
7745 | * ldgram.y: remove 11 shift reduce errors | |
d2861901 | 7746 | |
12fa72d4 SC |
7747 | Tue Mar 3 15:46:39 1992 K. Richard Pixley ([email protected]) |
7748 | ||
7749 | * Makefile.in: added tooldir and program_prefix. | |
7750 | ||
fe563ffe SC |
7751 | Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) |
7752 | ||
7753 | * ldlang.c (size_input_section): don't move absolute sections | |
7754 | around! | |
7755 | ||
7756 | ||
7757 | Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) | |
7758 | ||
d2861901 SC |
7759 | * cplus-dem.c: yet another copy of this - maybe it should go into |
7760 | libiberty ? | |
7761 | * ldgram.y: now -V and -v have different actions | |
7762 | * ldver.c: if -V, prints list of emulations compiled in | |
7763 | * ldmisc.c: support for cplus demangling | |
7764 | ||
7765 | ||
12fa72d4 SC |
7766 | Wed Feb 26 18:04:40 1992 K. Richard Pixley ([email protected]) |
7767 | ||
7768 | * Makefile.in, configure.in: removed traces of namesubdir, | |
7769 | -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced | |
7770 | copyrights to '92, changed some from Cygnus to FSF. | |
7771 | ||
d2861901 SC |
7772 | Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) |
7773 | ||
7774 | * Makefile.in: Change mkscript rule into one for ./mkscript | |
7775 | (for the sake of makes that don't realize they're the same). | |
7776 | * PORTING: Add more details. | |
7777 | * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. | |
7778 | ||
1584d069 PB |
7779 | Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) |
7780 | ||
7781 | * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, | |
7782 | config/mt-hp300bsd: New port to hp300 running BSD. | |
7783 | ||
7e5c1057 PB |
7784 | Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) |
7785 | ||
7786 | Major rewrite of how ld is configured. The major idea | |
7787 | is to use shell scripts to generate everything. | |
7788 | * generic.em replaces ldtemplate. | |
7789 | * Other *.em files replace various *.c files. | |
7790 | A *.em file is a shell script that generates the corresponding | |
7791 | ld__*.c file that implements an emulation. This is usually | |
7792 | a straight 'cat' of a here-document, possibly with substitutions. | |
7793 | * Script files (*.sc) are places by *.sc-sh scripts. | |
7794 | Again, these are simple shell scripts that 'cat' | |
7795 | here-documents, usually with some substitutions. | |
7796 | The output a *.sc-sh is a script file. | |
7797 | * Each emulation is defined by a short shell script with | |
7798 | extension *.sh that specifies the emulation-specific | |
7799 | parameters (such as the name of the *.sh-sc and *.em | |
7800 | files to use). | |
7801 | * genscript.sh is the master shell script used to generate | |
7802 | an emulation. It is passed various argument, including | |
7803 | the name a the emulation-speciic *.sh file that it | |
7804 | "sources" to set variables to emulation-specifc parameters. | |
7805 | * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME | |
7806 | to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) | |
7807 | * config/mh-foo: Rename LDEMULATION names as appropriate | |
7808 | (usually 'gldfoo' -> plain 'foo'). | |
7809 | * ldwrite.c: Fixed a typo in a comment. | |
7810 | * Makefile.in: Major changes. Removed some the sed | |
7811 | magic to converts scripts, since that is now handled | |
7812 | by genscripts.sh and the *.sc-sh scipt generators. | |
7813 | * config.h: Remove a bunch of macros defining emulations | |
7814 | and targets. This becomes one less file to edit when | |
7815 | adding emulations or targets. | |
7816 | * ldemul.h (struct ld_emulation_xfer_struct): Add | |
7817 | emulation_name and target_name fields. | |
7818 | * ldemul.c, ldemul.h: Define some default functions used | |
7819 | by most emulations (and remove from the *.em scripts). | |
7820 | * ldemul.c (ldemul_choose_target): Search the new | |
7821 | ld_emulations array using a loop (instead of a hardwired | |
7822 | nested if statement). | |
7823 | Define the ld_emulation from the automatically-geenrated | |
7824 | ldemul-list.h. This means you no longer have to edit ldemul.c | |
7825 | to add a new emulation. | |
7826 | * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by | |
7827 | their expansions, since the former no longer exist. | |
7828 | * PORTING: A very rough first draft of a porting guide. | |
7829 | ||
7830 | * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment | |
7831 | to be terminated by a new-line (instead of requiring a semicolon). | |
7832 | ||
7833 | Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
7834 | ||
7835 | * ldexp.c, ldlang.c: added new idea "abs_output_section", removes | |
7836 | tests for NULL pointers all over the place. | |
7837 | * ldlang.c (lang_process): remember to relocate global symbols | |
7838 | *after* relaxing has done it stuff. | |
7839 | ||
7840 | Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) | |
7841 | ||
7842 | * config/mt-coff-h8300: use EMUL like everything else | |
7843 | * ldlang.c: (print_padding_statement): print the right address. | |
7844 | * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms | |
7845 | ||
7846 | ||
aa34a7c3 SC |
7847 | Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
7848 | ||
7849 | * ldlex.l: Put pack -noinhibit-exec and -sort-common | |
7850 | * ldlang.c (print_data_statement): print the right address. | |
7851 | ||
7852 | Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) | |
7853 | ||
7854 | * Makefile.in: The rule for testing ld by re-linking itself | |
7855 | via an intermediate -r link was moved to the ld1 rule | |
7856 | instead of the ld2 rule. This allows ld2 and ld3 to be identical, | |
7857 | which allows the bootstrap rule to work. | |
7858 | * ldctor.c (find_constructors): Don't create a constructor | |
7859 | list if it is already defined (as would happen if ld is | |
7860 | invoked by collect). | |
7861 | ||
cbbdbb9f SC |
7862 | Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
7863 | ||
7864 | * config/mh-sparc.h: now uses libgcc.a | |
7865 | * ldmain.c: quit using exit | |
7866 | * *sc: use *(COMMON) rather than [COMMON] | |
7867 | * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, | |
7868 | to allow preprocessing of .l file. | |
7869 | * Makefile.in: New ldlex.l mangling | |
7870 | * ldexp.c (fold_binary): perform expressions with % and / in | |
7871 | integer. | |
7872 | * ldfile.c (open_a): open archives on VMS in a special way | |
7873 | ||
7874 | ||
870f54b2 SC |
7875 | Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
7876 | ||
7877 | * ldgram.y: map -M behave in the same way as -Map (sets file name | |
7878 | to be "-". | |
7879 | * ldsym.c, ldlang.c: remember that size of a section is dependent on | |
7880 | whether or not relaxing has been done. | |
7881 | * ldmain.c: don't open a map file if it doesn't have a name | |
7882 | * relax.c: all the brains have moved into bfd. | |
7883 | * ldwrite.c: ammend comment | |
7884 | ||
2e2bf962 SC |
7885 | Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
7886 | ||
7887 | * Makefile.in: added relax, also made three stage go through a | |
7888 | partial link stage. | |
7889 | * relax.c : added | |
7890 | * config.h: if GNU960 defined, then default emulation mode is | |
7891 | GLD960 | |
7892 | * ldexp.h, ldexp.c: map to file hooks | |
7893 | * ldlang.c: map to file hooks | |
7894 | * ldgram.y: added -Map -relax | |
7895 | * ldlex.l: added -relax, -Map | |
7896 | * ldmain.c: open map file | |
7897 | * ldmisc.c: support for map file | |
7898 | * ldwrite.c: new relax magic | |
7899 | ||
7900 | Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) | |
7901 | ||
7902 | * Makefile.in, config/tm-*.h: Clean up make output, only | |
7903 | pass DEFAULT_EMULATION to ldmain.c. | |
7904 | ||
7905 | Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) | |
7906 | ||
7907 | * ldver.c: Bump to version 1.94. | |
7908 | ||
7909 | Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
7910 | ||
7911 | * Makefile.in: infodir belongs in datadir. | |
7912 | ||
e06ba18d PB |
7913 | Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) |
7914 | ||
7915 | * Makefile.in: Pass -y to bison. (Again; | |
7916 | accidentally deleted by Rich.) | |
7917 | * news.sc, ldgld68k.sc: Define __end as well as _end. | |
7918 | ||
7919 | Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) | |
7920 | ||
7921 | * ldindr.h: added to contain prototypes of ldindr.c | |
7922 | * ldfile.c: include ctype.h | |
7923 | * ldmain.c: include the requried prototype headers | |
7924 | * ldwrite.c: get_reloc_upper_bound has been renamed | |
7925 | bfd_get_reloc_upper_bound | |
7926 | ||
818a192a RP |
7927 | Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) |
7928 | ||
7929 | * Makefile.in: punt "fundamental" mode because it breaks my emacs | |
7930 | macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove | |
7931 | spaces following hyphens, bsd make can't cope. added | |
7932 | standards.text support and made it look like all the other | |
7933 | makefiles. | |
7934 | ||
7935 | * configure.in: configure now runs entirely in objdir so make file | |
7936 | existence checks against ${srcdir}. Mark this directory as | |
7937 | target dependent. | |
7938 | ||
7939 | Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) | |
7940 | ||
7941 | * Makefile.in: idestdir and ddestdir go away. Added copyrights | |
7942 | and shift gpl to v2. Added ChangeLog if it didn't exist. docdir | |
7943 | and mandir now keyed off datadir by default. | |
7944 | ||
7945 | Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) | |
7946 | ||
7947 | * ldver.c: Bumped version to 1.93. | |
7948 | * Makefile.in: Pass -y to bison. | |
7949 | ||
7950 | Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) | |
7951 | ||
7952 | * config.h: h8 is now coff, not ieee | |
7953 | * h8300hds.sc: reflect the same | |
7954 | ||
7955 | Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) | |
7956 | ||
7957 | * ldver.c (ldversion()): Update to 1.92. | |
7958 | * ldctor.c: There are two places constructor sets | |
7959 | can be defined. One of them checked for an existing | |
7960 | duplicate, the other didn't. Unfortunately, the latter | |
7961 | was called after the former ... | |
7962 | So, factor out code for inserting a new element into | |
7963 | constructor_name_list (after checking for a duplicate) | |
7964 | into a new function add_constructor_name, and call | |
7965 | it from both aforementioned places (ldlang_add_constructor | |
7966 | and ldlang_check_for_constructors). | |
7967 | ||
7968 | Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) | |
7969 | ||
7970 | * Makefile.in: Rename .c files generated from ldtemplate | |
7971 | to have names starting with ld__. This helps 'make clean'. | |
7972 | ||
092df318 SC |
7973 | Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) |
7974 | ||
7975 | * Makefile.in: Take out the version number for install | |
7976 | * m88kbcs.sc: put in contructor blocks. | |
7977 | ||
1c9e4b15 PB |
7978 | Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) |
7979 | ||
7980 | * ldmisc.c, ldmisc.h: Re-write info() to take a filename | |
7981 | parameter, a format, and an arg pointer, and rename it to | |
7982 | vfinfo(). Write info() in terms of new vfinfo(). | |
7983 | New einfo() is the same as info(), except it writes to stderr. | |
7984 | * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, | |
7985 | ldmisc.c: Replace "error" calls to info() by new einfo(). | |
7986 | ||
550e87b5 SC |
7987 | Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) |
7988 | ||
7989 | * ldlex.l ldgram.y: made -V option do same as -v | |
7990 | * Makefile.in: Added $(MINUS_G) flag so debugging can be | |
7991 | turned off | |
7992 | ||
7993 | Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) | |
7994 | i386 aout changes from Bob Kukura | |
7995 | * Makefile.in, config.h: added i386aout support | |
7996 | * configure.in: fixed /h-{myhost} typo | |
7997 | * ldgram.y: -MM now gives more boring map. | |
7998 | * ldlang.c: now does D_PAGED flag the right way. | |
7999 | * ldsym.c: -MM flags does the right thing. | |
8000 | ||
aeedc30e PB |
8001 | Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) |
8002 | ||
8003 | * configure.in: Fixed typo. Also, a fix for hp300bsd. | |
8004 | * ldlang.c (init_os): Compensate for BFD change, | |
8005 | where bfd_make_section now returns NULL for a duplicate | |
8006 | section request, instead of the old section. | |
8007 | ||
8008 | Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) | |
8009 | ||
8010 | * ldver.c: Bump to version 1.91 (consistent with binutils). | |
8011 | ||
2d1a2445 PB |
8012 | Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) |
8013 | ||
8014 | * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, | |
8015 | ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, | |
8016 | ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, | |
3410447c | 8017 | ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: |
2d1a2445 PB |
8018 | Add or update copyright notices. |
8019 | ||
8020 | Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) | |
8021 | ||
8022 | * README: New file. | |
8023 | * Makefile.in: Changed installation directory name scheme | |
8024 | to be consistent with gcc. Also changed 'install'. | |
8025 | ||
954ac2ea RP |
8026 | Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) |
8027 | ||
8028 | * Makefile.in: new targets ld.mm, ld.me | |
8029 | ||
972e7b4b PB |
8030 | Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) |
8031 | ||
8032 | * Makefile.in, ldtemplate: Need to use separate scripts | |
8033 | for -n and -N options. Yet more complication. | |
8034 | ||
33ce0085 JG |
8035 | Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) |
8036 | ||
8037 | * Makefile.in: Avoid using $< in explicit Make rules (it doesn't | |
8038 | work). Add some lines to avoid Sun Make VPATH bugs. | |
8039 | ||
b7e24eef PB |
8040 | Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) |
8041 | ||
8042 | * news.sc: Add alignment for data segment. | |
8043 | * ldtemplate: Add (yet another) script to get for -n or -N | |
8044 | options. (These need different alignment than ZMAGIC files.) | |
8045 | * Makefile.in: Add stuff for new foo.xn scripts. | |
8046 | These are generated by replacing "ALIGN(0x...00)" by ".". | |
8047 | ||
b55e0948 RP |
8048 | Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) |
8049 | ||
8050 | * Makefile.in: new targets ld.ms, ld-index.ms | |
8051 | ld.texinfo: remove tabs, other cleanups for texi2roff | |
8052 | ||
6719c75b PB |
8053 | Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) |
8054 | ||
8055 | * ldmain.c (main): Make config.magic_demand_paged be true | |
8056 | by default. Don't the WP_TEXT and D_PAGED flags of | |
8057 | output_bfd here; it's too late, so set it when output_bfd | |
8058 | is created (in ldlang.c). Also fix setting of EXEC_P flag | |
8059 | * ldlang.c (ldlang_open_output): Set output_bfd->flags here. | |
8060 | * ldlang.c: Remove some duplicate extern declarations. | |
8061 | * ldgram.y: Fixes to -N and -n options. | |
8062 | * Makefile.in: Recognize upper case letters in sed script | |
8063 | to remove assignments from script files. | |
8064 | * ldtemplate: Don't assukme that -N or -n options | |
8065 | imply use of -r script. | |
8066 | * mkscript.c: Tweaking to correctly handle \n and \\ in input. | |
8067 | ||
8e10cea1 SC |
8068 | Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) |
8069 | ||
8070 | * ldtemplate: include bfd.h before sysdep.h. | |
8071 | ||
1f8fc34f JG |
8072 | Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) |
8073 | ||
8074 | Restructure configuration scheme for bfd, binutils, ld. | |
8075 | ||
8076 | * include/sys/h-*.h: Move to bfd/hosts/h-*.h. | |
8077 | * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. | |
8078 | Change some config names to match other dirs. | |
8079 | * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() | |
8080 | get defined first. | |
8081 | * config/: Rename some config files to match up h-*.h names. | |
8082 | Remove all the HOST_SYS definitions from the config files. | |
8083 | ||
8084 | Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) | |
8085 | ||
8086 | * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. | |
8087 | * ldtemplate: Remove ldfile_add_library_path calls; | |
8088 | just use the SEARCH_DIR commands in the script files. | |
8089 | * Makefile.in: Add LIB_PATH macro, which if set is used to replace | |
8090 | the SEARCH_DIR commands in the scripts (using ugly sed magic). | |
8091 | This is primarily intended for cross-linking, where you would | |
8092 | place libaries in a different place than native libraries. | |
8093 | Also, emulations made from ldtemplate now use $(srcdir). | |
8094 | * ldglda29k.sc: Change SEARCH_DIR commands to a conventional | |
8095 | form; people can use the Makefile's LIB_PATH to override. | |
8096 | ||
8d317d2a RP |
8097 | Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) |
8098 | ||
8099 | * Makefile.in: fix target ld.dvi, add target ld.info | |
8100 | ld.texinfo: make info filename ld.info | |
8101 | ||
558175fb JG |
8102 | Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) |
8103 | ||
8104 | * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun | |
8105 | Make). | |
8106 | * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a | |
8107 | few BFD types & enums. | |
8108 | ||
de0abbfc ILT |
8109 | \f |
8110 | Local Variables: | |
c6c7035c | 8111 | mode: change-log |
bf82ab68 ILT |
8112 | left-margin: 8 |
8113 | fill-column: 74 | |
de0abbfc ILT |
8114 | version-control: never |
8115 | End: |