Changeset 609 for branches/GNU/src/binutils/ld/ChangeLog
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/ld/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 2003-06-12 Richard Sandiford <rsandifo@redhat.com> 2 3 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations 4 to $targ_extra_libpath. 5 6 2003-06-02 Daniel Jacobowitz <drow@mvista.com> 7 8 Merge from mainline: 9 2003-05-15 H.J. Lu <hongjiu.lu@intel.com> 10 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. 11 12 2003-05-30 Nick Clifton <nickc@redhat.com> 13 14 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT 15 with a test for a NULL bfd_for_interworking. 16 17 2003-05-05 Alan Modra <amodra@bigpond.net.au> 18 19 * ldlex.l: Accept C style comments in version scripts. 20 21 2003-04-28 H.J. Lu <hjl@gnu.org> 22 23 * ldlang.c (lang_process): Add the relax finalize pass. 24 25 * ldmain.c (main): Initialize link_info.relax_finalizing to 26 FALSE. 27 28 2003-04-24 Roland McGrath <roland@redhat.com> 29 30 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. 31 If a name string is unknown, give an error rather than crashing later. 32 33 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> 34 35 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, 36 eh8300hnelf.o, eh8300snelf.o and respective rules. 37 * Makefile.in: Regenerate. 38 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf 39 * emulparams/h8300hn.sh: New 40 * emulparams/h8300sn.sh: New 41 * emulparams/h8300hnelf.sh: New 42 * emulparams/h8300snelf.sh: New 43 * scripttempl/h8300hn.sc: new 44 * scripttempl/h8300sn.sc: new 45 46 2003-04-23 H.J. Lu <hjl@gnu.org> 47 48 * ldmain.c (link_callbacks): Initialize error_handler. 49 50 * ldmisc.c (error_handler): New function. 51 52 * ldmisc.h (error_handler): New prototype. 53 54 2003-04-21 Stephane Carrez <stcarrez@nerim.fr> 55 56 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. 57 * emulparams/m68hc11elfb.sh: Likewise. 58 * emulparams/m68hc12elf.sh: Likewise. 59 * emulparams/m68hc12elfb.sh: Likewise. 60 61 2003-04-19 Stephane Carrez <stcarrez@nerim.fr> 62 63 * emultempl/m68hc1xelf.em: New file to generate far trampolines on 64 68HC11 and 68HC12. 65 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to 66 generate. 67 (LDEMUL_FINISH): Override to generate the trampolines after gc and 68 linker relaxation. 69 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the 70 stub file for trampolines. 71 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options 72 --no-trampoline and --bank-window to control the memory bank window. 73 74 2003-04-18 H.J. Lu <hjl@gnu.org> 75 76 * ldfile.c (ldfile_add_library_path): Remove the unused 77 variable. 78 79 2003-04-18 Andrew Haley <aph@cambridge.redhat.com> 80 81 * scripttempl/xstormy16.sc (__data, __rdata): New. 82 83 2003-04-16 Nick Clifton <nickc@redhat.com> 84 85 * scripttempl/xstormy16.sc: Add .jcr section mapping. 86 87 2003-04-15 H.J. Lu <hjl@gnu.org> 88 89 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: 90 91 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. 92 93 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> 94 95 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. 96 * ld.texinfo: Likewise. 97 98 2003-04-14 Alan Modra <amodra@bigpond.net.au> 99 100 From Prashanth Tamraparni <prashanth_t@in.ibm.com> 101 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 102 other variants of crtbegin.o, crtend.o. 103 (DTOR): Likewise. 104 * scripttempl/crisaout.sc (ctors, dtors): Likewise. 105 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. 106 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. 107 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. 108 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. 109 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. 110 * scripttempl/mmo.sc (ctors, dtors): Likewise. 111 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. 112 113 2003-04-09 Dmitry Diky <diwil@mail.ru> 114 115 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors 116 sections to respect C++ constructor/destructor. Add ctors/dtors 117 start/stop definitions. 118 * scripttempl/elf32msp430_3.sc: Likewise. 119 120 2003-04-06 Nick Clifton <nickc@redhat.com> 121 122 * ld.texinfo (Options): Add a reminder of the target specific 123 nature to the description of the i386 PE specific options, for 124 readers who have not read all the way through the manual. 125 126 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> 127 128 * configure.tgt: Fixed bug in list of targ_extra_emuls. 129 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace 130 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ 131 * emulparams/tic3xcoff_onchip.sh: Ditto 132 * emulparams/tic4xcoff.sh: Ditto 133 * scripttempl/tic4xcoff.sc: Ditto 134 135 2003-04-03 Nick Clifton <nickc@redhat.com> 136 137 * NEWS: Mention support for Xtensa architecture. 138 139 2003-04-02 Nick Clifton <nickc@redhat.com> 140 141 * pe-dll.c (pe_detail_list): arm-pe targets use underscores. 142 143 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> 144 145 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): 146 Don't call pe_dll_build_section() if link_info.relocateable. 147 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() 148 if link_info.relocateable. 149 150 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> 151 152 * pe-dll.c (process_def_file): Don't create an export 153 section if there are no exports and we're building an exe 154 (pe_dll_build_sections): Ditto 155 (pe_dll_fill_sections): Conditionalize setting 156 abfd->dll true on info->shared 157 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): 158 If i386pe or armpe, call pe_dll_build_section() 159 for both exe's and dll's, not just dll's. 160 (gld_${EMULATION_NAME}_finish): For all targets except 161 shpe and mipspe, call pe_dll_fill_sections() for both 162 exe's and dll's, not just dll's. 163 164 2003-04-02 Bob Wilson <bob.wilson@acm.org> 165 166 * emulparams/xtensa-config.sh: Remove comment indicating that this is 167 a generated file. 168 169 2003-04-01 Bob Wilson <bob.wilson@acm.org> 170 171 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. 172 (eelf32xtensa.c): New target. 173 * Makefile.in: Regenerate. 174 * configure.tgt: Handle xtensa-*-*. 175 * gen-doc.texi: Set XTENSA variable. 176 * ld.texinfo: Set XTENSA variable. Add new Xtensa node. 177 * emulparams/elf32xtensa.sh: New file. 178 * emulparams/xtensa-config.sh: Likewise. 179 * emultempl/xtensaelf.em: Likewise. 180 * scripttempl/elfxtensa.sc: Likewise. 181 182 2003-04-01 Jakub Jelinek <jakub@redhat.com> 183 184 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 185 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath 186 if --enable-64-bit-bfd. 187 188 2003-04-01 Nick Clifton <nickc@redhat.com> 189 190 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of 191 note section. 192 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change 193 name of note section. 194 195 2003-03-31 Alexandre Oliva <aoliva@redhat.com> 196 197 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of 198 --section-start. 199 200 2003-03-31 David Heine <dlheine@suif.stanford.edu> 201 202 * ldfile.c (ldfile_add_library_path): Always allocate space for 203 the filename. 204 * ldlang.c (lang_register_vers_node): Free the node if it cannot 205 be used. 206 * ldmain.c (set_scripts_dir): Always free the constructed 207 directory name. 208 (add_keepsyms_file): Fix memory leak. 209 * ldmisc.c (vfinfo): Likewise. 210 * lexsup.c (parse_args): Likewise. 211 212 2003-03-25 Stan Cox <scox@redhat.com> 213 Nick Clifton <nickc@redhat.com> 214 215 Contribute support for Intel's iWMMXt chip - an ARM variant: 216 217 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. 218 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. 219 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. 220 (.bss): Likewise. 221 222 2003-03-25 Alexandre Oliva <aoliva@redhat.com> 223 224 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. 225 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. 226 (main): Initialize them. 227 * ldfile.c: Include pathnames.h. 228 (is_sysrooted_pathname): New. 229 (ldfile_add_library_path): Use it. 230 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't 231 search_dirs if given an absolute pathname. 232 (ldfile_open_file): Issue error message for sysrooted 233 absolute pathnames. 234 * Makefile.am: Updated dependencies. 235 * Makefile.in: Rebuild. 236 237 2003-03-24 Daniel Néri <dne@mayonnaise.net> 238 239 * ld.texinfo: Rename all occurances of C54X to TIC54X. 240 241 2003-03-19 Andreas Schwab <schwab@suse.de> 242 243 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after 244 eof. 245 246 2003-03-18 Danny Smith <dannysmith@users.sourceforge.net> 247 248 * defilep.y (opt_base): If no number given, set to default 249 (-1), not 0. 250 251 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net> 252 253 * deffilep.y (def_import): Use default extension of "dll" 254 if no extension provided in parsed IMPORT definition. 255 256 * deffilep.y (def_lex): Revert 2003-03-12 change. 257 (dot_name): New id type and rule. 258 (expline): Use instead of ID. 259 (opt_equal_name): Likewise. 260 261 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net> 262 263 * deffilep.y (def_lex): Accept '.' as valid non-lead char. 264 265 2003-03-07 Christopher Faylor <cgf@redhat.com> 266 267 * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after 268 apparent accidental removal on 2003-01-06. 269 270 2003-03-04 Dmitry Diky <diwil@mail.ru> 271 272 * Makefile.am: Add new devices x1122 x1132 emulation 273 * configure.tgt: Likewise. 274 * Makefile.in: Regenerate. 275 * emulparams/msp430x1122.sh: New file. 276 * emulparams/msp430x1132.sh: New file. 277 278 2003-03-03 Alexandre Oliva <aoliva@redhat.com> 279 280 * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as 281 well. 282 283 * ldfile.h (struct search_dirs): Added sysrooted field. 284 * ldlang.h (struct lang_input_statement_struct): Likewise. 285 * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. 286 (ldfile_open_file_search): Look for sysrooted filename starting 287 with / in ld_sysroot instead of in the current directory. Clear 288 sysrooted flag if it's found in the current directory. Set it 289 from the search directory's sysrooted flag where it is found 290 otherwise. 291 * ldlang.c (ldlang_sysrooted_script): New static variable. 292 (new_afile): Mark search_file_enums as sysrooted if 293 ldlang_sysrooted_script. 294 (load_symbols): Set ldlang_sysrooted_script according to the 295 script's sysrooted field while processing it. 296 * ld.texinfo: Document INPUT behavior in sysroot. 297 298 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> 299 300 * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, 301 302 2003-03-03 Alan Modra <amodra@bigpond.net.au> 303 304 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. 305 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, 306 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, 307 PARSE_AND_LIST_EPILOGUE): Don't define. 308 * emultempl/alphaelf.em: New file. 309 310 2003-03-01 Alan Modra <amodra@bigpond.net.au> 311 312 * ldemul.c: Include getopt.h. 313 * emultempl/elf32.em: Include getopt.h earlier. 314 * emultempl/ticoff.em: Likewise. 315 316 2003-02-28 Alan Modra <amodra@bigpond.net.au> 317 318 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc 319 support when scripts read from files. 320 321 2003-02-28 Alan Modra <amodra@bigpond.net.au> 322 323 * ldemul.c (ldemul_parse_args): Return FALSE by default. 324 * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args 325 comment. 326 327 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 328 (ldemul_parse_args): Return bfd_boolean. Formatting. 329 * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. 330 (ldemul_parse_args): Adjust. 331 (struct ld_emulation_xfer_struct): Add add_options and handle_option. 332 Return bfd_boolean from parse_args. 333 * lexsup.c (parse_args): Malloc shortopts, longopts and 334 really_longopts. Call ldemul_add_options and ldemul_handle_option. 335 * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from 336 gld${EMULATION_NAME}_parse_args. 337 (gld${EMULATION_NAME}_handle_option): Likewise. 338 (ld_${EMULATION_NAME}_emulation): Adjust initializer. 339 * emultempl/armcoff.em: As for aix.em, but remove parse_args. 340 * emultempl/beos.em: Likewise. 341 * emultempl/pe.em: Likewise. 342 * emultempl/ticoff.em: Likewise. 343 * emultempl/elf32.em: Likewise. Don't duplicate long options either. 344 (gld${EMULATION_NAME}_add_sysroot): Prototype. 345 * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate 346 options. 347 * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. 348 * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. 349 * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. 350 * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust 351 initializer. 352 * emultempl/generic.em: Likewise. 353 * emultempl/gld960.em: Likewise. 354 * emultempl/gld960c.em: Likewise. 355 * emultempl/linux.em: Likewise. 356 * emultempl/lnk960.em: Likewise. 357 * emultempl/m68kcoff.em: Likewise. 358 * emultempl/mipsecoff.em: Likewise. 359 * emultempl/sunos.em: Likewise. 360 * emultempl/vanilla.em: Likewise. 361 * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. 362 363 2003-02-25 Alexandre Oliva <aoliva@redhat.com> 364 365 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix 366 memory allocation error. 367 368 * Makefile.am (ldmain.o): Define TOOLBINDIR. 369 * Makefile.in: Rebuilt. 370 * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. 371 372 2003-02-21 Bob Wilson <bob.wilson@acm.org> 373 374 * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only 375 call os_region_check when it is set. 376 (lang_size_sections): Add CHECK_REGIONS argument and pass it through to 377 lang_size_sections_1. 378 (lang_process): Change lang_size_sections calls to set CHECK_REGIONS 379 only for the last call, not on every relaxation iteration. 380 * ldlang.h (lang_size_sections): Update prototype. 381 * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls 382 to lang_size_sections. 383 (pe_exe_fill_sections): Likewise. 384 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. 385 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. 386 * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. 387 (ppc_layout_sections_again): Likewise. 388 389 2003-02-21 Bob Wilson <bob.wilson@acm.org> 390 391 * gen-doc.texi: Set ARM and HPPA variables. 392 * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section 393 title capitalization more consistent. Add missing menu entries for 394 machine-specific sections and conditionalize them consistently. 395 Conditionalize text that is irrelevant when SingleFormat is set. 396 Add @group divisions to improve page breaks in long examples. 397 Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output 398 is correct. Remove "FIXME" comment about not using 399 @raisesections/@lowersections. Use @raisesections/@lowersections 400 consistently for machine-specific sections. Change to be more polite 401 about poor bug reports. Replace FDL appendix with include of fdl.texi. 402 Move WIN32 node to match its order in the menus. 403 * fdl.texi: New file. 404 405 2003-02-20 Alexandre Oliva <aoliva@redhat.com> 406 407 * configure.in (TARGET_SYSTEM_ROOT): Set default to 408 ${exec_prefix}/${target_alias}/sys-root. Match explicit 409 '${exec_prefix}' (in addition to the expansion thereof) as 410 relocatable. 411 * configure: Rebuilt. 412 413 2003-02-20 Phil Edwards <pme@gcc.gnu.org> 414 415 * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. 416 417 2003-02-20 Harri Porten <porten@kde.org> 418 419 * ldgram.y (vers_defns): Allow optional trailing semicolon in 420 EXTERN NAME block; 421 422 2003-02-18 Alan Modra <amodra@bigpond.net.au> 423 424 * emultempl/ppc32elf.em: New file. 425 * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. 426 * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. 427 (eelf32lppcnto.c): Likewise. 428 (eelf32lppcsim.c): Likewise. 429 (eelf32ppcnto.c): Likewise. 430 (eelf32ppc.c): Likewise. 431 (eelf32ppc_fbsd.c): Likewise. 432 (eelf32ppcsim.c): Likewise. 433 (eelf32ppclinux.c): Likewise. 434 * Makefile.in: Regenerate. 435 436 2003-02-18 Alan Modra <amodra@bigpond.net.au> 437 438 * ld.texinfo: Remove spaces between @samp and opening brace. 439 440 2003-02-18 Alan Modra <amodra@bigpond.net.au> 441 442 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check 443 hash creator. 444 (ppc_before_allocation): Don't do optimizations if wrong hash table. 445 (gld${EMULATION_NAME}_finish): Ditto. 446 447 2003-02-17 Nick Clifton <nickc@redhat.com> 448 449 * ldmain.c (main) Default allow_shlib_undefined to true. 450 * lexsup.c (ld_options): Add --no-allow-shlib-undefined. 451 (parse_args): Parse the new switch. 452 * ld.texinfo: Document new switch and default behaviour of 453 allowing undefined symbols in shared libraries. 454 455 2003-02-11 Dmitry Diky <diwil@mail.ru> 456 457 * scripttempl/elf32msp430.sc: Add new data anchors definitions. 458 * scripttempl/elf32msp430_3.sc: Likewise. 459 460 2003-02-11 Uwe Stieber <uwe@wwws.de> 461 462 * configure.tgt: Add support for kaOS as cross build target 463 system. 464 465 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca> 466 467 * hppaelf.em (group_size): Change default back to 1. 468 469 2003-02-09 Alan Modra <amodra@bigpond.net.au> 470 471 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. 472 473 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 474 475 * hppaelf.em (group_size): Change default to -1. 476 477 2003-02-07 Nick Clifton <nickc@redhat.com> 478 479 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short 480 opt. 481 (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for 482 no-pipeline-knowledge. This will prevent the getopt package from 483 thinking that there are any shorter abbreviations for 484 --no-pipeline-knowledge. 485 486 2003-02-07 Jakub Jelinek <jakub@redhat.com> 487 488 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths 489 which already have it. Avoid duplicates. 490 491 2003-02-06 Jakub Jelinek <jakub@redhat.com> 492 493 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. 494 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. 495 * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. 496 497 2003-02-05 Alan Modra <amodra@bigpond.net.au> 498 499 * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then 500 call ppc64_elf_tls_optimize. 501 502 2003-02-03 Daniel Jacobowitz <drow@mvista.com> 503 504 * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot 505 outside of GNU/Linux conditional. 506 507 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de> 508 509 * deffilep.y (def_get_module): New function: locate an already 510 added module. 511 * deffile.h (def_get_module): New prototype. 512 * pe-dll.c (pe_implied_import_dll): Add code to prevent importing 513 a dll multiple times. 514 515 2003-01-23 Alan Modra <amodra@bigpond.net.au> 516 517 * emultempl/sh64elf.em: Include elf32-sh64.h. 518 (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed 519 sh64_elf_section_data. 520 (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. 521 522 2003-01-23 Wu Yongwei <adah@netstd.com> 523 524 * ld.texinfo: Remove an extra "i" in --dll-search-prefix. 525 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a 526 cross-80th-column-margin "an" to the next line. 527 528 2003-01-21 Nick Clifton <nickc@redhat.com> 529 530 * emulparams/tic3xcoff-onchip.sh: Rename to ...z 531 * emulparams/tic3xcoff_onchip.sh: ...this. 532 * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. 533 * Makefile.in: Regenerate. 534 535 2003-01-21 Fabio Alemagna <falemagn@aros.org> 536 537 * configure.tgt: Handle i[3456]86-*-aros* 538 539 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com> 540 541 * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o 542 * Makefile.in: Regenerate 543 * configure.tgt: Added extra target emulations 544 * emulparams/tic3xcoff.sh: Remove old settings 545 * emulparams/tic4xcoff.sh: Ditto 546 * emulparams/tic3xcoff-onchip.sh: Added new 547 * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x 548 * scripttempl/tic3xcoff.sc: Remove 549 550 2003-01-17 Andreas Jaeger <aj@suse.de> 551 552 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not 553 skip ':'. 554 555 2003-01-16 Alan Modra <amodra@bigpond.net.au> 556 557 * Makefile.in: Regenerate. 558 559 2002-01-14 Charles Wilson <cwilson@ece.gatech.edu> 560 561 * ld/ld.texinfo (node WIN32): Some clarifications 562 and formatting fixups. 563 564 2003-01-09 Chris Demetriou <cgd@broadcom.com> 565 566 * ldmain.c (get_emulation): Sort -mipsNN checks in the usual 567 order, and handle (ignore) -mips32r2. 568 569 2003-01-09 Daniel Jacobowitz <drow@mvista.com> 570 571 * ldmain.c (main): Make sure ld_sysroot is initialized. 572 573 2003-01-06 Daniel Jacobowitz <drow@mvista.com> 574 575 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. 576 577 * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. 578 (GENSCRIPTS): Add @use_sysroot@. 579 * Makefile.in: Regenerated. 580 * configure.host: Move setting of NATIVE_LIB_DIRS to... 581 * configure.tgt: ... here. Use ${target} instead of ${host} 582 for NATIVE_LIB_DIRS. 583 * configure.in: Add --with-sysroot. 584 * configure: Regenerated. 585 * genscripts.sh: Accept use_sysroot option. Set new variables 586 NATIVE and USE_LIBPATH. Prepend "=" to directory names if 587 $use_sysroot. Don't search $tool_lib if $use_sysroot. 588 * ldfile.c (ldfile_add_library_path): Handle leading '='. 589 * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. 590 (ld_sysroot): New variable. 591 (main): Initialize ld_sysroot. 592 * ldmain.h (ld_sysroot): New extern. 593 * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of 594 searching $EMULATION_LIBPATH. 595 (gld${EMULATION_NAME}_add_sysroot): New function. 596 (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. 597 (gld${EMULATION_NAME}_after_open): Likewise. Only search 598 environment variables if $NATIVE. 599 * ld.texinfo (Options): Mention "=" prefix in the description of -L. 600 * NEWS: Mention --with-sysroot. 601 602 * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX 603 instead of setting LIB_PATH. 604 * emulparams/elf32ppc.sh: Likewise. 605 * emulparams/elf64_s390.sh: Likewise. 606 * emulparams/elf64_sparc.sh: Likewise. 607 * emulparams/elf64ppc.sh: Likewise. 608 * emulparams/elf_x86_64.sh: Likewise. 609 610 * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. 611 * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. 612 613 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu> 614 615 * ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0. 616 617 2003-01-04 Daniel Jacobowitz <drow@mvista.com> 618 619 * Makefile.am (ldmain.o): Pass BINDIR. 620 * Makefile.in: Regenerated. 621 * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first 622 search path. 623 624 2003-01-02 Ben Elliston <bje@redhat.com> 625 626 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. 627 (eelf32iq2000.c): New target. 628 * Makefile.in: Regenerate. 629 * configure.tgt: Handle iq2000-*-elf. 630 * emulparams/elf32iq10.sh: New file. 631 * emulparams/elf32iq2000.sh: New file. 632 * scripttempl/iq2000.sc: New file. 633 634 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu> 635 636 * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc 637 and _pei386_runtime_relocator to the exclude list. 638 639 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> 640 641 * ldfile.c: Fix comment typos. 642 * ldlang.c: Likewise. 643 * mri.c: Likewise. 644 * pe-dll.c: Likewise. 645 646 2003-01-01 Daniel Jacobowitz <drow@mvista.com> 647 648 Suggested by Manfred Hollstein <manfred.h@gmx.net>: 649 * Makefile.am (ld.1): Depend on configdoc.texi 650 and ldver.texi. 651 * Makefile.in: Regenerated. 652 653 2002-12-24 Dmitry Diky <diwil@mail.ru> 654 655 * Makefile.am: Add msp430 target. 656 * configure.tgt: Likewise. 657 * Makefile.in: Regenerate. 658 * emulparams/msp430x???.sh: New files. Linker script parameters 659 for various msp430 configurations. 660 * gen-doc.texi: Enable msp430 documenation. 661 * ld.texinfo: Document msp430 sections. 662 * scripttempl/elf32msp430.sc: New file. Linker script for msp430. 663 * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430. 664 665 2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de> 666 Charles Wilson <cwilson@ece.gatech.edu> 667 668 * ld/config.in (HAVE_REALPATH): New entry. 669 (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete. 670 671 2002-12-30 Ralf Habacker <ralf.habacker@freenet.de> 672 673 * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll 674 symbols'. 675 676 2002-12-23 Alan Modra <amodra@bigpond.net.au> 677 678 * ldmain.c (main): Init "strip_discarded". 679 * lexsup.c (OPTION_STRIP_DISCARDED): Define. 680 (OPTION_NO_STRIP_DISCARDED): Define. 681 (ld_options): Add "strip-discarded" and "no-strip-discarded". 682 (parse_args): Handle them. 683 684 2002-12-23 Nick Clifton <nickc@redhat.com> 685 686 * ld.h (struct args_type): Add new field 687 'accept_unknown_input_architecture'. 688 * ldmain.c (main): Initialise 'accept_unknown_input_architecture' 689 to false. 690 * ldlang.c (lang_check): Pass accept_unknown_input_architecture to 691 bfd_arch_get_compatible. 692 * ldfile.c (ldfile_try_open_bfd): Likewise. 693 * lexsup.c (ld_options): Add new command line switch 694 --accept-unknown-input-architecture and its inverse. 695 (parse_args): Handle --accept-unknown-input-architecture. 696 * ld.texinfo: Document new linker option. 697 * NEWS: Mention new linker option. 698 699 2002-12-20 Alan Modra <amodra@bigpond.net.au> 700 701 * ldmain.c (main): Re-order link_info initialization. Init all 702 fields. 703 704 2002-12-19 Charles Wilson <cwilson@ece.gatech.edu> 705 706 * ld.texinfo: Clarify and extend the documentation 707 in the Machine Dependent, WIN32 section. 708 709 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de> 710 711 * ld.texinfo: Add win32 machine depending section. 712 * gen-doc.texi: Enable win32 machine depending section. 713 714 * configure.host: Add win32 library search path. 715 716 2002-12-17 Ralf Habacker <ralf.habacker@freenet.de> 717 718 * ld/emultempl/pe.em (pe_find_data_imports): Don't search for data 719 import when auto-import is disabled. 720 721 2002-12-17 Danny Smith <dannysmith@users.sourceforge.net> 722 723 * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to 724 account for trailing '\0'. 725 726 2002-12-17 Nick Clifton <nickc@redhat.com> 727 728 * emultempl/pe.em (longopts): Duplicate entry for --compact-implib 729 so that it is not confused with -c. 730 731 2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de> 732 Charles Wilson <cwilson@ece.gatech.edu> 733 734 * configure.in: Add check for realpath function. 735 * configure: Regenerate. 736 * config.in: Regenerate. 737 * aclocal.m4: Regenerate. 738 * deffile.h: Add .data field to def_file_import 739 structure. 740 * pe-dll.c (pe_proces_import_defs): Use .data field of 741 def_file_import structure to initialize flag_data field of 742 def_file_export structure. 743 (pe_implied_import_dll): New variables exp_funcbase and 744 [data|bss]_[start|end]. Use DLL's internal name to set dll_name, 745 not filename (which may be a symlink). Scan the sections and 746 initialize [data|bss]_[start|end]. When scanning the export 747 table, skip _nm_ symbols, and mark any symbols whose rva indicates 748 that it is in the .bss or .data sections as data. 749 * sysdep.h: Include limits.h and sys/param.h, and define 750 LD_PATHMAX as appropriate. Also define REALPATH as realpath if it 751 exists, NULL otherwise. 752 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call 753 pe_process_import_defs before pe_find_data_imports, so that 754 auto-import will check the virtual implib as well as "real" 755 implibs. 756 (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow 757 symlinks to their target; check that the target's extension is 758 .dll before calling pe_implied_import_dll(), not the filename 759 itself (which may be a symlink). 760 761 2002-12-10 Alan Modra <amodra@bigpond.net.au> 762 763 * emultempl/elf32.em (struct orphan_save): Add os_tail field. 764 (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement 765 list too. 766 767 2002-12-08 Alan Modra <amodra@bigpond.net.au> 768 769 * ldlang.h: Formatting. 770 771 2002-12-07 Alan Modra <amodra@bigpond.net.au> 772 773 * ldlang.c (init_os): Ensure sections mentioned in load_base 774 are initialized. 775 776 2002-12-05 Alan Modra <amodra@bigpond.net.au> 777 778 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set 779 load_base for orphans that follow a section with load_base set. 780 781 2002-12-01 H.J. Lu <hjl@gnu.org> 782 783 * ld.texinfo: Remove the extra `;' in sample version script. 784 785 2002-11-30 Alan Modra <amodra@bigpond.net.au> 786 787 * configure.host: Correct dynamic-linker for powerpc64 hosts. 788 789 * Makefile.am (eelf32ppcwindiss.c): Correct dependencies. 790 * Makefile.in: Regenerate. 791 792 * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c, 793 ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c, 794 ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h, 795 emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em, 796 emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em, 797 emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em, 798 emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em, 799 emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em, 800 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em, 801 emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em, 802 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace 803 boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify 804 comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. 805 806 2002-11-27 David O'Brien <obrien@FreeBSD.org> 807 808 * configure.host: Fix generic FreeBSD configuration entry. 809 810 2002-11-27 H.J. Lu <hjl@gnu.org> 811 812 * ld.texinfo: Add the missing `;' to sample version scripts. 813 814 2002-11-20 Alan Modra <amodra@bigpond.net.au> 815 816 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define. 817 818 2002-11-14 Egor Duda <deo@logos-m.ru> 819 820 * ldmain.c (main): Make runtime relocs disabled by default. Remove 821 assignment which has no effect. 822 * pe-dll.h (pe_create_import_fixup): Change prototype. 823 * pe-dll.c (make_runtime_pseudo_reloc): New function. 824 (pe_create_runtime_relocator_reference): Ditto. 825 (pe_create_import_fixup): Handle relocations with non-zero addends. 826 * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and 827 --disable-runtime-pseudo-reloc. 828 (make_import_fixup): Handle relocations with non-zero addends. Create 829 an external reference to _pei386_runtime_relocator symbol if at least 830 one pseudo reloc was created. 831 * ld.texinfo: Document --enable-runtime-pseudo-reloc and 832 --disable-runtime-pseudo-reloc options. 833 834 2002-11-12 Earl Chew <earl_chew@agilent.com> 835 836 * ldlang.c (lang_add_section): Discard debugging sections that have 837 been marked SEC_EXCLUDE. 838 839 2002-11-12 Nick Clifton <nickc@redhat.com> 840 841 * configure.in (ALL_LINGUAS): Add da. 842 * configure: Regenerate. 843 * po/da.po: New Danish translation. 844 845 2002-11-12 Alan Modra <amodra@bigpond.net.au> 846 847 * emultempl/ppc64elf.em (ppc_before_allocation): New function. 848 (LDEMUL_BEFORE_ALLOCATION): Define. 849 (gld${EMULATION_NAME}_finish): Run discard_info for relocatable 850 linking. 851 * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise. 852 853 2002-11-11 Christopher Faylor <cgf@redhat.com> 854 855 * configure.tgt (LIB_PATH): Default to searching w32api directory under 856 cygwin. 857 858 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> 859 860 * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list 861 of restricted auto-export libs. 862 863 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> 864 865 * pe-dll.c (autofilter_liblist): Generalize library names to catch more 866 creative library naming instances like, e.g., libstdc++-2.a. 867 868 2002-11-06 Alexandre Oliva <aoliva@redhat.com> 869 870 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define. 871 * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise. 872 873 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net> 874 875 * deffilep.y (def_lex): Handle '@' as first character of an ID. 876 * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__". 877 (make_one): Don't prefix decorated fastcall symbols with '_'. 878 (pe_process_import_defs): Likewise. 879 * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall 880 symbols to cdecl names or vise-versa. 881 882 2002-10-13 Eric Kohl <ekohl@rz-online.de> 883 884 * pe-dll.c (process_def_file): Handle fastcall symbols when 885 generating undecorated aliases. Don't prefix decorated fastcall 886 symbols with '_'. 887 (fill_exported_offsets): Don't prefix decorated fastcall symbols 888 with '_'. 889 890 2002-10-29 Daniel Jacobowitz <drow@mvista.com> 891 892 * emultempl/aix.em: Use include <> for generated headers. 893 * emultempl/beos.em: Likewise. 894 * emultempl/elf32.em: Likewise. 895 * emultempl/pe.em: Likewise. 896 * ldctor.c: Likewise. 897 * ldexp.c: Likewise. 898 * ldfile.c: Likewise. 899 * ldlang.c: Likewise. 900 * ldlex.c: Likewise. 901 * ldlex.l: Likewise. 902 * ldmain.c: Likewise. 903 * ldmisc.c: Likewise. 904 * ldwrite.c: Likewise. 905 * lexsup.c: Likewise. 906 * mri.c: Likewise. 907 * pe-dll.c: Likewise. 908 909 2002-10-23 Jakub Jelinek <jakub@redhat.com> 910 911 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* 912 sections into .rel{,a}.dyn. 913 914 2002-10-23 Nick Clifton <nickc@redhat.com> 915 916 * lexsup.c (OPTION_NO_OMAGIC): Define. 917 (ld_options): Add "no-omagic" option. 918 (parse_args): Parse --no-omagic. 919 * ld.texinfo: Document --no-omagic. 920 * NEWS: Mention new option. 921 922 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net> 923 924 * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, 925 __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. 926 927 2002-10-22 Alexandre Oliva <aoliva@redhat.com> 928 929 * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to 930 emulation name. Set LIB_PATH only for native tools, and 931 search the ABI-specific versions of NATIVE_LIB_DIRS before the 932 .../lib variants, not instead of them. Mostly copied from... 933 * emulparams/elf32ppc.sh: ... here. Fixed typo. 934 * emulparams/elf64bmip-defs.sh: Backed out. 935 * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. 936 * emulparams/elf64btsmip.sh: Likewise. 937 (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, 938 TEXT_DYNAMIC): Removed. 939 940 2002-10-17 Alexandre Oliva <aoliva@redhat.com> 941 942 * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32. 943 (GENERATE_SHLIB_SCRIPT): Set to yes. 944 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... 945 * emulparams/elf32bmipn32.sh: here. 946 (GENERATE_SHLIB_SCRIPT): Deleted as redundant. 947 * emulparams/elf32btsmipn32.sh: Delete redundant unsets. 948 * emulparams/elf64bmip-defs.sh: New file. Extend 949 elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. 950 * emulparams/elf64bmip.sh: Bring in definitions from 951 elf64bmip-defs.sh. 952 (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant 953 settings. 954 (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. 955 * emulparams/elf64btsmip.sh: Bring in definitions from 956 elf64bmip-defs.sh. 957 (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. 958 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets. 959 960 2002-10-16 Jakub Jelinek <jakub@redhat.com> 961 962 * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. 963 (s390-*-linux*): Add elf64_s390 emulation if want64. 964 * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 965 genscript.sh changes. 966 * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. 967 * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs. 968 969 2002-10-15 Alan Modra <amodra@bigpond.net.au> 970 971 * ldlang.c (load_symbols): Revert last change. 972 973 2002-10-14 Alan Modra <amodra@bigpond.net.au> 974 975 * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when 976 just_syms_flag. 977 (lang_reasonable_defaults): Don't compare against false. 978 (size_input_section): Likewise. 979 (lang_size_sections_1): Likewise. 980 (lang_do_assignments): Likewise. 981 (lang_add_output): Likewise. 982 983 * Makefile.am: Run "make dep-am". 984 * Makefile.in: Regenerate. 985 * ldver.c: #include "bfdver.h". 986 987 2002-10-13 Stephane Carrez <stcarrez@nerim.fr> 988 989 * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, 990 .finiN section. 991 * scripttempl/elfm68hc12.sc: Likewise. 992 993 2002-10-11 Alan Modra <amodra@bigpond.net.au> 994 995 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer. 996 997 * ldgram.y (memory_spec): Provide empty action. 998 (section <NAME>): Likewise. 999 1000 2002-10-10 Jakub Jelinek <jakub@redhat.com> 1001 1002 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if 1003 they have OUTPUT_FORMAT not matching actual output format. 1004 * ldlang.c (lang_get_output_target): New function. 1005 (open_output): Use it. 1006 * ldlang.h (lang_get_output_target): New prototype. 1007 1008 2002-10-10 Alan Modra <amodra@bigpond.net.au> 1009 1010 * emultempl/elf32.em (output_rel_find): Prefer .rel script sections 1011 when orphan is .rel, .rela when orphan is .rela. 1012 (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case 1013 first. Remove outsecname var. 1014 1015 2002-10-09 Richard Shann <richard.shann@superh.com> 1016 Stephen Clarke <stephen.clarke@superh.com> 1017 1018 * Makefile.am: Add eshelf32_linux.o and 1019 eshlelf32_linux.o, new emulations for sh64 Linux. 1020 * Makefile.in: Regenerate. 1021 * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. 1022 * emulparams/shelf32_linux.sh: New file. 1023 * emulparams/shlelf32_linux.sh: New file. 1024 1025 2002-10-08 H.J. Lu <hjl@gnu.org> 1026 1027 * ldlang.c (lang_file_exist): Removed. 1028 (new_afile): Revert the last change. 1029 * ldlang.h (lang_file_exist): Removed. 1030 * lexsup.c (parse_args): Revert the last change. 1031 1032 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de> 1033 1034 * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export 1035 auto-import symbols. 1036 (make_one): Create _nm_<symbol> for data only. 1037 1038 2002-10-05 Elias Athanasopoulos <eathan@otenet.gr> 1039 1040 * ldlang.c (lang_file_exist): New function. 1041 (new_afile): Abort if the filename to be added matches the linker 1042 output filename. 1043 * ldlang.h: Add prototype for lang_file_exist. 1044 * lexsup.c (parse_args): Abort if the output filename matches 1045 one of the input filenames. 1046 1047 2002-10-02 Alan Modra <amodra@bigpond.net.au> 1048 1049 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000. 1050 1051 2002-09-30 Alan Modra <amodra@bigpond.net.au> 1052 1053 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last. 1054 * scripttempl/elfm68hc11.sc: Likewise. 1055 * scripttempl/elfm68hc12.sc: Likewise. 1056 1057 * emultempl/elf32.em (output_rel_find): Always place orphan loadable 1058 reloc sections just before .rel.plt/.rela.plt. 1059 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. 1060 Only put loadable reloc sections in hold_rel. 1061 1062 2002-09-29 H.J. Lu <hjl@gnu.org> 1063 1064 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. 1065 1066 2002-09-25 Daniel Jacobowitz <drow@mvista.com> 1067 1068 From "Anita Kulkarni" <AnitaK@kpit.com> 1069 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* 1070 sections. 1071 1072 2002-09-25 Alan Modra <amodra@bigpond.net.au> 1073 1074 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before 1075 TARGET_PAGE_SIZE. 1076 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate 1077 SEGMENT_SIZE alignment. 1078 * emulparams/elf64ppc.sh (DATA_ADDR): Delete. 1079 (SEGMENT_SIZE): Define. 1080 1081 * ldexp.c (fold_unary): New. Split out from exp_fold_tree. 1082 (fold_binary): Correct abs - non-abs case. 1083 (fold_trinary): New. Split out from exp_fold_tree. 1084 1085 2002-09-24 Alan Modra <amodra@bigpond.net.au> 1086 1087 * emulparams/elf64ppc.sh (DATA_ADDR): Define. 1088 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address 1089 for start of .data, instead align up to 256M boundary. 1090 * scripttempl/aix.sc: Likewise. 1091 1092 2002-09-22 Mark Elbrecht <snowball3@softhome.net> 1093 1094 * scripttempl/i386go32.sc: Handle bss unique sections. 1095 1096 2002-09-21 Alan Modra <amodra@bigpond.net.au> 1097 1098 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset. 1099 1100 2002-09-17 Stan Cox <scox@redhat.com> 1101 1102 * emulparams/elf32bmipn32-defs.sh: New file. 1103 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. 1104 * emulparams/elf32btsmipn32.sh: Likewise. 1105 * emulparams/elf64bmip.sh: Likewise. 1106 * emulparams/elf64btsmip.sh: Likewise. 1107 1108 2002-09-16 Bruno Haible <bruno@clisp.org> 1109 1110 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to 1111 elf32-i386-freebsd. 1112 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to 1113 elf64-alpha-freebsd. 1114 1115 2002-09-11 Nick Clifton <nickc@redhat.com> 1116 1117 * NEWS: New TI port supports both C4x and C3x series of DSPs. 1118 1119 * po/tr.po: Updated Turkish translation. 1120 1121 2002-09-06 Jeffrey A Law (law@redhat.com) 1122 1123 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore. 1124 1125 2002-09-02 Nick Clifton <nickc@redhat.com> 1126 1127 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and 1128 __ep. 1129 * emulparams/v850.sh (TEMPLATE_NAME): Define. 1130 1131 2002-08-30 Nick Clifton <nickc@redhat.com> 1132 1133 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not 1134 used. Change INSN to start at 0x01000000 and extend for 1135 256K (ignoring holes). Start the STACK on a word aligned 1136 boundary. 1137 (.rodata): Start it at the READONLY_START_ADDR. 1138 1139 2002-08-30 Alan Modra <amodra@bigpond.net.au> 1140 1141 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common". 1142 1143 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> 1144 1145 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and 1146 added makefile targets for this file. 1147 * Makefile.in: Regenerate. 1148 * configure.tgt: Added tic4x-coff and c4x-coff emulations. 1149 * NEWS: Mention new port. 1150 1151 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> 1152 1153 * emulparams/tic3xcoff.sh: New file. 1154 * emulparams/tic4xcoff.sh: New file. 1155 * scripttempl/tic3xcoff.sc: New file. 1156 * scripttempl/tic4xcoff.sc: New file. 1157 1158 2002-08-28 Alan Modra <amodra@bigpond.net.au> 1159 1160 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll, 1161 strtoul and strtoull with bfd_scan_vma. 1162 (gld${EMULATION_NAME}_read_file): Likewise. 1163 1164 2002-08-28 Alan Modra <amodra@bigpond.net.au> 1165 1166 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*. 1167 1168 2002-08-27 Egor Duda <deo@logos-m.ru> 1169 1170 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections. 1171 Add symbols for application to access them. 1172 1173 2002-08-27 Nick Clifton <nickc@redhat.com> 1174 1175 * emultempl/armelf.em: Revert this patch, it is not needed. 1176 1177 2002-08-22 Adam Nemet <anemet@lnxw.com> 1178 1179 2002-08-20 Dan Kegel <dank@kegel.com> 1180 1181 * configure.in: added --with-lib-path argument to ld's configure 1182 to set LIB_PATH. 1183 * ld/NEWS: Document new switch. 1184 * ld/README: Mention new switch. 1185 * configure: Regenerate. 1186 * Makefile.in: Regenerate. 1187 1188 Based on this patch: 1189 2001-04-25 Christopher Faylor <cgf@cygnus.com> 1190 1191 * Makefile.in (LIB_PATH): Make configurable. 1192 (GENSCRIPTS): Set LIB_PATH in environment. 1193 * configure.in: Substitute LIB_PATH. 1194 1195 2002-08-22 Adam Nemet <anemet@lnxw.com> 1196 1197 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h. 1198 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI 1199 depending on the type of the function. 1200 (arm_elf_convert_thumb_symbol_to_address): New function. 1201 1202 2002-08-22 Graeme Peterson <gp@qnx.com> 1203 1204 * Makefile.am: Add esh{l}elf_nto.o files. 1205 * Makefile.in: Regenerate. 1206 * configure.tgt: Add support for sh-**-nto* targets. 1207 * emulparams/shelf_nto.sh: New file. 1208 * emulparams/shlelf_nto.sh: New file. 1209 1210 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> 1211 1212 * ldlang.c (offsetof): Define if not defined. 1213 1214 2002-08-14 H.J. Lu <hjl@gnu.org> 1215 1216 * configure.tgt: Always enable 64bit emulations for 32bit 1217 Linux/mips. 1218 1219 2002-08-13 Alan Modra <amodra@bigpond.net.au> 1220 1221 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1. 1222 (MAXPAGESIZE): Set to 1. 1223 1224 * ld.h (ALIGN_N): Delete. 1225 * ldexp.h (align_n): Declare. 1226 * ldexp.c (align_n): New function. 1227 (fold_binary): Use align_n instead of ALIGN_N. 1228 (exp_fold_tree): Likewise. 1229 * ldlang.c (lang_size_sections_1): Likewise. 1230 (lang_one_common): Likewise. 1231 * ld.texinfo (ALIGN): Remove power of 2 restriction. 1232 1233 2002-07-31 Graeme Peterson <gp@qnx.com> 1234 1235 * configure.tgt: Add support for powerpc{le}-*-nto* targets. 1236 * Makefile.am: Add eelf32{l}ppcnto.o files. 1237 * Makefile.in: Regenerate. 1238 * emulparams/elf32lppcnto.sh: New file. 1239 * emulparams/elf32ppcnto.sh: New file. 1240 1241 2002-08-07 H.J. Lu <hjl@gnu.org> 1242 1243 * ld.texinfo: Document --no-undefined-version. 1244 1245 * ldlang.c (lang_new_vers_pattern): Set the `symver' and 1246 `script.' fields to 0. 1247 1248 * ldmain.c (main): Initialize the allow_undefined_version to 1249 true. 1250 1251 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New. 1252 (ld_options): Add --no-undefined-version. 1253 (parse_args): Support OPTION_NO_UNDEFINED_VERSION. 1254 1255 2002-08-07 Nick Clifton <nickc@redhat.com> 1256 1257 * emultempl/armelf.em (arm_elf_before_allocation): Only search for 1258 an interworking bfd if there are input bfds. (107501) 1259 1260 2002-08-06 Alan Modra <amodra@bigpond.net.au> 1261 1262 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts 1263 2002-05-10 change. 1264 1265 2002-08-01 Nick Clifton <nickc@redhat.com> 1266 1267 * emulparams/armelf.sh: Revert previous delta. 1268 * scripttempl/elf.sc: Revert previous delta. 1269 1270 2002-07-31 H.J. Lu <hjl@gnu.org> 1271 1272 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for 1273 --enable-64-bit-bfd. 1274 1275 2002-07-31 H.J. Lu <hjl@gnu.org> 1276 1277 * configure.tgt: Enable x86-64 emulation for Linux/i386 if 1278 64bit BFD is selected. 1279 1280 2002-07-31 H.J. Lu <hjl@gnu.org> 1281 1282 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips 1283 if 64bit BFD is selected. 1284 1285 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> 1286 1287 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set 1288 link_info.common_skip_ar_aymbols. 1289 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file. 1290 1291 * ldmain.c (main): Initialize new field 1292 link_info.common_skip_ar_aymbols. 1293 1294 2002-07-31 Adam Nemet <anemet@lnxw.com> 1295 1296 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it 1297 to .plt.thumb. 1298 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is 1299 used. 1300 1301 2002-07-31 Nick Clifton <nickc@redhat.com> 1302 1303 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution 1304 of the PDP-11 and 2.11BSD a.out support. 1305 1306 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1307 1308 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations 1309 for n32 ABI support. 1310 * Makefile.in: Regenerate. 1311 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add 1312 n32 ABI emulations for these 64 bit targets. 1313 * emulparams/elf32bmipn32.sh: Expand comment. 1314 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian 1315 n32 ABI. 1316 * emulparams/elf32ltsmipn32.sh: Likewise for little endian. 1317 1318 2002-07-30 Graeme Peterson <gp@qnx.com> 1319 1320 * configure.tgt: Add support for arm-*-nto target. 1321 * Makefile.am: Add earmnto.o file. 1322 * Makefile.in: Regenerate. 1323 * NEWS: Mention port of ARM support to QNX. 1324 * emulparams/armnto.sh: New file. 1325 1326 2002-07-30 Jakub Jelinek <jakub@redhat.com> 1327 1328 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections 1329 for relocatable link. 1330 (lang_size_sections_1): Don't make .tbss zero size for relocatable 1331 link. 1332 1333 2002-07-26 Bernd Schmidt <bernds@redhat.com> 1334 1335 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete. 1336 (STACK_ADDR): New. 1337 1338 2002-07-25 Nick Clifton <nickc@redhat.com> 1339 1340 * po/sv.po: Updated Swedish translation. 1341 * po/es.po: Updated Spanish translation. 1342 * po/fr.po: Updated French translation. 1343 1344 2002-07-24 Nick Clifton <nickc@redhat.com> 1345 1346 * po/sv.po: Updated Swedish translation. 1347 * po/es.po: Updated Spanish translation. 1348 1349 2002-07-23 Nick Clifton <nickc@redhat.com> 1350 1351 * po/fr.po: Updated French translation. 1352 1353 2002-07-20 Alan Modra <amodra@bigpond.net.au> 1354 1355 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 1356 bomb on /DISCARD/ input section. 1357 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 1358 * emultempl/mmo.em (mmo_place_orphan): Likewise. 1359 1360 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com> 1361 1362 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text 1363 output section. 1364 1365 2002-07-16 Denis Chertykov <denisc@overta.ru> 1366 Nick Clifton <nickc@redhat.com> 1367 Frank Ch. Eigler <fche@redhat.com> 1368 John Healy <jhealy@redhat.com> 1369 1370 * configure.tgt: Add support for ip2k-elf. 1371 * Makefile.am: Add support for ip2k-elf. 1372 * Makefile.in: Regenerate. 1373 * emulparams/elf32ip2k.sh: New file. 1374 * scripttempl/ip2k.sc: New file 1375 * NEWS: Mention support for new port. 1376 1377 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> 1378 1379 * NEWS: Add 'Changes in 2.13'. 1380 1381 2002-07-14 H.J. Lu <hjl@gnu.org> 1382 1383 * ld.texinfo: Document a .symver takes precedence over a 1384 version script. 1385 1386 2002-07-12 Alan Modra <amodra@bigpond.net.au> 1387 1388 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. 1389 (COMMONPAGESIZE): Define. 1390 1391 2002-07-09 Alan Modra <amodra@bigpond.net.au> 1392 1393 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file. 1394 1395 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> 1396 1397 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*, 1398 powerpc-*-openbsd* and sparc64-*-openbsd*. 1399 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o. 1400 * Makefile.in: Regenerate. 1401 * emulparams/hppaobsd.sh: New file. 1402 1403 2002-07-05 Alan Modra <amodra@bigpond.net.au> 1404 1405 * ldlang.c (print_wild_statement): Fix output formatting. 1406 1407 2002-07-04 Alan Modra <amodra@bigpond.net.au> 1408 1409 * ldlang.c: (strip_excluded_output_sections): New function. 1410 (lang_process): Call it. 1411 (lang_size_sections_1): Revert 2002-06-10 change. 1412 1413 2002-07-03 Alan Modra <amodra@bigpond.net.au> 1414 1415 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. 1416 Run "make dep-am". 1417 * Makefile.in: Regenerate. 1418 1419 2002-07-02 Alan Modra <amodra@bigpond.net.au> 1420 1421 * ldfile.c (ldfile_try_open_bfd): Formatting. 1422 1423 * ldmisc.c (demangle): Move so that it doesn't intrude between 1424 vfinfo comment and body. Add comment. 1425 1426 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> 1427 1428 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format. 1429 1430 2002-07-01 Alan Modra <amodra@bigpond.net.au> 1431 1432 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain. 1433 * ldlang.c (entry_sym): Likewise. 1434 (ldlang_undef_chain_list_type): Likewise. 1435 (lang_finish): Adjust references to entry_symbol. 1436 (lang_add_entry): Likewise. 1437 (lang_gc_sections): Use link_info.gc_sym_list. 1438 (lang_process): Set link_info.gc_sym_list. 1439 * ldlex.l: Include bfdlink.h. 1440 * ldmain.c (main): Init link_info.gc_sym_list. 1441 * emultempl/aix.em: Adjust references to entry_symbol. 1442 * emultempl/armcoff.em: Likewise. 1443 * emultempl/armelf.em: Likewise. 1444 * emultempl/pe.em: Likewise. 1445 * emultempl/ppc64elf.em (ppc_after_open): New function. 1446 (LDEMUL_AFTER_OPEN): Define. 1447 * emulparams/elf64ppc.sh: KEEP .opd sections. 1448 1449 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> 1450 1451 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. 1452 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. 1453 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. 1454 (EEPROM_START_ADDR): Define. 1455 (EEPROM_MEMORY): Define. 1456 * emulparams/m68hc12elf.sh: Likewise. 1457 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs 1458 section to put soft registers in .page0. 1459 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. 1460 1461 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca> 1462 1463 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd 1464 section. Add ${RELOCATING-0}. 1465 1466 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com> 1467 1468 * emulparams/shelf.sh (STACK_ADDR): Don't define. 1469 (OTHER_SECTIONS): Define. 1470 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. 1471 (OTHER_SECTIONS): Undef. 1472 1473 2002-06-26 Alan Modra <amodra@bigpond.net.au> 1474 1475 * ldmisc.c (demangle): Restore dots stripped from sym name. 1476 1477 2002-06-25 H.J. Lu <hjl@gnu.org> 1478 1479 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. 1480 * Makefile.in: Regenerated. 1481 1482 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com> 1483 1484 * ld.texinfo (Bug Reporting): Update text to suggest a limit on 1485 the size of attached object files, to allow make the object files 1486 available via FTP or HTTP and to mention that the mail will be 1487 sent to a mailing list. 1488 1489 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com> 1490 1491 * ld/configure.host (romp): Drop support. 1492 1493 2002-06-18 Chris Demetriou <cgd@broadcom.com> 1494 1495 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check 1496 section flags for SEC_DATA, rather than for SEC_CODE being unset. 1497 1498 2002-06-18 Chris Demetriou <cgd@broadcom.com> 1499 1500 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix 1501 format specifier used to print BFD name. 1502 1503 2002-06-18 Dave Brolley <brolley@redhat.com> 1504 1505 From Catherine Moore, Michael Meissner, Jim Blandy: 1506 * emulparams/elf32frv.sh: New file. 1507 * configure.tgt: Support frv-*-*. 1508 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. 1509 (eelf32frv.c): New target. 1510 1511 2002-06-17 Tom Rix <trix@redhat.com> 1512 1513 * emultempl/elf32.em: gld*_get_script: Check for 1514 GENERATE_COMBRELOC_SCRIPT. 1515 * scripttempl/elfd10v.sc : Fix STACK and INSN. 1516 * emulparams/d10velf.sh : Fix TEXT_START_ADDR. 1517 1518 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com> 1519 1520 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. 1521 1522 2002-06-12 H.J. Lu <hjl@gnu.org> 1523 1524 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return 1525 false if xvec doesn't match. 1526 1527 2002-06-10 Richard Sandiford <rsandifo@redhat.com> 1528 1529 * ldlang.c (lang_size_sections_1): Skip removed output sections. 1530 1531 2002-06-08 Alan Modra <amodra@bigpond.net.au> 1532 1533 * ldexp.c: Replace CONST with const. 1534 * ldfile.c: Likewise. 1535 * ldfile.h: Likewise. 1536 * ldlex.l: Likewise. 1537 * mri.c: Likewise. 1538 * pe-dll.h: Likewise. 1539 1540 2002-06-07 Alan Modra <amodra@bigpond.net.au> 1541 1542 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. 1543 1544 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu> 1545 1546 * ld/ldmain.c (main): initialize link_info.pei386_auto_import 1547 to -1 == implicit enable. 1548 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): 1549 initialize link_info.pei386_auto_import to -1 == implicit 1550 enable. 1551 (gld_${EMULATION_NAME}_parse_args): When processing 1552 --enable-auto-import and --disable-auto-import options, use 1553 '1' and '0' instead of 'true' and 'false'. 1554 (pe_find_data_imports): Only issue message about auto-import 1555 when the feature is implicitly enabled. Downgrade message to 1556 informational instead of warning. 1557 1558 2002-06-07 Alan Modra <amodra@bigpond.net.au> 1559 1560 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces. 1561 1562 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> 1563 1564 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS, 1565 HOSTING_CRT0 and HOSTING_LIBS. 1566 1567 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com> 1568 1569 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. 1570 1571 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com> 1572 1573 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. 1574 (NONPAGED_TEXT_START_ADDR): Set to 0x1000. 1575 1576 2002-06-05 Alan Modra <amodra@bigpond.net.au> 1577 1578 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place 1579 SEC_EXCLUDE sections when doing a relocatable link. 1580 1581 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> 1582 1583 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, 1584 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. 1585 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) 1586 (eshlelf64_nbsd.c): New rules. 1587 * Makefile.in: Regenerate. 1588 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) 1589 (sh64-*-netbsd*): New targets. 1590 * emulparams/shelf32_nbsd.sh: New file. 1591 * emulparams/shelf64_nbsd.sh: New file. 1592 * emulparams/shlelf32_nbsd.sh: New file. 1593 * emulparams/shlelf64_nbsd.sh: New file. 1594 1595 2002-06-04 Alan Modra <amodra@bigpond.net.au> 1596 1597 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. 1598 1599 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> 1600 1601 * scripttempl/avr.sc: Changes to support current GCC and avr-libc, 1602 C++ constructors/destructors, loosely based on the m68hc11 port. 1603 1604 2002-05-31 Alan Modra <amodra@bigpond.net.au> 1605 1606 * Makefile.in: Regenerate. 1607 * aclocal.m4: Regenerate. 1608 * config.in: Regenerate. 1609 * configure: Regenerate. 1610 1611 2002-05-31 Graeme Peterson <gp@qnx.com> 1612 1613 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. 1614 (ei386nto.c): Add rule. 1615 * Makefile.in: Regenerate. 1616 * configure.tgt: Add i[3456]86-*-nto-qnx*. 1617 * emulparams/i386nto.sh: New file. 1618 1619 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> 1620 1621 * NEWS: Add entry for VAX ELF support. 1622 1623 2002-05-29 Matt Thomas <matt@3am-software.com> 1624 Jason Thorpe <thorpej@wasabisystems.com> 1625 1626 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. 1627 (eelf32vax.c) 1628 (evaxnbsd.c): New rules. 1629 * Makefile.in: Regenerate. 1630 * configure.tgt (vax-*-netbsdelf*) 1631 (vax-*-netbsdaout*) 1632 (vax-*-netbsd*): New targets. 1633 * emulparams/elf32vax.sh: New file. 1634 * emulparams/vaxnbsd.sh: New file. 1635 1636 2002-05-29 Adam Nemet <anemet@lnxw.com> 1637 1638 * emultempl/armelf.em (arm_elf_after_open): Don't determine 1639 bfd_for_interwork, instead add glue sections to each input bfd. 1640 (bfd_for_interwork): New global. 1641 (arm_elf_set_bfd_for_interworking): New function. 1642 (arm_elf_before_allocation): Use it. 1643 1644 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> 1645 1646 * Makefile.am: Add DLX make target. 1647 * configure.tgt: Add DLX configuration. 1648 * Makefile.in: Regenerate. 1649 * emulparams/elf32_dlx.sh: New file 1650 * scripttempl/dlx.sc: New file 1651 1652 2002-05-27 Per Lundberg <per@caleb.dnsalias.org> 1653 1654 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. 1655 * Makefile.in: Regenerate. 1656 * emulparams/elf_chaos.sh: Use elf_chaos script. 1657 * scripttempl/elf_chaos.sc: New file. 1658 1659 2002-05-27 Richard Sandiford <rsandifo@redhat.com> 1660 1661 * ldlang.c (lang_size_sections_1): Move check for conflicting load 1662 addresses and regions from here... 1663 (lang_get_regions): ...to this new function. 1664 (lang_leave_output_section_statement): Use lang_get_regions. 1665 (lang_leave_overlay): Likewise. 1666 * mri.c (mri_draw_tree): Pass null as last argument to 1667 lang_leave_output_section_statement. 1668 * emultempl/elf32.em (gld*_place_orphan): Likewise. 1669 * emultempl/mmo.em (mmo_place_orphan): Likewise. 1670 * emultempl/pe.em (gld*_place_orphan): Likewise. 1671 1672 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> 1673 1674 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. 1675 1676 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> 1677 1678 * ldemul.c: Fix formatting. 1679 * ldfile.c: Likewise. 1680 * pe-dll.c: Likewise. 1681 * pe-dll.h: Likewise. 1682 1683 2002-05-25 Alan Modra <amodra@bigpond.net.au> 1684 1685 * ldlang.c (lang_process): Formatting, grammar. 1686 1687 * ldlex.l: Use #include "" instead of <> for local header files. 1688 1689 2002-05-24 TAMURA Kent <kent@netbsd.org> 1690 1691 * configure.tgt: Add a target for i386-netbsdpe. 1692 1693 2002-05-23 Jakub Jelinek <jakub@redhat.com> 1694 1695 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. 1696 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for 1697 output section if necessary. Handle .tbss. 1698 (lang_size_sections): Clear _raw_size for .tbss section 1699 (it allocates space in PT_TLS segment only). 1700 * ldwrite.c (build_link_order): Build link order for .tbss too. 1701 1702 2002-05-23 Alan Modra <amodra@bigpond.net.au> 1703 1704 * configure.in: Correct spelling of AC_PREREQ. 1705 1706 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> 1707 1708 * pe-dll.c (autofilter_liblist): Add more system libs excluded by 1709 default. 1710 (autofilter_objlist): Add crtbegin.o, crtend.o. 1711 1712 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> 1713 1714 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. 1715 (longopts): Add new option --exclude-libs. 1716 (gld_${EMULATION_NAME}_list_options): Give quick help about it. 1717 (gld_${EMULATION_NAME}_parse_args): Use it. 1718 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. 1719 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols 1720 from whole archives. 1721 (pe_dll_add_excludes): Set excludes->type. 1722 (auto_export): Add new variable libname and set to archive basename if 1723 abfd. Use it when filtering default and user-specified libarary 1724 excludes. Let string "ALL" mean all libs when filtering user-specified 1725 libs. 1726 * ld.texinfo: Document --exclude-libs. 1727 1728 2002-05-22 Alan Modra <amodra@bigpond.net.au> 1729 1730 * ldemul.c (ldemul_new_vers_pattern): New function. 1731 * ldemul.h (ldemul_new_vers_pattern): Declare. 1732 (struct ld_emulation_xfer_struct): Add new_vers_pattern. 1733 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. 1734 * emultempl/ppc64elf.em (dotsyms): New static var. 1735 (gld${EMULATION_NAME}_new_vers_pattern): New function. 1736 (LDEMUL_NEW_VERS_PATTERN): Define. 1737 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. 1738 (PARSE_AND_LIST_LONGOPTS): Likewise. 1739 (PARSE_AND_LIST_ARGS_CASES): Handle them. 1740 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update 1741 initialiser. 1742 * emultempl/armcoff.em: Likewise. 1743 * emultempl/armelf_oabi.em: Likewise. 1744 * emultempl/beos.em: Likewise. 1745 * emultempl/elf32.em: Likewise. 1746 * emultempl/generic.em: Likewise. 1747 * emultempl/gld960.em: Likewise. 1748 * emultempl/gld960c.em: Likewise. 1749 * emultempl/linux.em: Likewise. 1750 * emultempl/lnk960.em: Likewise. 1751 * emultempl/m68kcoff.em: Likewise. 1752 * emultempl/mipsecoff.em: Likewise. 1753 * emultempl/pe.em: Likewise. 1754 * emultempl/sunos.em: Likewise. 1755 * emultempl/ticoff.em: Likewise. 1756 * emultempl/vanilla.em: Likewise. 1757 1758 2002-05-22 Alan Modra <amodra@bigpond.net.au> 1759 1760 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir 1761 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. 1762 (LIB_SEARCH_DIRS): No need to use "tr". 1763 (COMPILE_IN): Only set for native targets. 1764 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs 1765 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. 1766 * configure.tgt (powerpc*): Set tdir_*. 1767 (powerpcle*): Correct targ_extra_emuls. 1768 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. 1769 * emulparams/elf64ppc.sh (LIB_PATH): Likewise. 1770 1771 2002-05-22 Alan Modra <amodra@bigpond.net.au> 1772 1773 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when 1774 calling lang_add_entry. 1775 1776 2002-05-21 H.J. Lu (hjl@gnu.org) 1777 1778 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle 1779 "-z muldefs". 1780 (gld${EMULATION_NAME}_list_options): Add "-z muldefs". 1781 1782 * ld.texinfo: Updated for --allow-multiple-definition and 1783 "-z muldefs". 1784 1785 * ldmain.c (main): Initialize the allow_multiple_definition 1786 field to false. 1787 1788 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. 1789 (ld_options): Add --allow-multiple-definition. 1790 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. 1791 1792 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> 1793 1794 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. 1795 (earmelfb_nbsd.c): New rule. 1796 * Makefile.in: Regenerate. 1797 * configure.tgt (armeb-*-netbsdelf*): New target. 1798 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. 1799 (arm-*-netbsd*): Likewise. 1800 * emulparams/armelfb_nbsd.sh: New file. 1801 1802 2002-05-18 Tom Rix <trix@redhat.com> 1803 1804 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib 1805 support. 1806 1807 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> 1808 1809 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. 1810 * Makefile.in: Regenerate. 1811 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. 1812 1813 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> 1814 1815 * emulparams/avr1.sh: New file. 1816 * emulparams/avr2.sh: New file. 1817 * emulparams/avr3.sh: New file. 1818 * emulparams/avr4.sh: New file. 1819 * emulparams/avr5.sh: New file. 1820 * scripttempl/avr.sc: New file. 1821 1822 2002-05-15 Alan Modra <amodra@bigpond.net.au> 1823 1824 * ldlang.c (section_already_linked): Call bfd_link_just_syms. 1825 (lang_place_orphans): Abort if just_syms_flag. 1826 1827 2002-05-10 Tom Rix <trix@redhat.com> 1828 1829 * emultempl/aix.em: (gld*_set_output_arch): New function. Use 1830 architecture and machine information in the output bfd. 1831 (gld*_before_parse): Remove old arch and machine code. 1832 (choose_target): Rename to gld*_choose_target. 1833 (rtld): Change type to int. 1834 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for 1835 objects in XCOFF archives. 1836 * ldfile.h: Update copyright date. 1837 1838 2002-05-10 Jakub Jelinek <jakub@redhat.com> 1839 1840 * ldmain.c (main): Enable -z combreloc by default. 1841 1842 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> 1843 1844 * Makefile.am: Honour DESTDIR. 1845 * Makefile.in: Regenerate. 1846 1847 2002-05-07 Richard Sandiford <rsandifo@redhat.com> 1848 1849 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. 1850 (lang_enter_overlay): Remove the last two parameters. 1851 (lang_leave_overlay): Take them here instead. 1852 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. 1853 (section): Pass LMA and crossref flag to lang_leave_overlay rather 1854 than lang_enter_overlay. 1855 * ldlang.c (lang_memory_region_lookup): Return null for null names. 1856 (lang_output_section_statement_lookup): Initialize update_dot_tree. 1857 (lang_size_sections_1): Evaluate it. 1858 (lang_leave_output_section_statement): Rework LMA lookup. 1859 (overlay_lma, overlay_nocrossrefs): Remove. 1860 (lang_enter_overlay): Remove LMA and crossref arguments. 1861 (lang_enter_overlay_section): Don't set the LMA here. 1862 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' 1863 assignment to the last section's update_dot_tree. Unconditionally 1864 use the load and run-time regions specified in the OVERLAY statement. 1865 Likewise the first section's LMA. Only set the other sections' LMAs 1866 when no load region is given. 1867 1868 2002-05-06 Nick Clifton <nickc@redhat.com> 1869 1870 * po/sv.po: New translation. 1871 1872 2002-05-04 Alan Modra <amodra@bigpond.net.au> 1873 1874 * emultempl/hppaelf.em (build_section_lists): New function. 1875 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists 1876 and build_section_lists. 1877 1878 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> 1879 1880 * ld.h: Fix formatting. 1881 * ldexp.c: Likewise. 1882 * ldfile.c: Likewise. 1883 * ldlang.c: Likewise. 1884 * ldmain.c: Likewise. 1885 * lexsup.c: Likewise. 1886 * pe-dll.c: Likewise. 1887 1888 2002-05-02 Alan Modra <amodra@bigpond.net.au> 1889 1890 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): 1891 Adjust for ppc64_elf_set_toc change. #include libbfd.h. 1892 (build_section_lists): Do output_section tests here. 1893 1894 2002-04-30 Tom Rix <trix@redhat.com> 1895 1896 * emultempl/aix.em : (gld*_parse_arge): Formatting changes. 1897 1898 2002-05-01 Alan Modra <amodra@bigpond.net.au> 1899 1900 Long branch stubs, multiple stub sections. 1901 * emultempl/ppc64elf.em: Include ldctor.h. 1902 (stub_file): New var. 1903 (group_size): New var. 1904 (ppc_create_output_section_statements): New function. 1905 (struct hook_stub_info): New. 1906 (hook_in_stub): New function. 1907 (ppc_add_stub_section): New function. 1908 (ppc_layout_sections_again): New function. 1909 (build_section_lists): New function. 1910 (gld${EMULATION_NAME}_finish): Rewrite. 1911 (real_func): New var. 1912 (ppc_for_each_input_file_wrapper): New function. 1913 (ppc_lang_for_each_input_file): New function. 1914 (lang_for_each_input_file): Define. 1915 (PARSE_AND_LIST_PROLOGUE): Define. 1916 (PARSE_AND_LIST_LONGOPTS): Define. 1917 (PARSE_AND_LIST_OPTIONS): Define. 1918 (PARSE_AND_LIST_ARGS_CASES): Define. 1919 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. 1920 1921 2002-04-30 Tom Rix <trix@redhat.com> 1922 1923 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add 1924 -blibpath, -bnolibpath support. 1925 1926 2002-04-30 Mark Mitchell <mark@codesourcery.com> 1927 1928 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. 1929 (eelf32ppcwindiss.c): New target. 1930 * Makefile.in: Regenerated. 1931 * configure.tgt: Add support for powerpc-*-windiss. 1932 * emulparams/elf32ppcwindiss.sh: New file. 1933 1934 2002-04-30 Richard Sandiford <rsandifo@redhat.com> 1935 1936 * ldlang.c (print_assignment): Update print_dot for assignments to ".". 1937 * ldexp.c (exp_print_token): Add "infix_p" argument. 1938 (exp_print_tree): Update accordingly. 1939 1940 2002-04-28 Alan Modra <amodra@bigpond.net.au> 1941 1942 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. 1943 * Makefile.in: Regenerate. 1944 * mpw-elfmips.c: Delete. 1945 * mpw-eppcmac.c: Delete. 1946 * mpw-esh.c: Delete. 1947 * mpw-idtmips.c: Delete. 1948 1949 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> 1950 1951 * emulparams/shelf32.sh (MACHINE): Now sh5. 1952 1953 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1954 1955 * ldgram.y: Fix syntax warning. 1956 1957 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com> 1958 1959 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order 1960 to prevent "-n" from being taken as an abbreviation for 1961 "--no-pipeline-knowledge". 1962 1963 2002-04-08 Alan Modra <amodra@bigpond.net.au> 1964 1965 * ldlang.c (lang_size_sections_1): Don't complain about 1966 SEC_NEVER_LOAD sections having no memory region specified. 1967 1968 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix. 1969 1970 2002-04-07 matthew green <mrg@redhat.com> 1971 1972 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF. 1973 1974 2002-04-04 Alan Modra <amodra@bigpond.net.au> 1975 1976 * dep-in.sed: Cope with absolute paths. 1977 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. 1978 Run "make dep-am". 1979 * Makefile.in: Regenerate. 1980 1981 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1982 1983 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. 1984 1985 2002-04-03 Jakub Jelinek <jakub@redhat.com> 1986 1987 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size 1988 is smaller than maximum, round dot up to common page boundary. 1989 1990 2002-03-28 Alan Modra <amodra@bigpond.net.au> 1991 1992 * configure.host: Set up for generic hosts first, then tweak as 1993 necessary in more specific targets. 1994 (HOSTING_LIBS): Include libgcc_eh.a if found. 1995 1996 2002-03-23 Andreas Jaeger <aj@suse.de> 1997 1998 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. 1999 2000 2002-03-21 Alan Modra <amodra@bigpond.net.au> 2001 2002 * Makefile.am: Run "make dep-am". 2003 * Makefile.in: Regenerate. 2004 2005 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com> 2006 2007 * genscripts.sh (LIB_SEARCH_DIRS): Quote path. 2008 2009 2002-03-20 Alan Modra <amodra@bigpond.net.au> 2010 2011 * ldlang.c (ldlang_add_undef): If the output bfd has been opened, 2012 add the symbol to the linker hash table immediately. 2013 (lang_place_undefineds): Split symbol creation out.. 2014 (insert_undefined): ..to here. 2015 2016 2002-03-18 David O'Brien <obrien@FreeBSD.org> 2017 2018 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where 2019 the contents of the buffer returned from basename function will are 2020 getting overwritten while still being used. 2021 2022 2002-03-18 Jan Hubicka <jh@suse.cz> 2023 Andreas Jaeger <aj@suse.de> 2024 Andreas Schwab <schwab@suse.de> 2025 2026 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. 2027 * elf_x86_64.sh (ARCH): Set to i386:x86-64 2028 set libraries to default to lib64 paths. 2029 2030 2002-03-18 Tom Rix <trix@redhat.com> 2031 2032 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. 2033 * configure.tgt : Same. 2034 * emulparms/aix5ppc.sh : New file. For eaix5ppc. 2035 * emulparms/aix5rs6.sh : New file. For eaix5rs6. 2036 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT 2037 emulation parameters for better -b32, -b64 support. 2038 * emulparms/aixrs6.sh : Same. 2039 * emulparms/ppcmacos.sh : Same. 2040 * emultempl/aix.em (choose_target) : Use new emulation parameters 2041 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. 2042 * Makefile.in : Regenerate. 2043 2044 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> 2045 2046 * po/fr.po: Updated version. 2047 2048 2002-03-18 Alan Modra <amodra@bigpond.net.au> 2049 2050 * ldmain.c (main): Move .text readonly flag fudges from here.. 2051 * ldlang.c (lang_process): ..to here. 2052 2053 2002-03-14 Alan Modra <amodra@bigpond.net.au> 2054 2055 * ldlang.c (lang_check): Remove the word size check added in last 2056 change. Treat emitrelocations case as for relocatable links. 2057 2058 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> 2059 2060 * po/fr.po: Updated version. 2061 2062 2002-03-13 Alan Modra <amodra@bigpond.net.au> 2063 2064 * ldlang.c (lang_check): Do relocatable link checks first, so that 2065 warn_mismatch can't override. Check compatible and word size too. 2066 2067 2002-03-07 Daniel Jacobowitz <drow@mvista.com> 2068 2069 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. 2070 2071 2002-03-05 Jakub Jelinek <jakub@redhat.com> 2072 2073 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with 2074 DATA_SEGMENT_ALIGN. 2075 2076 2002-03-04 H.J. Lu <hjl@gnu.org> 2077 2078 * scripttempl/elf.sc: Put .preinit_array, .init_array and 2079 .fini_array in the data segment. 2080 2081 2002-03-04 Alan Modra <amodra@bigpond.net.au> 2082 2083 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. 2084 2085 2002-03-01 David Mosberger <davidm@hpl.hp.com> 2086 2087 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, 2088 .init_array, and .fini_array. 2089 2090 2002-02-20 Andreas Schwab <schwab@suse.de> 2091 2092 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold 2093 .IA64_unwind* in a relocatable link. 2094 2095 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> 2096 2097 * NEWS: Mark 2.12 branch. 2098 2099 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> 2100 2101 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". 2102 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". 2103 2104 2002-02-18 Tom Rix <trix@redhat.com> 2105 2106 * emultempl/aix.em (gld*_parse_args): Add -brtl support. 2107 (gld*_before_allocation): Same. 2108 (gld*_create_output_section_statements): Generate 2109 __rtinit if run time linking. Add librtl.a to the link. 2110 (gld*_read_file): Clean. 2111 2112 2002-02-18 Alan Modra <amodra@bigpond.net.au> 2113 2114 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. 2115 2116 2002-02-18 David O'Brien <obrien@FreeBSD.org> 2117 2118 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, 2119 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, 2120 and eelf64alpha_fbsd. 2121 * Makefile.in: Regenerate. 2122 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, 2123 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): 2124 use a FreeBSD-specific emulation rather than the psABI one. 2125 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value 2126 for all FreeBSD ELF systems. 2127 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI 2128 emulation. 2129 * emulparams/elf32ppc_fbsd.sh: Likewise. 2130 * emulparams/elf64_ia64_fbsd.sh: Likewise. 2131 * emulparams/elf64_sparc_fbsd.sh: Likewise. 2132 * emulparams/elf64alpha_fbsd.sh: Likewise. 2133 * emulparams/elf_i386_fbsd.sh: Likewise. 2134 * emulparams/elf_x86_64_fbsd.sh: Likewise. 2135 2136 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com> 2137 2138 * po/tr.po: Updated version. 2139 2140 2002-02-18 Alan Modra <amodra@bigpond.net.au> 2141 2142 * ld.texinfo (Output Section Fill): Fix amateur texinfo. 2143 (FILL): Likewise. 2144 2145 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> 2146 2147 * emultempl/mmo.em (mmo_after_open): Don't call 2148 _bfd_mmix_check_all_relocs when producing ELF output. 2149 2150 2002-02-15 Richard Henderson <rth@redhat.com> 2151 2152 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian 2153 definition. Emit a unop+nop pair. 2154 2155 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> 2156 2157 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check 2158 for presence of .MMIX.reg_contents.linker_allocated before early 2159 exit. 2160 2161 * NEWS: Mention support for MMIX. 2162 2163 2002-02-15 Alan Modra <amodra@bigpond.net.au> 2164 2165 Support arbitrary length fill patterns. 2166 * ld.texinfo (Output Section Fill): Describe fill expressions. 2167 (FILL): Refer to the above. 2168 * ldexp.h (etree_value_type): Add "str" field. 2169 (union etree_union): Add "str" to "value" struct. 2170 (exp_bigintop): Declare. 2171 (exp_get_fill): Declare. 2172 * ldexp.c: Include "safe-ctype.h". 2173 (exp_intop): Set value.str to NULL. 2174 (exp_bigintop): New function. 2175 (new_rel): Pass in "str", and set new.str from it. 2176 (new_rel_from_section): Set new.str to NULL. 2177 (fold_name): Adjust calls to new_rel. 2178 (exp_fold_tree): Likewise. 2179 (exp_get_fill): New function. 2180 * ldgram.y (struct big_int bigint, fill_type *fill): New. 2181 (INT): Returns a "bigint". Adjust all code handling INTs. 2182 (fill_opt): Returns a "fill". 2183 (fill_exp): Split out of fill_opt, use for FILL. 2184 * ldlang.h (struct _fill_type): New. 2185 (fill_type): Move typedef to ldexp.h. 2186 (lang_output_section_statement_type): "fill" is now a pointer. 2187 (lang_fill_statement_type): Likewise. 2188 (lang_padding_statement_type): Likewise. 2189 (lang_add_fill): Now takes a "fill_type *" param. 2190 (lang_leave_output_section_statement): Likewise. 2191 (lang_do_assignments): Likewise. 2192 (lang_size_sections): Likewise. 2193 (lang_leave_overlay_section): Likewise. 2194 (lang_leave_overlay): Likewise. 2195 * ldlang.c: Include ldgram.h after ldexp.h. 2196 (lang_output_section_statement_lookup): Adjust for fill_type change. 2197 (print_fill_statement): Likewise. 2198 (print_padding_statement): Likewise. 2199 (insert_pad): Now takes a "fill_type *" arg. 2200 (size_input_section): Likewise. 2201 (lang_size_sections_1): Likewise. 2202 (lang_size_sections): Likewise. 2203 (lang_do_assignments): Likewise. 2204 (lang_add_fill): Likewise. 2205 (lang_leave_output_section_statement): Likewise. 2206 (lang_leave_overlay_section): Likewise. 2207 (lang_leave_overlay): Likewise. 2208 Adjust all callers of the above function. 2209 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers 2210 starting with "0X" as well as "0x". Return bigint.str for hex 2211 numbers starting with "0x" or "0X", zero bigint.str otherwise. 2212 Always use base 16 for numbers starting with "$". 2213 * ldmain.c: Include ldgram.h after ldexp.h. 2214 * ldwrite.c (build_link_order): Use bfd_data_link_order in place 2215 of bfd_fill_link_order. 2216 * pe-dll.c: Adjust lang_do_assignments calls. 2217 * emultempl/elf32.em: Likewise. 2218 * emultempl/hppaelf.em: Likewise. 2219 * emultempl/ppc64elf.em: Likewise. 2220 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust 2221 lang_add_assignment call. 2222 * emultempl/pe.em: Likewise. 2223 2224 2002-02-14 Phil Edwards <pme@gcc.gnu.org> 2225 2226 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. 2227 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; 2228 the pattern in question is not a regexp. 2229 * ldlang.c: Likewise. 2230 * ldlang.h: Likewise. 2231 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. 2232 2233 2002-02-12 Jakub Jelinek <jakub@redhat.com> 2234 2235 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. 2236 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. 2237 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). 2238 * ldexp.c (exp_data_seg): New variable. 2239 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. 2240 (fold_binary): Handle DATA_SEGMENT_ALIGN. 2241 (exp_fold_tree): Handle DATA_SEGMENT_END. 2242 Pass allocation_done when recursing instead of hardcoding 2243 lang_allocating_phase_enum. 2244 * ldexp.h (exp_data_seg): New. 2245 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. 2246 (lang_size_sections): New. 2247 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. 2248 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END 2249 if COMMONPAGESIZE is defined. 2250 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. 2251 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. 2252 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. 2253 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. 2254 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared 2255 libraries only. 2256 2257 2002-02-11 Alan Modra <amodra@bigpond.net.au> 2258 2259 * Makefile.in: Regenerate. 2260 2261 2002-02-10 Daniel Jacobowitz <drow@mvista.com> 2262 2263 * lexsup.c: Remove strtoul declaration. 2264 2265 2002-02-10 Daniel Jacobowitz <drow@mvista.com> 2266 2267 * ldmain.c: Add prototype for main (). 2268 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. 2269 * emultempl/lnk960.em (lnk960_choose_target): Function should 2270 take two arguments. 2271 2272 2002-02-10 Alan Modra <amodra@bigpond.net.au> 2273 2274 * ldlang.c (entry_section): New initialised variable. 2275 (lang_finish): Use it. 2276 * ldlang.h (entry_section): Declare. 2277 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set 2278 entry_section to ".opd". 2279 2280 2002-02-09 Chris Demetriou <cgd@broadcom.com> 2281 2282 * ld.texinfo (Options): Add back in -nostdlib documentation, 2283 which had been inadvertently removed. 2284 2285 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> 2286 2287 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust 2288 register section vma to a sane value after emitting error. Make 2289 fatal conditions cause program exit when emitting message. 2290 2291 2002-02-08 Ivan Guzvinec <ivang@opencores.org> 2292 2293 * configure.tgt: Add or32-*-rtems target. 2294 2295 2002-02-08 Alexandre Oliva <aoliva@redhat.com> 2296 2297 Contribute sh64-elf. 2298 2002-01-24 Alexandre Oliva <aoliva@redhat.com> 2299 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined 2300 in OTHER_RELOCATABLE_SECTIONS. 2301 2002-01-18 Alexandre Oliva <aoliva@redhat.com> 2302 * emulparams/shelf32.sh (STACK_ADDR): Define. 2303 (OTHER_RELOCATABLE_SECTIONS): Renamed to... 2304 (OTHER_SECTIONS): this. Removed stack settings. 2305 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. 2306 (OTHER_SECTIONS): Reset after sourcing shelf32.sh. 2307 2001-03-12 DJ Delorie <dj@redhat.com> 2308 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable 2309 relaxing if any shmedia or mixed sections are found. 2310 2001-03-07 DJ Delorie <dj@redhat.com> 2311 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to 2312 einfo. Gracefully decline to output to non-elf formats. 2313 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com> 2314 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: 2315 Default to _end aligned to next multiple of 0x40000, plus 0x40000. 2316 * emulparams/shelf32.sh: Ditto. 2317 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> 2318 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak 2319 comment. 2320 2001-01-10 Ben Elliston <bje@redhat.com> 2321 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid 2322 non-portable shell constructs. From Hans-Peter Nilsson. 2323 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com> 2324 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. 2325 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust 2326 dependencies to the shell script include chain. 2327 * Makefile.in: Regenerate. 2328 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> 2329 * emultempl/sh64elf.em: Update and tweak comments. 2330 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and 2331 make a .cranges section SEC_IN_MEMORY. 2332 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> 2333 * emultempl/sh64elf.em 2334 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when 2335 .cranges section found to be necessary; continue and set stored 2336 section contents flags for sections with non-mixed contents. 2337 Use a struct sh64_section_data container and sh64_elf_section_data 2338 to store contents-type flags. 2339 Remove unused update of "isec". 2340 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process 2341 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to 2342 access contents-type flags. Assert that the associated container 2343 is initialized. Use that container, not elf_gp_size, to hold size 2344 of linker-generated cranges contents. 2345 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> 2346 * emultempl/sh64elf.em 2347 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if 2348 there's already a .cranges section. When section flag difference 2349 is found, don't NULL-check cranges a second time. Tweak comments. 2350 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after 2351 merging, not max size, as size of ld-generated .cranges contents. 2352 Don't set ELF section flags in output section. When checking for 2353 needed .cranges descriptors, don't use a variable; compare 2354 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak 2355 comments. 2356 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> 2357 * emultempl/sh64elf.em: New file. 2358 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. 2359 * Makefile.in: Regenerate. 2360 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. 2361 (OTHER_RELOCATING_SECTIONS): Ditto. 2362 (EXTRA_EM_FILE): New, set to sh64elf if not set. 2363 * emulparams/shlelf32.sh: Stub out all settings except 2364 OUTPUT_FORMAT. Source shelf32.sh. 2365 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and 2366 OTHER_RELOCATING_SECTIONS. 2367 (OTHER_RELOCATING_SECTIONS): Remove .cranges. 2368 * emulparams/shlelf64.sh: Stub out all settings except 2369 OUTPUT_FORMAT. Source shelf64.sh. 2370 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> 2371 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include 2372 .cranges section. 2373 (DATA_START_SYMBOLS): Define, provide ___data. 2374 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 2375 for consecutive .data section. 2376 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss 2377 section after .data section. 2378 * emulparams/shlelf64.sh: Ditto. 2379 * emulparams/shelf32.sh: Ditto. 2380 (ALIGNMENT): Define to 8. 2381 * emulparams/shelf32.sh: Ditto. 2382 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> 2383 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get 2384 built-in linker scripts. 2385 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> 2386 * emulparams/shlelf64.sh: New. 2387 * emulparams/shelf64.sh: New. 2388 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to 2389 targ_extra_emuls. 2390 * Makefile.am: Add support for shlelf64 and shelf64. 2391 * Makefile.in: Regenerate. 2392 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> 2393 * configure.tgt (sh64-*-elf*): Add shelf as default. 2394 Add shlelf to targ_extra_emuls. 2395 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> 2396 * emulparams/shelf32.sh: New file. 2397 * emulparams/shlelf32.sh: New file. 2398 * Makefile.am: Add support for shlelf32 and shelf32. 2399 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. 2400 * Makefile.in: Regenerate. 2401 2402 2002-02-05 Hans-Peter Nilsson <hp@axis.com> 2403 2404 * ldlang.c (lang_reset_memory_regions): Rename from 2405 reset_memory_regions. Change all callers. Make public. 2406 * ldlang.h (lang_reset_memory_regions): Prototype. 2407 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call 2408 lang_reset_memory_regions before lang_size_sections. 2409 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. 2410 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. 2411 2412 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> 2413 2414 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed 2415 arithmetic when checking for too many global registers. 2416 2417 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> 2418 2419 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. 2420 (ehppanbsd.c): New rule. 2421 * Makefile.in: Regenerate. 2422 * configure.tgt (hppa*-*-netbsd*): New target. 2423 * emulparams/hppalinux.sh: Add comment to check other files 2424 that source this file it is modified, and list which 2425 files that do. 2426 * emulparams/hppanbsd.sh: New file. 2427 2428 2002-02-01 Geoffrey Keating <geoffk@redhat.com> 2429 2430 * scripttempl/xstormy16.sc: Don't allocate extra space for the 2431 stack. 2432 2433 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> 2434 2435 Support on-demand global register allocation from 2436 R_MMIX_BASE_PLUS_OFFSET relocs. 2437 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from 2438 mmix_set_reg_section_vma. Call 2439 _bfd_mmix_finalize_linker_allocated_gregs. 2440 (mmix_before_allocation): New function. 2441 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. 2442 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. 2443 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. 2444 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated 2445 before .MMIX.reg_contents. 2446 * emultempl/mmo.em (gldmmo_before_allocation): Define to default. 2447 (mmo_after_open): New function. 2448 (LDEMUL_AFTER_OPEN): Define to mmo_after_open. 2449 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add 2450 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. 2451 2452 2002-01-31 Ivan Guzvinec <ivang@opencores.org> 2453 2454 * emulparams/or32.sh: New file. 2455 * emulparams/or32elf.sh: New file. 2456 * scripttempl/or32.sc: New file. 2457 * configure.tgt : Add support for or32. 2458 * configure: Regenerate 2459 * Makefile.am: Add support for or32. 2460 * Makefile.in: Regenerate. 2461 * NEWS: Mention support for or32. 2462 * po/ld.pot: Regenerate. 2463 2464 2002-01-29 Chris Demetriou <cgd@broadcom.com> 2465 Mitch Lichtenberg <mpl@broadcom.com> 2466 2467 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. 2468 * emultempl/mipself.em: New file to handle MIPS ELF embedded 2469 reloc creation (ld --embedded-relocs). 2470 2471 2002-01-27 Daniel Jacobowitz <drow@mvista.com> 2472 2473 * configure: Regenerated. 2474 2475 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> 2476 2477 * Makefile.am (install): Depend on install-info. 2478 * Makefile.in: Regenerate. 2479 2480 2002-01-26 Christian Rose <menthos@menthos.com> 2481 2482 * ldmain.c (main): Use full sentences to ease translation. 2483 2484 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com> 2485 2486 * po/fr.po: Updated version. 2487 2488 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> 2489 2490 * po/es.po: Updated version. 2491 2492 2002-01-25 Andreas Jaeger <aj@suse.de> 2493 2494 * ldlex.l (yy_input): Correct error check. 2495 2496 2002-01-25 Alan Modra <amodra@bigpond.net.au> 2497 2498 * ldmisc.c (demangle): Put back dots when string not demangled. 2499 2500 2002-01-22 Richard Henderson <rth@redhat.com> 2501 2502 * emulparams/elf64alpha.sh (NOP): Use unop. 2503 2504 2002-01-21 Andreas Jaeger <aj@suse.de> 2505 2506 * ldlex.l: Use fread instead of read. 2507 2508 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> 2509 2510 * configure.tgt (ia64-*-netbsd*): New target. 2511 2512 2002-01-21 H.J. Lu <hjl@gnu.org> 2513 2514 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to 2515 0. 2516 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. 2517 2518 2002-01-18 Andreas Jaeger <aj@suse.de> 2519 2520 * ldver.c (ldversion): Update year. 2521 2522 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> 2523 2524 * po/ld.pot: Regenerate. 2525 2526 2002-01-16 Alan Modra <amodra@bigpond.net.au> 2527 2528 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. 2529 * Makefile.in: Regenerate. 2530 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. 2531 * emultempl/ppc64elf.em: New file. 2532 2533 2002-01-15 DJ Delorie <dj@redhat.com> 2534 2535 * scripttempl/pe.sc: Add support for constructor priorities. 2536 2537 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> 2538 2539 * emulparams/avr1200.sh (DATA_START): Define as 0x60. 2540 * emulparams/avr23xx.sh: Likewise. 2541 * emulparams/avr4433.sh: Likewise. 2542 * emulparams/avr44x4.sh: Likewise. 2543 * emulparams/avr85xx.sh: Likewise. 2544 * emulparams/avrmega103.sh: Likewise. 2545 * emulparams/avrmega161.sh: Likewise. 2546 * emulparams/avrmega603.sh: Likewise. 2547 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. 2548 2549 2002-01-08 Alexandre Oliva <aoliva@redhat.com> 2550 2551 * ldlang.c (walk_wild_section): Exclude object file if enclosing 2552 archive is excluded. 2553 2554 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> 2555 2556 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. 2557 (eshelf_nbsd.c): New rule. 2558 (eshlelf_nbsd.c): New rule. 2559 * Makefile.in: Regenerate. 2560 * configure.tgt (sh*le-*-netbsdelf*): New target. 2561 (sh*-*-netbsdelf*): New target. 2562 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. 2563 * ld/emulparams/shelf_nbsd.sh: New emulation. 2564 * ld/emulparams/shlelf_nbsd.sh: New emulation. 2565 2566 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> 2567 2568 * po/es.po: New file: Spanish translation. 2569 * configure.in (ALL_LINGUAS): Add es. 2570 * configure: Regenerate. 2571 2572 2002-01-06 John Marshall <jmarshall@acm.org> 2573 2574 * ld.texinfo: Note that --emit-relocs is currently only 2575 implemented for ELF. 2576 2577 2002-01-05 Alan Modra <amodra@bigpond.net.au> 2578 2579 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use 2580 of bfd_section_list_remove and bfd_section_list_insert macros. 2581 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 2582 * emultempl/mmo.em (mmo_place_orphan): Likewise. 2583 2584 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> 2585 2586 * configure.tgt (x86_64-*-netbsd*): New target. 2587 2588 2001-12-21 Tom Rix <trix@redhat.com> 2589 2590 (gld*_create_output_section_statements): New function. 2591 For -binitfini support. 2592 * emultempl/aix.em (gld*_before_parse): Fix comment. 2593 * emultempl/aix.em (gld*_parse_args): Fix comment. 2594 2595 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> 2596 2597 * configure.tgt (mips*-dec-netbsd*): Delete alias for 2598 mips*el-*-netbsd*. 2599 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. 2600 2601 * configure.tgt (arm-*-netbsdelf*): Add target. 2602 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. 2603 * emulparams/armelf_nbsd.sh: Added. 2604 * Makefile.am: Add rules for earmelf_nbsd. 2605 * Makefile.in: Regenerate. 2606 2607 2001-12-19 Andreas Jaeger <aj@suse.de>, 2608 Susanne Oberhauser <froh@suse.de> 2609 2610 * configure.host: Add rules for x86_64-*linux-gnu. Change 2611 s390x-linux entry to use gcc to report configuration, replace gcc 2612 with $CC in s390-linux 2613 2614 2001-12-19 Andreas Jaeger <aj@suse.de> 2615 2616 * ld.texinfo (VERSION): Fix markup. 2617 2618 2001-12-18 matthew green <mrg@eterna.com.au> 2619 2620 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. 2621 (m68kelfnbsd.c): New rule. 2622 * Makefile.in: Regenerate. 2623 * configure.tgt (m68*-hp-netbsd*): Renamed to .. 2624 (m68*-*-netbsd*4k*): .. this. 2625 (m68*-*-netbsdelf*): New target. 2626 (m68*-*-netbsd*): Also include ELF support. 2627 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. 2628 * emulparams/m68kelfnbsd.sh: New emulation. 2629 2630 2001-12-18 Jakub Jelinek <jakub@redhat.com> 2631 2632 * ldgram.y (vers_node): Support anonymous version tags. 2633 * ldlang.c (lang_register_vers_node): Ensure anonymous version 2634 tag is not defined together with non-anonymous versions. 2635 * ld.texinfo: Document it. 2636 2637 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> 2638 2639 * po/tr.po: New file: Turkish translation. 2640 * configure.in (ALL_LINGUAS): Add tr. 2641 * configure: Regenerate. 2642 2643 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com> 2644 2645 * Makefile.am: Add rules for eelf64alpha_nbsd. 2646 * Makefile.in: Regenerate. 2647 * configure.tgt (alpha*-*-netbsd*): Set 2648 targ_emul to elf64alpha_nbsd. 2649 * emulparams/elf64alpha_nbsd.sh: Added. 2650 2651 2001-12-17 Alan Modra <amodra@bigpond.net.au> 2652 2653 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust 2654 section_tail when fiddling with section list. 2655 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't 2656 broken into separate strings to make translation easier. 2657 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when 2658 fiddling with section list. 2659 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 2660 2661 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com> 2662 2663 * scripttempl/mmo.sc: Add .debug_ranges to listed sections. 2664 2665 2001-12-15 Alan Modra <amodra@bigpond.net.au> 2666 2667 * ldmain.c (main): Initialise link_info.eh_frame_hdr. 2668 2669 2001-12-13 Jakub Jelinek <jakub@redhat.com> 2670 2671 * emultempl/elf32.em (finish): Supply output_bfd 2672 to bfd_elf*_discard_info. 2673 (OPTION_EH_FRAME_HDR): Define. 2674 (longopts): Add --eh-frame-hdr. 2675 (parse_args): Handle it. 2676 (list_options): Add --eh-frame-hdr to help. 2677 * emultempl/hppaelf.em (finish): Supply output_bfd 2678 to bfd_elf*_discard_info. 2679 * scripttempl/elf.sc (.eh_frame_hdr): Add. 2680 2681 2001-12-13 Alan Modra <amodra@bigpond.net.au> 2682 2683 * lexsup.c (parse_args): Don't pass shortopts to second call to 2684 getopt functions. Restore optind rather than decrementing before 2685 second call. Remove errind as it now duplicates last_optind. 2686 2687 2001-12-11 Christopher Faylor <cgf@redhat.com> 2688 2689 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. 2690 2691 2001-12-07 Geoffrey Keating <geoffk@redhat.com> 2692 Richard Henderson <rth@redhat.com> 2693 2694 * Makefile.am: Add support for xstormy16. 2695 * configure.tgt: Add support for xstormy16. 2696 * Makefile.in: Regenerate. 2697 * emulparams/elf32xstormy16.sh: New file. 2698 * scripttempl/xstormy16.sc: New file. 2699 2700 2001-10-01 Christopher Faylor <cgf@cygnus.com> 2701 2702 * Makefile.in (LIB_PATH): Make configurable. 2703 (GENSCRIPTS): Set LIB_PATH in environment. 2704 * configure.in: Substitute LIB_PATH. 2705 * configure: Regenerate. 2706 * configure.tgt (*cygwin): Set LIB_PATH for cross build. 2707 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. 2708 2709 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com> 2710 2711 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string 2712 describing the -N option so that it is easier to translate into 2713 foreign languages. 2714 2715 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> 2716 2717 * emultempl/pe.em (..._list_options): Replace multiple fprintf 2718 statements describing a single option with a single, newline 2719 escaped fprintf. This allows better translation into other 2720 languages. 2721 2722 * ldmain.c (add_archive_element): Combine multiple strings 2723 into a single string to permit better translation into other 2724 languages. 2725 2726 2001-12-05 Tom Rix <trix@redhat.com> 2727 2728 * Makefile.am: Remove eaixppc64. 2729 * Makefile.in: Regenerate. 2730 2731 2001-12-04 Tom Rix <trix@redhat.com> 2732 2733 * emultempl/aix.em (choose_target): Change default target to 2734 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler 2735 warning. 2736 (gld*_read_file): Fix typo. 2737 (change_symbol_mode): Add prototype. 2738 (is_syscall): Same. 2739 2740 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. 2741 * emulparams/aixrs6.sh : Same. 2742 * emulparams/ppcmacos.sh : Same. 2743 * emulparams/aixppc64.sh : Delete file. 2744 * emultempl/aix.em : Formatting changes. 2745 2746 2001-12-04 Hans-Peter Nilsson <hp@axis.com> 2747 2748 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. 2749 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting 2750 __Sbss. 2751 (OTHER_END_SYMBOLS): Fix formatting. 2752 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. 2753 (OTHER_END_SYMBOLS): Fix formatting. 2754 2755 2001-12-04 Alan Modra <amodra@bigpond.net.au> 2756 2757 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. 2758 2759 2001-12-02 Tom Rix <trix@redhat.com> 2760 2761 * configure.tgt : Remove eaixppc64 emulations. 2762 * Makefile.in : Remove eaixppc64.c 2763 * ldemul.c (ldemul_choose_target): New parameters argc, argv. 2764 (ldemul_default_target): Same. 2765 * emultempl/gld960.em (gld960_choose_target): Same. 2766 * emultempl/gld960c.em (gld960_choose_target): Same. 2767 * scripttempl/aix.sc: Remove OUTPUT_FORMAT. 2768 * emultempl/aix.em (is_syscall): syscall_mask now a variable. 2769 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. 2770 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. 2771 * emultempl/aix.em (choose_target): New function. Handle emulation of 2772 -b32 and -b64. 2773 2774 2001-11-27 H.J. Lu <hjl@gnu.org> 2775 2776 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. 2777 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. 2778 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. 2779 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. 2780 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. 2781 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. 2782 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. 2783 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. 2784 2785 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} 2786 is not empty. 2787 (SDATA): Likewise. 2788 (REL_SDATA): Likewise. 2789 (REL_SBSS): Likewise. 2790 (REL_SDATA2): Likewise. 2791 (REL_SBSS2): Likewise. 2792 (SBSS2): Define if ${NO_SMALL_DATA} is not empty. 2793 (SDATA2): Likewise. 2794 2795 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2796 2797 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and 2798 destructor in rom. 2799 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. 2800 2801 2001-11-22 H.J. Lu <hjl@gnu.org> 2802 2803 * Makefile.in: Regenerated with automake based on automake 2804 1.4-8 in RedHat 7.1. 2805 2806 2001-11-22 Alan Modra <amodra@bigpond.net.au> 2807 2808 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. 2809 (config.status): Delete rule. 2810 Add extra dependencies to cover sourced emulparams files. 2811 * Makefile.in: Regenerate. 2812 2813 * scripttempl/elf.sc: Order <section>, <section>.* and 2814 corresponding linkonce sections as seen in input files. 2815 Formatting fixes. Zero vma of all sections if not relocating. 2816 (STACK): Define and insert if STACK_ADDR defined. 2817 (OTHER_RELOCATING_SECTIONS): Delete. 2818 (OTHER_END_SYMBOLS): Define. 2819 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. 2820 (OTHER_READWRITE_SECTIONS): Likewise. 2821 (OTHER_GOT_SECTIONS): Likewise. 2822 (OTHER_SDATA_SECTIONS): Likewise. 2823 (OTHER_BSS_SECTIONS): Likewise. 2824 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. 2825 (OTHER_READWRITE_SECTIONS): Likewise. 2826 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. 2827 (OTHER_READWRITE_SECTIONS): Likewise 2828 2829 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. 2830 (STACK_ADDR): Define. 2831 * emulparams/armelf_oabi.sh: As for armelf.sh. 2832 * emulparams/elf32mcore.sh: As for armelf.sh. 2833 * emulparams/h8300elf.sh: As for armelf.sh. 2834 * emulparams/mn10200.sh: As for armelf.sh. 2835 * emulparams/shelf.sh: As for armelf.sh. 2836 2837 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. 2838 (OTHER_END_SYMBOLS): Define. 2839 * emulparams/m32relf.sh: As for elf32fr30.sh. 2840 * emulparams/h8300helf.sh: As for elf32fr30.sh. 2841 * emulparams/h8300self.sh: As for elf32fr30.sh. 2842 2843 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol 2844 defines with RELOCATING test. 2845 (OTHER_SDATA_SECTIONS): Likewise. 2846 (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. 2847 (OTHER_END_SYMBOLS): ..this. 2848 * emulparams/crislinux.sh: As for criself.sh. 2849 2850 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma 2851 if not relocating. 2852 (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. 2853 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order 2854 normal and linkonce sections as seen in input files. 2855 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. 2856 (TEXT_DYNAMIC): Likewise. 2857 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. 2858 (OTHER_SDATA_SECTIONS): Likewise. 2859 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. 2860 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. 2861 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. 2862 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. 2863 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. 2864 (OTHER_PLT_RELOC_SECTIONS): Likewise. 2865 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce 2866 sections as seen in input files. 2867 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. 2868 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma 2869 if not relocating. 2870 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. 2871 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. 2872 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. 2873 (OTHER_SECTIONS): Instead, use this.. 2874 (OTHER_END_SYMBOLS): ..and this. 2875 2876 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. 2877 * emulparams/elf32bsmip.sh: Likewise. 2878 * emulparams/elf32btsmip.sh: Likewise. 2879 * emulparams/elf32ebmip.sh: Likewise. 2880 * emulparams/elf32lmip.sh: Likewise. 2881 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. 2882 * emulparams/elf32lsmip.sh: Likewise. 2883 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. 2884 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. 2885 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. 2886 * emulparams/elf64btsmip.sh: Likewise. 2887 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. 2888 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. 2889 * emulparams/elf32ppclinux.sh: Likewise. 2890 * emulparams/elf32ppcsim.sh: Likewise. 2891 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. 2892 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. 2893 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. 2894 * emulparams/h8300self.sh: Likewise. 2895 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. 2896 * emulparams/sh.sh: Comment. 2897 * emulparams/shl.sh: Source sh.sh, remove duplicates. 2898 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. 2899 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. 2900 2901 2001-11-21 David Heine <dlheine@tensilica.com> 2902 Alan Modra <amodra@bigpond.net.au> 2903 2904 * ldlang.c (map_input_to_output_sections): Replace "break" 2905 accidentally removed with 2001-08-03 change. 2906 (lang_gc_sections_1): Likewise. 2907 2908 2001-11-21 Alan Modra <amodra@bigpond.net.au> 2909 2910 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. 2911 2912 2001-11-20 Angela Marie Thomas <angela@redhat.com> 2913 2914 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead 2915 of false when calling lang_size_sections. 2916 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. 2917 2918 2001-11-15 Alan Modra <amodra@bigpond.net.au> 2919 2920 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this 2921 function when LDEMUL_FINISH isn't set to the same name. Don't 2922 call ${LDEMUL_FINISH}. 2923 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. 2924 * emultempl/armelf.em (arm_elf_finish): Call 2925 gld${EMULATION_NAME}_finish. 2926 * emultempl/hppaelf.em (hppaelf_finish): Rename to 2927 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and 2928 hppaelf_layout_sections_again if necessary. 2929 (need_laying_out): New var. 2930 (hppaelf_layaout_sections_again): Rename to 2931 hppaelf_layout_sections_again. Clear need_laying_out. 2932 (PARSE_AND_LIST_OPTIONS): Format text. 2933 2934 2001-11-14 H.J. Lu <hjl@gnu.org> 2935 2936 * emultempl/armelf.em (arm_elf_finish): Renamed from 2937 gld${EMULATION_NAME}_finish. 2938 (LDEMUL_FINISH): Set to arm_elf_finish. 2939 2940 2001-11-14 Daniel Jacobowitz <drow@mvista.com> 2941 2942 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. 2943 (struct ld_emulation_xfer_struct): Use it. 2944 2945 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com> 2946 2947 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add 2948 additional symbols referenced by newer crt0.o files from HP. 2949 2950 2001-11-12 Anthony Green <green@redhat.com> 2951 2952 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. 2953 2954 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu> 2955 2956 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. 2957 * Makefile.in: Regenerate. 2958 2959 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2960 2961 * ld.texinfo: Use @command for commands, @option for options. 2962 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for 2963 the page man title. 2964 * Makefile.in: Rebuild. 2965 2966 2001-11-04 Chris Demetriou <cgd@broadcom.com> 2967 2968 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): 2969 Add support for targets. 2970 2971 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> 2972 2973 * configure.in (ALL_LINGUAS): Add "fr" and "sv" 2974 * configure: Regernate. 2975 * po/fr.po: New file. 2976 * po/sv.po: New file. 2977 2978 2001-11-01 NIIBE Yutaka <gniibe@m17n.org> 2979 2980 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls 2981 as little endian default and to support big endian. 2982 2983 2001-11-01 Chris Demetriou <cgd@broadcom.com> 2984 2985 * ld.texinfo (Options): Document new option, -nostdlib. 2986 * lexsup.c (OPTION_NOSTDLIB): New definition. 2987 (ld_options): Add entry for "nostdlib". 2988 (parse_args): Handle OPTIONS_NOSTDLIB. 2989 * ldfile.c (ldfile_add_library_path): Don't add directories 2990 to the search path if they weren't specified on the command line 2991 and -nostdlib was specified. 2992 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. 2993 2994 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com> 2995 2996 * lexsup.c (parse_args): Prevent infinite parsing loop when 2997 "-rpath.a" is specified on the command line. 2998 Replace calls to fprintf with calls to einfo. 2999 3000 2001-10-31 John Marshall <jmarshall@acm.org> 3001 3002 * ld.texinfo: A historical requirement that MEMORY and SECTIONS 3003 appear only once across all the linker scripts involved in a link 3004 invocation no longer applies. Make the documentation reflect 3005 that. 3006 3007 2001-10-31 NIIBE Yutaka <gniibe@m17n.org> 3008 3009 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu 3010 targets. 3011 (sh-*-linux*): Added targ_extra_libpath. 3012 3013 2001-10-31 David Heine <dlheine@tensilica.com> 3014 3015 * ldlang.c (lang_size_sections): Keep a valid output_offset field 3016 for padding statements. 3017 3018 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> 3019 3020 * configure.tgt (mmix-*-*): New target. 3021 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. 3022 Add dependencies to match. 3023 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, 3024 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, 3025 scripttempl/mmo.sc: New files. 3026 * gen-doc.texi: @set MMIX. 3027 * ld.texinfo: Ditto. 3028 [MMIX] Add MMIX node. 3029 * Makefile.in: Regenerate. 3030 3031 2001-10-29 Kazu Hirata <kazu@hxi.com> 3032 3033 * ldlang.c: Fix a comment typo. 3034 3035 2001-10-23 Alan Modra <amodra@bigpond.net.au> 3036 3037 * configure.host: Move alpha*-*-linux-gnu* entry to generic 3038 entries, and match *-*-linux*. 3039 3040 2001-10-20 Alan Modra <amodra@bigpond.net.au> 3041 3042 * ldgram.y (mri_script_command): Surround processing of INCLUDE 3043 with ldlex_script, ldlex_popstate. 3044 (ifile_p1): Likewise. 3045 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the 3046 correct slot. 3047 (lex_push_file): Save current lineno to lineno_stack. Set lineno 3048 to 1. Don't BEGIN(SCRIPT). 3049 (lex_redirect): Similarly. 3050 * ldmain.c (main): Set yydebug non-zero if YYDEBUG. 3051 3052 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com> 3053 3054 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and 3055 __EH_FRAME_END__ and accept eh frames into data section. 3056 Add ctor and dtor sections. 3057 3058 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 3059 3060 * pe-dll.c (autofilter_objectlist): Add gcrt0.o. 3061 (auto-export): Fix indentation. 3062 3063 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 3064 3065 * pe-dll.c (autofilter_objectlist): Add startup objects 3066 for profiling. 3067 (auto-export): Constify char * p. 3068 Extract file basename and use strcmp rather than ststr 3069 for object lookup. 3070 3071 2001-10-18 Chris Demetriou <cgd@broadcom.com> 3072 3073 * ldmain.c (get_emulation): Improve comment about the handling 3074 of -mipsN options. 3075 3076 2001-10-17 Alan Modra <amodra@bigpond.net.au> 3077 3078 * po/POTFILES.in: Regenerate. 3079 3080 2001-10-16 Vassili Karpov <malc@pulsesoft.com> 3081 3082 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from 3083 -z nocopyreloc and -z nocombreloc usage strings. 3084 3085 2001-10-12 Vassili Karpov <malc@pulsesoft.com> 3086 3087 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc 3088 in usage. 3089 3090 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com> 3091 3092 * scripttempl/armaout.sc: Place .bss section after end of aligned 3093 data section to match behaviour of aout code in constructrion of 3094 header. 3095 3096 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 3097 3098 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add 3099 startup files for mingw32 dlls to list. 3100 3101 2001-10-10 Chris Demetriou <cgd@broadcom.com> 3102 3103 * emultempl/elf32.em: Fix shell 'if' usage for portability. 3104 3105 2001-10-08 Aldy Hernandez <aldyh@redhat.com> 3106 3107 * configure.tgt (targ): Add arm9e-*-elf. 3108 3109 2001-10-05 H.J. Lu <hjl@gnu.org> 3110 3111 * genscripts.sh: Fix a typo in the last change. 3112 3113 2001-10-05 Jakub Jelinek <jakub@redhat.com> 3114 3115 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and 3116 -z nocombreloc in usage. 3117 3118 2001-10-03 Jim Blandy <jimb@redhat.com> 3119 3120 * genscripts.sh: Include a comment at the top of each generated 3121 script, explaining its purpose. 3122 3123 2001-10-03 Vassili Karpov <malc@pulsesoft.com> 3124 3125 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. 3126 * NEWS: Mention -z nocopyreloc. 3127 * ld.texinfo (Options): Describe nocopyreloc. 3128 3129 2001-10-03 Alan Modra <amodra@bigpond.net.au> 3130 3131 * configure: Regenerate. 3132 3133 2001-10-02 Alan Modra <amodra@bigpond.net.au> 3134 3135 * ldver.h (ld_program_version): Remove declaration. 3136 * lexsup.c (parse_args): Move printing of copyright message.. 3137 * ldver.c (ldversion): .. to here. 3138 Use BFD_VERSION_STRING in place of BFD_VERSION. 3139 (ld_program_version): Remove. 3140 * Makefile.am (Makefile): Depend on bfd/configure.in. 3141 Run "make dep-am". 3142 * Makefile.in: Regenerate. 3143 3144 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> 3145 3146 * Makefile.am: Update dependencies with "make dep-am". 3147 * Makefile.in: Regenerate. 3148 3149 2001-09-29 John Reiser <jreiser@BitWagon.com> 3150 3151 * ldlang.c (lang_common): Conditionally inhibit Common allocation. 3152 * lexsup.c: Add --no-define-common commandline option. 3153 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. 3154 * ldlex.l: Likewise. 3155 * ld.h: Add command_line.inhibit_common_definition. 3156 * ldmain.c (main): Initialize. 3157 * ld.texinfo: Document. 3158 3159 2001-09-29 Alan Modra <amodra@bigpond.net.au> 3160 3161 * ldlang.c (section_already_linked): Remove assignment to kept_section. 3162 3163 2001-09-26 Alan Modra <amodra@bigpond.net.au> 3164 3165 * ldmisc.c (USE_STDARG): Remove. 3166 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. 3167 (einfo): Likewise. 3168 (minfo): Likewise. 3169 (lfinfo): Likewise. 3170 3171 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi 3172 declarations. Update copyright. 3173 3174 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> 3175 3176 * pe-dll.c: Remove obsoleted declaration of 3177 pe_get_data_import_dll_name. 3178 (pe_create_import_fixup): Fix thinko. 3179 3180 * ld.texinfo(enable-auto-import): Clarify the explanation. 3181 3182 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> 3183 3184 * pe-dll.c (pe_create_import_fixup): Revert previous patch. 3185 * emultemp/pe.em (pe_data_import_dll): Move definition outside of 3186 DLL_SUPPORT controlled code. 3187 3188 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> 3189 3190 * emultempl/pe.em(pe_data_import_dll): Make static. 3191 (pe_get_data_import_dll_name): New accessor function. 3192 * pe-dll.c(pe_create_import_fixup): call 3193 pe_get_data_import_dll_name() from pe.em, instead of 3194 directly accessing pe_data_import_dll variable from pe.em. 3195 3196 2001-09-18 Bruno Haible <haible@clisp.cons.org> 3197 3198 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>. 3199 (def_file_add_directive): Use ISSPACE instead of isspace. 3200 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of 3201 isdigit/isxdigit/isalpha/isalnum. 3202 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>. 3203 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. 3204 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>. 3205 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of 3206 isalnum. 3207 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>. 3208 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of 3209 isupper/tolower. 3210 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>. 3211 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. 3212 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>. 3213 (ctor_prio): Use ISDIGIT instead of isdigit. 3214 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>. 3215 (ldfile_open_file_search): Use ISALPHA instead of isalpha. 3216 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of 3217 isupper/tolower. 3218 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>. 3219 (stricpy): Use TOLOWER instead of isupper/tolower. 3220 (lang_leave_overlay_section): Use ISALNUM instead of isalnum. 3221 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>. 3222 (lex_warn_invalid): Use ISPRINT instead of isprint. 3223 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>. 3224 (main): For gettext, also set the LC_CTYPE locate facet. 3225 (add_keepsyms_file): Use ISSPACE instead of isspace. 3226 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>. 3227 (is_num, parse_args): Use ISDIGIT instead of isdigit. 3228 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>. 3229 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. 3230 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>. 3231 (gldppcmacos_read_file): Use ISSPACE instead of isspace. 3232 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>. 3233 (quoteput): Use ISSPACE instead of isspace. 3234 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM 3235 instead of isalnum. 3236 3237 2001-09-18 Alan Modra <amodra@bigpond.net.au> 3238 3239 * deffilep.y (def_stash_module): Constify "name" param. 3240 3241 * pe-dll.c: Replace CONST with const throughout. 3242 (quick_symbol): Constify "n1", "n2", "n3" params. 3243 (make_singleton_name_thunk): Constify "import" param. Make 3244 "buffer_len" a size_t. 3245 (make_import_fixup_entry): Constify "name", "fixup_name", 3246 "dll_symname" params. 3247 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. 3248 (pe_get32): Likewise. 3249 (pe_implied_import_dll): Likewise. 3250 3251 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". 3252 (sort_by_section_name): Likewise. 3253 3254 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. 3255 (make_import_fixup): Cast printf arg, rel->address to long rather 3256 than int. 3257 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. 3258 3259 2001-09-15 Alan Modra <amodra@bigpond.net.au> 3260 3261 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX 3262 defines BufferSize. Increase buffer size by one. 3263 3264 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de> 3265 3266 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. 3267 3268 2001-09-14 Kevin Lo <kevlo@openbsd.org> 3269 3270 * configure.tgt: Add arm-openbsd target. 3271 3272 2001-09-12 H.J. Lu <hjl@gnu.org> 3273 3274 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and 3275 eelf64lppc.o to ... 3276 (ALL_64_EMULATIONS): Here. 3277 * Makefile.in: Regenerated. 3278 3279 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 3280 3281 * emultempl/pe.em(make_import_fixup): change signature to 3282 take asection as well as arelec; we need this for proper 3283 error reporting. Only call pe_create_import_fixup() if 3284 there is no attempt to add a constant addend to the reloc; 3285 otherwise, report error condition. 3286 * pe-dll.c(pe_walk_relocs_of_symbol): change signature, 3287 since final argument is a pointer to make_import_fixup(). 3288 Change call to cb() to match make_import_fixup() signature. 3289 (make_import_fixup_mark): make buffer_len unsigned. 3290 * pe-dll.h: change signature of pe_walk_relocs_of_symbol. 3291 3292 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> 3293 3294 * ld.texinfo: add verbose documentation for auto-import 3295 direct-addressing workaround, to compliment the terse 3296 error message. 3297 3298 2001-09-12 Andrew MacLeod <amacleod@redhat.com> 3299 3300 * scripttempl/v850.sc: Add gcc_except_table sections. 3301 3302 2001-09-11 Jeffrey A Law (law@cygnus.com) 3303 3304 * emulparams/h8300helf.sh: Move stack to a much higher memory address. 3305 * emulparams/h8300self.sh: Similarly. 3306 3307 2001-09-05 Danny Smith <dannysmith@users.souceforge.net> 3308 3309 * ld.texinfo (Options, --stack): Correct default value for stack 3310 reserve. 3311 3312 2001-09-05 Tom Rix <trix@redhat.com> 3313 3314 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. 3315 3316 2001-09-03 Andreas Jaeger <aj@suse.de> 3317 3318 * emultempl/beos.em: Declare prototypes for comparions functions, 3319 adjust definitions. 3320 3321 2001-09-02 Andreas Jaeger <aj@suse.de> 3322 3323 * emultempl/aix.em: Add missing prototype. 3324 * emultempl/lnk960.em: Likewise. 3325 * emultempl/vanilla.em: Likewise. 3326 * emultempl/armcoff.em: Likewise. 3327 * emultempl/armelf_oabi.em: Likewise. 3328 * emultempl/beos.em: Likewise. 3329 * emultempl/gld960c.em: Likewise. 3330 * emultempl/gld960.em: Likewise. 3331 3332 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter 3333 for prototype declaration. 3334 3335 2001-08-31 Eric Christopher <echristo@redhat.com> 3336 Jason Eckhardt <jle@redhat.com> 3337 3338 * ldmain.c (get_emulation): Add support for -mips32 and -mips64. 3339 3340 2001-08-31 Andreas Jaeger <aj@suse.de> 3341 3342 * emultempl/pe.em: Add missing prototypes. 3343 (gld_${EMULATION_NAME}_after_open): Remove extra args to 3344 pe_find_data_imports. 3345 (pr_sym): Add unused attribute. 3346 3347 2001-08-29 Joel Sherrill <joel@OARcorp.com> 3348 3349 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change 3350 default from coff to elf. 3351 3352 2001-08-29 Jeff Law <law@redhat.com> 3353 3354 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update 3355 ARCH specification. 3356 * emulparams/h8300self.sh: Similarly. 3357 3358 2001-08-28 J"orn Rennecke <amylaar@redhat.com> 3359 3360 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and 3361 eh8300self.o . 3362 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. 3363 * configure.tgt (h8300-*-elf*): New case. 3364 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. 3365 * emulparams/h8300self.sh: New file. 3366 * Makefile.in: Regenerated. 3367 3368 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> 3369 3370 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision 3371 with macro name. 3372 3373 2001-08-27 Linus Nordberg <linus@swox.com> 3374 Alan Modra <amodra@bigpond.net.au> 3375 3376 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. 3377 (eelf64ppc.c, eelf64lppc.c): Add make targets. 3378 Run "make dep-am" 3379 * Makefile.in: Regenerate. 3380 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj 3381 entries to correct alphabetical position. 3382 * emulparams/elf64ppc.sh: New. 3383 * emulparams/elf64lppc.sh: New. 3384 3385 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> 3386 3387 * ldmain.c (main): Declare BSIZE as static. 3388 3389 2001-08-23 Jakub Jelinek <jakub@redhat.com> 3390 3391 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections 3392 into .rel.dyn resp. .rela.dyn if combreloc. 3393 (get_script): If .x linker script is equal to .xn, only put it 3394 once into the binary. 3395 Add .xc and .xsc scripts. 3396 (parse_args): Handle -z combreloc and -z nocombreloc. 3397 * scripttempl/elf.sc (.rela.sbss): Fix a typo. 3398 For .xc and .xsc scripts put all .rel* or .rela* input sections 3399 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. 3400 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME 3401 is elf. 3402 Strip trailing whitespace from script. 3403 Generate .xc and .xsc scripts if requested. 3404 * ldmain.c (main): Initialize link_info.combreloc and 3405 link_info.spare_dynamic_tags. 3406 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. 3407 (ld_options): Add --spare-dynamic-tags option. 3408 (parse_args): Likewise. 3409 * ld.texinfo: Document -z combreloc and -z nocombreloc. 3410 * ldint.texinfo: Document .xc and .xsc linker scripts. 3411 * NEWS: Add notes about -z combreloc and SHF_MERGE. 3412 3413 2001-08-22 H.J. Lu <hjl@gnu.org> 3414 3415 * emulparams/elf32fr30.sh: Add a newline. 3416 3417 2001-08-21 Andreas Jaeger <aj@suse.de> 3418 3419 * deffilep.y: Add missing prototypes. 3420 * pe-dll.c: Likewise. 3421 3422 2001-08-20 Alan Modra <amodra@bigpond.net.au> 3423 3424 * ldlang.c (insert_pad): Fix typos in last patch. 3425 3426 * ldlang.c: When traversing lang_statement_union_type lists, 3427 consistently use "header.next" rather than "next". 3428 * mpw-eppcmac.c: Likewise. 3429 * emultempl/beos.em: Likewise. 3430 * emultempl/hppaelf.em: Likewise. 3431 * emultempl/pe.em: Likewise. 3432 * ldlang.h (union lang_statement_union): Remove "next" field. 3433 3434 * ldlang.c (insert_pad): Use offsetof macro. 3435 (lang_size_sections): Always neuter padding statements. 3436 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. 3437 3438 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param 3439 passed to lang_size_sections. 3440 (pe_exe_fill_sections): Likewise. 3441 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. 3442 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. 3443 3444 2001-08-18 Alan Modra <amodra@bigpond.net.au> 3445 3446 * emultempl/aix.em: Formatting fixes. 3447 3448 2001-08-18 Alan Modra <amodra@bigpond.net.au> 3449 3450 * ldlang.c (insert_pad): Make use of an existing pad statement if 3451 available. Move code calculating alignment, adjusting section 3452 alignment power, and adjusting dot to .. 3453 (size_input_section): .. here. Remove unused relax param. 3454 (lang_size_sections): Change boolean `relax' param to boolean *. 3455 Adjust call to size_input_section. Make use of insert_pad to 3456 place pad after the assignment statement. If relaxing, zap 3457 padding statements. 3458 (reset_memory_regions): Reset output_bfd section sizes too. 3459 (relax_again): Move to.. 3460 (lang_process): ..here. Adjust call to lang_size_sections, and 3461 remove duplicated code. 3462 * ldlang.h (lang_size_sections): Change `relax' param to boolean *. 3463 3464 2001-08-17 Alan Modra <amodra@bigpond.net.au> 3465 3466 * ld.texinfo: Document that fill values now use the four least 3467 significant bytes. 3468 * emulparams/elf32fr30.sh (NOP): Update. 3469 * emulparams/elf32mcore.sh: Likewise. 3470 * emulparams/elf64_s390.sh: Likewise. 3471 * emulparams/elf_i386.sh: Likewise. 3472 * emulparams/elf_i386_be.sh: Likewise. 3473 * emulparams/elf_i386_chaos.sh: Likewise. 3474 * emulparams/elf_i386_ldso.sh: Likewise. 3475 * emulparams/elf_s390.sh: Likewise. 3476 * emulparams/elf_x86_64.sh: Likewise. 3477 * emulparams/i386moss.sh: Likewise. 3478 * emulparams/i386nw.sh: Likewise. 3479 * emulparams/m68kelf.sh: Likewise. 3480 * scripttempl/elf.sc: Update NOP comment. 3481 * scripttempl/elfi370.sc: Likewise. 3482 * scripttempl/elfm68hc11.sc: Likewise. 3483 * scripttempl/elfm68hc12.sc: Likewise. 3484 * scripttempl/nw.sc: Likewise. 3485 3486 2001-08-15 Tom Rix <trix@redhat.com> 3487 3488 * ldgram.y (saved_script_handle): Initialize to NULL. 3489 * ldmain.c (main): Change check on saved_script_handle. 3490 3491 2001-08-14 Alan Modra <amodra@bigpond.net.au> 3492 3493 * emultempl/elf32.em: Formatting fixes. 3494 (output_prev_sec_find): Test for bfd_ind_section too; do so by 3495 looking at sec->owner. 3496 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. 3497 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove 3498 unused code, and reorganize orphan section placement code. 3499 3500 * ldlang.c (wild_doit): Rename to lang_add_section. 3501 * ldlang.h: Here too. 3502 * mpw-elfmips.c: And here. 3503 * emultempl/beos.em: And here. 3504 * emultempl/elf32.em: And here. 3505 * emultempl/hppaelf.em: And here. 3506 * emultempl/pe.em: And here. 3507 3508 2001-08-13 Richard Henderson <rth@redhat.com> 3509 3510 * emultempl/needrelax.em: New file. 3511 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. 3512 * Makefile.am (eelf64_ia64.c): Depend on it. 3513 * Makefile.in: Rebuild. 3514 3515 2001-08-13 Alan Modra <amodra@bigpond.net.au> 3516 3517 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that 3518 output_section is set non-NULL. 3519 3520 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return 3521 `true' for SEC_EXCLUDE sections so that the generic code doesn't 3522 needlessly create an output_section_statement. Treat a correctly 3523 named output_section_statement with NULL bfd_section as compatible. 3524 3525 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com> 3526 3527 * emultempl/generic.em: Support EXTRA_EM_FILE. 3528 (ld_${EMULATION_NAME}_emulation): Support emulation parameters 3529 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, 3530 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, 3531 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, 3532 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, 3533 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, 3534 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, 3535 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, 3536 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, 3537 LDEMUL_FIND_POTENTIAL_LIBRARIES. 3538 3539 2001-08-12 Richard Henderson <rth@redhat.com> 3540 3541 * scripttempl/elf.sc, scripttempl/elfd30v.sc, 3542 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, 3543 scripttempl/v850.sc: Keep .jcr data. 3544 3545 2001-08-12 H.J. Lu <hjl@gnu.org> 3546 Andrew Haley <aph@cambridge.redhat.com> 3547 Nick Clifton <nickc@redhat.com> 3548 3549 * ldgram.y (had_script): Change name to saved_script_handle. 3550 Change type to file handle. 3551 * ld.h (had_script): Rename and retype. 3552 * ldfile.c (ldfile_open_command_file): Save the file handle 3553 used in saved_script_handle. 3554 * lexsup.c (parse_args): Do not allow -c option to alter 3555 saved_script_handle. 3556 * ldmain.c (main): Print out the linker script used if 3557 --verbose is given. Check saved_script_handle to obtain the 3558 external linker script used, or if NULL, dump the builtin 3559 script. 3560 * ld.texinfo: Document that --verbose now dumps the linker 3561 script used, regardless of whether it was an internal or an 3562 external script. 3563 3564 2001-08-10 Andreas Jaeger <aj@suse.de> 3565 3566 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes 3567 to build warnings. 3568 * configure: Regenerate. 3569 3570 2001-08-09 Alan Modra <amodra@bigpond.net.au> 3571 3572 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. 3573 3574 * scripttempl/elf.sc: Move non-text .dynamic section before 3575 .plt/.got/.sdata* group. 3576 (OTHER_GOT_SECTIONS): Move to immediately after .got. 3577 (OTHER_SDATA_SECTIONS): Add. 3578 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than 3579 OTHER_GOT_SECTIONS. 3580 * emulparams/crislinux.sh: Likewise. 3581 * emulparams/elf32b4300.sh: Likewise. 3582 * emulparams/elf32bmip.sh: Likewise. 3583 * emulparams/elf32bmipn32.sh: Likewise. 3584 * emulparams/elf32bsmip.sh: Likewise. 3585 * emulparams/elf32btsmip.sh: Likewise. 3586 * emulparams/elf32ebmip.sh: Likewise. 3587 * emulparams/elf32elmip.sh: Likewise. 3588 * emulparams/elf32l4300.sh: Likewise. 3589 * emulparams/elf32lmip.sh: Likewise. 3590 * emulparams/elf32lsmip.sh: Likewise. 3591 * emulparams/elf32ltsmip.sh: Likewise. 3592 * emulparams/elf64bmip.sh: Likewise. 3593 * emulparams/elf64btsmip.sh: Likewise. 3594 * emulparams/elf64ltsmip.sh: Likewise. 3595 3596 2001-08-08 Alan Modra <amodra@bigpond.net.au> 3597 3598 * genscripts.sh: Source the emulparams script before each output 3599 script is generated so that variables like `RELOCATING' may affect 3600 variables defined in the emulparams script. 3601 3602 2001-08-04 Alan Modra <amodra@bigpond.net.au> 3603 3604 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this 3605 order. 3606 3607 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, 3608 ie. iterate over wild_statement.section_list. 3609 (gld${EMULATION_NAME}_place_orphan): Likewise. 3610 3611 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> 3612 3613 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle 3614 .fini[0-4] sections used by _exit 3615 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. 3616 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. 3617 * scripttempl/elfm68hc11.sc: Likewise. 3618 3619 2001-08-03 H.J. Lu <hjl@gnu.org> 3620 3621 * emultempl/beos.em (init): Add the missing initialization. 3622 3623 2001-08-03 Alan Modra <amodra@bigpond.net.au> 3624 3625 * ld.texinfo (Input Section Basics): Clarify ordering of output 3626 sections. 3627 * ldlang.c (callback_t): Add wildcard_list param. 3628 (walk_wild_section): Remove "section" param. Rewrite for 3629 lang_wild_statement_type change. Remove unique_section_p test. 3630 (walk_wild_file): Remove "section" param. 3631 (walk_wild): Remove "section" and "file" params. 3632 (lang_gc_wild): Likewise. 3633 (wild): Likewise. Modify for lang_wild_statement_type change. 3634 (wild_sort): Likewise. Add "sec" param. 3635 (gc_section_callback): Likewise. 3636 (output_section_callback): Likewise. Do unique_section_p test. 3637 (map_input_to_output_sections): Modify call to wild. 3638 (lang_gc_sections_1): Likewise. 3639 (print_wild_statement): Modify for lang_wild_statement_type 3640 change. 3641 (lang_add_wild): Replace filename, filenames_sorted param with 3642 filespec. Replace section_name, sections_sorted, 3643 exclude_filename_list with section_list. 3644 * ldlang.h (lang_add_wild): Here too. 3645 (lang_wild_statement_type): Replace section_name, sections_sorted, 3646 and exclude_filename_list with section_list. 3647 * ldgram.y (current_file): Delete. 3648 (%union): Add wildcard_list. 3649 (file_NAME_list): Set type to wildcard_list. Build a linked list 3650 rather than calling lang_add_wild for each entry. 3651 (input_section_spec_no_keep): Call lang_add_wild here instead. 3652 * ld.h (struct wildcard_list): Declare. 3653 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. 3654 3655 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> 3656 3657 * ldmain.c (main): initialize link_info.pei386_auto_import 3658 * pe-dll.c: new tables for auto-export filtering 3659 (auto_export): change API, pass abfd for contextual filtering. 3660 Loop thru tables of excluded symbols instead of comparing 3661 "by hand". 3662 3663 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> 3664 3665 * pe-dll.c: new variable pe_dll_enable_extra_debug. New 3666 static variable current_sec (static struct sec *). Add 3667 forward declaration for add_bfd_to_link. 3668 (process_def_file): Don't export undefined symbols. Do not 3669 export symbols starting with "_imp__". Call auto_export() 3670 with new API. 3671 (pe_walk_relocs_of_symbol): New function. 3672 (generate_reloc): add optional extra debugging 3673 (pe_dll_generate_def_file): eliminate extraneous initial blank 3674 line in output 3675 (make_one): enlarge symtab to make room for __nm__ symbols 3676 (DATA auto-import support). 3677 (make_singleton_name_thunk): New function. 3678 (make_import_fixup_mark): New function. 3679 (make_import_fixup_entry): New function. 3680 (pe_create_import_fixup): New function. 3681 (add_bfd_to_link): Specify that 'name' argument is a CONST 3682 char *. 3683 * pe-dll.h: declare new variable pe_dll_extra_pe_debug; 3684 declare new functions pe_walk_relocs_of_symbol and 3685 pe_create_import_fixup. 3686 * emultempl/pe.em: add new options --enable-auto-import, 3687 --disable-auto-import, and --enable-extra-pe-debug. 3688 (make_import_fixup): New function. 3689 (pe_find_data_imports): New function. 3690 (pr_sym): New function. 3691 (gld_${EMULATION_NAME}_after_open): Add optional extra pe 3692 debugging. Call pe_find_data_imports. Mark .idata as DATA, not 3693 CODE. 3694 3695 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> 3696 3697 * ld.texinfo: add additional documentation for 3698 --export-all-symbols. Document --out-implib, 3699 --enable-auto-image-base, --disable-auto-image-base, 3700 --dll-search-prefix, --enable-auto-import, and 3701 --disable-auto-import. 3702 * ldint.texinfo: Add detailed documentation on auto-import 3703 implementation. 3704 3705 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> 3706 3707 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS 3708 example. 3709 3710 2001-07-24 Alan Modra <amodra@bigpond.net.au> 3711 3712 * Makefile.am: Update dependencies with "make dep-am". 3713 * Makefile.in: Regenerate 3714 3715 2001-07-23 Alan Modra <amodra@bigpond.net.au> 3716 3717 * ldcref.c (check_section_sym_xref): New function. 3718 (check_nocrossrefs): Call it. 3719 (check_nocrossref): Interate over h->refs here instead of.. 3720 (check_refs): ..here. Pass in the symbol name, section, and bfd 3721 rather than hash_entry pointers. 3722 (struct check_refs_info): Keep symbol name rather than hash entry. 3723 Remove "same". 3724 (check_reloc_refs): Tweak for above changes in check_refs_info. 3725 Only report references to section syms when symname is NULL to 3726 prevent duplicate messages for the same reloc. 3727 3728 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com> 3729 3730 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not 3731 available. Do not print NULL trees. 3732 (exp_print_token): Print unknown tokens with values > 126 as 3733 decimal values not ASCII characters. 3734 3735 * ldlang.c (lang_leave_overlay): If a region is specified assign 3736 it to all sections inside the overlay unless they have been 3737 assigned to the own, non-default, memory region. 3738 3739 * README: Add header for consistency with other README files. 3740 3741 2001-07-14 H.J. Lu <hjl@gnu.org> 3742 3743 * emultempl/elf32.em (output_prev_sec_find): Never return 3744 bfd_abs_section_ptr, bfd_com_section_ptr nor 3745 bfd_und_section_ptr. 3746 3747 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com> 3748 3749 * Makefile.am (em32relf.c): Change dependency from generic.em to 3750 elf32.em. 3751 * Makefile.in: Regenerate. 3752 3753 2001-07-14 matthew green <mrg@eterna.com.au> 3754 3755 * configure.tgt (i386-*-netbsdelf*): New target. 3756 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' 3757 3758 2001-07-13 Jakub Jelinek <jakub@redhat.com> 3759 3760 * emultempl/elf32.em (output_prev_sec_find): New. 3761 (place_orphan): Use it. 3762 3763 2001-07-11 H.J. Lu <hjl@gnu.org> 3764 3765 * ldmain.c (main): Fix typos in the last change. 3766 3767 2001-07-11 Jakub Jelinek <jakub@redhat.com> 3768 3769 * ldmain.c (main): Disallow -F and -f without -shared. 3770 3771 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com> 3772 3773 * emultempl/pe.em (after_open): Check for the output_bfd not 3774 having any coff_data structure allocated to it. 3775 3776 2001-07-09 David O'Brien <obrien@FreeBSD.org> 3777 3778 * emultempl/elf32.em: Do not assuming that contents of the buffer 3779 returned from basename function will remain unchanged accross other 3780 function calls. 3781 3782 2001-07-03 H.J. Lu <hjl@gnu.org> 3783 3784 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on 3785 2001-07-03. It creates dynamic entries even for static binaries. 3786 3787 2001-07-03 Jakub Jelinek <jakub@redhat.com> 3788 3789 * scripttempl/elf.sc (DYNAMIC_PAD): New variable. 3790 (DYNAMIC): Use it to reserve few dynamic entries for 3791 post-linking tools. 3792 3793 2001-06-27 Alan Modra <amodra@bigpond.net.au> 3794 3795 * emulparams/hppa64linux.sh: New file. 3796 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh 3797 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o 3798 (ehppa64linux.c): Add rule to make it. 3799 Run "make dep-am". 3800 * Makefile.in: Regenerate. 3801 3802 2001-06-21 Hans-Peter Nilsson <hp@axis.com> 3803 3804 * ld.texinfo (Options, -r): Mention restrictions when using 3805 different object formats. 3806 3807 2001-06-19 Hans-Peter Nilsson <hp@axis.com> 3808 3809 * ldlang.c (lang_check): Emit fatal error if relocatable link 3810 between different object flavours with relocations in input. 3811 3812 2001-06-19 H.J. Lu <hjl@gnu.org> 3813 3814 * ld.texinfo (-E, --export-dynamic): Mention --version-script. 3815 (--version-script): Mention the language support. 3816 3817 2001-06-19 H.J. Lu <hjl@gnu.org> 3818 3819 * ldlang.c (lang_check): Revert the change mode on 2001-06-15. 3820 3821 2001-06-18 H.J. Lu <hjl@gnu.org> 3822 3823 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. 3824 (diststuff): Add $(MANS). 3825 * Makefile.in: Regenerated. 3826 3827 * ld.1: Removed. 3828 3829 2001-06-18 Hans-Peter Nilsson <hp@axis.com> 3830 3831 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 3832 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. 3833 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. 3834 * ld.h (args_type): Remove member export_dynamic. All users 3835 changed to use struct bfd_link_info member. 3836 3837 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on 3838 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. 3839 * Makefile.in: Regenerate. 3840 3841 2001-06-18 H.J. Lu <hjl@gnu.org> 3842 3843 * ldlang.c (init_os): Add the newline to the einfo call. 3844 (lang_check): Likewise. 3845 (lang_do_version_exports_section): Likewise. 3846 3847 2001-06-15 H.J. Lu <hjl@gnu.org> 3848 3849 * lexsup.c (parse_args); Save optind to report unrecognized 3850 option. 3851 3852 2001-06-15 Hans-Peter Nilsson <hp@axis.com> 3853 3854 * ldlang.c (lang_check): Emit fatal error if relocatable link 3855 between different object flavours. 3856 3857 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: 3858 Set new link_info member export_dynamic. 3859 * ldmain.c (main): Initialize new link_info member export_dynamic. 3860 3861 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 3862 3863 * ldlang.c (walk_wild): Only call walk_wild_file if 3864 lookup_name returns something. 3865 (lookup_name): If load_symbols fails, return NULL. 3866 (load_symbols): Change to a boolean function. 3867 (open_input_bfds): If load_symbols fails then do not make the 3868 executable. 3869 3870 2001-06-08 Alan Modra <amodra@bigpond.net.au> 3871 3872 * ldlang.c (record_bfd_errors): Remove. 3873 3874 * emultempl/aix.em: Fix copyright dates. 3875 1 3876 2001-06-07 Andreas Jaeger <aj@suse.de> 2 3877 … … 4 3879 (TEXT_START_ADDR): Likewise. 5 3880 6 2001-06-11 Alan Modra <amodra@bigpond.net.au> 7 8 Merge from mainline. 9 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 3881 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> 3882 3883 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. 3884 3885 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 3886 10 3887 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. 11 3888 12 2001-05-25 Alan Modra <amodra@one.net.au> 3889 2001-05-31 H.J. Lu <hjl@gnu.org> 3890 3891 * ldlang.c (open_input_bfds): Don't change the bfd error 3892 handler whilst loading symbols. 3893 3894 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> 3895 3896 * configure.tgt: Remove i370-mvs architecture, it is not currently 3897 supported. 3898 3899 2001-05-25 H.J. Lu <hjl@gnu.org> 3900 3901 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK 3902 like emulparams/aixppc.sh. 3903 3904 2001-05-25 H.J. Lu <hjl@gnu.org> 3905 3906 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move 3907 setting of output_filename after bfd_scan_arch. 3908 * emultempl/pe.em: Likewise. 3909 3910 2001-05-25 H.J. Lu <hjl@gnu.org> 3911 3912 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK 3913 like emulparams/aixppc.sh. 3914 3915 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed 3916 instead of ${srcdir}/emultempl/stringify.sed. 3917 3918 2001-05-25 Timothy Wall <twall@oculustech.com> 3919 3920 * emulparams/elf64_aix.sh: Change settings to match IBM linker 3921 output. 3922 3923 2001-05-25 Alan Modra <amodra@one.net.au> 3924 13 3925 * configure.host: Replace linuxoldld with linux*oldld. 14 3926 * configure.tgt: Likewise. 15 3927 16 2001-05-14 DJ Delorie <dj@delorie.com> 3928 2001-05-24 H.J. Lu <hjl@gnu.org> 3929 3930 * emultempl/stringify.sed: Removed again. 3931 3932 2001-05-24 H.J. Lu <hjl@gnu.org> 3933 3934 * emultempl/aix.em (OUTPUT_ARCH): Defined. 3935 (gld${EMULATION_NAME}_before_parse): Initialize 3936 ldfile_output_architecture, ldfile_output_machine and 3937 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. 3938 * emultempl/beos.em: Likewise. 3939 * emultempl/elf32.em: Likewise. 3940 * emultempl/linux.em: Likewise. 3941 * emultempl/mipsecoff.em: Likewise. 3942 * emultempl/pe.em: Likewise. 3943 * emultempl/sunos.em: Likewise. 3944 3945 2001-05-24 Tom Rix <trix@redhat.com> 3946 3947 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) 3948 udate import file format. 3949 (change_symbol_mode) New, same 3950 (is_syscall) New, same 3951 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK 3952 * emulparams/aixppc64.sh : same 3953 * emulparams/aixrs6.sh : same 3954 * emulparams/ppcmacos.sh : same 3955 * emultempl/aix.em : use strtoull to parse options 3956 * Makefile.am : add eaixppc64 emulation for xcoff64 3957 * Makefile.in : same 3958 * configure.tgt : same 3959 3960 * scripttempl/aix.sc : default text section offset to 0x10000000 3961 default data section offset to 0x20000000 3962 add .sv3264 and .sv64 pseudo sections 3963 loader and debug sections use the currect section offset. 3964 3965 * emultempl/aix.em : Add xcoff64 support 3966 Add -binitfini support 3967 (gld${EMULATION_NAME}_before_parse) -binitfini 3968 (gld${EMULATION_NAME}_parse_args) same 3969 (gld${EMULATION_NAME}_before_allocation) format change for special 3970 sections 3971 3972 * emulparams/aixppc64.sh : New file for xcoff64 support 3973 3974 2001-05-23 Alexandre Oliva <aoliva@redhat.com> 3975 3976 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new 3977 variable to avoid non-portable shell construct. 3978 3979 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 3980 3981 * ldmain.c (get_emulation): Add -mips5 command line argument. 3982 3983 2001-05-22 Alexandre Oliva <aoliva@redhat.com> 3984 3985 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. 3986 (ELF_INTERPRETER_NAME): Define it. 3987 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use 3988 it. 3989 * configure.tgt (targ_emul, targ_extra_emuls) 3990 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso 3991 as primary, elf_i386 as extra. 3992 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. 3993 (eelf_i386_ldso.c): New rule. 3994 * Makefile.in: Rebuilt. 3995 3996 2001-05-22 Nick Clifton <nickc@redhat.com> 3997 3998 * lexsup.c (ld_options): Allow -I to be an alias for 3999 --dynamic-linker. This is for Solaris compatability. 4000 * ld.texinfo: Document that -I can be used. 4001 * ld.1: Regenerate. 4002 4003 2001-05-16 Alan Modra <amodra@one.net.au> 4004 4005 * ldlang.c (wild_doit): Use linker_has_input to reliably determine 4006 whether an input section is the first one assigned to an output 4007 section. 4008 Assorted formatting fixes. 4009 4010 2001-05-14 DJ Delorie <dj@delorie.com> 4011 17 4012 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. 18 4013 * Makefile.in: Ditto. 19 4014 20 2001-04-05 Steven J. Hill <sjhill@cotw.com> 4015 2001-05-11 Jakub Jelinek <jakub@redhat.com> 4016 4017 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put 4018 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* 4019 output sections. 4020 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. 4021 4022 2001-05-11 Jakub Jelinek <jakub@redhat.com> 4023 4024 * ldlang.c (lang_process): Call bfd_merge_sections. 4025 4026 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 4027 4028 * ldgram.y: Fix typo. 4029 4030 2001-05-03 H.J. Lu <hjl@gnu.org> 4031 4032 * emultempl/elf32.em: Include "libiberty.h". 4033 (gld${EMULATION_NAME}_vercheck): Call basename () to get the 4034 basename of the bfd filename. 4035 (gld${EMULATION_NAME}_stat_needed): Likewise. 4036 (gld${EMULATION_NAME}_try_needed): Likewise. 4037 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. 4038 4039 2001-05-02 H.J. Lu <hjl@gnu.org> 4040 4041 * emultempl/pe.em: Include <ctype.h>. 4042 4043 2001-05-02 Johan Rydberg <jrydberg@opencores.org> 4044 4045 * emulparams/elf32openrisc.sh: New file. 4046 4047 * Makefile.am: Add OpenRISC target. 4048 * Makefile.in: Regenerated. 4049 4050 * configure.tgt: Add openrisc-*-* mapping. 4051 4052 2001-05-02 Nick Clifton <nickc@redhat.com> 4053 4054 * emultempl/aix.em: Replace buystring with xstrdup. 4055 * emultempl/beos.em: Replace buystring with xstrdup. 4056 4057 2001-05-02 H.J. Lu <hjl@gnu.org> 4058 4059 * ldfile.c: Include "libiberty.h". 4060 * ldlex.l: Likewise. 4061 4062 * ldmisc.c (buystring): Removed. 4063 * ldmisc.h: Likewise. 4064 4065 * ldfile.c: Replace buystring with xstrdup. 4066 * ldlang.c: Likewise. 4067 * ldlex.l: Likewise. 4068 * ldmain.c: Likewise. 4069 * ldmisc.c: Likewise. 4070 * lexsup.c: Likewise. 4071 * mpw-eppcmac.c: Likewise. 4072 4073 2001-04-30 Andreas Jaeger <aj@suse.de> 4074 4075 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. 4076 4077 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 4078 4079 * ldlang.c (load_symbols): Give emulation a chance 4080 to process unrecognized file before fatal error is 4081 reported, not after. 4082 4083 2001-04-27 Sean McNeil <sean@mcneil.com> 4084 4085 * configure.tgt: Add arm-vxworks target. 4086 * scripttempl/armcoff.sc: Support .text or .data as a section name 4087 prefix. 4088 Define _etext. 4089 4090 2001-04-13 J.T. Conklin <jtc@redback.com> 4091 4092 * ld.texinfo: Document --fatal-warnings. 4093 * ld.1: Regenerate. 4094 4095 * ldmisc.c (vfinfo): Set flag to inhibit making executable if 4096 warnings have been turned into errors. 4097 * lexsup.c (OPTION_WARN_FATAL): Define. 4098 (ld_options): Entry for --fatal-warnings. 4099 (parse_args): Handle OPTION_WARN_FATAL. 4100 * ld.h (ld_config_type): Add fatal_warnings field. 4101 4102 2001-04-13 Jakub Jelinek <jakub@redhat.com> 4103 4104 * ldmain.c (main): Default to discard_sec_merge. 4105 * lexsup.c (OPTION_DISCARD_NONE): Define. 4106 (ld_options): Add --discard-none. 4107 (parse_args): Handle OPTION_DISCARD_NONE. 4108 * ldlang.c (wild_doit): SEC_MERGE should be set in the output 4109 section only if SEC_MERGE and SEC_STRINGS flags and entsize of 4110 all its input sections match. 4111 4112 2001-04-05 Steven J. Hill <sjhill@cotw.com> 4113 21 4114 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. 22 4115 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. … … 25 4118 (eelf64ltsmip.c): Likewise. 26 4119 * Makefile.in: Regenerated. 4120 27 4121 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS 28 4122 target. 29 4123 (mips*-*-linux-gnu*): Likewise. 4124 30 4125 * emulparams/elf32ltsmip.sh: New. Traditional little endian 31 4126 MIPS taget. … … 35 4130 endian target. 36 4131 37 2001-02-27 Alan Modra <alan@linuxcare.com.au> 4132 2001-04-05 Hans-Peter Nilsson <hp@axis.com> 4133 4134 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide 4135 correct value of __Stext here. 4136 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of 4137 .startup section. 4138 4139 * emulparams/crislinux.sh: Remove FIXME. 4140 4141 2001-04-02 Alan Modra <alan@linuxcare.com.au> 4142 4143 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. 4144 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. 4145 4146 2001-03-27 Hans-Peter Nilsson <hp@axis.com> 4147 4148 * configure.tgt (cris-*-*): Change default emulation to criself. 4149 (cris-*-*aout*): New rule. 4150 4151 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> 4152 4153 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. 4154 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 4155 4156 2001-03-26 Andreas Jaeger <aj@suse.de> 4157 4158 * ld.texinfo (Overview): Fix syntax in texi code. 4159 4160 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> 4161 4162 * ld.texinfo: Put @c man indications to generate the ld man page. 4163 When generating man, define all the variables. Define SEEALSO 4164 and SYNOPSIS. Re-organize some lines to avoid the cross references. 4165 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. 4166 (ld.1): Generate from ld.texinfo. 4167 * Makefile.in: Regenerate. 4168 4169 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> 4170 4171 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' 4172 and '-fdata-sections'. Set the VMA of STABS sections to zero. 4173 4174 2001-03-17 Ulrich Drepper <drepper@redhat.com> 4175 4176 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME 4177 is an absolute path look only for this file and not along the path. 4178 4179 2001-03-17 Ulrich Drepper <drepper@redhat.com> 4180 4181 * emultempl/elf32.em (OPTION_GROUP): New macro. 4182 Add new option Bgroup to longopts. 4183 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. 4184 (gld*_list_options): Add -Bgroup and -z defs. 4185 * ld.1: Document -Bgroup and -z defs. 4186 * ld.texinfo: Likewise. 4187 4188 2001-03-07 Michael Meissner <meissner@redhat.com> 4189 4190 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal 4191 with sections created by -fdata-sections. 4192 (.dynbss,.bss): Ditto. 4193 4194 2001-03-05 Alan Modra <alan@linuxcare.com.au> 4195 4196 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call 4197 after_allocation_default, not gld..._before_allocation. 4198 4199 2001-02-27 Alan Modra <alan@linuxcare.com.au> 4200 38 4201 * configure.in (BFD_VERSION): New. 39 4202 (AM_INIT_AUTOMAKE): Use $BFD_VERSION. 40 4203 * configure: Regenerate. 41 42 2001-02-13 H.J. Lu <hjl@gnu.org> 4204 * Makefile.am: Run "make dep-am" 4205 * Makefile.in: Regenerate. 4206 4207 2001-02-26 Timothy Wall <twall@cygnus.com> 4208 4209 * emulparams/elf64_aix.sh: Add additional read-only sections; 4210 uncomment lines which are now required. 4211 4212 2001-02-26 H.J. Lu <hjl@gnu.org> 4213 4214 * ldlang.c (open_input_bfds): Set the bfd error handler so 4215 that problems can be caught whilst loading symbols. 4216 (record_bfd_errors): New function: Report BFD errors and mark 4217 the executable output as being invalid. 4218 4219 2001-02-22 Timothy Wall <twall@cygnus.com> 4220 4221 * configure.host: Add configuration for ia64-*-aix*. 4222 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. 4223 Add dependencies for eelf64_aix.c. 4224 * Makefile.in: Regenerate. 4225 * configure.tgt: Add ia64-*-aix* mapping. 4226 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. 4227 4228 2001-02-20 H.J. Lu <hjl@gnu.org> 4229 4230 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to 4231 false if we found the file. 4232 4233 2001-02-18 David O'Brien <obrien@FreeBSD.org> 4234 4235 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, 4236 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. 4237 4238 2001-02-18 lars brinkhoff <lars@nocrew.org> 4239 4240 * Makefile.am: Add PDP-11 target. 4241 * configure.tgt: Likewise. 4242 * emulparams/pdp11.sh: New file. 4243 4244 2001-02-17 David O'Brien <obrien@FreeBSD.org> 4245 4246 * configure.host: Add a generic FreeBSD configuration entry such that 4247 all [modern] FreeBSD systems on all platforms will look the same. 4248 4249 2001-02-14 H.J. Lu <hjl@gnu.org> 4250 4251 * configure.tgt: Remove mention of earmelf_linux26. 4252 4253 2001-02-13 Richard Henderson <rth@redhat.com> 4254 4255 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. 4256 4257 2001-02-13 H.J. Lu <hjl@gnu.org> 4258 43 4259 * ldexp.h (node_type): Add etree_provided. 44 4260 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node … … 49 4265 etree_provided. 50 4266 51 2001-06-10 Philip Blundell <philb@gnu.org> 52 53 * configure.in: Set version to 2.11.1. 54 * configure: Regenerate. 55 56 2001-06-08 Alan Modra <amodra@bigpond.net.au> 57 58 * ldlang.c (record_bfd_errors): Remove. 59 60 Merge from mainline. 61 2001-05-31 H.J. Lu <hjl@gnu.org> 62 * ldlang.c (open_input_bfds): Don't change the bfd error 63 handler whilst loading symbols. 64 65 2001-05-02 Nick Clifton <nickc@redhat.com> 66 * emultempl/aix.em: Replace buystring with xstrdup. 67 * emultempl/beos.em: Replace buystring with xstrdup. 68 69 2001-06-07 Alan Modra <amodra@bigpond.net.au> 70 71 * Many files: Update copyright notices. 72 73 2001-05-23 Alan Modra <amodra@one.net.au> 74 75 * ldlang.c (wild_doit): Use linker_has_input to reliably determine 76 whether an input section is the first one assigned to an output 77 section. 78 Assorted formatting fixes. 79 80 Merge from mainline. 81 2001-05-03 H.J. Lu <hjl@gnu.org> 82 * emultempl/elf32.em: Include "libiberty.h". 83 (gld${EMULATION_NAME}_vercheck): Call basename () to get the 84 basename of the bfd filename. 85 (gld${EMULATION_NAME}_stat_needed): Likewise. 86 (gld${EMULATION_NAME}_try_needed): Likewise. 87 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. 88 89 2001-03-17 Ulrich Drepper <drepper@redhat.com> 90 * emultmpl/elf32.em (OPTION_GROUP): New macro. 91 Add new option Bgroup to longopts. 92 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. 93 (gld*_list_options): Add -Bgroup and -z defs. 94 * ld.1: Document -Bgroup and -z defs. 95 * ld.texinfo: Likewise. 96 97 2001-02-01 Nick Clifton <nickc@redhat.com> 98 * ld.1: Replace occurances of -oformat with --oformat. 99 100 2001-05-02 H.J. Lu <hjl@gnu.org> 101 * ldfile.c: Include "libiberty.h". 102 * ldlex.l: Likewise. 103 * ldmisc.c (buystring): Removed. 104 * ldmisc.h: Likewise. 105 * ldfile.c: Replace buystring with xstrdup. 106 * ldlang.c: Likewise. 107 * ldlex.l: Likewise. 108 * ldmain.c: Likewise. 109 * ldmisc.c: Likewise. 110 * lexsup.c: Likewise. 111 * mpw-eppcmac.c: Likewise. 112 113 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 114 * ldlang.c (load_symbols): Give emulation a chance 115 to process unrecognized file before fatal error is 116 reported, not after. 117 118 2001-02-26 H.J. Lu <hjl@gnu.org> 119 * ldlang.c (open_input_bfds): Set the bfd error handler so 120 that problems can be caught whilst loading symbols. 121 (record_bfd_errors): New function: Report BFD errors and mark 122 the executable output as being invalid. 123 124 2001-04-02 Alan Modra <alan@linuxcare.com.au> 125 126 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. 127 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. 128 129 2001-03-27 Hans-Peter Nilsson <hp@axis.com> 130 131 * configure.tgt (cris-*-*): Change default emulation to criself. 132 (cris-*-*aout*): New rule. 133 134 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> 135 136 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. 137 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 138 139 2001-03-17 Ulrich Drepper <drepper@redhat.com> 140 141 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME 142 is an absolute path look only for this file and not along the path. 143 144 2001-03-16 Philip Blundell <philb@gnu.org> 145 146 * configure: Regenerate. 147 148 2001-03-11 Philip Blundell <philb@gnu.org> 149 150 * configure.in: Set version to 2.11. 151 152 2001-03-05 Alan Modra <alan@linuxcare.com.au> 153 154 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call 155 after_allocation_default, not gld..._before_allocation. 156 157 001-02-18 David O'Brien <obrien@FreeBSD.org> 158 159 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, 160 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. 161 162 2001-02-17 David O'Brien <obrien@FreeBSD.org> 163 164 * configure.host: Add a generic FreeBSD configuration entry such that 165 all [modern] FreeBSD systems on all platforms will look the same. 166 167 2001-02-13 Richard Henderson <rth@redhat.com> 168 169 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. 170 171 2001-02-11 Philip Blundell <philb@gnu.org> 172 173 * Makefile.am: Remove mention of earmelf_linux26.o. 174 * Makefile.in: Regenerate. 4267 2001-02-09 David Mosberger <davidm@hpl.hp.com> 4268 4269 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add 4270 .IA_64.unwind.* pattern to unwind table section and 4271 .IA_64.unwind_info* pattern to unwind info section. 4272 4273 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> 4274 4275 * Makefile.am: Add linux target for S/390. 4276 * Makefile.in: Likewise. 4277 * configure.host: Likewise. 4278 * configure.tgt: Likewise. 4279 * emulparams/elf64_s390.sh: New file. 4280 * emulparams/elf_s390.sh: New file. 4281 4282 2001-02-09 Jakub Jelinek <jakub@redhat.com> 4283 4284 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into 4285 targ_extra_libpath. 4286 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. 4287 4288 2001-02-06 Philip Blundell <philb@gnu.org> 4289 4290 * Makefile.am: Remove mention of earmelf_linux26. 4291 * Makefile.in: Regenerate. 4292 4293 2001-02-04 Philip Blundell <philb@gnu.org> 4294 175 4295 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. 176 4296 * emulparams/armelf_linux26.sh: Delete. 177 4297 * configure.tgt: Remove mention of armelf_linux26 emulation. 178 4298 179 2001-02-09 David Mosberger <davidm@hpl.hp.com> 180 181 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add 182 .IA_64.unwind.* pattern to unwind table section and 183 .IA_64.unwind_info* pattern to unwind info section. 4299 2001-02-01 Nick Clifton <nickc@redhat.com> 4300 4301 * ld.1: Replace occurances of -oformat with --oformat. 184 4302 185 4303 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> … … 337 4455 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. 338 4456 339 Mon Dec 11 14:50:33 MET 2000Jan Hubicka <jh@suse.cz>4457 2000-12-11 Jan Hubicka <jh@suse.cz> 340 4458 341 4459 * NEWS: Add note about x86_64 architecture. … … 346 4464 Set DWARF2 sections to a VMA of zero. 347 4465 348 2000-12-01 Joel Sherrill<joel@OARcorp.com>4466 2000-12-01 Joel Sherrill <joel@OARcorp.com> 349 4467 350 4468 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): … … 406 4524 * scripttempl/h8300s.sc: Likewise. 407 4525 408 Tue Nov 14 00:59:19 2000Denis Chertykov <denisc@overta.ru>4526 2000-11-14 Denis Chertykov <denisc@overta.ru> 409 4527 410 4528 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. … … 1365 5483 * lexsup.c (parse_args): `i' == `r', not `q'. 1366 5484 1367 Thu May 18 10:47:57 2000Jeffrey A Law (law@cygnus.com)5485 2000-05-18 Jeffrey A Law (law@cygnus.com) 1368 5486 1369 5487 * configure.tgt (hppa*64*-*-*): Enable PA64 target. … … 1406 5524 strtoul. 1407 5525 1408 Mon May 1 17:34:34 2000Jim Wilson <wilson@cygnus.com>5526 2000-05-01 Jim Wilson <wilson@cygnus.com> 1409 5527 1410 5528 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. … … 1417 5535 * ld.h: Correctly check GCC version. 1418 5536 1419 Tue Apr 25 11:20:43 2000Jeffrey A Law (law@cygnus.com)5537 2000-04-25 Jeffrey A Law (law@cygnus.com) 1420 5538 1421 5539 * Makefile.am: Add PA64 support. Add missing dependencies for … … 1456 5574 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. 1457 5575 1458 Fri Apr 21 13:20:53 2000Richard Henderson <rth@cygnus.com>1459 5576 2000-04-21 Richard Henderson <rth@cygnus.com> 5577 David Mosberger <davidm@hpl.hp.com> 1460 5578 1461 5579 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. … … 1536 5654 * ld.texinfo (Simple Example): Remove extraneous paragraph. 1537 5655 1538 Fri Apr 7 15:56:57 2000Andrew Cagney <cagney@b1.cygnus.com>5656 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> 1539 5657 1540 5658 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add … … 1764 5882 (lang_abs_symbol_at_end_of) Section end symbol's value is 1765 5883 recorded in target bytes. 1766 * ld.texinfo: 5884 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. 1767 5885 to be clear about behavior when an octet is smaller than one byte. 1768 5886 … … 1783 5901 Add missing NULL initialisers, and comments. 1784 5902 1785 * testsuite/ld-srec/sr3.cc (__rethrow): New.1786 1787 5903 2000-01-21 Nick Clifton <nickc@cygnus.com> 1788 5904 … … 1805 5921 Fix description of the behaviour of the -n command line switch. 1806 5922 1807 Wed Jan 5 08:02:12 2000Catherine Moore <clm@cygnus.com>5923 2000-01-05 Catherine Moore <clm@cygnus.com> 1808 5924 1809 5925 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.