ChangeLog revision 85815
158315Sache2001-10-17 Nick Clifton <nickc@cambridge.redhat.com> 2136653Sache 3119616Sache * ld.1: Remove .TP macro from SYNOPSIS section - it prevents 426501Sache successful translation to DocBook format. 5136653Sache 6136653Sache2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> 7136653Sache 8136653Sache Report 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> 935492Sache 1035492Sache * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle 1135492Sache .fini[0-4] sections used by _exit 1226501Sache (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. 1326501Sache (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. 1426501Sache * scripttempl/elfm68hc11.sc: Likewise. 15136653Sache 16136653Sache2001-08-29 Joel Sherrill <joel@OARcorp.com> 17119616Sache 18119616Sache * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change 19119616Sache default from coff to elf. 20119616Sache 21119616Sache2001-08-13 Richard Henderson <rth@redhat.com> 22119616Sache 23119616Sache * emultempl/needrelax.em: New file. 24119616Sache * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. 25119616Sache * Makefile.am (eelf64_ia64.c): Depend on it. 26119616Sache * Makefile.in: Rebuild. 27119616Sache 2826501Sache2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> 2926501Sache 3026501Sache * ld.texinfo (Simple Assignments): Fix computation in SECTIONS 31157190Sache example. 32157190Sache 33157190Sache2001-07-19 David O'Brien <obrien@FreeBSD.org> 34157190Sache 35157190Sache * emultempl/elf32.em: Do not assuming that contents of the buffer 36157190Sache returned from basename function will remain unchanged accross other 37157190Sache function calls. 38157190Sache 39157190Sache2001-07-19 Nick Clifton <nickc@cambridge.redhat.com> 40157190Sache 41157190Sache * ldlang.c (lang_leave_overlay): If a region is specified assign 42157190Sache it to all sections inside the overlay unless they have been 43119616Sache assigned to the own, non-default, memory region. 44119616Sache 45119616Sache2001-07-14 matthew green <mrg@eterna.com.au> 46119616Sache 47119616Sache * configure.tgt (i386-*-netbsdelf*): New target. 48119616Sache (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' 49157190Sache 50157190Sache2001-06-27 Alan Modra <amodra@bigpond.net.au> 51157190Sache 5226501Sache * emulparams/hppa64linux.sh: New file. 5326501Sache * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh 5426501Sache * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o 55136653Sache (ehppa64linux.c): Add rule to make it. 56136653Sache Run "make dep-am". 57136653Sache * Makefile.in: Regenerate. 58136653Sache 59136653Sache2001-06-07 Andreas Jaeger <aj@suse.de> 60136653Sache 61119616Sache * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. 62119616Sache (TEXT_START_ADDR): Likewise. 63119616Sache 6458315Sache2001-06-11 Alan Modra <amodra@bigpond.net.au> 6558315Sache 6658315Sache Merge from mainline. 6726501Sache 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 6826501Sache * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. 6926501Sache 7026501Sache 2001-05-25 Alan Modra <amodra@one.net.au> 7126501Sache * configure.host: Replace linuxoldld with linux*oldld. 7226501Sache * configure.tgt: Likewise. 7326501Sache 7426501Sache 2001-05-14 DJ Delorie <dj@delorie.com> 7526501Sache * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. 7626501Sache * Makefile.in: Ditto. 7726501Sache 7826501Sache 2001-04-05 Steven J. Hill <sjhill@cotw.com> 79119616Sache * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. 80119616Sache (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. 8126501Sache (eelf32ltsmip.c): New target. 8226501Sache (eelf64btsmip.c): Likewise. 8326501Sache (eelf64ltsmip.c): Likewise. 8426501Sache * Makefile.in: Regenerated. 8526501Sache * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS 8626501Sache target. 87119616Sache (mips*-*-linux-gnu*): Likewise. 88119616Sache * emulparams/elf32ltsmip.sh: New. Traditional little endian 89119616Sache MIPS taget. 90119616Sache * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian 91119616Sache target. 92119616Sache * emulparams/elf64ltsmip.sh: New. Traditional 64bit little 93119616Sache endian target. 94119616Sache 95119616Sache 2001-02-27 Alan Modra <alan@linuxcare.com.au> 96136653Sache * configure.in (BFD_VERSION): New. 97136653Sache (AM_INIT_AUTOMAKE): Use $BFD_VERSION. 98136653Sache * configure: Regenerate. 99119616Sache 100119616Sache 2001-02-13 H.J. Lu <hjl@gnu.org> 101119616Sache * ldexp.h (node_type): Add etree_provided. 102136653Sache * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node 103136653Sache type to etree_provided if defined by PROVIDE. Allow updating 10426501Sache for etree_provided. 10526501Sache (exp_print_tree): Handle etree_provided. 10626501Sache * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle 107157190Sache etree_provided. 108157190Sache 109157190Sache2001-06-10 Philip Blundell <philb@gnu.org> 110119616Sache 111119616Sache * configure.in: Set version to 2.11.1. 112119616Sache * configure: Regenerate. 113119616Sache 114119616Sache2001-06-08 Alan Modra <amodra@bigpond.net.au> 115119616Sache 116119616Sache * ldlang.c (record_bfd_errors): Remove. 117119616Sache 118119616Sache Merge from mainline. 119119616Sache 2001-05-31 H.J. Lu <hjl@gnu.org> 120119616Sache * ldlang.c (open_input_bfds): Don't change the bfd error 121119616Sache handler whilst loading symbols. 12226501Sache 12326501Sache 2001-05-02 Nick Clifton <nickc@redhat.com> 12426501Sache * emultempl/aix.em: Replace buystring with xstrdup. 125157190Sache * emultempl/beos.em: Replace buystring with xstrdup. 126157190Sache 127157190Sache2001-06-07 Alan Modra <amodra@bigpond.net.au> 128119616Sache 129119616Sache * Many files: Update copyright notices. 130119616Sache 13126501Sache2001-05-23 Alan Modra <amodra@one.net.au> 13226501Sache 13326501Sache * ldlang.c (wild_doit): Use linker_has_input to reliably determine 13426501Sache whether an input section is the first one assigned to an output 13526501Sache section. 13626501Sache Assorted formatting fixes. 137119616Sache 138119616Sache Merge from mainline. 139119616Sache 2001-05-03 H.J. Lu <hjl@gnu.org> 14026501Sache * emultempl/elf32.em: Include "libiberty.h". 14126501Sache (gld${EMULATION_NAME}_vercheck): Call basename () to get the 14226501Sache basename of the bfd filename. 14326501Sache (gld${EMULATION_NAME}_stat_needed): Likewise. 14426501Sache (gld${EMULATION_NAME}_try_needed): Likewise. 14526501Sache (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. 14626501Sache 14726501Sache 2001-03-17 Ulrich Drepper <drepper@redhat.com> 14826501Sache * emultmpl/elf32.em (OPTION_GROUP): New macro. 14926501Sache Add new option Bgroup to longopts. 15026501Sache (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. 15126501Sache (gld*_list_options): Add -Bgroup and -z defs. 15226501Sache * ld.1: Document -Bgroup and -z defs. 15326501Sache * ld.texinfo: Likewise. 15426501Sache 15526501Sache 2001-02-01 Nick Clifton <nickc@redhat.com> 15626501Sache * ld.1: Replace occurances of -oformat with --oformat. 15726501Sache 15826501Sache 2001-05-02 H.J. Lu <hjl@gnu.org> 15926501Sache * ldfile.c: Include "libiberty.h". 16026501Sache * ldlex.l: Likewise. 16126501Sache * ldmisc.c (buystring): Removed. 16226501Sache * ldmisc.h: Likewise. 16326501Sache * ldfile.c: Replace buystring with xstrdup. 16426501Sache * ldlang.c: Likewise. 16526501Sache * ldlex.l: Likewise. 16626501Sache * ldmain.c: Likewise. 16726501Sache * ldmisc.c: Likewise. 16826501Sache * lexsup.c: Likewise. 16926501Sache * mpw-eppcmac.c: Likewise. 17026501Sache 17126501Sache 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 17226501Sache * ldlang.c (load_symbols): Give emulation a chance 17326501Sache to process unrecognized file before fatal error is 174136653Sache reported, not after. 17526501Sache 176119616Sache 2001-02-26 H.J. Lu <hjl@gnu.org> 177119616Sache * ldlang.c (open_input_bfds): Set the bfd error handler so 17826501Sache that problems can be caught whilst loading symbols. 179119616Sache (record_bfd_errors): New function: Report BFD errors and mark 180119616Sache the executable output as being invalid. 18126501Sache 182119616Sache2001-04-02 Alan Modra <alan@linuxcare.com.au> 183119616Sache 184119616Sache * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. 185119616Sache (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. 186119616Sache 18726501Sache2001-03-27 Hans-Peter Nilsson <hp@axis.com> 18826501Sache 18926501Sache * configure.tgt (cris-*-*): Change default emulation to criself. 190119616Sache (cris-*-*aout*): New rule. 19126501Sache 19235492Sache2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> 19335492Sache 19435492Sache * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. 19535492Sache (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 19626501Sache 19726501Sache2001-03-17 Ulrich Drepper <drepper@redhat.com> 19826501Sache 19926501Sache * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME 20026501Sache is an absolute path look only for this file and not along the path. 20126501Sache 20226501Sache2001-03-16 Philip Blundell <philb@gnu.org> 20326501Sache 204136653Sache * configure: Regenerate. 20526501Sache 206136653Sache2001-03-11 Philip Blundell <philb@gnu.org> 20726501Sache 20826501Sache * configure.in: Set version to 2.11. 20926501Sache 21026501Sache2001-03-05 Alan Modra <alan@linuxcare.com.au> 21126501Sache 21226501Sache * emultempl/m68kelf.em (m68k_elf_after_allocation): Call 21326501Sache after_allocation_default, not gld..._before_allocation. 21426501Sache 21526501Sache001-02-18 David O'Brien <obrien@FreeBSD.org> 21626501Sache 21726501Sache * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, 218136653Sache FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. 219136653Sache 22026501Sache2001-02-17 David O'Brien <obrien@FreeBSD.org> 22126501Sache 22226501Sache * configure.host: Add a generic FreeBSD configuration entry such that 22326501Sache all [modern] FreeBSD systems on all platforms will look the same. 22426501Sache 22526501Sache2001-02-13 Richard Henderson <rth@redhat.com> 22626501Sache 22726501Sache * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. 22826501Sache 22926501Sache2001-02-11 Philip Blundell <philb@gnu.org> 23026501Sache 23126501Sache * Makefile.am: Remove mention of earmelf_linux26.o. 23226501Sache * Makefile.in: Regenerate. 23326501Sache * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. 23426501Sache * emulparams/armelf_linux26.sh: Delete. 23526501Sache * configure.tgt: Remove mention of armelf_linux26 emulation. 23626501Sache 23726501Sache2001-02-09 David Mosberger <davidm@hpl.hp.com> 23826501Sache 23926501Sache * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add 24026501Sache .IA_64.unwind.* pattern to unwind table section and 241 .IA_64.unwind_info* pattern to unwind info section. 242 2432001-01-25 Jim Driftmyer <jdrift@stny.rr.com> 244 245 * ldlang.c (lang_leave_overlay): Don't set lma_region when 246 load_base is specified. 247 2482001-01-24 Hans-Peter Nilsson <hp@axis.com> 249 250 * emultempl/elf32.em: Correct spelling in comments and listed 251 options. 252 2532001-01-23 Alan Modra <alan@linuxcare.com.au> 254 255 * ldlang.c (lang_leave_overlay): Only set lma_region from the 256 default for the first section of a group of overlay sections. 257 2582001-01-22 Alan Modra <alan@linuxcare.com.au> 259 260 * Makefile.am (GENSCRIPTS): Pass exec_prefix. 261 * Makefile.in: Regenerate. 262 * genscripts.sh: Use exec_prefix parameter to specify tool lib. 263 Check for null tool_dir. 264 2652001-01-16 Jim Wilson <wilson@redhat.com> 266 267 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind 268 and IA_64.unwind.info. 269 2702001-01-16 H.J. Lu <hjl@gnu.org> 271 272 * ldlang.c (lang_check): Merge the private data only if the 273 input file has contents. 274 2752001-01-14 Alan Modra <alan@linuxcare.com.au> 276 277 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. 278 279 * emultempl/hppaelf.em (hppaelf_after_parse): New function, 280 enabling search for libmilli. On a relocatable link, make .text 281 sections unique. 282 (LDEMUL_AFTER_PARSE): Define. 283 (hppaelf_finish): Correct spelling of relocatable in comments. 284 285 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 286 rummage through the script for sections on the unique list. 287 Correct length of strncmp for ".note". 288 (gld${EMULATION_NAME}_check_needed): Rearrange function. 289 290 * ldlang.c (unique_section_list): New var. 291 (unique_section_p): New function. 292 (walk_wild_section): Don't match sections on unique_section_list. 293 (lang_add_unique): New function. 294 Correct spelling of relocatable in comments. 295 296 * ldlang.h (struct unique_sections): Declare. 297 (unique_section_list): Declare. 298 (unique_section_p): Declare. 299 (lang_add_unique): Declare. 300 301 * lexsup.c (ld_options): Allow --unique to take an optional arg. 302 (parse_args [OPTION_UNIQUE]): Call lang_add_unique. 303 304 * ld.texinfo (--unique): Update. 305 3062001-01-13 Nick Clifton <nickc@redhat.com> 307 308 * lexsup.c (parse_args): Remove spurious white space. 309 3102001-01-12 Nick Clifton <nickc@redhat.com> 311 312 * lexsup.c (parse_args): Update copyright date. 313 3142001-01-12 Philip Blundell <pb@futuretv.com> 315 316 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. 317 3182001-01-10 Kazu Hirata <kazu@hxi.com> 319 320 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. 321 * scripttempl/h8300h.sc: Fix formatting. 322 * scripttempl/h8300s.sc: Likewise. 323 * scripttempl/h8500.sc: Likewise. 324 * scripttempl/h8500b.sc: Likewise. 325 * scripttempl/h8500c.sc: Likewise. 326 * scripttempl/h8500m.sc: Likewise. 327 * scripttempl/h8500s.sc: Likewise. 328 3292000-01-07 David O'Brien <obrien@BSDi.com> 330 331 * emultempl/elf32.em: Only perform Linux ld hints processing when 332 targeting Linux. 333 3342001-01-07 Philip Blundell <philb@gnu.org> 335 336 * ld.texinfo (Bug Reporting): Update email address for reports. 337 3382000-12-31 Nick Clifton <nickc@redhat.com> 339 340 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long 341 options by checking for a return value of '?' not -1. 342 3432000-12-28 Nick Clifton <nickc@redhat.com> 344 345 * lexsup.c (struct ld_option): Add new enum value: 346 EXACTLY_TWO_DASHES. 347 (ld_options[]): Change -omagic, -output and -oformat options 348 to be EXACTLY_TWO_DASHES. 349 (OUTPUT_COUNT): Use ARRAY_SIZE. 350 (parse_args): Change parameter 'argc' to unsigned. 351 Place EXACTLY_TWO_DASHES options into new really_longopts 352 array. 353 If getopt_long_only fails, try calling getopt_long using the 354 really_longopts array. 355 (help): Print a double dash for both EXACTLY_TWO_DASHES and 356 TWO_DASHES options. 357 358 * ldlex.h: Fix prototype of parse_args. 359 360 * ld.texinfo: Document that long options starting with 'o' 361 must be preceeded by two dashes. Change example of a single 362 dashed long option from -oformat to -trace-symbol. 363 3642000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> 365 366 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. 367 (longopts[]): New --no-default-excludes option. 368 (gld_${EMULATION_NAME}_list_options): Document. 369 (gld_${EMULATION_NAME}_parse_args): Handle. 370 3712000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 372 373 * ldlang.c (new_stat): Revert the last beautification with "innocent" 374 whitespace, it breaks the K&R C preprocessor. 375 3762000-12-11 DJ Delorie <dj@redhat.com> 377 378 * ld.texinfo: Add notes about --whole-archive and gcc. 379 3802000-11-18 Fred Fish <fnf@be.com> 381 382 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. 383 (ld_options): Entry for --allow-shlib-undefined. 384 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. 385 * ldmain.c (main): Initialize link_info.allow_shlib_undefined 386 to false. 387 * ld.texinfo: Document new command line switch. 388 3892000-12-12 Geoffrey Keating <geoffk@redhat.com> 390 391 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): 392 .fixup is actually read/write. 393 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. 394 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. 395 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. 396 397Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz> 398 399 * NEWS: Add note about x86_64 architecture. 400 4012000-12-06 Mark Elbrecht <snowball3@bigfoot.com> 402 403 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. 404 Set DWARF2 sections to a VMA of zero. 405 4062000-12-01 Joel Sherrill <joel@OARcorp.com> 407 408 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): 409 New targets. 410 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. 411 (sparc*-*-rtems*): Switched from a.out to ELF. 412 4132000-11-30 Jan Hubicka <jh@suse.cz> 414 415 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o 416 (eelf_x86_64.c): New. 417 * Makefile.in: Regenerate. 418 * configure.tgt: Add support for x86_64-*-linux-gnu*. 419 * emulparams/elf_x86_64.sh: New. 420 4212000-11-30 Hans-Peter Nilsson <hp@axis.com> 422 423 * emulparams/crislinux.sh (ENTRY): Change back to _start. 424 (TEXT_START_SYMBOLS): Remove conditional setting of __start. 425 426 * scripttempl/crisaout.sc: Change all RELOCATING not related to 427 merging non-a.out sections into CONSTRUCTING. 428 4292000-11-28 Nick Clifton <nickc@redhat.com> 430 431 * ld.1 (COPYING): Mention that the GNU Free Documentation 432 License is present in the sources, but not the output, and 433 also available from the GNU website. 434 (GNU Free Documentation License): Comment out this section. 435 4362000-11-28 David O'Brien <obrien@dragon.nuxi.com> 437 438 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF 439 does not use them. 440 4412000-11-25 David O'Brien <obrien@FreeBSD.org> 442 443 * ld.1: Remove old date so it does not give the impression the manpage 444 is way out of date. 445 4462000-11-24 Nick Clifton <nickc@redhat.com> 447 448 * configure.tgt (xscale-coff): Add target. 449 (xscale-elf): Add target. 450 4512000-11-24 Fred Fish <fnf@be.com> 452 453 * ldmain.c (main): Remove redundant init of config.make_executable 454 to true. 455 4562000-11-15 Richard Henderson <rth@redhat.com> 457 458 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. 459 4602000-11-14 Kazu Hirata <kazu@hxi.com> 461 462 * scripttempl/h8300.sc: Fix formatting. 463 * scripttempl/h8300h.sc: Likewise. 464 * scripttempl/h8300s.sc: Likewise. 465 466Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru> 467 468 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. 469 4702000-11-09 Philip Blundell <pb@futuretv.com> 471 472 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME 473 around orphan sections whose names can be represented in C. 474 4752000-11-07 Jim Wilson <wilson@redhat.com> 476 477 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local 478 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. 479 4802000-11-06 Nick Clifton <nickc@redhat.com> 481 482 * ld.texinfo: Add GNU Free Documentation License. 483 * ldint.texinfo: Add GNU Free Documentation License. 484 * ld.1: Add GNU Free Documentation License. 485 4862000-11-05 Alan Modra <alan@linuxcare.com.au> 487 488 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, 489 yy_is_interactive, yy_at_bol, and yy_fill_buffer. 490 491 * Makefile.am (DISTCLEANFILES): Add stringify.sed. 492 Move 2000-11-02 Makefile.in changes to this file. 493 * Makefile.in: Regenerate. 494 4952000-11-03 Nick Clifton <nickc@redhat.com> 496 497 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose 498 constructors and destructors. 499 * scripttempl/h8300h.sc: Ditto. 500 * scripttempl/h8300s.sc: Ditto. 501 * scripttempl/h8500.sc: Ditto. 502 * scripttempl/h8500b.sc: Ditto. 503 * scripttempl/h8500c.sc: Ditto. 504 * scripttempl/h8500m.sc: Ditto. 505 * scripttempl/h8500s.sc: Ditto. 506 * scripttempl/v850.sc: Ditto. 507 * scripttempl/w65.sc: Ditto. 508 * scripttempl/z8000.sc: Ditto. 509 5102000-11-02 Per Lundberg <plundis@chaosdev.org> 511 512 * Makefile.in (e_i386_chaos.c): New rule. 513 (ALL_EMULATIONS): Added e_i386_chaos.o. 514 * emulparams/elf_i386_chaos.sh: New file. 515 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. 516 5172000-10-20 Jakub Jelinek <jakub@redhat.com> 518 519 * emulparams/elf64_sparc.sh (TEXT_START_ADDR, 520 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. 521 Fix sed invocation, so that it coped with '/' in Solaris 64bit 522 library path suffix. 523 Based on patch by Andrew Macleod <amacleod@cygnus.com>. 524 5252000-10-18 Hans-Peter Nilsson <hp@axis.com> 526 527 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), 528 for consecutive sections. 529 5302000-10-17 Chandrakala Chavva <cchavva@redhat.com> 531 532 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific 533 options. 534 * ld.texinfo: Added notes about this new option. 535 5362000-10-16 Nick Clifton <nickc@redhat.com> 537 538 * emultempl/pe.em (_after_open): Add tests of return values from 539 bfd functions. Emit appropriate error messages if necessary. 540 5412000-10-13 Nick Clifton <nickc@redhat.com> 542 543 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' 544 local variables - they are not used, but leave in the call to 545 bfd_canonicalize_symtab. 546 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of 547 pe_dll_search_prefix. 548 5492000-10-12 Charles Wilson <cwilson@ece.gatech.edu> 550 551 * emultempl/pe.em (pe_dll_search_prefix): New variable, 552 (longopts): New --dll-search-prefix option. 553 (gld_${EMULATION_NAME}_list_options): Document. 554 (gld_${EMULATION_NAME}_parse_args): Handle. 555 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking 556 dynamically, search for a dll named '<prefix><basename>.dll' 557 in preference to 'lib<basename>.dll' if --dll-search-prefix 558 is specified. 559 5602000-10-12 Alan Modra <alan@linuxcare.com.au> 561 562 * ldlang.c (section_already_linked): Set kept_section instead of 563 sec->comdat->sec. 564 5652000-10-10 Kazu Hirata <kazu@hxi.com> 566 567 * deffile.h: Fix formatting. 568 * lexsup.c: Likewise. 569 * mri.c: Likewise. 570 5712000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 572 573 * pe-dll.c (make_one): Do not generate code thunk for DATA 574 exports. 575 (process_def_file): deduce DATA flag for auto-export sumbols. 576 5772000-10-09 Kazu Hirata <kazu@hxi.com> 578 579 * ld.h: Fix formatting. 580 * ldcref.c: Likewise. 581 * ldctor.h: Likewise. 582 * ldemul.c: Likewise. 583 * ldemul.h: Likewise. 584 * ldexp.c: Likewise. 585 * ldexp.h: Likewise. 586 * ldfile.c: Likewise. 587 * ldfile.h: Likewise. 588 * ldlang.c: Likewise. 589 * ldlang.h: Likewise. 590 * ldmain.c: Likewise. 591 * pe-dll.c: Likewise. 592 593 * pe-dll.c: Revert some formatting fixes. 594 5952000-10-08 Kazu Hirata <kazu@hxi.com> 596 597 * pe-dll.c: Fix formatting. 598 5992000-10-05 Kazu Hirata <kazu@hxi.com> 600 601 * ldlang.c: Fix formatting. 602 6032000-10-03 DJ Delorie <dj@redhat.com> 604 605 * pe-dll.c (fill_edata): initialize entire block 606 (make_one): fill in correct section. 607 6082000-10-03 Kazu Hirata <kazu@hxi.com> 609 610 * ldexp.c: Fix formatting. 611 6122000-10-02 DJ Delorie <dj@redhat.com> 613 614 * emultempl/pe.em (gld_*_after_open): detect case where there two 615 import libraries for same dll; rename one to ensure proper link 616 order. 617 618 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix 619 typo 620 (generate_edata): fix typo 621 6222000-09-29 Hans-Peter Nilsson <hp@axis.com> 623 624 * scripttempl/crisaout.sc (ENTRY): Now __start. 625 (.text): Add default setting for __start. 626 Remove CONSTRUCTORS handling. 627 (/DISCARD/): Add .gnu.warning.*. 628 * emulparams/crislinux.sh (ENTRY): Now __start. 629 (TEXT_START_SYMBOLS): New; provide __Stext and __start default. 630 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. 631 (ENTRY): Now __start. 632 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. 633 (EXECUTABLE_SYMBOLS): Add default setting for __start. 634 6352000-09-29 Kazu Hirata <kazu@hxi.com> 636 637 * deffile.h: Fix formatting. 638 * ld.h: Likewise. 639 * ldcref.c: Likewise. 640 * ldctor.c: Likewise. 641 * ldctor.h: Likewise. 642 * ldemul.c: Likewise. 643 * ldemul.h: Likewise. 644 * ldexp.c: Likewise. 645 * ldexp.h: Likewise. 646 * ldfile.c: Likewise. 647 * ldfile.h: Likewise. 648 * ldlang.c: Likewise. 649 * ldlang.h: Likewise. 650 * lexsup.c: Likewise. 651 * mri.c: Likewise. 652 * pe-dll.c: Likewise. 653 6542000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 655 656 * pe-dll.c (process_def_file): Uninitialized data wasn't 657 exported with --export-all-symbols switch. 658 6592000-09-28 DJ Delorie <dj@redhat.com> 660 661 * pe-dll.c (fill_edata): rearrange the data so that ordinals and 662 noname work properly. 663 6642000-09-28 Alan Modra <alan@linuxcare.com.au> 665 666 * ld.texinfo (HPPA ELF32): New section. 667 668 * emultempl/hppaelf.em (group_size): New. 669 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. 670 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. 671 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate 672 options to prevent abbreviations matching. 673 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. 674 (PARSE_AND_LIST_ARGS_CASES): Handle it. 675 6762000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> 677 678 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature 679 on the m68*-*-elf target. Make it support COFF input objects. 680 6812000-09-21 Kazu Hirata <kazu@hxi.com> 682 683 * ldmain.c: Fix formatting. 684 * ldmisc.c: Likewise. 685 * ldver.c: Likewise. 686 * ldwrite.c: Likewise. 687 6882000-09-21 Alan Modra <alan@linuxcare.com.au> 689 690 * ldwrite.c (clone_section): Silence gcc warnings. 691 6922000-09-20 Alan Modra <alan@linuxcare.com.au> 693 694 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle 695 out of memory failure. 696 697 * ldwrite.c (ldwrite): Remove unnecessary einfo arg. 698 (clone_section): Handle out of memory failures. Rename var to 699 avoid c++ reserved word. 700 7012000-09-18 Alan Modra <alan@linuxcare.com.au> 702 703 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename 704 stub_name param to stub_sec_name. 705 (hppaelf_finish): Modify call to elf32_hppa_size_stubs. 706 7072000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> 708 709 * emultempl/m68kelf.em: New file. 710 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. 711 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. 712 * Makefile.in: Regenerate. 713 7142000-09-15 Alan Modra <alan@linuxcare.com.au> 715 716 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ 717 only as needed. 718 7192000-09-13 Nick Clifton <nickc@redhat.com> 720 721 * ldmain.c (multiple_definition): Disable relaxation if 722 multiple symbol definitions are encountered - otherwise the 723 linker could abort with an assertion failure. 724 7252000-09-10 Nick Clifton <nickc@redhat.com> 726 727 * mri.c: Fix formatting. 728 7292000-09-07 H.J. Lu <hjl@gnu.org> 730 731 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. 732 * configure: Rebuild. 733 7342000-09-07 H.J. Lu <hjl@gnu.org> 735 736 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. 737 * Makefile.in: Rebuild. 738 7392000-09-07 Alan Modra <alan@linuxcare.com.au> 740 741 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix 742 broken list handling. Create __start_SECNAME and __stop_SECNAME 743 when no place-holder. Add some comments. Test both SEC_CODE and 744 SEC_READONLY for hold_text to prevent .rodata orphan poisoning. 745 Handle case where no output section statement created. 746 7472000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> 748 749 * configure.tgt (sh-*-linux*): Added. 750 * Makefile.am: Added eshelf_linux and eshlelf_linux. 751 * Makefile.in: Rebuilt. 752 * emulparams/shelf_linux.sh: New file. 753 * emulparams/shlelf_linux.sh: New file. 754 7552000-09-06 Alan Modra <alan@linuxcare.com.au> 756 757 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 758 try shuffling sections when the orphan happens to be the place 759 holder. Keep count of unique section names generated so we speed 760 the search for a new name. 761 7622000-09-06 Alexandre Oliva <aoliva@redhat.com> 763 764 * configure: Rebuilt with new libtool.m4. 765 7662000-09-05 Nick Clifton <nickc@redhat.com> 767 768 * Makefile.in: Regenerate. 769 * aclocal.m4: Regenerate. 770 * configure: Regenerate. 771 * config.in: Regenerate. 772 * po/ld.pot: Regenerate. 773 774 * ldint.texinfo: Remove CVS revision marker - it foils local 775 comparisons. 776 777 * emultempl/ticoff.em: Remove extraneous comma. 778 7792000-09-05 Alan Modra <alan@linuxcare.com.au> 780 781 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC 782 to stub section flags. 783 (hppa_for_each_input_file_wrapper): New. 784 (hppa_lang_for_each_input_file): New. 785 (lang_for_each_input_file): Define to call above. 786 (multi_subspace): New. 787 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. 788 (PARSE_AND_LIST_PROLOGUE): Define. 789 (PARSE_AND_LIST_LONGOPTS): Define. 790 (PARSE_AND_LIST_OPTIONS): Define. 791 (PARSE_AND_LIST_ARGS_CASES): Define. 792 (hppaelf_finish): Call elf32_hppa_set_gp. 793 (hppaelf_set_output_arch): Remove. 794 (LDEMUL_SET_OUTPUT_ARCH): Remove. 795 796 * emulparams/hppalinux.sh (ELFSIZE): Define. 797 (MACHINE): Define. 798 (OTHER_READONLY_SECTIONS): Define. 799 (DATA_PLT): Define. 800 (GENERATE_SHLIB_SCRIPT): Define. 801 802 * ldlang.c: Add missing prototypes, and tidy others. Change CONST 803 to const throughout. Change `void *' to `PTR' throughout. 804 (lang_memory_default): Function is local to file, add `static'. 805 806 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. 807 (ehppalinux.c): Likewise. 808 (earmelf.c): Likewise. 809 (earmelf_linux.c): Likewise. 810 (earmelf_linux26.c): Likewise. 811 * Makefile.in: Regenerate. 812 813 * ld.h (ld_config_type): Add unique_orphan_sections. 814 * lexsup.c (OPTION_UNIQUE): Define. 815 (ld_options): Add "--unique". 816 (parse_args): Handle it. 817 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 818 search for an existing output section if unique_orphan_sections is 819 set. Make use of bfd_get_unique_section_name rather than 820 duplicating code here. 821 * ld.texinfo: Describe --unique. 822 823 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add 824 optional arg to split-by-file. 825 (parse_args): Handle them. 826 * ld.texinfo: Update description of these options. 827 * ldwrite.c (clone_section): Pass in the section name. Replace 828 local code with bfd_get_unique_section_name. 829 (split_sections): Tidy code and comments. Use a list traversal 830 more appropriate to the list construction. Handle cooked section 831 sizes. Split when split_by_reloc reached rather than exceeded. 832 Track section size and split when split_by_file reached. Fix 833 link_order_tail (even though it's not used). 834 (ldwrite): Modify condition for calling split_sections to suit 835 changed split_by_reloc and split_by_file. 836 * ldmain.c (main): Init config.split_by_reloc and 837 config.split_by_file to -1. 838 * ld.h (ld_config_type): Change split_by_reloc to unsigned. 839 Change split_by_file to bfd_size_type. 840 8412000-09-02 Nick Clifton <nickc@redhat.com> 842 843 * configure.in: Increase version number to 2.10.91. 844 * NEWS: Mention new ability to support removal of duplicate DWARF2 845 debug information. 846 * configure: Regenerate. 847 * aclocal.m4: Regenerate. 848 * config.in: Regenerate. 849 8502000-09-02 Daniel Berlin <dberlin@redhat.com> 851 852 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info 853 sections. 854 * scripttempl/elf32avr.sc: Ditto. 855 * scripttempl/elfd10v.sc: Ditto. 856 * scripttempl/elfd30v.sc: Ditto. 857 * scripttempl/elfi370.sc: Ditto. 858 * scripttempl/elfm68hc11.sc: Ditto. 859 * scripttempl/elfm68hc12.sc: Ditto. 860 * scripttempl/elfi386beos.sc: Ditto. 861 * scripttempl/v850.sc: Ditto. 862 8632000-08-31 Alexandre Oliva <aoliva@redhat.com> 864 865 * acinclude.m4: Include libtool and gettext macros from the 866 top level. 867 * aclocal.m4, configure: Rebuilt. 868 8692000-08-25 Nick Clifton <nickc@redhat.com> 870 871 * ldlang.c (open_output): When choosing the target for a 872 particular endianness, do nothing if the target is not 873 supported. 874 8752000-08-25 H.J. Lu <hjl@gnu.org> 876 877 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't 878 check -rpath nor LD_RUN_PATH for cross link. 879 * ld.texinfo: Document the change. 880 8812000-08-24 Hans-Peter Nilsson <hp@axis.com> 882 883 * NEWS: Mention support for CRIS. 884 8852000-08-23 H.J. Lu <hjl@gnu.org> 886 887 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get 888 the current runpath list from bfd_elf_get_runpath_list () 889 before search. 890 8912000-08-22 H.J. Lu <hjl@gnu.org> 892 893 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search 894 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after 895 LD_LIBRARY_PATH for native linker. Display the needed DSO if 896 trace_file_tries is non-zero. 897 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found 898 if trace_file_tries is non-zero. 899 900 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. 901 * NEWS: Mention it. 902 9032000-08-14 Jason Eckhardt <jle@cygnus.com> 904 905 * NEWS: Mention i860 support. 906 9072000-08-14 Andreas Schwab <schwab@suse.de> 908 909 * scripttempl/elf.sc: Fix last change to use correct comment 910 syntax. 911 9122000-08-10 Geoff Keating <geoffk@cygnus.com> 913 914 * scripttempl/elf.sc: Add a comment giving the correspondence 915 between sections, per-datum sections, and linkonce sections. Make 916 the comment true even for .bss, .sdata, .sdata2, .sbss, and 917 .sbss2. 918 9192000-08-10 Jason Eckhardt <jle@cygnus.com> 920 921 * emulparams/elf32_i860.sh: New file. 922 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. 923 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. 924 (eelf32_i860.c): New rule. 925 * Makefile.in: Regenerate. 926 9272000-08-10 Nick Clifton <nickc@cygnus.com> 928 929 * emulparams/mipspe.sh (ENTRY): Add definition. 930 9312000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> 932 933 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath 934 in error message. 935 9362000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> 937 938 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate 939 the final size of .bss section. 940 * scripttempl/elfm68hc12.sc: Likewise. 941 9422000-08-04 Alan Modra <alan@linuxcare.com.au> 943 944 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to 945 gld${EMULATION_NAME}_parse_args for consistency. Combine 946 lastoptind and prevoptind vars, and keep track of last optind. 947 (gld_${EMULATION_NAME}_list_options): Rename to 948 gld${EMULATION_NAME}_list_options. 949 9502000-08-03 Rodney Brown <RodneyBrown@pmsc.com> 951 952 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 953 (i586-sco-sysv5uw7.1.0). 954 9552000-07-27 H.J. Lu <hjl@gnu.org> 956 957 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. 958 (PARSE_AND_LIST_PROLOGUE): New. 959 (PARSE_AND_LIST_LONGOPTS): Likewise. 960 (PARSE_AND_LIST_OPTIONS): Likewise. 961 (PARSE_AND_LIST_ARGS_CASES): Likewise. 962 (PARSE_AND_LIST_EPILOGUE): Likewise. 963 9642000-07-28 Alan Modra <alan@linuxcare.com.au> 965 966 * emultempl/armelf.em: Elide functions common to elf32.em, 967 ie. most of the file. 968 (arm_elf_after_open): New. Do arm specific things then call 969 gld${EMULATION_NAME}_after_open. 970 (arm_elf_before_allocation): New. Call 971 gld${EMULATION_NAME}_before_allocation then do arm specifics. 972 (PARSE_AND_LIST_PROLOGUE): Define. 973 (PARSE_AND_LIST_SHORTOPTS): Define. 974 (PARSE_AND_LIST_LONGOPTS): Define. 975 (PARSE_AND_LIST_OPTIONS): Define. 976 (PARSE_AND_LIST_ARGS_CASES): Define. 977 (LDEMUL_AFTER_OPEN): Define. 978 (LDEMUL_BEFORE_ALLOCATION): Define. 979 (LDEMUL_BEFORE_PARSE): Define. 980 (LDEMUL_FINISH): Define. 981 982 * emultempl/hppaelf.em: Similarly zap most of this file. 983 (hppaelf_add_stub_section): Prototype. 984 (hppaelf_layaout_sections_again): Prototype. 985 (hook_in_stub): Prototype. 986 (LDEMUL_SET_OUTPUT_ARCH): Define. 987 (LDEMUL_FINISH): Define. 988 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. 989 990 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. 991 (EXTRA_EM_FILE): New. 992 * emulparams/armelf_linux.sh: Likewise. 993 * emulparams/armelf_linux26.sh: Likewise. 994 * emulparams/hppalinux.sh: Likewise. 995 * emulparams/hppaelf.sh: Likewise. 996 (NOP): Define. 997 998 * emultempl/elf32.em: Fix formatting. 999 (EXTRA_EM_FILE): Source it. 1000 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, 1001 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, 1002 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, 1003 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, 1004 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, 1005 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, 1006 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, 1007 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, 1008 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to 1009 allow functions in this file to be overridden. 1010 (PARSE_AND_LIST_SHORTOPTS): Handle it. 1011 1012 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. 1013 1014 * emultempl/elf32.em: Reorganize file. 1015 10162000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> 1017 1018 * emulparams/elf64alpha.sh: Implement "-taso" emulation 1019 specific option to fit 64-bit executable in the lower 1020 31-bit address range. This is done by changing start 1021 address of .interp (the very first section of executable) 1022 and then setting EF_ALPHA_32BIT elf header flag. 1023 10242000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1025 1026 * emultempl/m68kcoff.em: New file. 1027 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. 1028 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than 1029 generic.em. 1030 * Makefile.in: Regenerate. 1031 10322000-07-20 H.J. Lu <hjl@gnu.org> 1033 1034 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" 1035 and "disable-new-dtags" to stop getopt from treating -d/-e as 1036 abbreviations for these options. 1037 10382000-07-20 H.J. Lu <hjl@gnu.org> 1039 1040 * ld.texinfo: Add documentation for --disable-new-dtags and 1041 --enable-new-dtags. 1042 1043 * ldmain.c (main): Initialize link_info.new_dtags to false. 1044 1045 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add 1046 --disable-new-dtags and --enable-new-dtags. 1047 (gld_${EMULATION_NAME}_list_options): Likewise. 1048 10492000-07-05 Kenneth Block <krblock@computer.org> 1050 1051 * lexsup.c: Add optional style to demangle switch 1052 * ld.texinfo: Document optional style to demangle switch. 1053 10542000-07-20 Hans-Peter Nilsson <hp@axis.com> 1055 1056 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, 1057 ecrislinux.o. 1058 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. 1059 Regenerate dependencies. 1060 * Makefile.in: Rebuild. 1061 * configure.tgt (cris-*-*): New target. 1062 * emulparams/crisaout.sh, emulparams/criself.sh, 1063 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. 1064 * po/POTFILES.in, po/ld.pot: Regenerate. 1065 10662000-07-20 H.J. Lu <hjl@gnu.org> 1067 1068 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): 1069 Print out ignored -z options. 1070 10712000-07-19 H.J. Lu <hjl@gnu.org> 1072 1073 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. 1074 (PARSE_AND_LIST_PROLOGUE): New. 1075 (PARSE_AND_LIST_LONGOPTS): Likewise. 1076 (PARSE_AND_LIST_OPTIONS): Likewise. 1077 (PARSE_AND_LIST_ARGS_CASES): Likewise. 1078 1079 * ldmain.c (main): Clear link_info.flags and link_info.flags_1. 1080 1081 * lexsup.c (ld_options): Comment out 'z'. 1082 (parse_args): Likewise. 1083 1084 * emultempl/elf32.em: Include "elf/common.h". 1085 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z 1086 options. 1087 (gld_${EMULATION_NAME}_list_options): Likewise. 1088 1089 * ld.texinfo: Add documentation for the recognized -z options. 1090 10912000-07-19 H.J. Lu <hjl@gnu.org> 1092 1093 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call 1094 bfd_elf_set_dt_needed_soname (). 1095 10962000-07-18 DJ Delorie <dj@cygnus.com> 1097 1098 * pe-dll.c (pe_dll_id_target): check object target name also 1099 11002000-07-18 Hans-Peter Nilsson <hp@axis.com> 1101 1102 * scripttempl/elf.sc (.init): Only do ${INIT_START} and 1103 ${INIT_END} if relocating. 1104 (.fini): Likewise ${FINI_START} and ${FINI_END}. 1105 11062000-07-16 Charles Wilson <cwilson@ece.gatech.edu> 1107 1108 * emultempl/pe.em (gld_*_open_dynamic_archive): New search 1109 order for dynamic library '-lfoo' on pei386: libfoo.dll.a, 1110 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility 1111 errors introduced by the old dynamic lib search order. 1112 11132000-07-17 DJ Delorie <dj@cygnus.com> 1114 1115 * pe-dll.c (process_def_file): auto-export data items also 1116 (pe_process_import_defs): also see if _imp_ form needed 1117 11182000-07-12 Charles Wilson <cwilson@ece.gatech.edu> 1119 1120 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration 1121 for dll import libraries 1122 11232000-07-12 Mark Elbrecht <snowball3@bigfoot.com> 1124 1125 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in 1126 gcc 2.95.2 and later. 1127 11282000-07-11 Kazu Hirata <kazu@hxi.com> 1129 1130 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error 1131 message. 1132 11332000-07-10 Alan Modra <alan@linuxcare.com.au> 1134 1135 * ldemul.h (struct lang_input_statement_struct): Remove forward 1136 declaration. 1137 (struct search_dirs): Likewise. 1138 * ldfile.h (struct lang_input_statement_struct): Likewise. 1139 Protect file from multiple inclusion. 1140 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain 1141 declaration from macro to file scope. 1142 1143 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. 1144 * ldgram.y: Likewise here. 1145 * ldlang.c: And here. 1146 * ldmain.c: And here. 1147 * mpw-elfmips.c: And here. 1148 * mpw-eppcmac.c: And here. 1149 * emultempl/aix.em: And here. 1150 * emultempl/armcoff.em: And here. 1151 * emultempl/armelf.em: And here. 1152 * emultempl/armelf_oabi.em: And here. 1153 * emultempl/beos.em: And here. 1154 * emultempl/elf32.em: And here. 1155 * emultempl/hppaelf.em: And here. 1156 * emultempl/linux.em: And here. 1157 * emultempl/lnk960.em: And here. 1158 * emultempl/pe.em: And here. 1159 * emultempl/sunos.em: And here. 1160 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. 1161 * mpw-idtmips.c: Ditto. 1162 * emultempl/generic.em: Ditto. 1163 * emultempl/gld960.em: Ditto. 1164 * emultempl/gld960c.em: Ditto. 1165 * emultempl/mipsecoff.em: Ditto. 1166 * emultempl/ticoff.em: Ditto. 1167 * emultempl/vanilla.em: Ditto. 1168 1169 * pe-dll.c: Include ldfile.h 1170 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h 1171 1172 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing 1173 arguments to bfd_elf32_size_dynamic_sections call. 1174 (gldelf32ebmip_place_orphan): Add missing arguments to 1175 lang_leave_output_section_statement call. 1176 11772000-07-10 H.J. Lu <hjl@gnu.org> 1178 1179 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with 1180 DLL_SUPPORT. 1181 (strhash): Likewise. 1182 (compute_dll_image_base): Likewise. 1183 (pe_undef_found_sym): Likewise. 1184 (pe_undef_cdecl_match): Likewise. 1185 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the 1186 argument "arch" with ATTRIBUTE_UNUSED. 1187 11882000-07-10 Alan Modra <alan@linuxcare.com.au> 1189 1190 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. 1191 1192 From Ryan Bradetich <rbradetich@uswest.net> 1193 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. 1194 11952000-07-09 Alan Modra <alan@linuxcare.com.au> 1196 1197 Changes to create multiple linker stubs, positioned immediately 1198 before the section where they are required. 1199 * emultempl/hppaelf.em: Include elf32-hppa.h. 1200 (stub_sec, file_chain): Delete. 1201 (hppaelf_create_output_section_statements): Don't make a stub 1202 section here. 1203 (hook_stub_info): New struct. 1204 (hook_in_stub): New function. 1205 (hppaelf_add_stub_section): New function. 1206 (hppaelf_finish): Do nothing for relocateable links. Modify the 1207 call to elf32_hppa_size_stubs. Move code for updating section 1208 layout from here... 1209 (hppaelf_layaout_sections_again): ..to here, a new function. 1210 1211 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix 1212 broken list handling. Pass in a pointer to the list. 1213 (hppaelf_finish): Update call to hppaelf_delete_padding_statements 1214 for above changes. 1215 (hppaelf_before_parse): Prototype. 1216 (hppaelf_set_output_arch): Prototype. 1217 (hppaelf_create_output_section_statements): Prototype. 1218 (hppaelf_delete_padding_statements): Prototype. 1219 (hppaelf_finish): Prototype. 1220 1221 Merge from elf32.em 1222 * emultempl/hppaelf.em: Include ctype.h. 1223 (struct orphan_save): New. 1224 (gld${EMULATION_NAME}_place_orphan): New. 1225 (output_rel_find): New. 1226 (hppaelf_get_script): Update from elf32.em. 1227 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. 1228 Change emulation_name field to "${EMULATION_NAME}". Add 1229 gld${EMULATION_NAME}_place_orphan. 1230 1231 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add 1232 ehppalinux.o, sort it. Regenerate dependencies. 1233 (ehppalinux.c): Depend on hppaelf.em 1234 * Makefile.in: Regenerate. 1235 1236 * configure.tgt: targ_emul=hppalinux for hppa*linux 1237 1238 * emulparams/hppalinux.sh: New. 1239 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. 1240 12412000-07-08 Alan Modra <alan@linuxcare.com.au> 1242 1243 * lexsup.c (parse_args): Copy section name. 1244 12452000-07-07 Charles Wilson <cwilson@ece.gatech.edu> 1246 1247 * emultempl/pe.em: institute the following search order for 1248 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import 1249 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to 1250 static lib (libfoo.a) if none of the above are found. 1251 12522000-07-07 Mumit Khan <khan@xraylith.wisc.edu> 1253 1254 * emultempl/pe.em (pe_enable_auto_image_base): New variable. 1255 (longopts): New --{enable,disable}-auto-image-base options. 1256 (gld_${EMULATION_NAME}_list_options): Document. 1257 (gld_${EMULATION_NAME}_parse): Handle. 1258 (strhash): New static function. 1259 (compute_dll_image_base): New static function. 1260 (gld_${EMULATION_NAME}_set_symbols): Use. 1261 12622000-07-05 DJ Delorie <dj@redhat.com> 1263 1264 * MAINTAINERS: new 1265 12662000-07-01 Koundinya K <kk@ddeorg.soft.net> 1267 1268 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. 1269 * emulparams/elf32btsmip.sh: New file. 1270 * Makefile.am: Add traditional mips target. 1271 * Makefile.in: Rebuild. 1272 12732000-07-01 H.J. Lu <hjl@gnu.org> 1274 1275 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for 1276 automake to use YLWRAP. 1277 * Makefile.in: Rebuild. 1278 12792000-07-01 Alan Modra <alan@linuxcare.com.au> 1280 1281 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed 1282 (CLEANFILES): Add DEPA. 1283 * Makefile.in: Regenerate. 1284 12852000-06-30 Timothy Wall <twall@ppc> 1286 1287 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode 1288 the page in the upper octet of the address. 1289 12902000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> 1291 1292 * emulparams/avrmega161.sh (ARCH): Change to avr:5. 1293 12942000-06-24 Alan Modra <alan@linuxcare.com.au> 1295 1296 * NEWS: arm-elf does --gc-sections too. 1297 12982000-06-22 Alan Modra <alan@linuxcare.com.au> 1299 1300 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we 1301 find one. 1302 * Makefile.in: Regenerate. 1303 13042000-06-21 H.J. Lu <hjl@gnu.org> 1305 1306 * Makefile.am: Rebuild dependency. 1307 * Makefile.in: Rebuild. 1308 13092000-06-20 H.J. Lu <hjl@gnu.org> 1310 1311 * Makefile.am: Rebuild dependency. 1312 * Makefile.in: Rebuild. 1313 13142000-06-20 Timothy Wall <twall@cygnus.com> 1315 1316 * scripttempl/tic54xcoff.sc: New. 1317 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. 1318 * gen-doc.texi: Add flag for TI COFF. 1319 * ld.texinfo: Add documentation for TI COFF handling switches. 1320 * emultempl/ticoff.em: New. TI COFF handling. 1321 * configure.tgt: Add tic54x target. 1322 * Makefile.am: Add tic54x target. 1323 * Makefile.in: Ditto. 1324 13252000-06-20 Alan Modra <alan@linuxcare.com.au> 1326 1327 * ldmain.c (set_scripts_dir): Correct pointer comparison when 1328 checking for backslashes. 1329 13302000-06-19 Alan Modra <alan@linuxcare.com.au> 1331 1332 * NEWS: Move entries not in 2.10 above "Changes in version 2.10". 1333 13342000-06-18 Alan Modra <alan@linuxcare.com.au> 1335 1336 * NEWS: Update list of targets supporting --gc-sections. 1337 1338 * scripttempl/elf.sc: KEEP .eh_frame contents. 1339 * scripttempl/elfd30v.sc: Same here. 1340 13412000-06-18 Stephane Carrez <stcarrez@worldnet.fr> 1342 1343 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 1344 and m68hc11 (elf). 1345 * Makefile.in: Rebuild. 1346 * configure.tgt: Recognize m68hc12 and m68hc11. 1347 * scripttempl/elfm68hc12.sc: New file. 1348 * emulparams/m68hc12elfb: New emulation. 1349 * emulparams/m68hc12elf: New emulation. 1350 * emulparams/m68hc11elfb.sh: New file. User configurable emulation 1351 (includes a memory.x script to define the ROM and RAM banks). 1352 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: 1353 New configuration files for support of Motorola 68hc11 1354 13552000-06-15 Alan Modra <alan@linuxcare.com.au> 1356 1357 * ldmain.c (main): Only change SEC_READONLY for final link. 1358 13592000-06-13 H.J. Lu <hjl@gnu.org> 1360 1361 * configure: Regenerate. 1362 13632000-06-08 David O'Brien <obrien@FreeBSD.org> 1364 1365 * configure.in (VERSION): Update to show this is the CVS mainline. 1366 13672000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1368 1369 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all 1370 input objects to be ECOFF. 1371 (check_sections): einfo takes %B, not %P, to print a BFD name. 1372 13732000-06-05 Michael Matz <matz@ifh.de> 1374 1375 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in 1376 version scripts. 1377 1378 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. 1379 13802000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> 1381 1382 * emulparams/avr1200.sh (STACK): Define as 0. 1383 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. 1384 * emulparams/avr4433.sh (STACK): Likewise. 1385 * emulparams/avr44x4.sh (STACK): Likewise. 1386 * emulparams/avr85xx.sh (STACK): Likewise. 1387 * emulparams/avrmega103.sh (STACK): Likewise. 1388 * emulparams/avrmega161.sh (STACK): Likewise. 1389 * emulparams/avrmega603.sh (STACK): Likewise. 1390 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. 1391 (__stack): Define from ${STACK} for main(). 1392 13932000-05-26 Alan Modra <alan@linuxcare.com.au> 1394 1395 * Makefile.am: Update dependencies with "make dep-am" 1396 * Makefile.in: Regenerate. 1397 13982000-05-26 Eli Zaretskii <eliz@is.elta.co.il> 1399 1400 * ldmain.c: Include filenames.h. 1401 (set_scripts_dir): Support backslashes in program name. 1402 14032000-05-22 Igor Shevlyakov <igor@windriver.com> 1404 1405 * ldmain.c (main): When deciding if ".text" section should be 1406 read-only, don't forget to reset SEC_READONLY because it 1407 could be already set. 1408 14092000-05-22 Thomas de Lellis <tdel@windriver.com> 1410 1411 * ld.1: Add documentation for new command line option: 1412 --section-start <sectionname>=<sectionorg> 1413 This is a generic version of -Ttext etc. which accepts 1414 any section name as a parameter instead of just text/data/ 1415 bss. 1416 * ld.texinfo: More docs. 1417 * NEWS: More docs. 1418 * lexsup.c: (parse_args): Recognize new command line option. 1419 (ld_options): Add new option. 1420 14212000-05-18 H.J. Lu <hjl@gnu.org> 1422 1423 * lexsup.c (parse_args): `i' == `r', not `q'. 1424 1425Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com) 1426 1427 * configure.tgt (hppa*64*-*-*): Enable PA64 target. 1428 14292000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> 1430 Rick Gorton <gorton@scrugs.lkg.dec.com> 1431 1432 Add support for '-q' == '--emit-relocs' switch. 1433 * ldmain.c (main): Default to false. 1434 * lexsup.c (parse_args): Turn on emitrelocations flag if set. 1435 * NEWS: Describe the emitrelocations switch. 1436 * ld.texinfo: Describe the emitrelocations switch. 1437 14382000-05-16 Charles Wilson <cwilson@ece.gatech.edu> 1439 1440 * emultempl/pe.em (_open_dynamic_archive): New function: Search 1441 the library path for "foo.dll" and "libfoo.dll" dynamic libraries 1442 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' 1443 link options. 1444 14452000-05-15 David O'Brien <obrien@FreeBSD.org> 1446 1447 * lexsup.c (parse_args): Update the year in the copyright notice. 1448 14492000-05-13 Alan Modra <alan@linuxcare.com.au> 1450 1451 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): 1452 Replace defines with those from intl/libgettext.h to quieten gcc 1453 warnings. 1454 14552000-05-10 H.J. Lu <hjl@gnu.org> 1456 1457 * ldlang.c (open_input_bfds): Don't load the same file within 1458 a group again if the whole archive has been loaded already. 1459 14602000-05-03 Alan Modra <alan@linuxcare.com.au> 1461 1462 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> 1463 * lexsup.c (set_section_start): Use bfd_scan_vma rather than 1464 strtoul. 1465 1466Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com> 1467 1468 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. 1469 1470 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 1471 host "ia64-*-linux-gnu*". 1472 14732000-04-29 Andreas Jaeger <aj@suse.de> 1474 1475 * ld.h: Correctly check GCC version. 1476 1477Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com) 1478 1479 * Makefile.am: Add PA64 support. Add missing dependencies for 1480 PA32 elf support. 1481 * Makefile.in: Rebuilt. 1482 * configure.tgt: Add PA64 support (currently disabled). 1483 14842000-04-25 Alan Modra <alan@linuxcare.com.au> 1485 1486 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. 1487 (output_rel_find): New function. 1488 (hold_section, hold_use): Delete. 1489 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, 1490 hold_interp): Make local to place_orphan. 1491 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find 1492 rather than place_section to find possible previous use of orphan. 1493 Similarly find the place-holder output sections. Use returned 1494 value from lang_enter_output_section_statement rather than calling 1495 lang_output_section_statement_lookup. 1496 * emultempl/armelf.em: Same here. 1497 * emultempl/pe.em: Similar to above, but no need for output_rel_find. 1498 1499 * ldlang.c (lang_enter_output_section_statement): Return output 1500 section statement. 1501 * ldlang.h (lang_enter_output_section_statement): Change 1502 declaration too. 1503 1504 * ldlang.h (lang_output_section_statement): Export it. 1505 * ldlang.c (lang_output_section_statement): Ditto. 1506 15072000-04-24 Nick Clifton <nickc@cygnus.com> 1508 1509 * ld.texinfo (Output Section Data): Add note that section data 1510 commands cannot appear outside of section directives. 1511 15122000-04-2 Matthew Green <mrg@cygnus.com> 1513 1514 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. 1515 1516Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> 1517 David Mosberger <davidm@hpl.hp.com> 1518 1519 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. 1520 (eelf64_ia64.c): New rule. 1521 * Makefile.in: Rebuild. 1522 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. 1523 * emulparams/elf64_ia64.sh: New file. 1524 15252000-04-21 Richard Henderson <rth@cygnus.com> 1526 1527 * scripttempl/elfd30v.sc: Place .gcc_except_table. 1528 15292000-04-19 Alan Modra <alan@linuxcare.com.au> 1530 1531 * dep-in.sed: Match space at start of file name, not at end. 1532 15332000-04-18 H.J. Lu <hjl@gnu.org> 1534 1535 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call 1536 lang_leave_output_section_statement () after calling 1537 lang_enter_output_section_statement (). 1538 * emultempl/armelf.em: Likewise. 1539 15402000-04-18 Alan Modra <alan@linuxcare.com.au> 1541 1542 * emultempl/elf32.em (struct orphan_save): Add section field. 1543 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in 1544 better order, and place first orphan section as we did before the 1545 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. 1546 Don't call make_bfd_section here, let wild_doit do the job for us. 1547 Don't build a statement list when we'll only throw it away. 1548 * emultempl/armelf.em: Ditto. 1549 * emultempl/pe.em: Similarly. 1550 15512000-04-14 Geoff Keating <geoffk@cygnus.com> 1552 1553 * scripttempl/elfppc.sc: Remove. 1554 * emulparams/elf32ppc.sh: Use elf.sc. 1555 * emulparams/elf32lppc.sh: Use elf.sc. 1556 * emulparams/elf32ppclinux.sh: Use elf.sc. 1557 * emulparams/elf32ppcsim.sh: New file. 1558 * emulparams/elf32lppcsim.sh: New file. 1559 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. 1560 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. 1561 * Makefile.in: Regenerate. 1562 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. 1563 15642000-04-14 Alan Modra <alan@linuxcare.com.au> 1565 1566 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process 1567 ~SEC_ALLOC sections too. Init start address of debug sections. 1568 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. 1569 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. 1570 Also set all relocateable section start addresses. 1571 15722000-04-13 Geoff Keating <geoffk@cygnus.com> 1573 1574 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. 1575 Add new BSS_PLT variable for when .plt need not be contained in 1576 the file. Move _etext so that it is also after .fini, and provide 1577 both etext and _etext with a leading underscore. Mark the start 1578 and end of .sbss. 1579 15802000-04-12 Alan Modra <alan@linuxcare.com.au> 1581 1582 * emultempl/elf32.em (struct orphan_save): New. 1583 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, 1584 hold_interp): Make them struct orphan_save. 1585 (gld${EMULATION_NAME}_place_section): Modify for new hold_*. 1586 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to 1587 the end of the relevant section list. Also add associated section 1588 statements to the end of any previous orphan statements. 1589 * emultempl/armelf.em: Similarly. 1590 * emultempl/pe.em: Similarly. 1591 15922000-04-11 Alan Modra <alan@linuxcare.com.au> 1593 1594 * ld.texinfo (Simple Example): Remove extraneous paragraph. 1595 1596Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> 1597 1598 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add 1599 --enable-build-warnings option. 1600 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. 1601 * Makefile.in, configure: Re-generate. 1602 16032000-04-04 Alan Modra <alan@linuxcare.com.au> 1604 1605 * po/ld.pot: Regenerate. 1606 1607 * lexsup.c (help): Restore translated part of bug string. 1608 1609 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. 1610 (DEP): Quote when passing vars to sub-make. Add warning message 1611 to end. 1612 (DEP1): Rewrite for "gcc -MM". 1613 (CLEANFILES): Add DEP2. 1614 Update dependencies. 1615 * Makefile.in: Regenerate. 1616 16172000-04-03 Alan Modra <alan@linuxcare.com.au> 1618 1619 * ld.h: #include "bin-bugs.h" 1620 * lexsup.c (help): Use REPORT_BUGS_TO. 1621 16222000-03-27 Denis Chertykov <denisc@overta.ru> 1623 1624 * configure.tgt (avr-*-*): New target support. 1625 * Makefile.am: Likewise. 1626 * scripttempl/elf32avr.sc: New script file. 1627 * emulparams/avr1200.sh: New file. 1628 * emulparams/avr23xx.sh: New file. 1629 * emulparams/avr4433.sh New file. 1630 * emulparams/avr44x4.sh New file. 1631 * emulparams/avr85xx.sh New file. 1632 * emulparams/avrmega103.sh New file. 1633 * emulparams/avrmega161.sh New file. 1634 * emulparams/avrmega603.sh New file. 1635 * Makefile.in: Regenerate. 1636 16372000-03-09 Andreas Jaeger <aj@suse.de> 1638 1639 * Makefile.am (check-DEJAGNU): Also unset LANG. 1640 * Makefile.in: Rebuild. 1641 16422000-03-06 Ian Lance Taylor <ian@zembu.com> 1643 1644 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty 1645 archive. 1646 16472000-03-02 H.J. Lu <hjl@gnu.org> 1648 1649 * emulparams/elf32mcore.sh: Include "getopt.h". 1650 16512000-03-01 Ian Lance Taylor <ian@zembu.com> 1652 1653 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. 1654 16552000-03-01 H.J. Lu <hjl@gnu.org> 1656 1657 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. 1658 * emulparams/shpe.sh: Likewise. 1659 16602000-03-01 Nick Clifton <nickc@cygnus.com> 1661 1662 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED 1663 to unused parameters. 1664 1665 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static 1666 functions only used by DLL code. 1667 (_place_orphan): Initialise 'dollar'. 1668 16692000-03-01 H.J. Lu <hjl@gnu.org> 1670 1671 * ldmain.c (undefined_symbol): Take one more arg, fatal, to 1672 indicate if the undefined symbol is a fatal error or not. 1673 Don't delete the output file if "fatal" is false. 1674 16752000-02-29 H.J. Lu <hjl@gnu.org> 1676 1677 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". 1678 Set LC_COLLATE and LC_ALL to null and export them. It is for 1679 sort which expects the C locale. 1680 Add $(LIBS) to all $(HOSTING_LIBS). 1681 * Makefile.in: Rebuild. 1682 16832000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> 1684 1685 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, 1686 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, 1687 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} 1688 (ld_emulation_xfer_struct): Add missing NULL initialiser for 1689 find_potential_libraries. 1690 16912000-02-28 Jim Blandy <jimb@redhat.com> 1692 1693 * ldgram.y (exclude_name_list): Don't require a comma to separate 1694 list entries; the lexer considers commas to be valid part of a 1695 filename, so in something like `foo, bar' the comma is considered 1696 part of the first filename, `foo,'. 1697 * ld.texinfo: Update section on EXCLUDE_FILE lists. 1698 16992000-02-27 Loren J. Rittle <ljrittle@acm.org> 1700 1701 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 1702 host "i[3456]86-*-freebsdelf*". 1703 17042000-02-27 Mark Elbrecht <snowball3@bigfoot.com> 1705 1706 * scripttempl/i386go32.sc: Move misplaced semicolons. 1707 17082000-02-25 Ian Lance Taylor <ian@zembu.com> 1709 1710 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. 1711 (ALL_64_EMULATIONS): Remove eelf64hppa.o. 1712 (eelf64hppa.c, ehppaelf.c): Remove targets. 1713 * Makefile.in: Rebuild. 1714 17152000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1716 1717 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on 1718 GNU/Linux/sparc, but keep the default as 32. 1719 1720 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make 1721 it default if sparcv9 or sparc64. 1722 17232000-02-24 Nick Clifton <nickc@cygnus.com> 1724 1725 * Makefile.am: Add rules to build emipspe.o and earmpe.o. 1726 * Makefile.in: Regenerate. 1727 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. 1728 1729 * ldemul.h (ld_emulation_xfer_struct): Add new field: 1730 find_potential_libraries. 1731 * ldemul.c (ldemul_find_potential_libraries): New function. 1732 1733 * ldfile.c (ldfile_open_file_search): Allow function to be 1734 exported. 1735 (ldfile_open_file): Call ldemul_find_potential_libraries. 1736 * ldfile.h: Add prototype for ldfile_open_file_search. 1737 1738 * pe-dll.c: Add support for ARM, MIPS and SH targets. 1739 1740 * emulparams/mipspe.sh: New file. Parameters for mips-pe target. 1741 * emulparams/shpe.sh: New file. Parameters for sh-pe target. 1742 1743 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. 1744 (gld_X_find_potential_libraries): New function. Search for 1745 libraries called "*.lib". 1746 1747 * scripttempl/pe.sc: Add .pdata section. 1748 17492000-02-23 Richard Henderson <rth@cygnus.com> 1750 1751 * scripttempl/elfd10v.sc: Remove dynamic linking hooks. 1752 Add and use memory regions. 1753 17542000-02-23 Linas Vepstas (linas@linas.org) 1755 1756 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. 1757 1758 * Makefile.am: Add support for Linux/IBM 370. 1759 * configure.tgt: Likewise. 1760 1761 * Makefile.in: Regenerate. 1762 17632000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> 1764 1765 * ldlang.c (print_input_section, print_data_statement, 1766 print_reloc_statement, print_padding_statement, insert_pad, 1767 size_input_section, lang_check_section_addresses, 1768 lang_size_sections, lang_do_assignments, lang_set_startof, 1769 lang_one_common): Change `opb' to unsigned. 1770 (lang_do_assignments): Also change `size' to unsigned. 1771 17722000-02-16 Richard Henderson <rth@cygnus.com> 1773 1774 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. 1775 17762000-02-16 Timothy Wall <twall@cygnus.com> 1777 1778 * mri.c (mri_draw_tree): Add default LMA region argument to call 1779 to lang_leave_output_section_statement. 1780 * ldlang.h: Update prototypes with LMA region arguments. 1781 * ldlang.c (lang_size_sections): Encapsulate region bounds 1782 checking in os_check_region call. 1783 (os_check_region): New function. 1784 (lang_output_section_statement_lookup): Initialize lma_region. 1785 (lang_leave_output_section_statement): Add LMA region argument. 1786 (lang_leave_overlay): Ditto. 1787 * ldgram.y: Handle LMA region syntax. 1788 * ld.texinfo (Output Section Description): Describe LMA region usage. 1789 * emultempl/armelf.em (gld$place_orphan): Add default value for 1790 lma region in call to lang_leave_output_section_statement. 1791 * emultempl/elf32.em (gld$place_orphan): Add default value for 1792 lma region in call to lang_leave_output_section_statement. 1793 * emultempl/pe.em (gld$place_orphan): Add default value for 1794 lma region in call to lang_leave_output_section_statement. 1795 1796 17972000-02-04 Timothy Wall <twall@redhat.com> 1798 1799 * ldlang.c (lang_check_section_addresses): Use bytes instead of 1800 octets when calculating section end addresses. 1801 18022000-02-04 Timothy Wall <twall@redhat.com> 1803 1804 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. 1805 18062000-02-03 Timothy Wall <twall@redhat.com> 1807 1808 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not 1809 octet count. 1810 * ldlang.c (print_input_section, print_data_statement, 1811 print_reloc_statement, print_padding_statement): Print target 1812 address values and section sizes as bytes, not octets. 1813 (insert_pad) Calculate padding size in octets, and adjust "dot" 1814 by bytes. 1815 (size_input_section) Always adjust "dot" by bytes, not octets. 1816 (lang_check_section_addresses, lang_do_assignments) Adjust 1817 "dot" by bytes, not octets. Use the larger of the directive size 1818 or octets_per_byte for the number of octets actually allocated in 1819 the output section. 1820 (lang_set_startof) Make sure STARTOF returns a target address. 1821 (lang_one_common) Record size changes in octets. 1822 (lang_abs_symbol_at_end_of) Section end symbol's value is 1823 recorded in target bytes. 1824 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. 1825 to be clear about behavior when an octet is smaller than one byte. 1826 18272000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> 1828 1829 * ldcref.c (output_cref): Don't pass message strings to printf 1830 as format arg. 1831 Update copyright. 1832 1833 * ldmisc.c (vfinfo): Same here. 1834 Update copyright. 1835 18362000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> 1837 1838 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, 1839 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, 1840 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): 1841 Add missing NULL initialisers, and comments. 1842 1843 * testsuite/ld-srec/sr3.cc (__rethrow): New. 1844 18452000-01-21 Nick Clifton <nickc@cygnus.com> 1846 1847 * ldlang.c (lang_size_sections): Fix typo in comment. 1848 18492000-01-18 H.J. Lu <hjl@gnu.org> 1850 1851 * ldlang.c (lang_size_sections): Also update the current 1852 address of a region if the SEC_NEVER_LOAD bit is not set. 1853 18542000-01-10 Philip Blundell <pb@futuretv.com> 1855 1856 * configure.tgt (arm*-*-conix*): New target. 1857 18582000-01-07 Nick Clifton <nickc@cygnus.com> 1859 1860 * ld.texinfo (Options): Remind users to preceed linker command 1861 line switches with -Wl, (or whatever is appropriate) if it is 1862 being invoked by a comnpiler driver program. 1863 Fix description of the behaviour of the -n command line switch. 1864 1865Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> 1866 1867 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. 1868 (name_list): New. 1869 * ld.texinfo (EXCLUDE_FILE): Update documentation. 1870 * ldgram.y (wildcard_spec): Support a list of excluded_files. 1871 (exclude_name_list): New. 1872 ldlang.c (walk_wild_section): Support list of excluded files. 1873 (print_wild_statement): Likewise. 1874 (lang_add_wild): Likewise. 1875 * ldlang.h (lang_wild_statement_type): Likewise. 1876 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. 1877 18782000-01-04 Mumit Khan <khan@xraylith.wisc.edu> 1879 1880 * pe-dll.c (pe_dll_warn_dup_exports): New variable. 1881 (process_def_file): Use. 1882 (pe_dll_compat_implib): New variable. 1883 (make_one): Use. 1884 1885 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and 1886 pe_dll_compat_implib. 1887 1888 * emultempl/pe.em (longopts): Add warn-duplicate-exports and 1889 compat-implib options. 1890 (gld_${EMULATION_NAME}_list_options): List new options. 1891 (gld_${EMULATION_NAME}_parse_args): Handle. 1892 1893 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output 1894 dll. 1895 1896 * deffilep.y (opt_name): Allow "." in name. 1897 1898For older changes see ChangeLog-9899 1899 1900Local Variables: 1901mode: change-log 1902left-margin: 8 1903fill-column: 74 1904version-control: never 1905End: 1906