177298SobrienSun Dec 21 12:51:49 1997 Ian Lance Taylor <ian@cygnus.com> 277298Sobrien 377298Sobrien * ldexp.c (fold_name): Don't crash if the symbol is defined in a 477298Sobrien section with no output section, such as a shared library section. 577298Sobrien 677298SobrienWed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com> 777298Sobrien 877298Sobrien * lexsup.c (parse_args): Keep track of where we are in the option 977298Sobrien parsing before calling ldemul_parse_args, so that we don't call it 1077298Sobrien multiple times on the same argument and confuse the getopt 1177298Sobrien internals. 1277298Sobrien 1377298SobrienThu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com> 1477298Sobrien 1577298Sobrien * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and 1677298Sobrien d30velf_o to d30v_o to work in DOS environments. 1777298Sobrien * Makefile.{am,in}: Ditto. 1877298Sobrien 1989857Sobrien * emulparams/d30v_{o,e}.sh: Rename from d30velf_{o,e}. 2089857Sobrien * emulparams/d30velf_{o,e}.sh: Deleted. 2177298Sobrien 2277298SobrienWed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com> 2377298Sobrien 2477298Sobrien * scripttempl/armcoff.sc: Add glue sections (code taken from Arm 2577298Sobrien branch). 2677298Sobrien 2777298Sobrien * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. 2877298Sobrien 2977298Sobrien * emultempl/armcoff.em: New file, imported from Arm branch. 3077298Sobrien 3177298SobrienWed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com> 3277298Sobrien 3377298Sobrien * scripttempl/elfd30v.sc: Add .rel and .rela sections for all 3477298Sobrien defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and 3577298Sobrien external memory sections for rodata. Delete .string, .rodata1, 3677298Sobrien and .data1 sections. 3777298Sobrien 3877298SobrienTue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com> 3977298Sobrien 4077298Sobrien * Makefile.am: Add Oct 23 changes to Makefile.in here. 4177298Sobrien 4277298Sobrien * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. 4377298Sobrien 4477298Sobrien * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. 4577298Sobrien 4677298Sobrien * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. 4777298Sobrien (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in 4877298Sobrien external memory. 4977298Sobrien (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in 5077298Sobrien onchip memory. 5177298Sobrien 5277298Sobrien * emulparams/d30velf.sh (STACK_START_ADDR): Top of default 5377298Sobrien stack. 5477298Sobrien ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. 5577298Sobrien ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and 5677298Sobrien .bss should go in. 5777298Sobrien 5877298Sobrien * emulparams/d30velf_{e,o}.sh: New files to be explicit whether 5977298Sobrien .text, .data, etc go in external memory or onchip memory. 6077298Sobrien 6177298Sobrien * configure.tgt (d30v-*-*ext*): New configuration to default 6277298Sobrien .text, .data, etc. in external memory. 6377298Sobrien (d30v-*-*onchip*): New configuration to default .text, .data, 6477298Sobrien etc. in onchip memory. 6577298Sobrien (d30v-*-*): Add d30velf_{e,o} emulations. 6677298Sobrien 6777298Sobrien * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in 6877298Sobrien either the onchip text/data areas or the external memory area. 6977298Sobrien (MEMORY): Get sizes from d30velf.sh. 7077298Sobrien (.e{data,text,bss}): Put sections in the external memory region. 7177298Sobrien (.stext): Put section in the onchip text region. 7277298Sobrien (.s{data,bss}): Put sections in the onchip data region. 7377298Sobrien (__stack): Assign from ${STACK_START_ADDR}. 7477298Sobrien (.text): Put in ${TEXT_MEMORY} memory region. 7577298Sobrien (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory 7677298Sobrien region. 7777298Sobrien (.bss): Put in ${BSS_MEMORY} memory region. 7877298Sobrien 7977298SobrienTue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com> 8077298Sobrien 8177298Sobrien * configure.tgt (targ_extra_emuls): Add support for Thumb target. 8277298Sobrien 8377298SobrienSat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com> 8477298Sobrien 8577298Sobrien * ldlex.l: Don't define hex_mode. Correct number regexp to not 8677298Sobrien accept hex digits without a leading $ or 0x. Handle leading $ 8777298Sobrien correctly. Pass 0 rather than hex_mode to bfd_scan_vma. 8877298Sobrien * ldlex.h (hex_mode): Don't declare. 8977298Sobrien 9077298SobrienSun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com> 9177298Sobrien 9277298Sobrien * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start 9377298Sobrien of internal data area and external memory on chip. 9477298Sobrien 9577298Sobrien * scripttempl/elfd30v.sc: Define a MEMORY region that describes 9677298Sobrien the 3 regions of memory on the chip. Put .text/.init/.fini into 9777298Sobrien the text memory region, put other segments into the data memory 9877298Sobrien region. Add more of the standard elf sections. Default __stack 9977298Sobrien to be 0x20008000, which is 1 byte beyond end of the internal data 10077298Sobrien region. 10177298Sobrien 10277298SobrienThu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 10377298Sobrien 10477298Sobrien * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd 10577298Sobrien variant. 10677298Sobrien 10777298SobrienSun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 10877298Sobrien 10977298Sobrien * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set 11077298Sobrien HOSTING_LIBS. 11177298Sobrien 11277298SobrienThu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com> 11377298Sobrien 11477298Sobrien * ld.h (args_type): Add warn_mismatch field. 11577298Sobrien * ldmain.c (main): Initialize warn_mismatch field. 11677298Sobrien * lexsup.c (parse_args): Handle --no-warn-mismatch option. 11777298Sobrien * ldlang.c (ignore_bfd_error): New static function. 11877298Sobrien (lang_check): If warn_mismatch is false, don't warn about 11977298Sobrien mismatched input files. 12077298Sobrien * ld.texinfo, ld.1: Document new option. 12177298Sobrien 12277298SobrienThu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com> 12377298Sobrien 12477298Sobrien * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' 12577298Sobrien to avoid conflicts with C code which is defining a variable called 12677298Sobrien 'stack'. 12777298Sobrien 12877298SobrienThu Oct 23 00:57:45 1997 Richard Henderson <rth@dot.cygnus.com> 12977298Sobrien 13077298Sobrien * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ... 13177298Sobrien (ALL_64_EMULATIONS): ... here. 13277298Sobrien (eelf64_sparc.c): Template should be elf32 not generic. 13377298Sobrien * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition. 13477298Sobrien 13577298SobrienThu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com> 13677298Sobrien 13777298Sobrien * configure.tgt: Add sparc64-*-linux*. 13877298Sobrien * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New. 13977298Sobrien 14077298SobrienWed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com> 14177298Sobrien 14277298Sobrien * scripttempl/pe.sc: Put .eh_frame in .rdata. 14377298Sobrien 14477298SobrienFri Oct 17 00:00:13 1997 Richard Henderson <rth@cygnus.com> 14577298Sobrien 14677298Sobrien * ldlang.c (lang_register_vers_node): Only check globals<=>locals, 14777298Sobrien since we need to be able to export different versions of the same 14877298Sobrien symbol. 14977298Sobrien 15077298SobrienWed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com> 15177298Sobrien 15277298Sobrien * scripttempl/pe.sc: Put .stab and .stabstr sections at end. 15377298Sobrien 15477298SobrienWed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com> 15577298Sobrien 15677298Sobrien * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; 15777298Sobrien config.guess now recognizes alphaev5 etc. 15877298Sobrien 15977298SobrienFri Oct 3 14:23:02 1997 Ian Lance Taylor <ian@cygnus.com> 16077298Sobrien 16177298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat 16277298Sobrien -s and -u as -static and -unix. 16377298Sobrien 16477298SobrienThu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com> 16577298Sobrien 16677298Sobrien * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we 16777298Sobrien are not adding the first input section, and SEC_READONLY is clear 16877298Sobrien on the output section, then don't copy it from the input section. 16977298Sobrien If SEC_READONLY is not set on the input section, then clear it on 17077298Sobrien the output section. 17177298Sobrien 17277298Sobrien * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than 17377298Sobrien elf32bmip. 17477298Sobrien (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip 17577298Sobrien to elf32bsmip. 17677298Sobrien (mips*-*-linux*): Likewise. 17777298Sobrien * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but 17877298Sobrien setting ENTRY to __start. 17977298Sobrien * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but 18077298Sobrien setting ENTRY to __start. 18177298Sobrien * scripttempl/elf.sc: Always set ENTRY to _start if it was not 18277298Sobrien already set. 18377298Sobrien 18477298SobrienWed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com> 18577298Sobrien 18677298Sobrien * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New 18777298Sobrien Variables. 18877298Sobrien 18977298Sobrien * scripttempl/v850.sc: Move read only areas out of zero and small 19077298Sobrien data sections and into their own sections. 19177298Sobrien 19277298SobrienWed Sep 24 16:59:15 1997 Joel Sherrill <joel@oarcorp.com> 19377298Sobrien 19477298Sobrien * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*. 19577298Sobrien 19677298SobrienWed Sep 24 11:33:14 1997 Ian Lance Taylor <ian@cygnus.com> 19777298Sobrien 19877298Sobrien * ld.texinfo (Section Options): Improve documentation of NOLOAD 19977298Sobrien directive. 20077298Sobrien 20177298Sobrien * aclocal.m4: Rebuild with new libtool. 20277298Sobrien * configure: Rebuild. 20377298Sobrien 20477298SobrienMon Sep 22 17:24:06 1997 Ian Lance Taylor <ian@cygnus.com> 20577298Sobrien 20677298Sobrien * ldlang.c (wild_doit): Revert patch of September 3. 20777298Sobrien 20877298SobrienWed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com> 20977298Sobrien 21077298Sobrien * Makefile.am, Makefile.in: Add rule for ev850.c 21177298Sobrien * configure.tgt (targ_extra_emuls): Add v850 target. 21277298Sobrien 21377298SobrienWed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com> 21477298Sobrien 21577298Sobrien * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. 21677298Sobrien * scripttempl/v850.sc: Add call table data area 21777298Sobrien 21877298SobrienMon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com> 21977298Sobrien 22077298Sobrien Merge change from Martin Hunt: 22177298Sobrien 22277298Sobrien * scripttempl/elfd30v.sc: Put .rodata in the .text section. 22377298Sobrien 22477298SobrienTue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com> 22577298Sobrien 22677298Sobrien * ldlang.c (lang_memory_region_lookup): Remove extraneous 22777298Sobrien initialization of p. 22877298Sobrien 22977298SobrienThu Sep 4 09:03:33 1997 Ian Lance Taylor <ian@cygnus.com> 23077298Sobrien 23177298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In 23277298Sobrien expression produced for -bpT and -bpD options, align to a 32 byte 23377298Sobrien boundary rather than an 8 byte boundary. 23477298Sobrien * scripttempl/aix.sc: Put .tocbss at start of .bss section. 23577298Sobrien 23677298Sobrien * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid 23777298Sobrien function name conflict with AIX 4.2 unistd.h header file. 23877298Sobrien 23977298SobrienWed Sep 3 15:12:32 1997 Ian Lance Taylor <ian@cygnus.com> 24077298Sobrien 24177298Sobrien * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a 24277298Sobrien noload_section. 24377298Sobrien 24477298SobrienFri Aug 29 00:32:31 1997 Ian Lance Taylor <ian@cygnus.com> 24577298Sobrien 24677298Sobrien * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. 24777298Sobrien * Makefile.in: Rebuild. 24877298Sobrien 24977298SobrienThu Aug 28 10:12:10 1997 Doug Evans <dje@canuck.cygnus.com> 25077298Sobrien 25177298Sobrien * configure.tgt (arc-*-elf*): Recognize. 25277298Sobrien * Makefile.am (ALL_EMULATIONS): Add earcelf.o. 25377298Sobrien * Makefile.in: Regenerate. 25477298Sobrien * emulparams/arcelf.sh: New file. 25577298Sobrien 25677298SobrienWed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com> 25777298Sobrien 25877298Sobrien * ldlang.c (wildcardp): Don't let a backslash by itself cause a 25977298Sobrien pattern to be treated as a wildcard pattern. 26077298Sobrien 26177298Sobrien * ldgram.y (atype): Accept parentheses with no type. 26277298Sobrien 26377298Sobrien * ld.texinfo (Section Definition): Clarify use of whitespace. 26477298Sobrien (Section Placement): Likewise. 26577298Sobrien 26677298SobrienMon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> 26777298Sobrien 26877298Sobrien * configure.tgt (targ_extra_emuls): Add support for v850e target. 26977298Sobrien 27077298SobrienMon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> 27177298Sobrien 27277298Sobrien * configure.tgt (targ_extra_emuls): Add support for v850e target. 27377298Sobrien 27477298SobrienSat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com> 27577298Sobrien 27677298Sobrien * Makefile.am (ld.info): Change dependency from 27777298Sobrien $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi. 27877298Sobrien (ld.dvi): Likewise. 27977298Sobrien (bfdsumm.texi): New target. 28077298Sobrien (CLEANFILES): Add bfdsumm.texi. 28177298Sobrien * Makefile.in: Rebuild. 28277298Sobrien 28377298Sobrien * Makefile.am: New file, based on old Makefile.in. 28477298Sobrien * acinclude.m4: New file, from old aclocal.m4. 28577298Sobrien * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove 28677298Sobrien shared library handling; now handled by libtool. Replace 28777298Sobrien AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, 28877298Sobrien AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, 28977298Sobrien AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. 29077298Sobrien * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR. 29177298Sobrien * acconfig.h: Mention PACKAGE and VERSION. 29277298Sobrien * stamp-h.in: New file. 29377298Sobrien * ldver.c (ld_program_version): Set ld_program_version from 29477298Sobrien VERSION. 29577298Sobrien * ldgram.y, ldlex.l: Replace VERSION with VERSIONK. 29677298Sobrien * Makefile.in: Now built with automake. 29777298Sobrien * aclocal.m4: Now built with aclocal. 29877298Sobrien * configure, config.in: Rebuild. 29977298Sobrien 30077298SobrienMon Jul 28 19:04:50 1997 Rob Savoye <rob@chinadoll.cygnus.com> 30177298Sobrien 30277298Sobrien * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for 30377298Sobrien win32 dependencies. 30477298Sobrien * configure: Regenerated with autoconf 2.12. 30577298Sobrien * Makefile.in: Add $(EXEEXT) to executable. 30677298Sobrien 30777298SobrienTue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> 30877298Sobrien 30977298Sobrien * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32". 31077298Sobrien (SEGMENT_SIZE): Set to 0x200. 31177298Sobrien * scripttempl/i386go32.sc: Rewrite. 31277298Sobrien * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. 31377298Sobrien 31477298SobrienMon Jul 7 12:39:42 1997 Ian Lance Taylor <ian@cygnus.com> 31577298Sobrien 31677298Sobrien From Manfred Hollstein <manfred@s-direktnet.de>: 31777298Sobrien * configure.host (i[3456]86-*-linux*libc1*): Renamed from 31877298Sobrien i[3456]86-*-linux*. 31977298Sobrien (i[3456]86-*-linux*): New host. 32077298Sobrien 32177298SobrienThu Jun 26 13:54:03 1997 Ian Lance Taylor <ian@cygnus.com> 32277298Sobrien 32377298Sobrien * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc 32477298Sobrien sections in the output .rsrc section. 32577298Sobrien 32677298SobrienWed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 32777298Sobrien 32877298Sobrien * configure.host (m68*-*-linux*libc1*): Renamed from 32977298Sobrien `m68*-*-linux*'. 33077298Sobrien (m68*-*-linux*): New configuration for use with GNU libc 2. 33177298Sobrien 33277298SobrienMon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au> 33377298Sobrien 33477298Sobrien * scripttempl/elfppc.sc: Correct .rela.sdata entries. 33577298Sobrien 33677298Sobrien * scripttempl/elfppc.sc: Put the PLT between the small and large 33777298Sobrien BSS segments. 33877298Sobrien * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A 33977298Sobrien program base of 0x02000000 is recommended...' because otherwise 34077298Sobrien shared libraries are less efficient. We use 0x01800000 because 34177298Sobrien otherwise it's impossible to branch to location 0, for instance if 34277298Sobrien you have an undefined weak symbol. 34377298Sobrien 34477298SobrienMon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 34577298Sobrien 34677298Sobrien * ldlang.c (lang_place_undefineds): Add \n in einfo call. 34777298Sobrien (lang_size_sections): Likewise. 34877298Sobrien * ldlex.l: Likewise. 34977298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. 35077298Sobrien * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open): 35177298Sobrien Likewise. 35277298Sobrien (check_sections): Likewise. 35377298Sobrien (gld${EMULATION_NAME}_after_allocation): Likewise. 35477298Sobrien * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation): 35577298Sobrien Likewise. 35677298Sobrien * mpw-eppcmac.c (gldppcmacos_read_file): Likewise. 35777298Sobrien * mpw-idtmips.c (gldmipsidt_after_open): Likewise. 35877298Sobrien (check_sections): Likewise. 35977298Sobrien (gldmipsidt_after_allocation): Likewise. 36077298Sobrien 36177298Sobrien * ldemul.c (ldemul_choose_mode): Remove unused einfo argument. 36277298Sobrien 36377298SobrienFri Jun 6 23:47:42 1997 Ian Lance Taylor <ian@cygnus.com> 36477298Sobrien 36577298Sobrien * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of 36677298Sobrien the import list. 36777298Sobrien 36877298SobrienThu May 29 13:13:22 1997 Ian Lance Taylor <ian@cygnus.com> 36977298Sobrien 37077298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't 37177298Sobrien crash if an output section has no BFD section. 37277298Sobrien 37377298SobrienFri May 23 15:23:25 1997 Fred Fish <fnf@cygnus.com> 37477298Sobrien 37577298Sobrien * lexsup.c (ld_options): Add entry for the new "task-link" option. 37677298Sobrien (parse_args): Handle the "task-link" option. 37777298Sobrien (OPTION_TASK_LINK): Add define. 37877298Sobrien 37977298SobrienWed May 21 17:44:15 1997 Ian Lance Taylor <ian@cygnus.com> 38077298Sobrien 38177298Sobrien * ldmain.c (main): Correct check of fclose return value when 38277298Sobrien handling --force-exe-suffix. 38377298Sobrien 38477298SobrienThu May 15 11:35:29 1997 Nick Clifton <nickc@cygnus.com> 38577298Sobrien 38677298Sobrien * ldlang.c (lang_check): Add test of the return value from the 38777298Sobrien call to bfd_merge_private_bfd_data(). 38877298Sobrien 38977298SobrienMon May 12 23:22:58 1997 Ian Lance Taylor <ian@cygnus.com> 39077298Sobrien 39177298Sobrien * scripttempl/elfmips.sc: Remove. 39277298Sobrien * scripttempl/elf.sc: Set ENTRY based on target. Permit 39377298Sobrien TEXT_DYNAMIC to control .dynamic segment. Permit 39477298Sobrien SHLIB_TEXT_START_ADDR to set start of shared object. Support 39577298Sobrien INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put 39677298Sobrien .gnu.linkonce.t* in .text when relocating. Support 39777298Sobrien OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as 39877298Sobrien DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. 39977298Sobrien * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. 40077298Sobrien (DATA_ADDR): Don't set. 40177298Sobrien (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. 40277298Sobrien (OTHER_TEXT_SECTIONS): Set. 40377298Sobrien (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. 40477298Sobrien (MACHINE): Set to empty string. 40577298Sobrien * emulparams/elf32l4300.sh: Likewise. 40677298Sobrien * emulparams/elf32ebmip.sh: Likewise. 40777298Sobrien * emulparams/elf32elmip.sh: Likewise. 40877298Sobrien * emulparams/elf32bmip.sh: Likewise. Also: 40977298Sobrien (TEXT_DYNAMIC): Set. 41077298Sobrien * emulparams/elf32lmips.sh: Likewise. 41177298Sobrien * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than 41277298Sobrien elfmips.sc. 41377298Sobrien (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise. 41477298Sobrien 41577298SobrienMon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 41677298Sobrien 41777298Sobrien * scripttempl/elf.sc: Don't align the data segment on the next 8 41877298Sobrien byte boundary, instead let the linker use whatever the individual 41977298Sobrien sections require. 42077298Sobrien 42177298SobrienFri May 9 17:45:46 1997 Ian Lance Taylor <ian@cygnus.com> 42277298Sobrien 42377298Sobrien * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. 42477298Sobrien 42577298SobrienTue May 6 13:21:19 1997 Ian Lance Taylor <ian@cygnus.com> 42677298Sobrien 42777298Sobrien From Sean McNeil <sean@mcneil.com>: 42877298Sobrien * emultempl/pe.em (sort_by_file_name): Sort by archive name 42977298Sobrien first. 43077298Sobrien (sort_sections): Sort all sections, not just sections in the same 43177298Sobrien archive. 43277298Sobrien 43377298SobrienMon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk> 43477298Sobrien 43577298Sobrien * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' 43677298Sobrien targets. 43777298Sobrien 43877298SobrienFri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com> 43977298Sobrien 44077298Sobrien * scripttempl/tic80coff.sc (.text): Add a leading underscore to 44177298Sobrien __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items 44277298Sobrien in the .text section. Move .const, .ctors, .dtors into separate 44377298Sobrien sections. 44477298Sobrien 44577298SobrienWed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de> 44677298Sobrien 44777298Sobrien * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace 44877298Sobrien around assignment of current location pointer. 44977298Sobrien 45077298SobrienThu Apr 17 13:07:18 1997 Ian Lance Taylor <ian@cygnus.com> 45177298Sobrien 45277298Sobrien * ldctor.c (ldctor_build_sets): Make sure the set is aligned 45377298Sobrien appropriately. 45477298Sobrien 45577298SobrienTue Apr 15 13:19:26 1997 Ian Lance Taylor <ian@cygnus.com> 45677298Sobrien 45777298Sobrien * Makefile.in (INSTALL): Set to @INSTALL@. 45877298Sobrien (INSTALL_XFORM, INSTALL_XFORM1): Remove. 45977298Sobrien (install): Depend upon ld.new and installdirs. Use 46077298Sobrien $(program_transform_name) directly, rather than using 46177298Sobrien $(INSTALL_XFORM) and $(INSTALL_XFORM1). 46277298Sobrien (installdirs): New target. 46377298Sobrien (install-info): Run mkinstalldirs. 46477298Sobrien 46577298SobrienMon Apr 14 12:06:15 1997 Ian Lance Taylor <ian@cygnus.com> 46677298Sobrien 46777298Sobrien * Makefile.in (INSTALL): Change install.sh to install-sh. 46877298Sobrien 46977298Sobrien From Thomas Graichen <graichen@rzpd.de>: 47077298Sobrien * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. 47177298Sobrien * configure: Rebuild. 47277298Sobrien 47377298SobrienFri Apr 4 11:42:41 1997 Ian Lance Taylor <ian@cygnus.com> 47477298Sobrien 47577298Sobrien * emultempl/pe.em: Include "libiberty.h". 47677298Sobrien (sort_sections_1): Use xmalloc rather than alloca. 47777298Sobrien 47877298Sobrien * ldlex.l: Recognize SQUAD. 47977298Sobrien * ldgram.y (length): Add SQUAD. 48077298Sobrien * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte 48177298Sobrien reloc. 48277298Sobrien * ldlang.c (print_data_statement): Handle SQUAD. 48377298Sobrien (lang_size_sections, lang_do_assignments): Likewise. 48477298Sobrien * ldexp.c (exp_print_token): Add SQUAD to table. 48577298Sobrien * ldwrite.c (build_link_order): Handle SQUAD. 48677298Sobrien * ld.texinfo (Section Data Expressions): Document SQUAD. 48777298Sobrien 48877298SobrienThu Apr 3 13:19:40 1997 Ian Lance Taylor <ian@cygnus.com> 48977298Sobrien 49077298Sobrien * ldver.c (ld_program_version): Set to 2.8.1. 49177298Sobrien 49277298Sobrien * Branched binutils 2.8. 49377298Sobrien 49477298SobrienWed Apr 2 11:55:27 1997 Ian Lance Taylor <ian@cygnus.com> 49577298Sobrien 49677298Sobrien * mpw-idtmips.c: Rename from mpw-emipsidt.c. 49777298Sobrien * mpw-elfmips.c: Rename from mpw-emipself.c. 49877298Sobrien * mpw-config.in: Update accordingly. 49977298Sobrien 50077298Sobrien * ldlang.c (lang_process): Call lang_check immediately after 50177298Sobrien opening the input files, rather than at the end of the link. 50277298Sobrien 50377298SobrienMon Mar 31 23:44:00 1997 Ian Lance Taylor <ian@cygnus.com> 50477298Sobrien 50577298Sobrien * emultempl/pe.em (init): Fully bracket initializer. 50677298Sobrien (set_pe_stack_heap): Remove locals begin_commit and end. 50777298Sobrien (gld_${EMULATION_NAME}_after_open): Remove unused local i. 50877298Sobrien (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr. 50977298Sobrien 51077298SobrienMon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com> 51177298Sobrien 51277298Sobrien * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*. 51377298Sobrien 51477298SobrienFri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 51577298Sobrien 51677298Sobrien Contributed by David S. Miller <davem@caip.rutgers.edu>: 51777298Sobrien * configure.tgt (sparc*-*-linuxaout*): New target. 51877298Sobrien (sparc*-*-linux*): New target. 51977298Sobrien * emulparams/sparclinux.sh: New file. 52077298Sobrien * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. 52177298Sobrien (esparclinux.c): New target. 52277298Sobrien 52377298SobrienFri Mar 28 14:30:12 1997 Ian Lance Taylor <ian@cygnus.com> 52477298Sobrien 52577298Sobrien From Ralf Baechle <ralf@gnu.ai.mit.edu>: 52677298Sobrien * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and 52777298Sobrien mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and 52877298Sobrien elf32elmip. 52977298Sobrien 53077298SobrienThu Mar 27 17:14:32 1997 Ian Lance Taylor <ian@cygnus.com> 53177298Sobrien 53277298Sobrien * lexsup.c (parse_args): Update copyright date in version 53377298Sobrien message. 53477298Sobrien 53577298SobrienFri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 53677298Sobrien 53777298Sobrien * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv". 53877298Sobrien 53977298SobrienTue Mar 18 11:16:23 1997 Ian Lance Taylor <ian@cygnus.com> 54077298Sobrien 54177298Sobrien * Makefile.in: Rebuild dependencies. 54277298Sobrien 54377298Sobrien * emultempl/aix.em: Include "obstack.h". 54477298Sobrien 54577298SobrienMon Mar 17 19:26:06 1997 Ian Lance Taylor <ian@cygnus.com> 54677298Sobrien 54777298Sobrien * ldlang.c: Include "obstack.h". 54877298Sobrien 54977298SobrienSat Mar 15 23:23:46 1997 Fred Fish <fnf@cygnus.com> 55077298Sobrien 55177298Sobrien * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. 55277298Sobrien 55377298SobrienSat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org> 55477298Sobrien 55577298Sobrien * ldemul.h (ldemul_list_emulations): Use full prototype. 55677298Sobrien * ldlang.c (print_one_symbol): Add declaration. 55777298Sobrien * ldlang.h (dprint_statements): Declare. 55877298Sobrien * ldmain.c (remove_output): Declare. 55977298Sobrien * ldmisc.c (vfinfo): Declare. 56077298Sobrien * ldwrite.c (clone_section): Declare. 56177298Sobrien (split_sections): Make static. Declare. 56277298Sobrien * mri.c: Include libiberty.h. 56377298Sobrien (strdup): Don't declare. 56477298Sobrien (mri_alias): Use xstrdup rather than strdup. 56577298Sobrien 56677298SobrienFri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com> 56777298Sobrien 56877298Sobrien * scripttempl/elfmips.sc: Change handling of data area when 56977298Sobrien generating a shared library to not skip a large block of memory. 57077298Sobrien From Per Fogelstrom <pefo@cvs.openbsd.org>. 57177298Sobrien 57277298SobrienWed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com> 57377298Sobrien 57477298Sobrien * ldmain.c (multiple_definition): Only skip the warning if the 57577298Sobrien output section is absolute when the input section is not 57677298Sobrien absolute. 57777298Sobrien 57877298Sobrien * ldlex.l: Accept whitespace in VERS_START state. Warn about 57977298Sobrien invalid characters in VERS_* states. 58077298Sobrien 58177298SobrienTue Mar 11 13:51:31 1997 Ian Lance Taylor <ian@cygnus.com> 58277298Sobrien 58377298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a 58477298Sobrien trailing space lead us to think that there is a zero address. 58577298Sobrien 58677298SobrienSun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com> 58777298Sobrien 58877298Sobrien * ldgram.y (vers_node): Correct typo of '(' for '{'. 58977298Sobrien 59077298SobrienFri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com> 59177298Sobrien 59277298Sobrien * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start 59377298Sobrien rather than _start. 59477298Sobrien (__edata): Define this rather than "edata". 59577298Sobrien (__end): Define this rather than "end". 59677298Sobrien 59777298SobrienTue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com> 59877298Sobrien 59977298Sobrien * configure.tgt (tic80-*-*): Allow dropping of -coff. 60077298Sobrien 60177298SobrienSun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com> 60277298Sobrien 60377298Sobrien * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well 60477298Sobrien as TEXINPUTS. Needed for building in separate build dir. 60577298Sobrien * ldint.texinfo (SCRIPT_NAME): Fix typo. 60677298Sobrien * emulparams/tic80coff.sh: Rewrite to include internal documentation 60777298Sobrien about each shell variable that is set (or not set). 60877298Sobrien * scripttempl/tic80coff.sc: Complete rewrite. 60977298Sobrien 61077298SobrienFri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com> 61177298Sobrien 61277298Sobrien * ldmain.c (main): Call bfd_set_default_target. 61377298Sobrien * Makefile.in (ldmain.o): Define TARGET when compiling. 61477298Sobrien 61577298SobrienThu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com> 61677298Sobrien 61777298Sobrien * ldmain.c (main): Don't initialize link_info.lprefix or 61877298Sobrien link_info.lprefix_len. 61977298Sobrien * emultempl/hppaelf.em (hppaelf_before_parse): Likewise. 62077298Sobrien 62177298Sobrien * emultempl/m88kbcs.em: Remove. 62277298Sobrien * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. 62377298Sobrien * Makefile.in (em88kbcs.c): Depend upon generic.em rather than 62477298Sobrien m88kbcs.em. 62577298Sobrien 62677298Sobrien * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD, 62777298Sobrien to lang_enter_output_section_statement. From Mark Rasin 62877298Sobrien <mark.rasin@telrad.co.il>. 62977298Sobrien 63077298SobrienWed Feb 26 11:51:44 1997 Ian Lance Taylor <ian@cygnus.com> 63177298Sobrien 63277298Sobrien * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common 63377298Sobrien section. 63477298Sobrien 63577298SobrienTue Feb 25 20:38:11 1997 Stan Shebs <shebs@andros.cygnus.com> 63677298Sobrien 63777298Sobrien * configure.tgt (mips*-*-lnews*): New target. 63877298Sobrien * Makefile.in (emipslnews.c): New target. 63977298Sobrien * emulparams/mipslnews.sh: New file. 64077298Sobrien 64177298SobrienTue Feb 25 16:04:09 1997 Ian Lance Taylor <ian@cygnus.com> 64277298Sobrien 64377298Sobrien * emultempl/elf32.em (hold_interp): New static variable. 64477298Sobrien (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections 64577298Sobrien after hold_interp. Choose a unique output section name. 64677298Sobrien (gld${EMULATION_NAME}_place_section): Don't set hold_use if the 64777298Sobrien SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp. 64877298Sobrien 64977298SobrienMon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com> 65077298Sobrien 65177298Sobrien From Eric Youngdale <eric@andante.jic.com>: 65277298Sobrien * ldlex.l (V_TAG, V_IDENTIFIER): New macros. 65377298Sobrien (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version 65477298Sobrien information. 65577298Sobrien (ldlex_version_script, ldlex_version_file): New functions. 65677298Sobrien * ldlex.h (enum input_enum): Add input_version_script. 65777298Sobrien (ldlex_version_script): Declare. 65877298Sobrien (ldlex_version_file): Declare. 65977298Sobrien * ldgram.y (%union): Add deflist, versyms, and versnode. 66077298Sobrien (VERS_TAG, VERS_IDENTIFIER): New terminals. 66177298Sobrien (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. 66277298Sobrien (file): Accept INPUT_VERSION_SCRIPT. 66377298Sobrien (ifile_p1): Accept version. 66477298Sobrien (version_script_file): New nonterminal. 66577298Sobrien (version, vers_nodes, vers_node): Likewise. 66677298Sobrien (verdep, vers_tag, ver_defns): Likewise. 66777298Sobrien * ldlang.c (lang_elf_version_info): New global variable. 66877298Sobrien (lang_new_vers_regex): New function. 66977298Sobrien (lang_new_vers_node): New function. 67077298Sobrien (version_index): New static variable. 67177298Sobrien (lang_register_vers_node): New function. 67277298Sobrien (lang_add_vers_depend): New function. 67377298Sobrien * ldlang.h (lang_elf_version_info): Declare. 67477298Sobrien (lang_new_vers_regex, lang_new_vers_node): Declare. 67577298Sobrien (lang_add_vers_depend, lang_register_vers_node): Declare. 67677298Sobrien * lexsup.c (OPTION_VERSION_SCRIPT): Define. 67777298Sobrien (ld_options): Add "version-script". 67877298Sobrien (parse_args): Handle OPTION_VERSION_SCRIPT. 67977298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 68077298Sobrien Pass lang_elf_version_info to size_dynamic_sections. 68177298Sobrien * scripttempl/elf.sc: Add .gnu.version sections. 68277298Sobrien * ld.texinfo: Document symbol versioning. 68377298Sobrien 68477298SobrienFri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 68577298Sobrien 68677298Sobrien * Makefile.in (ed30velf.c): New target. 68777298Sobrien * configure.tgt (d30v-*-*): New target. 68877298Sobrien * emulparams/d30velf.sh: New file. 68977298Sobrien * scripttempl/elfd30v.sc: New file. 69077298Sobrien 69177298SobrienFri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com> 69277298Sobrien 69377298Sobrien * ld.texinfo (Option Commands): Document the INCLUDE command. 69477298Sobrien 69577298SobrienThu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 69677298Sobrien 69777298Sobrien * configure.in: Call BFD_NEED_DECLARATION on getenv. 69877298Sobrien * acconfig.h (NEED_DECLARATION_GETENV): New macro. 69977298Sobrien * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. 70077298Sobrien * ldemul.c (ld_emul_default_target): Do not cast getenv return 70177298Sobrien value. 70277298Sobrien * ldmain.c (get_emulation): Likewise. 70377298Sobrien * configure, config.in: Rebuild. 70477298Sobrien 70577298SobrienTue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com> 70677298Sobrien 70777298Sobrien * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and 70877298Sobrien .mips16.call.* in .text. 70977298Sobrien 71077298SobrienSun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com> 71177298Sobrien 71277298Sobrien * emulparams/tic80coff.sh: New (dummy) file for TIc80. 71377298Sobrien * scripttempl/tic80coff.sc: New (dummy) file for TIc80. 71477298Sobrien * Makefile.in (etic80coff.c): Add target and rule to build it. 71577298Sobrien * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. 71677298Sobrien 71777298SobrienFri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com> 71877298Sobrien 71977298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for 72077298Sobrien ".so" in the name, not ".so.". 72177298Sobrien (gld${EMULATION_NAME}_search_dir): Accept a plain .so file. 72277298Sobrien 72377298Sobrien * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra 72477298Sobrien <alan@spri.levels.unisa.edu.au>. 72577298Sobrien 72677298SobrienThu Jan 30 11:31:52 1997 Ian Lance Taylor <ian@cygnus.com> 72777298Sobrien 72877298Sobrien * emultempl/sunos.em: Include <ctype.h>. 72977298Sobrien (gld${EMULATION_NAME}_find_so): Skip the directory name when 73077298Sobrien searching for ".so.". 73177298Sobrien (gld${EMULATION_NAME}_search_dir): Make sure that the library name 73277298Sobrien has a version number, and that only version numbers follow .so. 73377298Sobrien 73477298SobrienWed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com> 73577298Sobrien 73677298Sobrien * scripttempl/pe.sc: 73777298Sobrien * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text 73877298Sobrien section so Win32 executables are valid. 73977298Sobrien 74077298SobrienMon Jan 27 12:28:43 1997 Ian Lance Taylor <ian@cygnus.com> 74177298Sobrien 74277298Sobrien * scripttempl/elf.sc: Put linkonce reloc section in other 74377298Sobrien appropriate reloc sections. 74477298Sobrien * scripttempl/elfmips.sc: Add linkonce support. 74577298Sobrien * scripttempl/elfppc.sc: Likewise. 74677298Sobrien 74777298SobrienFri Jan 24 10:44:09 1997 Jeffrey A Law (law@cygnus.com) 74877298Sobrien 74977298Sobrien * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the 75077298Sobrien stack up to 0x80000. 75177298Sobrien * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. 75277298Sobrien 75377298SobrienTue Jan 21 12:11:10 1997 Doug Evans <dje@seba.cygnus.com> 75477298Sobrien 75577298Sobrien * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE 75677298Sobrien to define `_stack'. 75777298Sobrien 75877298SobrienThu Jan 16 17:07:52 1997 Ian Lance Taylor <ian@cygnus.com> 75977298Sobrien 76077298Sobrien * ld.h (args_type): Rename auxiliary_filter_shlib to 76177298Sobrien auxiliary_filters, and make it char **. 76277298Sobrien * lexsup.c (parse_args): Handle -f by setting up an array. 76377298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use 76477298Sobrien new name of auxiliary_filters. 76577298Sobrien 76677298Sobrien * ld.texinfo (Options): Improve documentation of --filter and 76777298Sobrien --auxiliary. 76877298Sobrien 76977298SobrienTue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com> 77077298Sobrien 77177298Sobrien * ld.texinfo (Options): Clarify that the normal usage is -T. 77277298Sobrien (Commands): Likewise. 77377298Sobrien 77477298SobrienThu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> 77577298Sobrien 77677298Sobrien * scripttempl/armcoff.sc: Correct mask used for .data address. 77777298Sobrien 77877298SobrienWed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com> 77977298Sobrien 78077298Sobrien * emultempl/pe.em: make default executable a.exe instead of 78177298Sobrien a.out 78277298Sobrien 78377298SobrienFri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu> 78477298Sobrien 78577298Sobrien * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by 78677298Sobrien shifting .plt back. Rumour has it that the NetBSD ld.so depends 78777298Sobrien on .dynamic being after .got, so we leave that. 78877298Sobrien 78977298SobrienFri Jan 3 14:04:40 1997 Ian Lance Taylor <ian@cygnus.com> 79077298Sobrien 79177298Sobrien * Makefile.in (clean): Don't remove configdoc.texi. 79277298Sobrien (maintainer-clean): Do remove configdoc.texi. 79377298Sobrien 79477298Sobrien * ld.texinfo (Operators): Remove '@' from @smallexmple in comment 79577298Sobrien to avoid confusing texi2roff. 79677298Sobrien 79777298SobrienFri Jan 3 11:27:02 1997 Michael Meissner <meissner@tiktok.cygnus.com> 79877298Sobrien 79977298Sobrien * scripttempl/v850.sc (.zdata): Add .zcommon section. 80077298Sobrien (.tdata): Add .tcommon and .tcommon_byte sections. 80177298Sobrien 80277298SobrienThu Jan 2 18:14:32 1997 Ian Lance Taylor <ian@cygnus.com> 80377298Sobrien 80477298Sobrien * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets. 80577298Sobrien * scripttempl/elfmips.sc: Use __start as the entry address for 80677298Sobrien mips*-*-linux*. 80777298Sobrien 80877298SobrienTue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com> 80977298Sobrien 81077298Sobrien * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. 81177298Sobrien 81277298Sobrien * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib 81377298Sobrien fields. 81477298Sobrien * lexsup.c (parse_args): Recognize --auxiliary/-f and 81577298Sobrien --filter/-F. 81677298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 81777298Sobrien Pass filter_shlib and auxiliary_filter_shlib to 81877298Sobrien size_dynamic_sections. 81977298Sobrien * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f. 82077298Sobrien 82177298SobrienMon Dec 30 13:55:57 1996 Michael Meissner <meissner@tiktok.cygnus.com> 82277298Sobrien 82377298Sobrien * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections. 82477298Sobrien 82577298SobrienWed Dec 18 22:57:35 1996 Stan Shebs <shebs@andros.cygnus.com> 82677298Sobrien 82777298Sobrien * mpw-make.sed: Use NewFolderRecursive for installation. 82877298Sobrien 82977298SobrienFri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> 83077298Sobrien 83177298Sobrien * scripttempl/v850.sc: Make sure __{e,g}p start relative to the 83277298Sobrien {s,t}data sections. Do not emit any linker generated symbols if 83377298Sobrien -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize 83477298Sobrien where the different sections go. Change some whitespace. 83577298Sobrien 83677298Sobrien * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define 83777298Sobrien appropriately. Remove crud not used anymore. 83877298Sobrien 83977298SobrienFri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com) 84077298Sobrien 84177298Sobrien * Makefile.in (emn10200.c): Add dependencies. 84277298Sobrien * configure.tgt: Handle mn10200. 84377298Sobrien * emulparms/mn10200.sh: New file. 84477298Sobrien 84577298SobrienThu Dec 12 17:04:55 1996 Ian Lance Taylor <ian@cygnus.com> 84677298Sobrien 84777298Sobrien * emultempl/gld960c.em: Include <ctype.h>. 84877298Sobrien (gld960_set_output_arch): Get the machine type from the -A option 84977298Sobrien if there is one, rather than always using core. 85077298Sobrien 85177298SobrienSat Dec 7 10:07:51 1996 Jeffrey A Law (law@cygnus.com) 85277298Sobrien 85377298Sobrien * emulparms/mn10300.sh: Handle leading underscores. 85477298Sobrien 85577298SobrienThu Dec 5 13:45:58 1996 Ian Lance Taylor <ian@cygnus.com> 85677298Sobrien 85777298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only 85877298Sobrien set hold_rel if SEC_ALLOC is set. 85977298Sobrien 86077298SobrienTue Dec 3 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> 86177298Sobrien 86277298Sobrien * ldlang.c (section_already_linked): Set the output_offset as well 86377298Sobrien as the output_section when only reading symbols from a file. 86477298Sobrien 86577298SobrienMon Dec 2 11:43:50 1996 Ian Lance Taylor <ian@cygnus.com> 86677298Sobrien 86777298Sobrien * emulparams/*.sh: Make sure that each set of parameters which 86877298Sobrien uses the elf.sc script sets MACHINE. 86977298Sobrien 87077298SobrienWed Nov 27 03:22:05 1996 Jason Merrill <jason@yorick.cygnus.com> 87177298Sobrien 87277298Sobrien * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections. 87377298Sobrien * scripttempl/elfd10v.sc: Likewise. 87477298Sobrien * scripttempl/v850.sc: Likewise. 87577298Sobrien 87677298SobrienTue Nov 26 16:58:33 1996 Ian Lance Taylor <ian@cygnus.com> 87777298Sobrien 87877298Sobrien * configure: Rebuild with autoconf 2.12. 87977298Sobrien 88077298SobrienMon Nov 25 12:17:55 1996 Jim Wilson <wilson@cygnus.com> 88177298Sobrien 88277298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case 88377298Sobrien for bfd_vma to init loop. 88477298Sobrien 88577298SobrienMon Nov 25 09:55:07 1996 Jeffrey A Law (law@cygnus.com) 88677298Sobrien 88777298Sobrien * emulparms/mn10300.sh: Remove bogus '_' prefix for 88877298Sobrien entry symbol and ctor/dtor stuff. 88977298Sobrien 89077298SobrienFri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com) 89177298Sobrien 89277298Sobrien * Makefile.in (emn10300.c): Add dependencies. 89377298Sobrien * configure.tgt: Handle mn10300. 89477298Sobrien * emulparms/mn10300.sh: New file. 89577298Sobrien 89677298SobrienTue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 89777298Sobrien 89877298Sobrien * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. 89977298Sobrien (EMBEDDED): Define. 90077298Sobrien 90177298SobrienFri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com> 90277298Sobrien 90377298Sobrien * ld.texinfo: Add section on reporting bugs. 90477298Sobrien 90577298Sobrien * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__ 90677298Sobrien symbols are correctly aligned. 90777298Sobrien 90877298SobrienThu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com) 90977298Sobrien 91089857Sobrien * scripttempl/v850.sc (zdata): Handle reszdata, romzdata and 91177298Sobrien romzbss too. 91277298Sobrien 91377298SobrienTue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 91477298Sobrien 91577298Sobrien * emulparams/d10velf.sh: Changes needed for D10V-EVA board. 91677298Sobrien Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to 91777298Sobrien 0x2000000. 91877298Sobrien 91977298Sobrien * scripttempl/elfd10v.sc: Fix calculation of .text. Change 92077298Sobrien .stack to start at 0x2007ffe. 92177298Sobrien 92277298SobrienMon Oct 28 15:37:00 1996 Doug Evans <dje@canuck.cygnus.com> 92377298Sobrien 92477298Sobrien * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. 92577298Sobrien 92677298SobrienWed Oct 23 16:17:22 1996 Jeffrey A Law (law@cygnus.com) 92777298Sobrien 92889857Sobrien * scripttempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata". 92977298Sobrien 93089857Sobrien * scripttempl/v850.sc (zdata): Make sure this stays 93177298Sobrien in lo-memory. 93277298Sobrien 93377298SobrienTue Oct 22 11:36:47 1996 Jeffrey A Law (law@cygnus.com) 93477298Sobrien 93577298Sobrien * scripttempl/v850.sc (__ep): Put it at the start 93677298Sobrien of the tda section. 93777298Sobrien 93889857Sobrien * scripttempl/v850.sc: Move all "normal" sections into 93977298Sobrien the external memory region (0x100000 - 0x200000). 94077298Sobrien 94177298SobrienMon Oct 21 17:16:59 1996 Michael Meissner <meissner@wogglebug.tiac.net> 94277298Sobrien 94377298Sobrien * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to 94477298Sobrien 0x10000, so that is more room for data. 94577298Sobrien 94677298Sobrien * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000. 94777298Sobrien (READONLY_START_ADDR): Now 0x0. 94877298Sobrien (SCRIPT_NAME): Now elfd10v. 94977298Sobrien 95077298Sobrien * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc. 95177298Sobrien 95277298SobrienFri Oct 18 22:12:49 1996 Doug Evans <dje@canuck.cygnus.com> 95377298Sobrien 95477298Sobrien * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. 95577298Sobrien 95677298SobrienFri Oct 18 15:43:38 1996 Ian Lance Taylor <ian@cygnus.com> 95777298Sobrien 95877298Sobrien * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o. 95977298Sobrien (ALL_64_EMULATIONS): New variable. 96077298Sobrien * configure.in: Accept --enable-64-bit-bfd option. If it is set 96177298Sobrien with --enable-targets=all, include ALL_64_EMULATIONS in 96277298Sobrien EMULATION_OFILES. 96377298Sobrien * configure: Rebuild. 96477298Sobrien 96577298SobrienFri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com) 96677298Sobrien 96777298Sobrien * scripttempl/v850.sc (__gp, __ep): Define. 96877298Sobrien 96977298SobrienThu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com> 97077298Sobrien 97177298Sobrien * ld.texinfo: Try to consistently use a single or a double dash 97277298Sobrien for each option. 97377298Sobrien 97477298SobrienThu Oct 17 10:17:20 1996 Doug Evans <dje@canuck.cygnus.com> 97577298Sobrien 97677298Sobrien * emulparams/m32relf.sh (EMBEDDED): Define. 97777298Sobrien 97877298SobrienThu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com) 97977298Sobrien 98077298Sobrien * scripttempl/v850.sc (.zdata): Add this before .text. 98177298Sobrien (.sdata): Also include .rosdata as part of the .sdata. 98277298Sobrien (.tdata): Include this just before .sdata. 98377298Sobrien 98477298Sobrien * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf". 98577298Sobrien * scripttempl/v850.sc: Wrap script with a "cat << EOF". 98677298Sobrien 98777298SobrienWed Oct 16 23:10:01 1996 Jeffrey A Law (law@cygnus.com) 98877298Sobrien 98977298Sobrien * scripttempl/v850.sc: New linker script for the V850. 99077298Sobrien * Makefile.in: Use it. 99177298Sobrien 99277298SobrienThu Oct 10 17:57:00 1996 Ian Lance Taylor <ian@cygnus.com> 99377298Sobrien 99477298Sobrien * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not 99577298Sobrien OTHER_READWRITE_SECTIONS. 99677298Sobrien * emulparams/elf32l4300.sh: Likewise. 99777298Sobrien 99877298SobrienWed Oct 9 14:36:18 1996 Ian Lance Taylor <ian@cygnus.com> 99977298Sobrien 100077298Sobrien * ld.h (ld_config_type): Add warn_section_align field. 100177298Sobrien * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. 100277298Sobrien (ld_options): Add --warn-section-align. 100377298Sobrien (parse_args): Handle --warn-section-align. 100477298Sobrien * ldlang.c (lang_size_sections): If warn_section_align, warn if 100577298Sobrien the start of a section changes due to alignment. 100677298Sobrien * ld.texinfo, ld.1: Document --warn-section-align. 100777298Sobrien * ld.texinfo: Change some single dashes to double dashes. 100877298Sobrien 100977298Sobrien * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each 101077298Sobrien subsystem type. Ifdef out os2 type. Recognize a version number. 101177298Sobrien 101277298SobrienTue Oct 8 12:07:13 1996 Ian Lance Taylor <ian@cygnus.com> 101377298Sobrien 101477298Sobrien * emultempl/pe.em (set_pe_subsystem): When setting the subsystem 101577298Sobrien to windows, set the entry point. 101677298Sobrien 101777298Sobrien * Makefile.in (ldlex.c): Don't pass any options to $(LEX). 101877298Sobrien 101977298SobrienMon Oct 7 17:29:05 1996 Ian Lance Taylor <ian@cygnus.com> 102077298Sobrien 102177298Sobrien * ld.texinfo (Options): Mention .so extensions for shared 102277298Sobrien libraries. 102377298Sobrien 102477298SobrienSun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com> 102577298Sobrien 102677298Sobrien * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. 102777298Sobrien 102877298SobrienFri Oct 4 18:49:31 1996 Ian Lance Taylor <ian@cygnus.com> 102977298Sobrien 103077298Sobrien * scripttempl/m68kcoff.sc: Only set the address of .text if 103177298Sobrien RELOCATING. 103277298Sobrien 103377298SobrienFri Oct 4 10:59:52 1996 Doug Evans <dje@canuck.cygnus.com> 103477298Sobrien 103577298Sobrien * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define. 103677298Sobrien * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default. 103777298Sobrien (OUTPUT_FORMAT): Support bi-endian targets. 103877298Sobrien 103977298SobrienThu Oct 3 13:52:03 1996 Ian Lance Taylor <ian@cygnus.com> 104077298Sobrien 104177298Sobrien * fnmatch.h, fnmatch.c: Remove (now in libiberty). 104277298Sobrien * Makefile.in: Rebuild dependencies. 104377298Sobrien (CFILES): Remove fnmatch.c. 104477298Sobrien (HFILES): Remove fnmatch.h. 104577298Sobrien (OFILES): Remove fnmatch.o. 104677298Sobrien 104777298SobrienThu Oct 3 15:41:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 104877298Sobrien 104977298Sobrien * Makefile.in (mostlyclean): Move config.log to distclean. 105077298Sobrien 105177298SobrienWed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com> 105277298Sobrien 105389857Sobrien * emultempl/pe.em: increase size of stack reserve to 0x2000000 105477298Sobrien (necessary in order to compile parse.c in gcc sources under NT) 105577298Sobrien 105677298SobrienWed Oct 2 14:49:10 1996 Ian Lance Taylor <ian@cygnus.com> 105777298Sobrien 105877298Sobrien * lexsup.c (ld_options): Fix typo in --rpath-link description. 105977298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest 106077298Sobrien --rpath if a needed library is not found. 106177298Sobrien 106277298SobrienTue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com> 106377298Sobrien 106477298Sobrien * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*. 106577298Sobrien 106677298SobrienTue Oct 1 15:50:34 1996 Ian Lance Taylor <ian@cygnus.com> 106777298Sobrien 106877298Sobrien * ld.texinfo (Options): Give more detail on -l option. 106977298Sobrien 107077298Sobrien * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that 107177298Sobrien elf.sc does, so that glibc works better. 107277298Sobrien 107377298Sobrien * ldver.c (ld_program_version): New variable. 107477298Sobrien (ldversion): Use it. 107577298Sobrien * ldver.h (ld_program_version): Declare. 107677298Sobrien * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not 107777298Sobrien --version. Change --version handling to match current GNU 107877298Sobrien standards. 107977298Sobrien (help): Print bug report address. 108077298Sobrien 108177298SobrienMon Sep 30 12:14:43 1996 Doug Evans <dje@canuck.cygnus.com> 108277298Sobrien 108377298Sobrien * Makefile.in (em32relf.c): Add rule for. 108477298Sobrien * configure.tgt (m32r-*-*): Recognize. 108577298Sobrien * emulparams/m32relf.sh: New file. 108677298Sobrien 108777298SobrienThu Sep 26 13:58:47 1996 Stan Shebs <shebs@andros.cygnus.com> 108877298Sobrien 108977298Sobrien * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit. 109077298Sobrien * mpw-config.in: Add mips-*-* case as mips-elf, and use more 109177298Sobrien wildcards in matching. 109277298Sobrien * mpw-emipself.c: New file, pregenerated mips elf emulation. 109377298Sobrien 109477298SobrienTue Sep 17 12:18:21 1996 Ian Lance Taylor <ian@cygnus.com> 109577298Sobrien 109677298Sobrien * ldint.texinfo: Rewrote. 109777298Sobrien 109877298Sobrien * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. 109977298Sobrien 110077298SobrienMon Sep 16 17:55:21 1996 Ian Lance Taylor <ian@cygnus.com> 110177298Sobrien 110277298Sobrien * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix 110377298Sobrien syntax error on __end__ line. 110477298Sobrien 110577298Sobrien * scripttempl/armcoff.sc: For -N or -n, don't align .data. From 110677298Sobrien Chris Hadley <Christopher.Hadley@cl.cam.ac.uk> 110777298Sobrien 110877298SobrienSun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com) 110977298Sobrien 111077298Sobrien * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS. 111177298Sobrien 111277298SobrienSun Sep 15 10:38:16 1996 Mark Alexander <marka@cygnus.com> 111377298Sobrien 111477298Sobrien * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put 111577298Sobrien stack at top of simulator memory. 111677298Sobrien 111777298SobrienFri Sep 13 15:49:45 1996 Ian Lance Taylor <ian@cygnus.com> 111877298Sobrien 111977298Sobrien * ldlex.l (SYMBOLCHARN): Add $, _, and ~. 112077298Sobrien 112177298SobrienWed Sep 11 23:30:42 1996 Ian Lance Taylor <ian@cygnus.com> 112277298Sobrien 112377298Sobrien * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. 112477298Sobrien 112577298SobrienThu Sep 5 15:24:12 1996 Ian Lance Taylor <ian@cygnus.com> 112677298Sobrien 112777298Sobrien * ldlang.c (section_already_linked): Accept a lang_input_statement 112877298Sobrien as the PTR argument. If the file is symbols only, discard all 112977298Sobrien input sections. 113077298Sobrien (ldlang_add_file): Pass entry to bfd_map_over_sections. 113177298Sobrien 113277298SobrienWed Sep 4 15:53:43 1996 Ian Lance Taylor <ian@cygnus.com> 113377298Sobrien 113477298Sobrien * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny 113577298Sobrien <fila@ibi.com>. 113677298Sobrien 113777298SobrienTue Sep 3 00:52:54 1996 Jeffrey A Law (law@cygnus.com) 113877298Sobrien 113977298Sobrien * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS 114077298Sobrien 114177298SobrienSun Sep 1 21:48:58 1996 Jeffrey A Law (law@cygnus.com) 114277298Sobrien 114377298Sobrien * emulparms/v850.sh: Set EMBEDDED. 114477298Sobrien 114577298SobrienFri Aug 30 22:30:30 1996 Jeffrey A Law (law@cygnus.com) 114677298Sobrien 114777298Sobrien * emulparms/v850.sh: Entry symbol is "_start", tweak 114877298Sobrien ctor/dtor support. 114977298Sobrien 115077298SobrienFri Aug 30 18:32:31 1996 Ian Lance Taylor <ian@cygnus.com> 115177298Sobrien 115277298Sobrien * configure.tgt (sh-*-elf*): New target. 115377298Sobrien * emulparams/shelf.sh: New file. 115477298Sobrien * emulparams/shlelf.sh: New file. 115577298Sobrien * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o. 115677298Sobrien (eshelf.c, eshlelf.c): New targets. 115777298Sobrien * scripttempl/elf.sc: If EMBEDDED is defined, then don't add 115877298Sobrien SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END 115977298Sobrien around .ctors, and DTOR_START and DTOR_END around .dtors. Expand 116077298Sobrien OTHER_RELOCATING_SECTIONS if RELOCATING. 116177298Sobrien 116277298SobrienThu Aug 29 16:57:46 1996 Michael Meissner <meissner@tiktok.cygnus.com> 116377298Sobrien 116477298Sobrien * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium 116577298Sobrien pro. 116677298Sobrien 116777298SobrienMon Aug 26 12:58:11 1996 Ian Lance Taylor <ian@cygnus.com> 116877298Sobrien 116977298Sobrien * ldgram.y (section): Add opt_nocrossrefs; pass value to 117077298Sobrien lang_enter_overlay. 117177298Sobrien (opt_nocrossrefs): New nonterminal. 117277298Sobrien * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode. 117377298Sobrien * ldlang.c (overlay_nocrossrefs): New static variable. 117477298Sobrien (lang_enter_overlay): Add nocrossrefs parameter. 117577298Sobrien (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs 117677298Sobrien is set. Initialize overlay_nocrossrefs. 117777298Sobrien * ldlang.h (lang_enter_overlay): Update declaration. 117877298Sobrien * ld.texinfo (Overlays): Update documentation. 117977298Sobrien 118077298Sobrien * ldver.c (ldversion): Print GNU ld in the version message. 118177298Sobrien 118277298SobrienThu Aug 22 17:10:40 1996 Ian Lance Taylor <ian@cygnus.com> 118377298Sobrien 118477298Sobrien * configure.host: Set HLDENV. 118577298Sobrien * configure.in: Substitute HLDENV. 118677298Sobrien * configure: Rebuild. 118777298Sobrien * Makefile.in (HLDENV): New variable. 118877298Sobrien ($(LD_PROG)): Use $(HLDENV). 118977298Sobrien 119077298SobrienThu Aug 22 16:29:28 1996 Jeffrey A Law (law@cygnus.com) 119177298Sobrien 119277298Sobrien * Makefile.in (ev850.c): New target. 119377298Sobrien * configure.tgt (v850-*-*): New target. 119477298Sobrien * emulparams/v850.sh: New file. 119577298Sobrien 119677298SobrienThu Aug 22 11:16:02 1996 Stan Shebs <shebs@andros.cygnus.com> 119777298Sobrien 119877298Sobrien * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit. 119977298Sobrien 120077298SobrienWed Aug 21 11:26:37 1996 Ian Lance Taylor <ian@cygnus.com> 120177298Sobrien 120277298Sobrien * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate 120377298Sobrien containing sections. 120477298Sobrien 120577298SobrienMon Aug 19 13:01:42 1996 Ian Lance Taylor <ian@cygnus.com> 120677298Sobrien 120777298Sobrien * fnmatch.c: Include sysdep.h. 120877298Sobrien 120977298SobrienMon Aug 19 11:28:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> 121077298Sobrien 121177298Sobrien * genscripts.sh: Undo 8/16 change. 121277298Sobrien 121377298Sobrien * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing. 121477298Sobrien 121577298SobrienFri Aug 16 19:18:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> 121677298Sobrien 121777298Sobrien * genscripts.sh: Explicitly reset any shell variables set or used 121877298Sobrien by the various .sc scripts to allow inadvertant use of these 121977298Sobrien names as normal environment variables by the person running 122077298Sobrien configure. 122177298Sobrien 122277298Sobrien * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf. 122377298Sobrien 122477298SobrienFri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk> 122577298Sobrien 122677298Sobrien * scripttempl/armcoff.sc (__bss_start__, __bss_end__, 122777298Sobrien __data_start__, __data_end__): Added to keep in sync. with the 122877298Sobrien default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support. 122977298Sobrien 123077298SobrienThu Aug 8 14:24:56 1996 Ian Lance Taylor <ian@cygnus.com> 123177298Sobrien 123277298Sobrien * ldcref.c (check_reloc_refs): If info->same, look for any symbol 123377298Sobrien defined in info->defsec, not just the section symbol. 123477298Sobrien 123577298SobrienWed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be> 123677298Sobrien 123777298Sobrien * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. 123877298Sobrien * acconfig.h (NEED_DECLARATION_STRSTR): New macro. 123977298Sobrien (NEED_DECLARATION_SBRK): New macro. 124077298Sobrien * configure, config.in: Rebuild. 124177298Sobrien * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. 124277298Sobrien * ldmain.c (sbrk): Declare if HAVE_SBRK and 124377298Sobrien NEED_DECLARATION_SBRK. 124477298Sobrien 124577298Sobrien * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return. 124677298Sobrien 124777298SobrienMon Aug 5 16:26:14 1996 Ian Lance Taylor <ian@cygnus.com> 124877298Sobrien 124977298Sobrien * ldlex.l: Recognize OVERLAY. 125077298Sobrien * ldgram.y: Add section_phdr field to %union. 125177298Sobrien (section): Handle phdr_opt result. Add OVERLAY case. 125277298Sobrien (opt_exp_without_type): New nonterminal. 125377298Sobrien (phdr_opt): Return list of phdrs. 125477298Sobrien (overlay_section): New nonterminal. 125577298Sobrien * ldlang.c: Include <ctype.h>. 125677298Sobrien (lang_leave_output_section_statement): Add phdrs parameter. 125777298Sobrien Change all callers. 125877298Sobrien (lang_section_in_phdr): Remove. 125977298Sobrien (overlay_vma, overlay_lmn, overlay_max): New static variables. 126077298Sobrien (struct overlay_list): Define. 126177298Sobrien (overlay_list): New static variable. 126277298Sobrien (lang_enter_overlay, lang_enter_overlay_section): New functions. 126377298Sobrien (lang_leave_overlay_section, lang_leave_overlay): New functions. 126477298Sobrien * ldlang.h (lang_leave_output_section_statement): Update 126577298Sobrien declaration for new parameter. 126677298Sobrien (lang_section_in_phdr): Don't declare. 126777298Sobrien (lang_enter_overlay, lang_enter_overlay_section): Declare. 126877298Sobrien (lang_leave_overlay_section, lang_leave_overlay): Declare. 126977298Sobrien * ld.texinfo (Overlays): New node under SECTIONS, documenting 127077298Sobrien overlays. 127177298Sobrien 127277298Sobrien * ldlex.l: Recognize MAX and MIN. 127377298Sobrien * ldgram.y (MAX, MIN): New terminals. 127477298Sobrien (exp): Recognize MAX and MIN. 127577298Sobrien * ldexp.c (fold_binary): Handle MAX and MIN. 127677298Sobrien * ld.texinfo (Arithmetic Functions): Document MAX and MIN. 127777298Sobrien 127877298Sobrien * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header 127977298Sobrien index entries. 128077298Sobrien 128177298Sobrien * ldgram.y (SIZEOF, ADDR): Do not specify type. 128277298Sobrien 128377298Sobrien * ldcref.c (check_nocrossref): Skip symbols with no output 128477298Sobrien sections. 128577298Sobrien 128677298SobrienFri Aug 2 14:57:49 1996 Ian Lance Taylor <ian@cygnus.com> 128777298Sobrien 128877298Sobrien * ldgram.y (LOADADDR): New terminal. 128977298Sobrien (exp): Handle LOADADDR. 129077298Sobrien * ldlex.l: Recognize LOADADDR. 129177298Sobrien * ldexp.c (exp_print_token): Add LOADADDR. 129277298Sobrien (fold_name): Implement LOADADDR. 129377298Sobrien * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. 129477298Sobrien * ld.texinfo (Arithmetic Functions): Document LOADADDR. 129577298Sobrien 129677298SobrienThu Aug 1 12:52:19 1996 Ian Lance Taylor <ian@cygnus.com> 129777298Sobrien 129877298Sobrien * ld.h (check_nocrossrefs): Declare. 129977298Sobrien * ldlang.h (struct lang_nocrossref): Define. 130077298Sobrien (struct lang_nocrossrefs): Define. 130177298Sobrien (nocrossref_list): Declare. 130277298Sobrien (lang_add_nocrossref): Declare. 130377298Sobrien * ldlex.l: Recognize NOCROSSREFS keyword. 130477298Sobrien * ldgram.y (%union): Add nocrossref field. 130577298Sobrien (NOCROSSREFS): New terminal. 130677298Sobrien (ifile_p1): Recognize NOCROSSREFS. 130777298Sobrien (nocrossref_list): New nonterminal. 130877298Sobrien * ldlang.c (nocrossref_list): Define. 130977298Sobrien (lang_add_nocrossref): New function. 131077298Sobrien * ldmain.c (main): If nocrossref_list is not NULL, call 131177298Sobrien check_nocrossrefs. 131277298Sobrien (warning_callback): Free symbols if there is no place to store 131377298Sobrien them. 131477298Sobrien (notice): Call add_cref if nocrossref_list is not NULL. 131577298Sobrien * ldcref.c: Include "ldexp.h" and "ldlang.h". 131677298Sobrien (check_nocrossrefs): New function. 131777298Sobrien (check_nocrossref): New static function. 131877298Sobrien (struct check_refs_info): Define. 131977298Sobrien (check_refs, check_reloc_refs): New static functions. 132077298Sobrien * Makefile.in: Rebuild dependencies. 132177298Sobrien * ld.texinfo (Option Commands): Document NOCROSSREFS. 132277298Sobrien 132377298Sobrien * ld.texinfo (Section Placement): Improve the wording of the 132477298Sobrien wildcard documentation. Mention that wildcards are only searched 132577298Sobrien for on the command line, not in the file system. 132677298Sobrien 132777298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move 132877298Sobrien definition of lib_path inside condition where it is used. 132977298Sobrien 133077298SobrienWed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 133177298Sobrien 133277298Sobrien * emulparams/d10velf.sh: Now works with elf.sc. 133377298Sobrien 133477298SobrienWed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 133577298Sobrien 133677298Sobrien * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla. 133777298Sobrien 133877298SobrienTue Jul 30 14:46:42 1996 Ian Lance Taylor <ian@cygnus.com> 133977298Sobrien 134077298Sobrien * ldlang.c (lang_size_sections): Add the section VMA to the result 134177298Sobrien value when computing the address of a section. 134277298Sobrien 134377298Sobrien * ld.h (args_type): Add cref field. 134477298Sobrien * lexsup.c (parse_args): Set command_line.cref. 134577298Sobrien * ldmain.c (main): Check command_line.cref rather than 134677298Sobrien link_info.notice_all. 134777298Sobrien (notice): Likewise. 134877298Sobrien 134977298Sobrien * ldcref.c (output_one_cref): Don't crash if a symbol is defined 135077298Sobrien in a section without an owner. 135177298Sobrien 135277298SobrienMon Jul 29 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com> 135377298Sobrien 135477298Sobrien * fnmatch.h, fnmatch.c: New files. 135577298Sobrien * ldlex.l: Remove unused definition of FILENAME. Add definition 135677298Sobrien of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a 135777298Sobrien NAME. 135877298Sobrien * ldgram.y (file_NAME_list): Accept '*' and '?' specially. 135977298Sobrien (input_section_spec): Accept '?' specially. 136077298Sobrien (statement): Change exp to mustbe_exp in length and FILL cases. 136177298Sobrien (section): Call ldlex_script before section statements, and call 136277298Sobrien ldlex_popstate after them. 136377298Sobrien * ldlang.c: Include "fnmatch.h". 136477298Sobrien (wildcardp): New static function. 136577298Sobrien (wild_section): Permit the section name to be a wildcard. 136677298Sobrien (wild_file): New static function, broken out of wild. 136777298Sobrien (wild): Call wild_file. Permit the file name to be a wildcard. 136877298Sobrien (open_input_bfds): Don't call lookup_name for a wildcard pattern. 136977298Sobrien * Makefile.in: Rebuild dependencies. 137077298Sobrien (CFILES): Add fnmatch.c. 137177298Sobrien (HFILES): Add fnmatch.h. 137277298Sobrien (OFILES): Add fnmatch.o. 137377298Sobrien * ld.texinfo: Document that file and section names can now be 137477298Sobrien wildcard patterns. 137577298Sobrien 137677298Sobrien * ldlang.c (lang_place_orphans): Correct condition: place a common 137777298Sobrien section if not relocateable or if common definitions are forced. 137877298Sobrien 137977298SobrienWed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 138077298Sobrien 138177298Sobrien * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. 138277298Sobrien 138377298SobrienWed Jul 24 13:38:22 1996 Michael Meissner <meissner@wogglebug.tiac.net> 138477298Sobrien 138577298Sobrien * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v. 138677298Sobrien 138777298SobrienTue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 138877298Sobrien 138977298Sobrien * Makefile.in (ed10velf.c): New target. 139077298Sobrien * configure.tgt (d10v-*-elf*): New target. 139177298Sobrien * emulparams/d10velf.sh: New file. 139277298Sobrien 139377298SobrienThu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com> 139477298Sobrien 139577298Sobrien * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth 139677298Sobrien <ANDREWG@microlise.co.uk>. 139777298Sobrien 139877298Sobrien * configure.host: Change irix5 to irix[56]*. 139977298Sobrien * configure.tgt: Likewise. 140077298Sobrien 140177298SobrienWed Jul 17 10:52:46 1996 Kim Knuttila <krk@cygnus.com> 140277298Sobrien 140377298Sobrien * emultempl/pe.em (sort_sections): Pay attention to return code. 140477298Sobrien 140577298Sobrien * ldmisc.c (demangle): Remove all prefix '.'s from a name. 140677298Sobrien 140777298SobrienMon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 140877298Sobrien 140977298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round 141077298Sobrien the value of __start_SECNAME to the alignment required by the 141177298Sobrien section to be placed. 141277298Sobrien 141377298SobrienTue Jul 9 12:09:02 1996 Ian Lance Taylor <ian@cygnus.com> 141477298Sobrien 141577298Sobrien * configure.tgt (mips*el-*-elf*): Use elf32elmip. 141677298Sobrien (mips*-*-elf*): Use elf32ebmip. 141777298Sobrien * emulparams/elf32bmip.sh (EMBEDDED): Don't define. 141877298Sobrien * emulparams/elf32lmip.sh (EMBEDDED): Don't define. 141977298Sobrien * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with 142077298Sobrien EMBEDDED defined. 142177298Sobrien * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with 142277298Sobrien EMBEDDED defined. 142377298Sobrien * emulparams/elf32b4300.sh (EMBEDDED): Define. 142477298Sobrien * emulparams/elf32l4300.sh (EMBEDDED): Define. 142577298Sobrien * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. 142677298Sobrien (eelf32ebmip.c, eelf32elmip.c): New targets. 142777298Sobrien 142877298SobrienThu Jul 4 12:01:03 1996 Ian Lance Taylor <ian@cygnus.com> 142977298Sobrien 143077298Sobrien * ldver.c (ldversion): Set version to cygnus-2.7.1. 143177298Sobrien 143277298Sobrien * Released binutils 2.7. 143377298Sobrien 143477298Sobrien * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid 143577298Sobrien System V file name limitations. 143677298Sobrien * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use 143777298Sobrien pc532macha rather than pc532machaout. 143877298Sobrien * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to 143977298Sobrien epc532macha.o. 144077298Sobrien (epc532macha.c): Rename target from epc532machaout.c. 144177298Sobrien 144277298SobrienWed Jul 3 11:40:10 1996 Ian Lance Taylor <ian@cygnus.com> 144377298Sobrien 144477298Sobrien * ldlang.c (print_padding_statement): Use %u, not %x, to print 144577298Sobrien fill value. 144677298Sobrien 144777298SobrienSun Jun 30 11:16:43 1996 Stan Shebs <shebs@andros.cygnus.com> 144877298Sobrien 144977298Sobrien * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. 145077298Sobrien 145177298SobrienThu Jun 27 14:03:42 1996 Ian Lance Taylor <ian@cygnus.com> 145277298Sobrien 145377298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa 145477298Sobrien file just before the .so file, rather than just after. 145577298Sobrien 145677298Sobrien * configure.host: Use -print-file-name=FILE rather than piping 145777298Sobrien -print-libgcc-file-name through sed. 145877298Sobrien (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and 145977298Sobrien crtend.o files, in case gcc doesn't use them. 146077298Sobrien * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o. 146177298Sobrien 146277298SobrienWed Jun 26 15:57:21 1996 Ian Lance Taylor <ian@cygnus.com> 146377298Sobrien 146477298Sobrien * configure.tgt (mips*-dec-osf*): New target. 146577298Sobrien 146677298SobrienTue Jun 25 22:15:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 146777298Sobrien 146877298Sobrien * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 146977298Sobrien INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. 147077298Sobrien (docdir): Removed. 147177298Sobrien * configure.in (AC_PREREQ): autoconf 2.5 or higher. 147277298Sobrien (AC_PROG_INSTALL): Added. 147377298Sobrien * configure: Rebuilt. 147477298Sobrien 147577298SobrienMon Jun 24 18:48:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> 147677298Sobrien 147777298Sobrien * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a 147877298Sobrien PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a 147977298Sobrien non-fixed location. 148077298Sobrien 148177298SobrienMon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl> 148277298Sobrien 148377298Sobrien * ldlang.h (enum section_type): Define. 148477298Sobrien (lang_output_section_statement_type): Remove loadable field. Add 148577298Sobrien sectype field. 148677298Sobrien (lang_enter_output_section_statement): Change flags parameter in 148777298Sobrien prototype to sectype. 148877298Sobrien * ldgram.y (typebits): Remove. 148977298Sobrien (sectype): New static variable. 149077298Sobrien (opt_at): Use sectype rather than typebits. 149177298Sobrien (type): Set sectype rather than typebits. 149277298Sobrien (atype): Likewise. 149377298Sobrien * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in 149477298Sobrien EXPRESSION mode. 149577298Sobrien * ldlang.c (lang_output_section_statement_lookup): Set sectype 149677298Sobrien field rather than loadable field. 149777298Sobrien (wild_doit): Check sectype rather than loadable. 149877298Sobrien (lang_record_phdrs): Likewise. 149977298Sobrien (lang_enter_output_section_statement): Rename flags parameter to 150077298Sobrien sectype. Set sectype field rather than loadable field. Set flags 150177298Sobrien field based on sectype. 150277298Sobrien 150377298SobrienMon Jun 24 12:00:32 1996 Ian Lance Taylor <ian@cygnus.com> 150477298Sobrien 150577298Sobrien * scripttempl/elf.sc: Force .stab* and .comment sections to start 150677298Sobrien at 0. 150777298Sobrien 150877298Sobrien * configure.in: On alpha*-*-osf*, link against libbfd.a if not 150977298Sobrien using shared libraries. 151077298Sobrien * configure: Rebuild with autoconf 2.10. 151177298Sobrien 151277298SobrienFri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> 151377298Sobrien 151477298Sobrien * configure.tgt: Add support for *-*-rtems* configurations. 151577298Sobrien 151677298SobrienFri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu> 151777298Sobrien 151877298Sobrien * configure.tgt (alpha-*-linuxecoff*): New target. 151977298Sobrien (alpha-*-linux*): Use elf64alpha. 152077298Sobrien * emulparams/elf64alpha.sh: New file. 152177298Sobrien * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use 152277298Sobrien ${ELFSIZE} rather than 32 when calling BFD routines. 152377298Sobrien (hold_rodata): New static variable. 152477298Sobrien (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a 152577298Sobrien readonly section that is not code. 152677298Sobrien (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use 152777298Sobrien a .rel section unless its bfd_section field is not NULL. 152877298Sobrien * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. 152977298Sobrien (eelf64alpha.c): New target. 153077298Sobrien 153177298SobrienFri Jun 21 12:45:46 1996 Ian Lance Taylor <ian@cygnus.com> 153277298Sobrien 153377298Sobrien * ldmisc.c (vfinfo): Correct handling of 0 in %W case. 153477298Sobrien 153577298SobrienThu Jun 20 13:55:28 1996 Ian Lance Taylor <ian@cygnus.com> 153677298Sobrien 153777298Sobrien Add enough support to understand the gcc svr3.ifile script: 153877298Sobrien * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add 153977298Sobrien BIND keyword. 154077298Sobrien * ldgram.y: Add BIND token. 154177298Sobrien (section): Recognize GROUP. 154277298Sobrien (opt_ext_with_type): Recognize a couple of cases of BIND. 154377298Sobrien * ldlang.c (init_os): Don't do anything if section is already 154477298Sobrien initialized. Call exp_init_os on addr_tree field. 154577298Sobrien (exp_init_os): New static function. 154677298Sobrien (map_input_to_output_sections): Call exp_init_os on assignment 154777298Sobrien expression. 154877298Sobrien (lang_place_orphans): Check for common sections by name COMMON 154977298Sobrien rather than by common_section field. Don't warn about absence of 155077298Sobrien [COMMON] command. 155177298Sobrien 155277298Sobrien * ldlang.h (lang_input_statement_type): Remove useless fields 155377298Sobrien common_section, common_output_section, and complained, as well as 155477298Sobrien all references to them. 155577298Sobrien 155677298Sobrien * ldexp.c: Reindent a lot of code. 155777298Sobrien (exp_fold_tree): Call FAIL rather than einfo in default case. 155877298Sobrien 155977298SobrienWed Jun 19 11:40:14 1996 Ian Lance Taylor <ian@cygnus.com> 156077298Sobrien 156177298Sobrien * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From 156277298Sobrien <randall.hron@medaphis.com>. 156377298Sobrien 156477298SobrienTue Jun 18 15:53:09 1996 Jeffrey A. Law <law@rtl.cygnus.com> 156577298Sobrien 156677298Sobrien * scripttempl/h8300s.sc: New file for H8/S. 156777298Sobrien * emulpararms/h8300s.sh: New file for H8/S. 156877298Sobrien * Makefile.in (ALL_EMULATIONS): Add H8/S. 156977298Sobrien (e_h8300s.c): Add dependencies. 157077298Sobrien * configure.tgt: Add H8/S to targ_extra_emuls. 157177298Sobrien 157277298SobrienTue Jun 18 17:55:39 1996 Ian Lance Taylor <ian@cygnus.com> 157377298Sobrien 157477298Sobrien * configure.tgt (i[345]86*-*-isc*): New target. From 157577298Sobrien <uddeborg@carmen.se>. 157677298Sobrien 157777298SobrienWed Jun 12 12:46:21 1996 Ian Lance Taylor <ian@cygnus.com> 157877298Sobrien 157977298Sobrien * lexsup.c: Include "libiberty.h". 158077298Sobrien (parse_args): Copy the -Y argument into memory. 158177298Sobrien (set_default_dirlist): Don't put the ':' back into the directory 158277298Sobrien list. 158377298Sobrien 158477298SobrienFri Jun 7 11:27:42 1996 Ian Lance Taylor <ian@cygnus.com> 158577298Sobrien 158677298Sobrien * emultempl/sunos.em: Include libiberty.h. 158777298Sobrien (gld${EMULATION_NAME}_set_symbols): New static function to add 158877298Sobrien LD_LIBRARY_PATH to the list of search directories. 158977298Sobrien (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. 159077298Sobrien 159177298SobrienThu Jun 6 11:50:31 1996 Ian Lance Taylor <ian@cygnus.com> 159277298Sobrien 159377298Sobrien * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) 159477298Sobrien rather than . when computing _gp value. From Per Fogelstrom. 159577298Sobrien * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. 159677298Sobrien 159777298Sobrien * ldmain.c (main): Don't close and unlink the file on error, since 159877298Sobrien remove_output will do it anyhow. 159977298Sobrien * ldlang.c (open_output): Set boolean variable to true, not 1. 160077298Sobrien 160177298SobrienWed Jun 5 18:34:14 1996 James G. Smith <jsmith@cygnus.co.uk> 160277298Sobrien 160377298Sobrien * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use 160477298Sobrien elfmips instead of elf. 160577298Sobrien 160677298SobrienTue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com> 160777298Sobrien 160877298Sobrien * ldcref.c: New file. 160977298Sobrien * ld.h (add_cref, output_cref): Declare. 161077298Sobrien * ldmain.c (main): Initialize notice_all field. If it is set at 161177298Sobrien end of link, call output_cref. 161277298Sobrien (notice): Rename from notice_ysym. Check notice_all. 161377298Sobrien * ldmisc.c (finfo): Make globally visible. 161477298Sobrien * ldmisc.h (finfo): Declare. 161577298Sobrien * lexsup.c (OPTION_CREF): Define. 161677298Sobrien (ld_options): Add "cref". 161777298Sobrien (parse_args): Handle OPTION_CREF. 161877298Sobrien * Makefile.in: Rebuild dependencies. 161977298Sobrien (CFILES): Add ldcref.c. 162077298Sobrien (OFILES): Add ldcref.o. 162177298Sobrien * ld.texinfo, ld.1: Document --cref. 162277298Sobrien 162377298SobrienTue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com> 162477298Sobrien 162577298Sobrien * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. 162677298Sobrien 162777298SobrienFri May 31 12:40:55 1996 Ian Lance Taylor <ian@cygnus.com> 162877298Sobrien 162977298Sobrien * emultempl/pe.em (sort_sections): Don't assume that a 163077298Sobrien wild_statement has a section name. 163177298Sobrien 163277298SobrienWed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com> 163377298Sobrien 163477298Sobrien * scripttempl/elfmips.sc: Quote test -z argument. 163577298Sobrien 163677298Sobrien * ld.texinfo: Clarify the CONSTRUCTORS command. 163777298Sobrien 163877298SobrienThu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com> 163977298Sobrien 164077298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize 164177298Sobrien file, not impfile. 164277298Sobrien 164377298SobrienWed May 22 11:31:30 1996 Doug Evans <dje@seba.cygnus.com> 164477298Sobrien 164577298Sobrien * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} 164677298Sobrien if final link. 164777298Sobrien * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. 164877298Sobrien (sort_by_section_name, sort_sections_1): New functions. 164977298Sobrien (sort_sections): Only sort by file name sections in .idata. 165077298Sobrien Add "Grouped Sections" support. 165177298Sobrien (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped 165277298Sobrien Sections. 165377298Sobrien (gld${EMULATION_NAME}_place_section): Delete. 165477298Sobrien * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). 165577298Sobrien (.CRT,.rsrc): Rewrite to use Grouped Section support. 165677298Sobrien 165777298SobrienTue May 21 14:31:48 1996 Stan Shebs <shebs@andros.cygnus.com> 165877298Sobrien 165977298Sobrien * mpw-eppcmac.c: Update to reflect changes to aix.em. 166077298Sobrien 166177298SobrienSun May 19 16:59:44 1996 Doug Evans <dje@seba.cygnus.com> 166277298Sobrien 166377298Sobrien * ldlang.c (dprint_statement): Stop printing at end of list. 166477298Sobrien 166577298SobrienSat May 18 13:12:05 1996 Steve Chamberlain <sac@slash.cygnus.com> 166677298Sobrien 166777298Sobrien Support for --force-exe-suffix 166877298Sobrien * ld.h (args_type): Add force_exe_suffix. 166977298Sobrien * ld.texinfo: Add documentation. 167077298Sobrien * ldmain.c (main): Add support for option. 167177298Sobrien * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. 167277298Sobrien (ld_options, parse_args): Add support for option. 167377298Sobrien 167477298SobrienWed May 15 12:50:25 1996 Jim Wilson <wilson@chestnut.cygnus.com> 167577298Sobrien 167677298Sobrien * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. 167777298Sobrien 167877298SobrienFri May 10 16:28:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> 167977298Sobrien 168077298Sobrien * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was 168177298Sobrien referenced but not defined. 168277298Sobrien 168377298SobrienThu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com> 168477298Sobrien 168577298Sobrien * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: 168677298Sobrien Set a new variable to signify if the final target is an embedded 168777298Sobrien system. 168877298Sobrien * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to 168977298Sobrien .text for an embedded system. 169077298Sobrien 169177298SobrienTue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com> 169277298Sobrien 169389857Sobrien * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. 169477298Sobrien (gld${EMULATION_NAME}_place_section): New function. 169577298Sobrien (hold_{section,use,text,rdata,data}): New static locals. 169677298Sobrien (ld_${EMULATION_NAME}_emulation): Update orphan field. 169777298Sobrien * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. 169877298Sobrien (INIT,FINI): Delete, unused. 169977298Sobrien (.text): Document orphan .text.foo sections. 170077298Sobrien (.rdata): Document orphan .rdata.foo sections. 170177298Sobrien (.data): Document orphan .data.foo sections. 170277298Sobrien 170377298SobrienTue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com) 170477298Sobrien 170577298Sobrien * scripttempl/h8300.sc: Place ".tiny" sections right 170677298Sobrien after ".data" sections. 170777298Sobrien * scripttempl/h8300h.sc: Place ".tiny" sections into 170877298Sobrien the "tiny" memory region, 0xff8000 through 0xffff00. 170977298Sobrien 171077298Sobrien * scripttempl/h8300.sc: Set the entry point to the value of 171177298Sobrien "_start" rather than the start of the text segment. 171277298Sobrien * scripttempl/h8300h.sc: Likewise. 171377298Sobrien 171477298Sobrien * scripttempl/h8300.sc: Place .rodata sections before .text 171577298Sobrien sections in main ram. 171677298Sobrien * scripttempl/h8300h.sc: Likewise. 171777298Sobrien 171877298SobrienMon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com) 171977298Sobrien 172077298Sobrien * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the 172177298Sobrien 8-bit region and 8-bit sections. 172277298Sobrien 172377298SobrienWed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com> 172477298Sobrien 172577298Sobrien * ldlang.c (section_already_linked): Fix typos. 172677298Sobrien 172777298SobrienMon Apr 29 20:31:06 1996 Doug Evans <dje@canuck.cygnus.com> 172877298Sobrien 172977298Sobrien * scripttempl/pe.sc (.endjunk): Define __end__. 173077298Sobrien 173177298SobrienMon Apr 29 17:05:13 1996 Ian Lance Taylor <ian@cygnus.com> 173277298Sobrien 173377298Sobrien * ldlang.c (longest_section_name): Remove. 173477298Sobrien (SECTION_NAME_MAP_LENGTH): Define. 173577298Sobrien (print_size, print_alignment, print_fill, print_section): Remove. 173677298Sobrien (print_flags): Remove. 173777298Sobrien (lang_map): Rewrite. 173877298Sobrien (print_output_section_statement): Rewrite. 173977298Sobrien (print_assignment): Rewrite. 174077298Sobrien (print_one_symbol): Rewrite. 174177298Sobrien (print_input_section): Rewrite. 174277298Sobrien (print_fill_statement): Rewrite. 174377298Sobrien (print_data_statement): Rewrite. 174477298Sobrien (print_address_statement): New static function. 174577298Sobrien (print_reloc_statement): Rewrite. 174677298Sobrien (print_padding_statement): Rewrite. 174777298Sobrien (print_wild_statement): Rewrite. 174877298Sobrien (print_statement_list): Clean up. 174977298Sobrien (print_statement): Clean up. Some minor output changes. 175077298Sobrien (print_statements): Clean up. 175177298Sobrien (load_symbols): Put another - before -whole-archive. 175277298Sobrien * ldexp.c (exp_print_tree): Change etree_value and etree_rel to 175377298Sobrien print 0x and to omit leading zeroes. For etree_rel, use %B to 175477298Sobrien print the BFD. For etree_assign, remove the space after the 175577298Sobrien destination name. 175677298Sobrien * ldwrite.c: Include "libiberty.h". 175777298Sobrien (clone_section): Call xstrdup, not strdup. 175877298Sobrien (ldwrite): Don't print any map information. 175977298Sobrien (print_symbol_table, print_file_stuff, print_symbol): Remove. 176077298Sobrien * ldmain.c (main): Call lang_map when appropriate. 176177298Sobrien * ldmisc.c (vfinfo): Add support for %W. 176277298Sobrien (print_address): Remove. 176377298Sobrien * ldmisc.h (print_address): Don't declare. 176477298Sobrien * Makefile.in: Rebuild dependencies. 176577298Sobrien 176677298SobrienMon Apr 29 10:29:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 176777298Sobrien 176877298Sobrien * configure.host (m68*-*-linux*): Add -dynamic-linker to 176977298Sobrien HOSTING_CRT0. Search -lgcc both before and after -lc in 177077298Sobrien HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory 177177298Sobrien at first. 177277298Sobrien (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler 177377298Sobrien directory at first. 177477298Sobrien 177577298SobrienFri Apr 26 14:42:27 1996 Ian Lance Taylor <ian@cygnus.com> 177677298Sobrien 177777298Sobrien * ldmisc.h (demangle): Declare. 177877298Sobrien * ldmisc.c: Include "libiberty.h". Include demangle.h with "", 177977298Sobrien not <>. 178077298Sobrien (demangle): Make non-static. Remove remove_underscore paramter. 178177298Sobrien Always return an allocated string. 178277298Sobrien (vfinfo): Free result of demangle. Add case 'G'. Use %T to print 178377298Sobrien functionname, rather than calling demangle. Print a colon between 178477298Sobrien the BFD(section+offset) and the line number. 178577298Sobrien * ldmain.c (add_archive_element): Improve format of archive 178677298Sobrien information in map file. 178777298Sobrien (constructor_callback): Don't print anything to the map file. 178877298Sobrien * ldlang.c (lang_one_common): Improve format of common symbol 178977298Sobrien information in map file. 179077298Sobrien * ldctor.c (ldctor_build_sets): If producing a map file, print set 179177298Sobrien information. 179277298Sobrien * ldwrite.c (print_symbol_table): Print a newline before the 179377298Sobrien header in the map file. 179477298Sobrien * Makefile.in: Rebuild dependencies. 179577298Sobrien 179677298Sobrien * ldmisc.c (vfinfo): Reindent. 179777298Sobrien 179877298SobrienMon Apr 22 12:07:32 1996 Ian Lance Taylor <ian@cygnus.com> 179977298Sobrien 180077298Sobrien * ldlang.c (lang_size_sections): If _cooked_size is not 0, then 180177298Sobrien don't clobber it when not relaxing. 180277298Sobrien 180377298Sobrien * ld.h (ld_config_type): Remove traditional_format field. 180477298Sobrien * ldmain.c (main): Use link_info.traditional_format rather than 180577298Sobrien config.traditional_format. 180677298Sobrien * ldlang.c (ldlang_open_output): Likewise. 180777298Sobrien * lexsup.c (parse_args): Likewise. 180877298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. 180977298Sobrien * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. 181077298Sobrien 181177298Sobrien * ldlang.c (wild_doit): Discard debugging sections if we are 181277298Sobrien stripping debugging information. 181377298Sobrien 181477298Sobrien * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. 181577298Sobrien 181677298SobrienTue Apr 16 16:38:32 1996 Ian Lance Taylor <ian@cygnus.com> 181777298Sobrien 181877298Sobrien * ldexp.c (fold_binary): Correct handling of subtraction with 181977298Sobrien absolute values. 182077298Sobrien (fold_name): Permit symbols in lang_allocating_phase_enum. 182177298Sobrien 182277298Sobrien * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo 182377298Sobrien accidental changes in last patch. 182477298Sobrien 182577298SobrienTue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> 182677298Sobrien 182777298Sobrien * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. 182877298Sobrien (powerpcle*-*-{sysv,solaris}): Ditto. 182977298Sobrien 183077298SobrienMon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> 183177298Sobrien 183277298Sobrien * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it 183377298Sobrien in m68k/crt0.S without things blowing up. 183477298Sobrien 183577298SobrienFri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> 183677298Sobrien 183777298Sobrien * scripttempl/m68kcoff.sc: Remove default address for .data so 183877298Sobrien .text, .data, and .bss are all sequential. 183977298Sobrien 184077298SobrienThu Apr 11 12:05:35 1996 Ian Lance Taylor <ian@cygnus.com> 184177298Sobrien 184277298Sobrien * scripttempl/m68kcoff.sc: Remove regions and simplify. 184377298Sobrien 184477298SobrienWed Apr 10 14:41:53 1996 Jeffrey A Law (law@cygnus.com) 184577298Sobrien 184677298Sobrien * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 184777298Sobrien bytes of the address space. Put data from the ".eight" sections 184877298Sobrien into the 8-bit area. 184977298Sobrien * scripttempl/h8300h.sc: Likewise. 185077298Sobrien 185177298SobrienTue Apr 9 14:10:42 1996 Doug Evans <dje@canuck.cygnus.com> 185277298Sobrien 185377298Sobrien * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): 185477298Sobrien Pass $ARCH to ldfile_set_output_arch instead of setting 185577298Sobrien ldfile_output_architecture directly. 185677298Sobrien 185777298SobrienTue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> 185877298Sobrien 185977298Sobrien * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section 186077298Sobrien next to .text. Put _etext after .text, .init, .fini, and 186177298Sobrien .rodata{,2} sections. 186277298Sobrien 186377298SobrienTue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com> 186477298Sobrien 186577298Sobrien * ld.texinfo: Rearrange option documentation. 186677298Sobrien 186777298Sobrien * lexsup.c (ld_options): New static array. 186877298Sobrien (parse_args): Build shortopts and longopts from ld_options array. 186977298Sobrien (help): New static function. 187077298Sobrien * ldver.h (help): Don't declare. 187177298Sobrien * ldver.c (ldversion): Reindent. 187277298Sobrien (help): Remove. 187377298Sobrien 187477298Sobrien * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. 187577298Sobrien 187677298SobrienMon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com> 187777298Sobrien 187877298Sobrien * emultempl/elf32.em: When checking for a native emulation, check 187977298Sobrien that the current emulation is the default emulation. 188077298Sobrien * emultempl/sunos.em: Likewise. 188177298Sobrien 188277298Sobrien * configure.in: Permit --enable-shared to specify a list of 188377298Sobrien directories. 188477298Sobrien * configure: Rebuild. 188577298Sobrien 188677298Sobrien * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, 188777298Sobrien for HP/UX compatibility. 188877298Sobrien 188977298SobrienFri Apr 5 14:30:14 1996 Ian Lance Taylor <ian@cygnus.com> 189077298Sobrien 189177298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New 189277298Sobrien static function, if ${host} = ${target}. 189377298Sobrien (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a 189477298Sobrien needed shared library if ${host} = $[target}. 189577298Sobrien 189677298Sobrien * configure.host (i[345]86-*-linux*): Add -dynamic-linker to 189777298Sobrien HOSTING_CRT0. Search -lgcc both before and after -lc in 189877298Sobrien HOSTING_LIBS. 189977298Sobrien 190077298Sobrien * configure.tgt: Add i[345]86-*-freebsdelf* target; from John 190177298Sobrien Polstra <jdp@polstra.com>. 190277298Sobrien 190377298SobrienFri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk> 190477298Sobrien 190577298Sobrien * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit 190677298Sobrien architecture number. 190777298Sobrien * scripttempl/elf.sc: Use $MACHINE definition if present. 190877298Sobrien * configure.tgt (targ_extra_emuls): Force 4100 build to use same 190977298Sobrien template as 4300. 191077298Sobrien 191177298SobrienMon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com> 191277298Sobrien 191377298Sobrien * ldlang.c (lang_size_sections): Change region check to handle 191477298Sobrien regions which end at the highest possible address correctly. 191577298Sobrien From Roland Weber <roweber@ira.uka.de>. 191677298Sobrien 191777298Sobrien * ldlang.c (section_already_linked): New static function. 191877298Sobrien (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a 191977298Sobrien relocateable link. Don't worry about section being NULL, since it 192077298Sobrien never should be. Don't call init_os unless the section is going 192177298Sobrien to be added. 192277298Sobrien (ldlang_add_file): Call section_already_linked for each section. 192377298Sobrien * ldmain.c (multiple_definition): Don't warn about multiple 192477298Sobrien definitions in sections which are being discarded. 192577298Sobrien 192677298SobrienSun Mar 31 00:30:47 1996 steve chamberlain <sac@slash.cygnus.com> 192777298Sobrien 192877298Sobrien * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. 192977298Sobrien * emultempl/pe.em (init): Remove special case PPC code. 193077298Sobrien 193177298SobrienFri Mar 29 00:01:29 1996 Jeffrey A Law (law@cygnus.com) 193277298Sobrien 193377298Sobrien * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long 193477298Sobrien so as not to overwrite the magic syscall entry at 0xc4. 193577298Sobrien * scripttempl/h8300h.sc: Likewise. 193677298Sobrien 193777298SobrienThu Mar 28 11:05:47 1996 Doug Evans <dje@canuck.cygnus.com> 193877298Sobrien 193977298Sobrien * configure.tgt (sparc64-*-solaris2*): Delete. 194077298Sobrien Stick with sparc-*-solaris2*. 194177298Sobrien 194277298SobrienWed Mar 27 12:33:24 1996 Ian Lance Taylor <ian@cygnus.com> 194377298Sobrien 194477298Sobrien * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". 194577298Sobrien * ldlang.c (init_os): Fail on an attempt to initialize any section 194677298Sobrien named DISCARD_SECTION_NAME. 194777298Sobrien (wild_doit): Discard input sections assigned to an output section 194877298Sobrien named DISCARD_SECTION_NAME. 194977298Sobrien * ld.texinfo: Document use of /DISCARD/. 195077298Sobrien 195177298Sobrien * ldlang.c: Fix some indentation and comments. 195277298Sobrien 195377298SobrienTue Mar 26 18:14:49 1996 Ian Lance Taylor <ian@cygnus.com> 195477298Sobrien 195577298Sobrien * ldmain.c (main): Call bfd_set_error_program_name. 195677298Sobrien 195777298SobrienThu Mar 21 13:17:34 1996 Ian Lance Taylor <ian@cygnus.com> 195877298Sobrien 195977298Sobrien * ld.texinfo: Fix a couple of indexing entries. Mention that 196077298Sobrien --verbose displays builtin linker scripts. 196177298Sobrien 196277298Sobrien * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, 196377298Sobrien and the local symbol name does not match the filename, print the 196477298Sobrien filename as well. 196577298Sobrien 196677298Sobrien Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF: 196777298Sobrien * lexsup.c (parse_args): -Bshareable is a synonym for -shared. 196877298Sobrien * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same 196977298Sobrien as TEXT_START_ADDR. 197077298Sobrien 197177298SobrienWed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 197277298Sobrien 197377298Sobrien * ld.texinfo: Fix typos. Use @pxref only inside parentheses. 197477298Sobrien 197577298SobrienWed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com> 197677298Sobrien 197777298Sobrien * ldmain.c (add_wrap): New function. 197877298Sobrien * ldmain.h (add_wrap): Declare. 197977298Sobrien * lexsup.c (parse_args): Call add_wrap. 198077298Sobrien 198177298SobrienTue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com> 198277298Sobrien 198377298Sobrien * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. 198477298Sobrien 198577298SobrienWed Mar 13 17:47:31 1996 Jeffrey A Law (law@cygnus.com) 198677298Sobrien 198777298Sobrien * scripttempl/h8300.sc: Change name of page zero memory 198877298Sobrien from "null" to "vectors". Create an output section for 198977298Sobrien vectors. Add comments on how to explicitly place items 199077298Sobrien in the vector table. 199177298Sobrien * scripttempl/h8300h.sc: Likewise. 199277298Sobrien 199377298SobrienWed Mar 13 12:40:18 1996 Ian Lance Taylor <ian@cygnus.com> 199477298Sobrien 199577298Sobrien * emultempl/lnk960.em (machine_table): Add jx and hx. 199677298Sobrien 199777298Sobrien * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't 199877298Sobrien support it. 199977298Sobrien 200077298SobrienTue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com> 200177298Sobrien 200277298Sobrien * ld.h (ld_config_type): Add warn_multiple_gp field. 200377298Sobrien * lexsup.c (parse_args): Handle --warn-multiple-gp. 200477298Sobrien * ldmain.c (warning_callback): Suppress multiple gp values warning 200577298Sobrien if --warn_multiple_gp was not used. 200677298Sobrien * ld.texinfo, ld.1: Document --warn-multiple-gp. 200777298Sobrien 200877298SobrienTue Mar 12 12:02:21 1996 Ian Lance Taylor <ian@cygnus.com> 200977298Sobrien 201077298Sobrien * lexsup.c (parse_args): Handle --wrap. 201177298Sobrien * ldmain.c (main): Initialize link_info.wrap_hash. 201277298Sobrien * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED 201377298Sobrien and NAME cases. 201477298Sobrien * ld.texinfo, ld.1: Document --wrap. 201577298Sobrien 201677298Sobrien * configure: Rebuild with autoconf 2.8. 201777298Sobrien 201877298Sobrien Don't do SunOS style dynamic linking for sparc-aout: 201977298Sobrien * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. 202077298Sobrien (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. 202177298Sobrien (sparc*-wrs-vxworks*): Likewise. 202277298Sobrien * emulparams/sparcaout.sh: New file. 202377298Sobrien * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. 202477298Sobrien (esparcaout.c): New target. 202577298Sobrien 202677298SobrienWed Mar 6 16:06:52 1996 J.T. Conklin <jtc@rtl.cygnus.com> 202777298Sobrien 202877298Sobrien * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change 202977298Sobrien in a different manner to work around differences in shell variable 203077298Sobrien expansion. 203177298Sobrien 203277298SobrienWed Mar 6 18:08:18 1996 Ian Lance Taylor <ian@cygnus.com> 203377298Sobrien 203477298Sobrien * ldemul.h (ldemul_unrecognized_file): Declare. 203577298Sobrien (ldemulation_xfer_type): Add unrecognized_file field. 203677298Sobrien * ldemul.c (ldemul_unrecognized_file): New function. 203777298Sobrien * ldlang.c (load_symbols): If a file can not be recognized, call 203877298Sobrien ldemul_unrecognized_file before trying it as a linker script. 203989857Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_unrecognized_file): New 204089857Sobrien static function. 204177298Sobrien (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". 204277298Sobrien (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. 204377298Sobrien 204477298SobrienMon Mar 4 14:11:17 1996 Ian Lance Taylor <ian@cygnus.com> 204577298Sobrien 204677298Sobrien * ldlang.c (wild): Handle foo.a(.text) by mapping each included 204777298Sobrien member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>. 204877298Sobrien 204977298SobrienFri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 205077298Sobrien 205177298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): 205277298Sobrien Search trinary.cond rather than searching trinary.lhs twice. 205377298Sobrien 205477298SobrienTue Feb 27 15:08:43 1996 Stan Shebs <shebs@andros.cygnus.com> 205577298Sobrien 205677298Sobrien * mpw-make.sed: Edit out shared library support. 205777298Sobrien (@TDIRS@): Edit out, can't use genscripts. 205877298Sobrien 205977298SobrienTue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 206077298Sobrien 206177298Sobrien * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. 206277298Sobrien * emulparams/m68klinux.sh: New file. 206377298Sobrien * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): 206477298Sobrien Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of 206577298Sobrien bfd_linux_size_dynamic_sections. 206677298Sobrien * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. 206777298Sobrien (em68klinux.c): New target. 206877298Sobrien * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. 206977298Sobrien 207077298SobrienTue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com> 207177298Sobrien 207277298Sobrien * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. 207377298Sobrien Fill in missing entries. 207477298Sobrien 207577298Sobrien * lexsup.c (parse_args): Recognize --no-whole-archive. 207677298Sobrien * ldlang.h (lang_input_statement_type): Add whole_archive field. 207777298Sobrien * ldlang.c (new_afile): Set whole_archive field. 207877298Sobrien (load_symbols): Check input file specific whole_archive field 207977298Sobrien rather than global variable. 208077298Sobrien * ld.texinfo, ld.1: Document --no-whole-archive. 208177298Sobrien 208277298SobrienTue Feb 20 16:07:00 1996 Ian Lance Taylor <ian@cygnus.com> 208377298Sobrien 208477298Sobrien * configure.tgt: Correct gldi960 to gld960. 208577298Sobrien 208677298SobrienMon Feb 19 11:16:44 1996 Ian Lance Taylor <ian@cygnus.com> 208777298Sobrien 208877298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check 208977298Sobrien the SONAME if it is available. 209077298Sobrien (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the 209177298Sobrien filename, when checking for conflicting library versions. Don't 209277298Sobrien assume that the suffix is only numbers and dots. 209377298Sobrien 209477298Sobrien * ld.texinfo: Mention that -R can be used for -rpath. 209577298Sobrien 209677298SobrienSun Feb 18 15:05:17 1996 Ian Lance Taylor <ian@cygnus.com> 209777298Sobrien 209877298Sobrien * configure.host: Check for 'do not mix' from native linker before 209977298Sobrien trying to use -rpath. 210077298Sobrien 210177298SobrienThu Feb 15 13:58:06 1996 Ian Lance Taylor <ian@cygnus.com> 210277298Sobrien 210377298Sobrien * configure.in: Remove explicit substitution of CFLAGS; autoconf 210477298Sobrien does it anyhow. 210577298Sobrien * configure: Rebuild. 210677298Sobrien * Makefile.in (LDFLAGS): Set to @LDFLAGS@. 210777298Sobrien 210877298Sobrien * configure.in: Call AC_PROG_CC before configure.host. 210977298Sobrien * configure: Rebuild. 211077298Sobrien * configure.host: Remove go32 host, since it should no longer be 211177298Sobrien necessary. Don't set CC for romp host. 211277298Sobrien 211377298Sobrien * scripttempl/elf.sc: Don't skip a page in virtual memory space if 211477298Sobrien the text segment ends exactly on a page boundary. 211577298Sobrien 211677298Sobrien * configure.in: Substitute RPATH_ENVVAR. 211777298Sobrien * configure: Rebuild. 211877298Sobrien * configure.host: Set RPATH_ENVVAR. 211977298Sobrien * Makefile.in (RPATH_ENVVAR): New variable. 212077298Sobrien (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. 212177298Sobrien 212277298SobrienWed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> 212377298Sobrien 212477298Sobrien * configure.in: Redo emulation handling so that each emulation 212577298Sobrien searches the correct tool directory, based on the target alias. 212677298Sobrien For example, "configure --enable-targets=m68k-coff i386-linux" 212777298Sobrien will search /usr/local/i386-linux/lib for linux and 212877298Sobrien /usr/local/m68k-coff/lib for m68k-coff. 212977298Sobrien * configure: Rebuild. 213077298Sobrien * configure.tgt: Add special tdir settings for Linux. 213177298Sobrien * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} 213277298Sobrien for each eEMUL.c target. 213377298Sobrien * genscripts.sh: Accept specific alias as 9th argument, and use it 213477298Sobrien in LIB_PATH. 213577298Sobrien 213677298SobrienWed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> 213777298Sobrien 213877298Sobrien * ldlang.c (lang_set_startof): Don't do anything for a 213977298Sobrien relocateable link. 214077298Sobrien 214177298Sobrien * ldgram.y (mri_script_file): Call mri_draw_tree. 214277298Sobrien * mri.c (mri_draw_tree): Make globally visible. Don't bother to 214377298Sobrien create memory regions. 214477298Sobrien (mri_load): Don't call mri_draw_tree. 214577298Sobrien * mri.h (mri_draw_tree): Declare. 214677298Sobrien 214777298Sobrien * configure.tgt (m68*-*-psos): New target. 214877298Sobrien * emulparams/m68kpsos.sh: New file. 214977298Sobrien * scripttempl/psos.sc: New file. 215077298Sobrien * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. 215177298Sobrien (em68kpsos.c): New target. 215277298Sobrien 215377298SobrienWed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com> 215477298Sobrien 215577298Sobrien * configure.tgt (*-*-ieee*): New target; use vanilla. 215677298Sobrien 215777298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip 215877298Sobrien `:foo' from ${ARCH}. 215977298Sobrien 216077298SobrienTue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu> 216177298Sobrien 216277298Sobrien * scripttempl/i386msdos.sc: Don't pad the .text section. Put 216377298Sobrien .rodata in .data. 216477298Sobrien 216577298SobrienTue Feb 13 14:04:19 1996 Ian Lance Taylor <ian@cygnus.com> 216677298Sobrien 216777298Sobrien * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. 216877298Sobrien 216977298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if 217077298Sobrien it looks like we might be linking in two different versions of the 217177298Sobrien same shared library. Based on a patch from H J Lu <hjl@zoom.com>. 217277298Sobrien 217377298SobrienThu Feb 8 19:25:54 1996 Ian Lance Taylor <ian@cygnus.com> 217477298Sobrien 217577298Sobrien * ldlang.c (lang_size_sections): Increment the section size when a 217677298Sobrien padding statement is encountered. 217777298Sobrien 217877298SobrienWed Feb 7 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com> 217977298Sobrien 218077298Sobrien * configure.in: Look for --enable-shared. Change the value of 218177298Sobrien BFDLIB when linking against a shared library on SunOS. 218277298Sobrien * configure: Rebuild. 218377298Sobrien * configure.host: If using a shared BFD library, try to pass a 218477298Sobrien reasonable -rpath option when linking. 218577298Sobrien * Makefile.in (BFDLIB): Set to @BFDLIB@. 218677298Sobrien 218777298SobrienTue Feb 6 12:29:14 1996 Doug Evans <dje@charmed.cygnus.com> 218877298Sobrien 218977298Sobrien * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. 219077298Sobrien * emultempl/generic.em: Strip `:foo' from ${ARCH}. 219177298Sobrien 219277298SobrienMon Feb 5 16:25:30 1996 Ian Lance Taylor <ian@cygnus.com> 219377298Sobrien 219477298Sobrien Support for building bfd and opcodes as shared libraries, based on 219577298Sobrien patches from Alan Modra <alan@spri.levels.unisa.edu.au>: 219677298Sobrien * configure.in (HLDFLAGS): New substitution. 219777298Sobrien * configure: Rebuild. 219877298Sobrien * configure.host: Set HLDFLAGS on SunOS. 219977298Sobrien * Makefile.in (HLDFLAGS): New variable. 220077298Sobrien (BFDDEP): New variable. 220177298Sobrien (BFDLIB): Change to -L../bfd -lbfd. 220277298Sobrien ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use 220377298Sobrien $(HLDFLAGS) in link. 220477298Sobrien (check): Set LD_LIBRARY_PATH in the environment. 220577298Sobrien 220677298SobrienFri Feb 2 19:26:25 1996 Michael Meissner <meissner@wogglebug.tiac.net> 220777298Sobrien 220877298Sobrien * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss 220977298Sobrien in the read-only section, not read/write unless we are making a 221077298Sobrien shared library. 221177298Sobrien (.debug*): Add dwarf debug sections. 221277298Sobrien (.rela.{sdata*,sbss*}): Add sections. 221377298Sobrien 221477298SobrienFri Feb 2 16:50:21 1996 Ian Lance Taylor <ian@cygnus.com> 221577298Sobrien 221677298Sobrien * configure: Regenerate. 221777298Sobrien 221877298SobrienThu Feb 1 10:50:46 1996 Ian Lance Taylor <ian@cygnus.com> 221977298Sobrien 222077298Sobrien * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, 222177298Sobrien for SVR4 compatibility. 222277298Sobrien 222377298Sobrien * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. 222477298Sobrien 222577298SobrienWed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com> 222677298Sobrien 222777298Sobrien * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. 222877298Sobrien * emultempl/pe.em (definfo init): Make the default stack reserve 222977298Sobrien of a PPC larger. 223077298Sobrien 223177298SobrienWed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> 223277298Sobrien 223377298Sobrien * configure.tgt (m68*-apple-aux*): New target. 223477298Sobrien * emulparams/m68kaux.sh: New file. 223577298Sobrien * scripttempl/m68kaux.sc: New file. 223677298Sobrien * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. 223777298Sobrien (em68kaux.c): New target. 223877298Sobrien 223977298SobrienTue Jan 30 13:18:56 1996 Ian Lance Taylor <ian@cygnus.com> 224077298Sobrien 224177298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore 224277298Sobrien -bnoentry, since the right thing tends to happen anyhow. 224377298Sobrien 224477298SobrienMon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com> 224577298Sobrien 224677298Sobrien * ld.texinfo, ld.1: Document -export-dynamic. 224777298Sobrien 224877298SobrienFri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 224977298Sobrien 225077298Sobrien * emultempl/sunos.em: Check for native compile by comparing 225177298Sobrien ${target} and ${host}. 225277298Sobrien 225377298SobrienThu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk> 225477298Sobrien 225577298Sobrien * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed 225677298Sobrien TEXT_START_ADDR to allow use on IDT and PMON systems. 225777298Sobrien 225877298SobrienWed Jan 24 20:59:40 1996 Steve Chamberlain <sac@slash.cygnus.com> 225977298Sobrien 226077298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): 226177298Sobrien correct spelling. 226277298Sobrien 226377298SobrienWed Jan 24 16:59:19 1996 Doug Evans <dje@charmed.cygnus.com> 226477298Sobrien 226577298Sobrien * configure.tgt (sparc64-*-solaris2*): New configuration. 226677298Sobrien (sparc64-*-aout*): Renamed from sparc64*. 226777298Sobrien 226877298SobrienMon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 226977298Sobrien 227077298Sobrien * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. 227177298Sobrien * genscripts.sh: Set host, target and target_alias variables. 227277298Sobrien Check for native compile by comparing ${target} and ${host}. 227377298Sobrien * emultempl/elf32.em: Likewise. 227477298Sobrien * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. 227577298Sobrien 227677298SobrienMon Jan 22 11:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> 227777298Sobrien 227877298Sobrien * scripttempl/elfppc.sc: Refine eabi support to better support 227977298Sobrien .sdata, .sdata2, .sbss, etc. sections. 228077298Sobrien 228177298SobrienTue Jan 16 15:16:58 1996 Ian Lance Taylor <ian@cygnus.com> 228277298Sobrien 228377298Sobrien * ldgram.y (%union): Add phdr field. 228477298Sobrien (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. 228577298Sobrien (phdr_qualifiers): New nonterminal. Add support for FLAGS. 228677298Sobrien (opt_hdrs, hdr): Remove. 228777298Sobrien (phdr_val): New nonterminal. 228877298Sobrien * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr 228977298Sobrien and phdrs parameters. Add flags parameter. 229077298Sobrien (lang_record_phdrs): Update for changes to lang_phdr. Pass flags 229177298Sobrien to bfd_record_phdr. 229277298Sobrien * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and 229377298Sobrien phdrs fields. Add flags field. 229477298Sobrien (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. 229577298Sobrien (lang_new_phdr): Update declaration. 229677298Sobrien * ld.texinfo: Document FLAGS. 229777298Sobrien 229877298SobrienMon Jan 15 15:07:19 1996 Ian Lance Taylor <ian@cygnus.com> 229977298Sobrien 230077298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): 230177298Sobrien Don't make a shared library because of an undefined reference to 230277298Sobrien __GLOBAL_OFFSET_TABLE_. 230377298Sobrien 230477298Sobrien Add some Irix 5 support, mostly from Kazumoto Kojima 230577298Sobrien <kkojima@info.kanagawa-u.ac.jp>: 230677298Sobrien * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. 230777298Sobrien (SHLIB_TEXT_START_ADDR): Define. 230877298Sobrien (OTHER_GOT_SYMBOLS): Define. 230977298Sobrien (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. 231077298Sobrien (EXECUTABLE_SYMBOLS): Don't define. 231177298Sobrien (DYNAMIC_LINK): Don't define. 231277298Sobrien * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. 231377298Sobrien * scripttempl/elfmips.sc: New file. 231477298Sobrien * configure.host (mips*-dec-bsd*): Change mips to mips*. 231577298Sobrien (mips*-sgi-irix4*): Likewise. 231677298Sobrien (mips*-sgi-irix5*): New entry. 231777298Sobrien * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than 231877298Sobrien elf.sc. 231977298Sobrien (eelf32lmip.c): Likewise. 232077298Sobrien 232177298SobrienSat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> 232277298Sobrien 232377298Sobrien * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add 232477298Sobrien .rela.got.neg section. 232577298Sobrien 232677298SobrienFri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com> 232777298Sobrien 232877298Sobrien * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. 232977298Sobrien 233077298Sobrien * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if 233177298Sobrien ANSI_PROTOTYPES is defined. Remove special handling of 233277298Sobrien WINDOWS_NT. Various indendation fixes. 233377298Sobrien (vfinfo): Change fmt parameter to const char *. 233477298Sobrien (info_msg): Write <stdarg.h> version. 233577298Sobrien (einfo, minfo, finfo): Likewise. 233677298Sobrien (info_assert): Change file parameter to const char *. 233777298Sobrien * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is 233877298Sobrien defined, use a real prototype. 233977298Sobrien (info_assert): Change first parameter to be const char *. 234077298Sobrien 234177298SobrienFri Jan 12 13:29:55 1996 Michael Meissner <meissner@tiktok.cygnus.com> 234277298Sobrien 234377298Sobrien * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add 234477298Sobrien in old support that 2.7.2 needs, but the current compiler does 234577298Sobrien not. 234677298Sobrien 234777298Sobrien * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the 234877298Sobrien correct Linker script template. 234977298Sobrien 235077298Sobrien * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, 235177298Sobrien not 0x400000. 235277298Sobrien (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. 235377298Sobrien 235477298SobrienTue Jan 9 15:53:02 1996 Ian Lance Taylor <ian@cygnus.com> 235577298Sobrien 235677298Sobrien * scripttempl/alpha.sc: Put .rconst right after .rdata. 235777298Sobrien 235877298SobrienFri Jan 5 14:07:45 1996 Steve Chamberlain <sac@slash.cygnus.com> 235977298Sobrien 236077298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): 236177298Sobrien sort using right pointer. 236277298Sobrien 236377298SobrienFri Jan 5 12:25:47 1996 Michael Meissner <meissner@tiktok.cygnus.com> 236477298Sobrien 236577298Sobrien * scripttempl/elfppc.sc: Remove support for creating special 236677298Sobrien labels for eabi section begin/end here. The compiler now uses 236777298Sobrien crt{i,n}.o to create these symbols. 236877298Sobrien 236977298SobrienThu Jan 4 17:08:58 1996 Ian Lance Taylor <ian@cygnus.com> 237077298Sobrien 237177298Sobrien * configure.host: Change existing Linux HOSTING_CRT0 to be used 237277298Sobrien for a.out only, and put in appropriate HOSTING_CRT0 and 237377298Sobrien HOSTING_LIBS values for Linux ELF. 237477298Sobrien 237577298SobrienThu Jan 4 12:02:05 1996 Doug Evans <dje@canuck.cygnus.com> 237677298Sobrien 237777298Sobrien * scripttempl/h8300.sc: Use all 64K for ram. 237877298Sobrien * scripttempl/h8300h.sc: Define 256K ram size. 237977298Sobrien 238077298SobrienThu Dec 21 15:57:18 1995 Ian Lance Taylor <ian@cygnus.com> 238177298Sobrien 238277298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass 238377298Sobrien export_defines as true to bfd_xcoff_size_dynamic_sections if -unix 238477298Sobrien was used, regardless of whether -bE was used. 238577298Sobrien 238677298SobrienTue Dec 19 17:35:38 1995 Ian Lance Taylor <ian@cygnus.com> 238777298Sobrien 238877298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set 238977298Sobrien relocateable before calling ldctor_build_sets if the output file 239077298Sobrien is in an XCOFF format. 239177298Sobrien 239277298SobrienFri Dec 15 16:34:36 1995 Ian Lance Taylor <ian@cygnus.com> 239377298Sobrien 239477298Sobrien * ldwrite.c (build_link_order): When handling a data statement, if 239577298Sobrien the endianness of the output file is unknown, use the endianness 239677298Sobrien of the input file. 239777298Sobrien 239877298SobrienTue Dec 12 13:55:41 1995 Stan Shebs <shebs@andros.cygnus.com> 239977298Sobrien 240077298Sobrien * mpw-config.in: Recognize mips-*-* as equivalent to 240177298Sobrien mips-idt-ecoff. 240277298Sobrien * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. 240377298Sobrien * mpw-ld.r: Add version resources. 240477298Sobrien (cfrg): Use symbolic instead of literal name for executable. 240577298Sobrien 240677298SobrienMon Dec 11 15:13:41 1995 Kim Knuttila <krk@cygnus.com> 240777298Sobrien 240877298Sobrien * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. 240977298Sobrien 241077298SobrienWed Dec 6 14:33:50 1995 Doug Evans <dje@canuck.cygnus.com> 241177298Sobrien 241277298Sobrien * ldlang.c (print_statement{,s}): Delete duplicate prototype. 241377298Sobrien (print_statement_list): Renamed from print_statement. All callers 241477298Sobrien updated. 241577298Sobrien (print_statement): New function to print just one statement. 241677298Sobrien (print_{data,reloc,padding}_statement): Don't crash if 241777298Sobrien output_section == NULL. 241877298Sobrien (dprint_statement): New function. 241977298Sobrien 242077298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix 242177298Sobrien call to sort_sections. 242277298Sobrien 242377298SobrienWed Dec 6 14:59:06 1995 Ian Lance Taylor <ian@cygnus.com> 242477298Sobrien 242577298Sobrien * emultempl/aix.em (unix_ld): New static variable. 242677298Sobrien (gld${EMULATION_NAME}_parse_args): Handle -unix. 242777298Sobrien (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass 242877298Sobrien gc as false and export_defineds as true to size_dynamic_sections. 242977298Sobrien 243077298Sobrien * ldexp.c (exp_fold_tree): Permit assignments to dot in the final 243177298Sobrien phase if the current section is abs_output_section. 243277298Sobrien 243377298Sobrien 243477298SobrienTue Dec 5 09:49:39 1995 Doug Evans <dje@canuck.cygnus.com> 243577298Sobrien 243677298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call 243777298Sobrien to sort_sections. 243877298Sobrien 243977298SobrienFri Dec 1 16:48:36 1995 Ian Lance Taylor <ian@cygnus.com> 244077298Sobrien 244177298Sobrien * ldgram.y (PHDRS): New token. 244277298Sobrien (ifile_p1): Accept phdrs. 244377298Sobrien (section): Accept phdr_opt at the end of the section definition. 244477298Sobrien (phdr_op): New nonterminal. 244577298Sobrien (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. 244677298Sobrien * ldlex.l: Accept PHDRS. 244777298Sobrien * ldlang.h (struct lang_output_section_phdr_list): Define. 244877298Sobrien (lang_output_section_statement_type): Add phdrs field. 244977298Sobrien (struct lang_phdr): Define. 245077298Sobrien (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. 245177298Sobrien (lang_new_phdr): Declare. 245277298Sobrien * ldlang.c (lang_phdr_list): New static variable. 245377298Sobrien (lang_output_section_statement_lookup): Initialize phdrs field. 245477298Sobrien (lang_process): Call lang_record_phdrs. 245577298Sobrien (lang_new_phdr): New function. 245677298Sobrien (lang_section_in_phdr): New function. 245777298Sobrien (lang_record_phdrs): New static function. 245877298Sobrien * ld.texinfo: Document PHDRS. 245977298Sobrien 246077298SobrienThu Nov 30 13:14:30 1995 Kim Knuttila <krk@cygnus.com> 246177298Sobrien 246277298Sobrien * scripttempl/ppcpe.sc: Moved .edata into its own section to 246377298Sobrien expose it. 246477298Sobrien 246577298SobrienThu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 246677298Sobrien 246777298Sobrien * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and 246877298Sobrien HOSTING_LIBS for testing. 246977298Sobrien (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for 247077298Sobrien testing. 247177298Sobrien 247277298SobrienTue Nov 28 12:14:53 1995 Ian Lance Taylor <ian@cygnus.com> 247377298Sobrien 247477298Sobrien * lexsup.c (parse_args): Set config.dynamic_link to false for -N 247577298Sobrien and -n. 247677298Sobrien 247777298SobrienMon Nov 27 13:12:09 1995 Ian Lance Taylor <ian@cygnus.com> 247877298Sobrien 247977298Sobrien * configure: Rebuild with autoconf 2.7. 248077298Sobrien 248177298SobrienFri Nov 24 18:35:35 1995 Doug Evans <dje@canuck.cygnus.com> 248277298Sobrien 248377298Sobrien * scripttempl/pe.sc: Two .junk's is too much junk. 248477298Sobrien 248577298SobrienTue Nov 21 16:14:32 1995 Ian Lance Taylor <ian@cygnus.com> 248677298Sobrien 248777298Sobrien * configure.in: Use BFD_NEED_DECLARATION. 248877298Sobrien * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. 248977298Sobrien * configure, config.in: Rebuild with autoconf 2.6. 249077298Sobrien 249177298Sobrien * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR 249277298Sobrien being unsupported if this is not a relocateable link and the input 249377298Sobrien BFD supports it, since ldctor_build_sets can cope with that case. 249477298Sobrien 249577298SobrienFri Nov 17 16:23:15 1995 Stan Shebs <shebs@andros.cygnus.com> 249677298Sobrien 249777298Sobrien * configure.tgt (powerpc-*-macos*): New target. 249877298Sobrien * emulparams/ppcmacos.sh: New file, PowerMac emulation. 249977298Sobrien * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. 250077298Sobrien (eppcmacos.c): New target. 250177298Sobrien * mpw-eppcmacos.c: Update. 250277298Sobrien * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. 250377298Sobrien 250477298SobrienFri Nov 17 10:37:27 1995 Ian Lance Taylor <ian@cygnus.com> 250577298Sobrien 250677298Sobrien * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not 250777298Sobrien $(host_canonical) and $(target_canonical). 250877298Sobrien (CXX_FOR_TARGET): Likewise. 250977298Sobrien 251077298SobrienThu Nov 16 11:23:42 1995 Doug Evans <dje@canuck.cygnus.com> 251177298Sobrien 251277298Sobrien * scripttempl/pe.sc (.endjunk): Move definition of `end' to here 251377298Sobrien so the malloc heap begins at a sane place. 251477298Sobrien 251577298SobrienThu Nov 16 03:09:32 1995 Ken Raeburn <raeburn@cygnus.com> 251677298Sobrien 251777298Sobrien Version 2.6 released. 251877298Sobrien * ldver.c (ldversion): Update to 2.6. 251977298Sobrien 252077298Sobrien * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not 252177298Sobrien $(GENERATED_*FILES), since they need to be retained by distclean. 252277298Sobrien (maintainer-clean, realclean): Delete them here. 252377298Sobrien 252477298SobrienTue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com> 252577298Sobrien 252677298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the 252777298Sobrien base file with FOPEN_WB, not "w". 252877298Sobrien 252977298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the 253077298Sobrien environment variable LD_RUN_PATH if neither -rpath nor -rpath-link 253177298Sobrien were used. 253277298Sobrien (gld${EMULATION_NAME}_before_allocation): Use the environment 253377298Sobrien variable LD_RUN_PATH if -rpath was not used. 253477298Sobrien * ld.texinfo, ld.1: Document LD_RUN_PATH. 253577298Sobrien 253677298SobrienThu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com> 253777298Sobrien 253877298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize 253977298Sobrien -bl and -bloadmap options. 254077298Sobrien 254177298Sobrien * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, 254277298Sobrien report a better error. 254377298Sobrien 254477298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add 254577298Sobrien new local variable special_sections, and pass it to 254677298Sobrien size_dynamic_sections. Look through the results, and move the 254777298Sobrien sections around in the mapping so that they are defined correctly. 254877298Sobrien 254977298SobrienWed Nov 8 11:40:59 1995 Ian Lance Taylor <ian@cygnus.com> 255077298Sobrien 255177298Sobrien * ldemul.c (ldemul_default_target): Cast getenv return value. 255277298Sobrien 255377298SobrienTue Nov 7 11:15:36 1995 Kim Knuttila <krk@cygnus.com> 255477298Sobrien 255577298Sobrien * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable 255677298Sobrien Executable support. 255777298Sobrien * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable 255877298Sobrien support. 255977298Sobrien 256077298Sobrien * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. 256177298Sobrien * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. 256277298Sobrien 256377298Sobrien * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro 256477298Sobrien (gld_$_before_allocation): added hooks for toc construction based 256577298Sobrien on the above macro. 256677298Sobrien 256777298SobrienTue Nov 7 11:47:23 1995 Ian Lance Taylor <ian@cygnus.com> 256877298Sobrien 256977298Sobrien * ld.texinfo: The linker does not use _main as an entry point. 257077298Sobrien 257177298SobrienTue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 257277298Sobrien 257377298Sobrien * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo 257477298Sobrien 0x2000 not 0x200. 257577298Sobrien 257677298SobrienMon Nov 6 10:59:21 1995 Ian Lance Taylor <ian@cygnus.com> 257777298Sobrien 257877298Sobrien * configure.in: Add test for whether free must be declared. 257977298Sobrien * sysdep.h: Declare free if necessary. Include "ansidecl.h". 258077298Sobrien * acconfig.h: Explain NEED_DECLARATION_FREE. 258177298Sobrien * configure, config.in: Rebuild. 258277298Sobrien 258377298Sobrien * lexsup.c (parse_args): Take B:: out of shortopts. 258477298Sobrien 258577298SobrienSun Nov 5 03:08:28 1995 Ken Raeburn <raeburn@cygnus.com> 258677298Sobrien 258777298Sobrien * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 258877298Sobrien for now, as with m68k4kbsd, until shared library support gets 258977298Sobrien done. 259077298Sobrien 259177298Sobrien * configure.host: For i386 BSD variants, crt0.o lives in 259277298Sobrien /usr/lib. (True for NetBSD at least, unconfirmed for others.) 259377298Sobrien 259477298SobrienWed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 259577298Sobrien 259677298Sobrien * Makefile.in (ALL_EMULATIONS): Add edelta68.o. 259777298Sobrien (edelta68.c): New target. 259877298Sobrien * configure.tgt (m68*-motorola-sysv*): New target. 259977298Sobrien * emulparams/delta68.sh: New file. 260077298Sobrien * scripttempl/delta68.sc: New file. 260177298Sobrien 260277298Sobrien * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section 260377298Sobrien addresses. 260477298Sobrien 260577298SobrienWed Nov 1 11:41:56 1995 Ian Lance Taylor <ian@cygnus.com> 260677298Sobrien 260777298Sobrien * ldgram.y (mri_script_command): Accept ',' as well as '=' in 260877298Sobrien ALIGN and ALIGNMOD statements. 260977298Sobrien 261077298Sobrien * emultempl/aix.em: Include ldgram.h. 261177298Sobrien (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on 261277298Sobrien AIX 4.1. 261377298Sobrien * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. 261477298Sobrien 261577298SobrienTue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com> 261677298Sobrien 261777298Sobrien * configure.host (alpha-*-linux*): New host. 261877298Sobrien * configure.tgt (alpha-*-linux*): New target. 261977298Sobrien 262077298SobrienTue Oct 31 12:36:52 1995 Ian Lance Taylor <ian@cygnus.com> 262177298Sobrien 262277298Sobrien * emultempl/aix.em (export_files): Remove. 262377298Sobrien (import_files): Make static. 262477298Sobrien (struct export_symbol_list): Define. 262577298Sobrien (export_symbols): New static variable. 262677298Sobrien (gld${EMULATION_NAME}_parse_args): Handle an initial -b option 262777298Sobrien correctly. Call read_file for an export file. 262877298Sobrien (gld${EMULATION_NAME}_before_allocation): Call 262977298Sobrien bfd_xcoff_export_symbol for each export symbol, rather than 263077298Sobrien calling read_file for each export file. 263177298Sobrien (gld${EMULATION_NAME}_read_file): For an export file, make the 263277298Sobrien exported symbols undefined, and store them on the export_symbols 263377298Sobrien list. 263477298Sobrien 263577298SobrienSat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com> 263677298Sobrien 263777298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): 263877298Sobrien Don't hang if last option is unrecognised. 263977298Sobrien (gld_${EMULATION_NAME}_set_symbols): Insert created 264077298Sobrien symbols into ABS output section. 264177298Sobrien 264277298SobrienFri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> 264377298Sobrien 264477298Sobrien * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD 264577298Sobrien m68k4k arch. 264677298Sobrien (em68k4knbsd.c): New rule. 264777298Sobrien 264877298Sobrien * configure.tgt: Added support for the NetBSD m68k4k arch. 264977298Sobrien 265077298Sobrien * genscripts.sh, ldint.texinfo, 265177298Sobrien emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, 265277298Sobrien gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, 265377298Sobrien hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, 265477298Sobrien i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, 265577298Sobrien m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, 265677298Sobrien pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, 265777298Sobrien st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed 265877298Sobrien PAGE_SIZE to TARGET_PAGE_SIZE. 265977298Sobrien 266077298Sobrien * emulparams/m68knbsd.h: Ditto. 266177298Sobrien (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. 266277298Sobrien (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time 266377298Sobrien being. 266477298Sobrien 266577298Sobrien * emulparams/m68k4knbsd.sh: New file. 266677298Sobrien 266777298Sobrien * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. 266877298Sobrien 266977298SobrienFri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> 267077298Sobrien 267177298Sobrien * emultempl/aix.em: Include ldctor.h. 267277298Sobrien (gld${EMULATION_NAME}_after_open): New static function. 267377298Sobrien (gld${EMULATION_NAME}_before_allocation): Call find_relocs. 267477298Sobrien (gld${EMULATION_NAME}_find_relocs): New static function. 267577298Sobrien (gld${EMULATION_NAME}_find_exp_assignment): New static function. 267677298Sobrien (ld_${EMULATION_NAME}_emulation): Use new after_open function. 267777298Sobrien * scripttempl/aix.sc: Use CONSTRUCTORS in .data. 267877298Sobrien * ldctor.c (struct set_info): Move definition into ldctor.h. 267977298Sobrien (struct set_element): Likewise. 268077298Sobrien (sets): Make non-static. 268177298Sobrien (ldctor_add_set_entry): Add name parameter. Save it in the new 268277298Sobrien set element. 268377298Sobrien (ldctor_build_sets): Avoid being called twice. Pass set element 268477298Sobrien name to lang_add_reloc. 268577298Sobrien * ldctor.h (struct set_info): Move definition here from ldctor.c. 268677298Sobrien (struct set_element): Likewise. Add new field name. 268777298Sobrien (sets): Declare. 268877298Sobrien (ldctor_add_set_entry): Declare new name parameter. 268977298Sobrien * ldwrite.c (build_link_order): Don't insist that either name or 269077298Sobrien section be NULL in a lang_reloc_statement. 269177298Sobrien * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for 269277298Sobrien new name parameter. 269377298Sobrien (constructor_callback): Pass name to ldctor_add_new_set_entry for 269477298Sobrien new name parameter. 269577298Sobrien 269677298Sobrien * ldmisc.c (demangle): Fix indentation. Remove a leading period. 269777298Sobrien 269877298SobrienThu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com> 269977298Sobrien 270077298Sobrien * mpw-config.in: Add PowerMac target support, generate config.h. 270177298Sobrien * mac-ld.r: New file, Mac resources. 270277298Sobrien * mpw-make.sed: New file, edits Makefile.in into MPW syntax. 270377298Sobrien * mpw-make.in: Remove. 270477298Sobrien * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. 270577298Sobrien 270677298SobrienThu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com> 270777298Sobrien 270877298Sobrien * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat 270977298Sobrien -static as a synonym for -bnso. 271077298Sobrien 271177298Sobrien * scripttempl/aix.sc: Move special symbols inside sections. 271277298Sobrien Always start .data at 0. 271377298Sobrien 271477298SobrienWed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com> 271577298Sobrien 271677298Sobrien * Makefile.in (diststuff): Also make info. 271777298Sobrien (maintainer-clean realclean): Also delete *.info*. 271877298Sobrien 271977298SobrienWed Oct 25 11:27:25 1995 Ian Lance Taylor <ian@cygnus.com> 272077298Sobrien 272177298Sobrien * emultempl/aix.em: Add support for various AIX linker options, 272277298Sobrien for AIX import and export files, and for AIX shared objects. 272377298Sobrien * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. 272477298Sobrien 272577298Sobrien * ldmain.c (main): Initialize new field link_info.static_link. 272677298Sobrien 272777298Sobrien * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. 272877298Sobrien (constructor_callback): Likewise. 272977298Sobrien * ldmisc.c (vfinfo): Likewise. 273077298Sobrien * ldwrite.c (build_link_order): Likewise. 273177298Sobrien 273277298Sobrien * ld.texinfo: The MRI ALIGN directive is supported. 273377298Sobrien 273477298SobrienMon Oct 23 11:46:43 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> 273577298Sobrien 273677298Sobrien * emulparams/elf32vr4300.sh: Deleted. 273777298Sobrien * emulparams/elf32vr4300el.sh: Deleted. 273877298Sobrien * emulparams/elf32b4300.sh: Added. 273977298Sobrien * emulparams/elf32l4300.sh: Added. 274077298Sobrien * configure.tgt, Makefile.in: Updated the build to use the 274177298Sobrien new 8.3 unique names. 274277298Sobrien 274377298SobrienThu Oct 19 17:41:46 1995 Ian Lance Taylor <ian@cygnus.com> 274477298Sobrien 274577298Sobrien * ldlang.c (entry_symbol): Make non-static. 274677298Sobrien * ldlang.h (entry_symbol): Declare. 274777298Sobrien 274877298Sobrien * ldlex.l: Treat PROVIDE as a keyword in expression state. 274977298Sobrien 275077298SobrienWed Oct 18 17:34:06 1995 steve chamberlain <sac@slash.cygnus.com> 275177298Sobrien 275277298Sobrien * scripttempl/pe.sc (.bss): Move to be after .text 275377298Sobrien 275477298SobrienTue Oct 17 12:22:05 1995 Ian Lance Taylor <ian@cygnus.com> 275577298Sobrien 275677298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): 275777298Sobrien Search trinary.cond rather than searching trinary.lhs twice. From 275877298Sobrien linli@ihp.PHys.ethz.CH. 275977298Sobrien 276077298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move 276177298Sobrien directory searching code into gld${EMULATION_NAME}_search_dir. 276277298Sobrien (gld${EMULATION_NAME}_search_dir): New static function, extracted 276377298Sobrien from gld${EMULATION_NAME}_find_so. 276477298Sobrien (global_needed, global_found): New static variables. 276577298Sobrien (gld${EMULATION_NAME}_after_open): New static function. 276677298Sobrien (gld${EMULATION_NAME}_search_needed): New static function. 276777298Sobrien (gld${EMULATION_NAME}_try_needed): New static function. 276877298Sobrien (gld${EMULATION_NAME}_check_needed): New static function. 276977298Sobrien (ld_${EMULATION_NAME}_emulation): Use new after_open function. 277077298Sobrien * ld.texinfo, ld.1: Mention -rpath-link on SunOS. 277177298Sobrien 277277298Sobrien * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. 277377298Sobrien (eelf32lppc.c): Likewise. 277477298Sobrien * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. 277577298Sobrien (GENERATE_SHLIB_SCRIPT): Define as yes. 277677298Sobrien 277777298SobrienMon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com> 277877298Sobrien 277977298Sobrien * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named 278077298Sobrien bfd_link_needed-list; make appropriate changes. 278177298Sobrien 278277298Sobrien * configure.tgt (powerpc-*-aix*): New target; use aixppc. 278377298Sobrien (rs6000-*-aix*): New target; use aixrs6. 278477298Sobrien * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. 278577298Sobrien * emultempl/aix.em: New file. 278677298Sobrien * scripttempl/aix.sc: New file. 278777298Sobrien * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. 278877298Sobrien (eaixppc.c, eaixrs6.c): New targets. 278977298Sobrien 279089857SobrienFri Oct 13 14:00:37 1995 Steve Chamberlain <sac@slash.cygnus.com> 279177298Sobrien 279289857Sobrien * scripttempl/pe.sc (.reloc): Move to the end. 279377298Sobrien 279477298SobrienTue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com> 279577298Sobrien 279677298Sobrien * ldlang.c (lang_finish): Don't try to use an entry_symbol from a 279777298Sobrien section which was not linked into the final output. 279877298Sobrien 279977298SobrienTue Oct 10 10:17:22 1995 steve chamberlain <sac@slash.cygnus.com> 280077298Sobrien 280177298Sobrien * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix 280277298Sobrien fatal typos. 280377298Sobrien 280477298SobrienTue Oct 10 01:01:51 1995 Ian Lance Taylor <ian@cygnus.com> 280577298Sobrien 280677298Sobrien * ld.h (args_type): Add rpath_link field. 280777298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for 280877298Sobrien required dependencies in rpath_link path. Only search 280977298Sobrien LD_LIBRARY_PATH when configured native. 281077298Sobrien * lexsup.c (parse_args): Recognize -rpath-link. 281177298Sobrien * ld.1, ld.texinfo: Document -rpath-link. 281277298Sobrien 281377298SobrienSat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com> 281477298Sobrien 281577298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't 281677298Sobrien bother searching for needed libraries unless doing a final link. 281777298Sobrien 281877298SobrienFri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com> 281977298Sobrien 282077298Sobrien Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 282177298Sobrien 282289857Sobrien * ld.1: Fix formatting bugs. 282377298Sobrien 282477298SobrienWed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com> 282577298Sobrien 282677298Sobrien * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. 282777298Sobrien * ldexp.h (exp_get_abs_int): Update declaration. 282877298Sobrien * ldlang.c (print_output_section_statement): Use fprintf_vma to 282977298Sobrien print return value of exp_get_abs_int. 283077298Sobrien 283177298SobrienMon Oct 2 13:56:09 1995 Ian Lance Taylor <ian@cygnus.com> 283277298Sobrien 283377298Sobrien * emultempl/elf32.em (global_stat): New file static variable. 283477298Sobrien (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure 283577298Sobrien that the file has not already been included under another name. 283677298Sobrien (gld${EMULATION_NAME}_stat_needed): New static function. 283777298Sobrien 283877298SobrienFri Sep 29 12:00:18 1995 Doug Evans <dje@deneb.cygnus.com> 283977298Sobrien 284077298Sobrien * scripttempl/armcoff.sc: Start .text at 0x8000. 284177298Sobrien Start .data at 0x40000. 284277298Sobrien 284377298SobrienFri Sep 29 11:09:46 1995 Ian Lance Taylor <ian@cygnus.com> 284477298Sobrien 284577298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If 284677298Sobrien command_line.rpath is set, use it, rather than the -L options, to 284777298Sobrien build the rules section. 284877298Sobrien * ld.texinfo: Document this use of -rpath. 284977298Sobrien 285077298Sobrien * lexsup.c (parse_args): Don't set link_info.shared for -assert 285177298Sobrien pure-text. Pass true, not 1, to lang_add_entry. 285277298Sobrien * emultempl/sunos.em (find_assign): New static variable. 285377298Sobrien (found_assign): New static variable. 285477298Sobrien (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. 285577298Sobrien If not a relocateable link, and no start symbol was specified on 285677298Sobrien the command line, and there are any undefined symbols, set 285777298Sobrien link_info.shared. If link_info.shared is set, set the address of 285877298Sobrien the .text section to 0x20. 285977298Sobrien (gld${EMULATION_NAME}_find_assignment): Rename from 286077298Sobrien gld${EMULATION_NAME}_find_statement_assignment. If find_assign is 286177298Sobrien set, then just set found_assign based on whether an assignment is 286277298Sobrien found to find_assign. 286377298Sobrien (gld${EMULATION_NAME}_get_script): Don't use a special script when 286477298Sobrien producing a shared library. 286577298Sobrien * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. 286677298Sobrien * scripttempl/aout.sc: Remove CREATE_SHLIB tests. 286777298Sobrien * ldlang.c (entry_from_cmdline): New global variable. 286877298Sobrien (lang_add_entry): Change cmdline parameter from int to boolean. 286977298Sobrien Use global entry_from_cmdline rather than function static 287077298Sobrien from_cmdline. 287177298Sobrien * ldlang.h (entry_from_cmdline): Declare. 287277298Sobrien (lang_add_entry): Change declaration of second parameter from int 287377298Sobrien to boolean. 287477298Sobrien * ldgram.y: Pass false, not 0, to lang_add_entry. 287577298Sobrien 287677298SobrienThu Sep 28 12:34:13 1995 Ian Lance Taylor <ian@cygnus.com> 287777298Sobrien 287877298Sobrien * ld.h (parsing_defsym): Declare. 287977298Sobrien * ldlex.h (lex_string): Declare. 288077298Sobrien * ldlex.l (lex_string): Define. 288177298Sobrien * lexsup.c (parsing_defsym): Define. 288277298Sobrien (parse_args): In OPTION_DEFSYM case, set lex_string before calling 288377298Sobrien lex_redirect, and clear it after calling yyparse. Set 288477298Sobrien parsing_defsym around call to yyparse. 288577298Sobrien * ldmain.c (main): Set lex_string before calling lex_redirect, and 288677298Sobrien clear it after calling yyparse. 288777298Sobrien * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built 288877298Sobrien in linker scripts correctly. 288977298Sobrien 289077298Sobrien * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other 289177298Sobrien COFF targets, allowing for the leading underscore used on SPARC 289277298Sobrien COFF. 289377298Sobrien 289477298Sobrien * lexsup.c (parse_args): Handle -assert. 289577298Sobrien * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. 289677298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the 289777298Sobrien shared library script when appropriate. 289877298Sobrien * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text 289977298Sobrien section at SIZEOF_HEADERS. 290077298Sobrien 290177298SobrienThu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com> 290277298Sobrien 290377298Sobrien * Makefile.in (earmcoff.c): Build. 290477298Sobrien * configure.tgt (arm-*-coff): New target 290577298Sobrien * emulparms/armcoff.sh: New file. 290677298Sobrien * scripttempl/armcoff.sc: New file. 290777298Sobrien 290877298SobrienTue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com> 290977298Sobrien 291077298Sobrien * scripttempl/i386coff.sc: Remove .data2; no longer needed. 291177298Sobrien 291277298SobrienFri Sep 22 18:09:02 1995 Ian Lance Taylor <ian@cygnus.com> 291377298Sobrien 291477298Sobrien * ldfile.c (ldfile_set_output_arch): Make arch const. 291577298Sobrien 291677298SobrienThu Sep 21 17:55:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> 291777298Sobrien 291877298Sobrien * scripttempl/elfppc.sc: Correctly locate __bss_start at the 291977298Sobrien beginning of the .bss area, not at the end of data. Add 292077298Sobrien __sbss_{start,end} symbols. 292177298Sobrien 292277298SobrienWed Sep 20 12:29:36 1995 Ian Lance Taylor <ian@cygnus.com> 292377298Sobrien 292477298Sobrien * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). 292577298Sobrien (CXX_FOR_TARGET, install): Likewise. 292677298Sobrien 292777298SobrienMon Sep 18 14:53:22 1995 Ian Lance Taylor <ian@cygnus.com> 292877298Sobrien 292977298Sobrien Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>: 293077298Sobrien * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. 293177298Sobrien (CXX_FOR_TARGET): Likewise. 293277298Sobrien (install): Likewise. 293377298Sobrien (GENERATED_HFILES): Remove config.h. 293477298Sobrien (.dep): Depend upon config.h. 293577298Sobrien 293677298SobrienMon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no> 293777298Sobrien 293877298Sobrien * configure.tgt (mips*-dec-netbsd*): New target. 293977298Sobrien 294077298SobrienFri Sep 15 20:01:52 1995 Ken Raeburn <raeburn@cygnus.com> 294177298Sobrien 294277298Sobrien * configure.host (m88*-*-dgux*): Fix another shell syntax error. 294377298Sobrien 294477298SobrienFri Sep 15 23:28:05 1995 Andrew Cagney <cagney@highland.com.au> 294577298Sobrien 294677298Sobrien * configure.host (i[345]86-*-bsd*): Fix shell syntax error. 294777298Sobrien 294877298SobrienThu Sep 12 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com> 294977298Sobrien 295089857Sobrien * scripttempl/pe.sc: Allow both spellings of .ctors/.dtors. 295177298Sobrien Start .text section on the right boundary. Always align 295277298Sobrien stabs. 295377298Sobrien 295477298SobrienTue Sep 12 12:24:17 1995 Ian Lance Taylor <ian@cygnus.com> 295577298Sobrien 295677298Sobrien * Makefile.in (maintainer-clean): New target. 295777298Sobrien 295877298Sobrien * ldmain.c (struct warning_callback_info): Define. 295977298Sobrien (warning_callback): Add new parameter symbol. Call 296077298Sobrien warning_find_reloc to try to find the section and VMA. 296177298Sobrien (warning_find_reloc): New static function. 296277298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 296377298Sobrien Pass NULL as symbol parameter to warning callback. 296477298Sobrien 296577298Sobrien * ld.texinfo: Clarify -L option. 296677298Sobrien 296777298Sobrien * ldlang.c (lang_one_common): Add cast to avoid warning. 296877298Sobrien (topower): Likewise. Also, reindent. 296977298Sobrien * ldwrite.c (clone_section): Change i to unsigned int. 297077298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add 297177298Sobrien cast to avoid warning. 297277298Sobrien 297377298SobrienFri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com> 297477298Sobrien 297577298Sobrien * Makefile.in (config.status): Depend upon configure.tgt. 297677298Sobrien 297777298Sobrien * ldemul.h (ldemul_set_symbols): Declare. 297877298Sobrien (ldemul_parse_args): Declare. 297977298Sobrien * ldemul.c (ldemul_parse_args): Fix indentation. 298077298Sobrien 298177298Sobrien * configure.in: Call AC_HEADER_DIRENT. 298277298Sobrien * configure, config.in: Rebuild. 298377298Sobrien * emultempl/sunos.em: Use autoconf recommend mechanism to define 298477298Sobrien DIR and struct dirent. 298577298Sobrien 298677298Sobrien * configure.tgt (mips*-*-bsd*): New case. 298777298Sobrien 298877298Sobrien * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) 298977298Sobrien New case. 299077298Sobrien * configure.tgt (i[345]86-*-ptx*): New case. 299177298Sobrien 299277298SobrienThu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com> 299377298Sobrien 299477298Sobrien * config.in: Rename from config.h.in. 299577298Sobrien * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. 299677298Sobrien Check for config.h:config.in when creating stamp-h. 299777298Sobrien * configure: Rebuild. 299877298Sobrien * Makefile.in (stamp-h): Depend upon config.in rather than 299977298Sobrien config.h.in. Set CONFIG_HEADERS to config.h:config.in when 300077298Sobrien calling config.status. 300177298Sobrien 300277298Sobrien * Makefile.in (distclean): Remove config.h and stamp-h. 300377298Sobrien 300477298Sobrien * configure.host (sparc-*-sunos64*): Remove. 300577298Sobrien * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. 300677298Sobrien 300777298Sobrien * ldexp.c (exp_fold_tree): Don't warn about moving the location 300877298Sobrien counter backward in the absolute section. 300977298Sobrien 301077298SobrienWed Sep 6 14:42:11 1995 Ian Lance Taylor <ian@cygnus.com> 301177298Sobrien 301277298Sobrien * configure.in: Rewrite to use autoconf. 301377298Sobrien * configure.host: New file. 301477298Sobrien * configure.tgt: New file. 301577298Sobrien * aclocal.m4: New file. 301677298Sobrien * configure: New file, built by autoconf. 301777298Sobrien * acconfig.h: New file. 301877298Sobrien * config.h.in: New file, built by autoheader. 301977298Sobrien * sysdep.h: New file. 302077298Sobrien * ld.h: Incorporate old contents of config.h. 302177298Sobrien * config.h: Remove. 302277298Sobrien * Makefile.in: Various changes for new configure script. Also: 302377298Sobrien (CC_FOR_BUILD): Remove. 302477298Sobrien (ldmain.o): Don't bother to ensure that EMUL is non-empty. 302577298Sobrien (dep.sed): Use @SRCDIR@, not @srcdir@. 302677298Sobrien * dep-in.sed: Use @SRCDIR@, not @srcdir@. 302777298Sobrien * genscripts.sh: Create ldscripts if it does not exist. 302877298Sobrien * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". 302989857Sobrien * mpw-esh.c, emultempl/*.em: Likewise. 303077298Sobrien * ldmain.c: Likewise. Include <ctype.h>. Don't try to set 303177298Sobrien HAVE_SBRK here. 303277298Sobrien * config/*.mt, config/*.mh: Remove. 303377298Sobrien 303477298SobrienTue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com> 303577298Sobrien 303677298Sobrien * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and 303777298Sobrien ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. 303877298Sobrien 303977298SobrienFri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com> 304077298Sobrien 304177298Sobrien * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. 304277298Sobrien 304377298SobrienFri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com> 304477298Sobrien 304577298Sobrien * ldmain.c (warning_callback): Add abfd, section, and address 304677298Sobrien parameters. 304777298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 304877298Sobrien Change call to warning accordingly. 304977298Sobrien 305077298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not 305177298Sobrien relocateable and not shared, put .gnu.warning.SYMBOL sections into 305277298Sobrien the .text section. 305377298Sobrien 305477298SobrienFri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> 305577298Sobrien 305677298Sobrien * configure.in: Added mips*vr4300-idt-elf* and 305777298Sobrien mips*vr4300el-idt-elf* targets. 305877298Sobrien * Makefile.in: Added eelf32vr4300* targets. 305977298Sobrien * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. 306077298Sobrien * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. 306177298Sobrien 306277298SobrienFri Sep 1 10:51:45 1995 Ian Lance Taylor <ian@cygnus.com> 306377298Sobrien 306477298Sobrien * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe 306577298Sobrien <brendan@cygnus.com>. 306677298Sobrien 306777298SobrienThu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com> 306877298Sobrien 306977298Sobrien * ldemul.c (ldemul_parse_args): New. 307077298Sobrien * ldemul.h (ld_emulation_xfer_struct): Add parse_args. 307177298Sobrien * lexsup.c (all pe stuff): Moved into pe.em 307277298Sobrien (parse_args): Call emulation arg parser. 307377298Sobrien * emultempl/pe.em (parse_args): handle PE specfic args. 307477298Sobrien 307577298SobrienThu Aug 31 17:01:37 1995 Ian Lance Taylor <ian@cygnus.com> 307677298Sobrien 307777298Sobrien * ldlang.c (lang_memory_region_lookup): Don't use the first region 307877298Sobrien as the default region. Create a new region instead. 307977298Sobrien 308077298SobrienTue Aug 29 14:21:41 1995 steve chamberlain <sac@slash.cygnus.com> 308177298Sobrien 308277298Sobrien * ldemul.c (ldemul_set_symbols): New function. 308377298Sobrien * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. 308477298Sobrien * ldmain.c (main): Add call to ldemul_set_symbols. 308577298Sobrien * lexsup.c (set_pe_value): New args. 308677298Sobrien (set_pe_name): New. 308777298Sobrien (parse_args): Cope with new set_pe_value args. 308877298Sobrien * emultempl/pe.em (set_symbols): New function. 308977298Sobrien (ld_emulation_xfer_struct): Add set_symbols. 309077298Sobrien * scripttempl/pe.sc: Use new symbols. 309177298Sobrien 309277298SobrienThu Aug 24 18:12:18 1995 Ian Lance Taylor (ian@cygnus.com) 309377298Sobrien 309477298Sobrien * lexsup.c (parse_args): Don't call set_default_dirlist for -O. 309577298Sobrien For -Y, ignore a leading `P,', and only call set_default_dirlist 309677298Sobrien after processing all the other arguments. 309777298Sobrien 309877298SobrienTue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com> 309977298Sobrien 310077298Sobrien * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. 310177298Sobrien * emulparams/armpe.sh: Run PE script. 310277298Sobrien 310377298SobrienMon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com> 310477298Sobrien 310577298Sobrien * ldmain.c (main): Remove PE stuff. 310677298Sobrien * lexsup.c (options): Load more PE options. 310777298Sobrien (set_pe_value): New function. 310877298Sobrien 310977298SobrienThu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com> 311077298Sobrien 311177298Sobrien 311277298Sobrien * emultempl/{armpe.sc, i386pe.sc}: Deleted. 311377298Sobrien * emultempl/pe.sc: New file performs generic PE support and sorts 311477298Sobrien archive members. 311577298Sobrien * emulparams/{armpe.sh,i386pe.sh}: Use new file. 311677298Sobrien * scripttempl/{armpe.sc, i386pe.sc}: Deleted 311777298Sobrien * scripttempl/pe.sc: New. 311877298Sobrien * Makefile.in: Use new files. 311977298Sobrien 312077298SobrienThu Aug 17 14:46:34 1995 Doug Evans <dje@canuck.cygnus.com> 312177298Sobrien 312277298Sobrien * scripttempl/h8500s.sc (.rdata): All data must go in data segment. 312377298Sobrien (.strings,.ctors,.dtors): Likewise. 312477298Sobrien 312577298SobrienWed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com> 312677298Sobrien 312777298Sobrien * scripttempl/armpe.sc: Always start code at 0x401000, even 312877298Sobrien if -r. 312977298Sobrien * ldwrite.c (strdup): New extern declaration. 313077298Sobrien * ldgram.y (atype): New rule to clarify type parsing. 313177298Sobrien * ldlang.c (init_os): Remove commented out code. 313277298Sobrien (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits 313377298Sobrien unless told not to by the link script. 313477298Sobrien 313577298SobrienWed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com> 313677298Sobrien 313777298Sobrien * ldlang.c (lang_set_startof): New static function. 313877298Sobrien (lang_process): Call it. 313977298Sobrien 314077298Sobrien * ldgram.y: Tweak casesymlist to avoid bison errors. 314177298Sobrien 314277298Sobrien * lexsup.c (parse_args): Accept -h as a synonym for --soname, for 314377298Sobrien Solaris compatibility. 314477298Sobrien 314577298SobrienTue Aug 15 17:31:16 1995 Ian Lance Taylor <ian@cygnus.com> 314677298Sobrien 314777298Sobrien * ldgram.y (YYDEBUG): If not defined, define as 1. 314877298Sobrien (CASE, EXTERN, START): New tokens. 314977298Sobrien (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. 315077298Sobrien (casesymlist): New nonterminal. 315177298Sobrien (extern_name_list): New nonterminal. 315277298Sobrien * ldlex.l: Accept lower case trailing base specifiers. Don't 315377298Sobrien ignore the first digit when the base is a suffix. Accept many 315477298Sobrien EXPRESSION state tokens in MRI state. Support MRI continuation 315577298Sobrien lines and MRI semicolon comments. Accept all MRI keywords in 315677298Sobrien lower case. Add CASE, EXTERN, and START MRI keywords. 315777298Sobrien 315877298SobrienTue Aug 8 19:14:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 315977298Sobrien 316077298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc 316177298Sobrien instead of alloca. 316277298Sobrien 316377298SobrienTue Aug 8 15:24:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> 316477298Sobrien 316577298Sobrien * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use 316677298Sobrien $r/../gcc/xgcc unless it is present. 316777298Sobrien 316877298SobrienThu Aug 3 11:56:22 1995 Ian Lance Taylor <ian@cygnus.com> 316977298Sobrien 317077298Sobrien * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text 317177298Sobrien when CONSTRUCTING. 317277298Sobrien * scripttempl/m68klynx.sc: Likewise. 317377298Sobrien * scripttempl/nw.sc: Likewise. 317477298Sobrien * scripttempl/sa29200.sc: Likewise. 317577298Sobrien * scripttempl/sparclynx.sc: Likewise. 317677298Sobrien 317777298SobrienFri Jul 28 12:02:23 1995 steve chamberlain <sac@slash.cygnus.com> 317877298Sobrien 317977298Sobrien * emulparams/{z8001.sh, z8002.sh}: Fix typo. 318077298Sobrien 318177298SobrienThu Jul 27 21:06:21 1995 Ken Raeburn <raeburn@cygnus.com> 318277298Sobrien 318377298Sobrien * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. 318477298Sobrien 318577298SobrienThu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com> 318677298Sobrien 318777298Sobrien * scripttempl/i386pe.sc: Cope with constructors. 318877298Sobrien * scripttempl/z8ksim.sc: Deleted. 318977298Sobrien * scripttempl/z8000.sc: Resurrected as this, but 319077298Sobrien can handle z8001 and z8002 formats. 319177298Sobrien * emulparams/z8ksim.sh: Deleted. 319277298Sobrien * emulparams/{z8001.sh, z8002.sh}: New files. 319377298Sobrien * config/z8ksim.mt: Deleted 319477298Sobrien * config/z8k-coff.mt: New, generates both emulations. 319577298Sobrien 319677298SobrienTue Jul 25 14:53:02 1995 Ian Lance Taylor <ian@cygnus.com> 319777298Sobrien 319877298Sobrien * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using 319977298Sobrien %B, in case it is in an archive. 320077298Sobrien 320177298SobrienMon Jul 24 15:23:39 1995 Ian Lance Taylor <ian@cygnus.com> 320277298Sobrien 320377298Sobrien * ldlang.c (lang_process): Call reset_memory_regions for each 320477298Sobrien relaxation pass. 320577298Sobrien 320677298SobrienFri Jul 21 22:49:44 1995 Michael Meissner <meissner@cygnus.com> 320777298Sobrien 320877298Sobrien * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and 320977298Sobrien _SDA_BASE. 321077298Sobrien 321177298SobrienThu Jul 20 16:26:55 1995 Ken Raeburn <raeburn@cygnus.com> 321277298Sobrien 321377298Sobrien * ldmain.c (constructor_callback): Allocate set_name in stack 321477298Sobrien frame, rather than always calling alloca with a fixed size. 321577298Sobrien 321677298SobrienWed Jul 19 16:21:43 1995 Doug Evans <dje@canuck.cygnus.com> 321777298Sobrien 321877298Sobrien * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. 321977298Sobrien (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. 322077298Sobrien 322177298SobrienMon Jul 17 13:57:00 1995 Ian Lance Taylor <ian@cygnus.com> 322277298Sobrien 322377298Sobrien * ldwrite.c (clone_section): Set the alignment of the clone 322477298Sobrien section to that of the section being cloned. 322577298Sobrien 322677298Sobrien * ldwrite.c (split_sections): Don't split the first input section 322777298Sobrien into a new output section. 322877298Sobrien 322977298SobrienSat Jul 15 00:26:35 1995 Michael Meissner <meissner@cygnus.com> 323077298Sobrien 323177298Sobrien * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. 323277298Sobrien (GENERATE_SHLIB_SCRIPT): Define as yes. 323377298Sobrien 323477298SobrienFri Jul 14 12:11:46 1995 Ian Lance Taylor <ian@cygnus.com> 323577298Sobrien 323677298Sobrien * emultempl/mipsecoff.em (check_sections): Use %P, not %F. 323777298Sobrien 323877298Sobrien * ldver.c (help): Update list of options to match currently 323977298Sobrien supported list. 324077298Sobrien 324177298SobrienThu Jul 13 13:52:10 1995 Ian Lance Taylor <ian@cygnus.com> 324277298Sobrien 324377298Sobrien * emultempl/lnk960.em (ld_lnk960_emulation): Initialize 324477298Sobrien after_open field. 324577298Sobrien 324677298Sobrien * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; 324777298Sobrien it takes a size_t anyhow. 324877298Sobrien (exp_binop): Likewise. 324977298Sobrien (exp_trinop): Likewise. 325077298Sobrien (exp_unop): Likewise. 325177298Sobrien (exp_nameop): Likewise. 325277298Sobrien (exp_assop): Likewise. 325377298Sobrien * ldlang.c (lang_memory_region_lookup): Likewise. 325477298Sobrien (init_os): Likewise. 325577298Sobrien (ldlang_add_undef): Likewise. 325677298Sobrien (insert_pad): Likewise. 325777298Sobrien * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to 325877298Sobrien bfd_size_type. 325977298Sobrien 326077298Sobrien * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. 326177298Sobrien 326277298SobrienWed Jul 12 11:32:22 1995 Ian Lance Taylor <ian@cygnus.com> 326377298Sobrien 326477298Sobrien * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to 326577298Sobrien declaration. 326677298Sobrien (ld_emulation_xfer_type): Add search parameter to 326777298Sobrien open_dynamic_archive entry point. 326877298Sobrien * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. 326977298Sobrien * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and 327077298Sobrien make non-static. Change all callers to use new name. 327177298Sobrien (ldfile_open_file_search): Make static. If entry is dynamic, call 327277298Sobrien ldemul_open_dynamic_archive. 327377298Sobrien (ldfile_open_file): Don't call ldemul_open_dynamic_archive. 327477298Sobrien * ldfile.h (ldfile_open_file_search): Don't declare. 327577298Sobrien (ldfile_try_open_bfd): Declare. 327677298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): 327777298Sobrien Accept search parameter. Don't search for a library, just look in 327877298Sobrien a single place. 327977298Sobrien * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): 328077298Sobrien Likewise. 328177298Sobrien 328277298SobrienTue Jul 11 16:44:21 1995 Ian Lance Taylor <ian@cygnus.com> 328377298Sobrien 328477298Sobrien * ldmain.c (set_scripts_dir): Don't base script directory on 328577298Sobrien current directory. 328677298Sobrien 328777298SobrienTue Jul 11 12:29:02 1995 Rick Sladkey <jrs@world.std.com> 328877298Sobrien 328977298Sobrien * ldmisc.c (vfinfo): Don't print the line number if it isn't 329077298Sobrien meaningful. 329177298Sobrien 329277298SobrienMon Jul 10 13:38:28 1995 Ian Lance Taylor <ian@cygnus.com> 329377298Sobrien 329477298Sobrien * ld.h (ld_config_type): Add field warn_constructors. 329577298Sobrien * ldmain.c (add_to_set): Warn if config.warn_constructors. 329677298Sobrien (constructor_callback): Likewise. 329777298Sobrien * lexsup.c (parse_args): Handle -warn-constructors. 329877298Sobrien * ld.texinfo, ld.1: Document -warn-constructors. 329977298Sobrien 330077298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't 330177298Sobrien get confused by directory names if we searched for the file. 330277298Sobrien 330377298Sobrien Based on patches from H.J. Lu <hjl@nynexst.com>: 330477298Sobrien * ldlang.h (lang_input_statement_type): Add new field dynamic. 330577298Sobrien * ldlang.c (new_afile): Set dynamic from config.dynamic_link. 330677298Sobrien * ldfile.c: Include bfdlink.h. 330777298Sobrien (ldfile_open_file): Check dynamic field of entry, not global 330877298Sobrien dynamic_link field. Don't do a dynamic search when doing a 330977298Sobrien relocateable link. 331077298Sobrien * ldmain.c (main): Don't warn about dynamic_link for a 331177298Sobrien relocateable link. 331277298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if 331377298Sobrien dynamic is false. 331477298Sobrien (gld${EMULATION_NAME}_create_output_section_statements): Always 331577298Sobrien loop over input files. 331677298Sobrien * Makefile.in: Rebuild dependencies. 331777298Sobrien 331877298Sobrien * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and 331977298Sobrien -shared. 332077298Sobrien 332177298SobrienMon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> 332277298Sobrien 332377298Sobrien * ldmain.c (main): Set link_info.symbolic to false. 332477298Sobrien * lexsup.c (parse_args): Handle -Bsymbolic. 332577298Sobrien 332677298SobrienWed Jul 5 00:12:11 1995 Fred Fish (fnf@cygnus.com) 332777298Sobrien 332877298Sobrien * ldmain.c (HAVE_SBRK): Define for everything except 332977298Sobrien specific systems that are known to not support sbrk. 333077298Sobrien (main): Use HAVE_SBRK to decide whether or not to use sbrk. 333177298Sobrien 333277298SobrienTue Jul 4 12:55:48 1995 Ian Lance Taylor <ian@cygnus.com> 333377298Sobrien 333477298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): 333577298Sobrien Handle etree_provide. 333677298Sobrien 333777298Sobrien * emultempl/elf32.em (global_needed): New static variable. 333877298Sobrien (global_found): Likewise. 333977298Sobrien (gld${EMULATION_NAME}_after_open): New static function. 334077298Sobrien (gld${EMULATION_NAME}_search_needed): Likewise. 334177298Sobrien (gld${EMULATION_NAME}_try_needed): Likewise. 334277298Sobrien (gld${EMULATION_NAME}_check_needed): Likewise. 334377298Sobrien (ld_${EMULATION_NAME}_emulation): Replace after_open_default with 334477298Sobrien gld${EMULATION_NAME}_after_open. 334577298Sobrien 334677298SobrienMon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> 334777298Sobrien 334877298Sobrien * configure.in (i386-*-win32): New target. 334977298Sobrien 335077298SobrienMon Jul 3 14:39:22 1995 Ian Lance Taylor <ian@cygnus.com> 335177298Sobrien 335277298Sobrien * lexsup.c (parse_args): Let -G either set the small data size or 335377298Sobrien be equivalent to --shared, depending on the next argument. Accept 335477298Sobrien and ignore -z for Solaris compatibility. 335577298Sobrien 335677298SobrienSun Jul 2 17:52:34 1995 Ian Lance Taylor <ian@cygnus.com> 335777298Sobrien 335877298Sobrien * lexsup.c (parse_args): Cast fopen result to PTR before storing 335977298Sobrien it in link_info.base_file. Fix indentation. 336077298Sobrien 336177298SobrienWed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com> 336277298Sobrien 336377298Sobrien * ldmain.c (main): Always initialize PE info in link_info. 336477298Sobrien * lexsup.c (OPTION_BASE_FILE): New option. 336577298Sobrien (parse_args): Handle new option. 336677298Sobrien * emulparams/armpe.sh: Output pei. 336777298Sobrien * emultempl/i386pe.em: Add newline to end. 336877298Sobrien * scripttempl/armpe.sc: Change output and quote the $s. 336977298Sobrien * scripttempl/i386pe.sc: Change output and quote the $s. 337077298Sobrien 337177298SobrienThu Jun 22 19:55:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 337277298Sobrien 337377298Sobrien Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu> 337477298Sobrien 337577298Sobrien * configure.in (i386-*-msdos*, i386-*-moss*): New targets. 337677298Sobrien * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. 337777298Sobrien (i386msdos.o): New target. 337877298Sobrien * config/i386-msdos.mt: Created. 337977298Sobrien * emulparams/i386msdos.sh: Created. 338077298Sobrien * scripttempl/i386msdos.sc: Created. 338177298Sobrien 338277298SobrienThu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> 338377298Sobrien 338477298Sobrien * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section 338577298Sobrien that contains pointers to be relocated. 338677298Sobrien 338777298SobrienTue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> 338877298Sobrien 338977298Sobrien * mpw-esh.c: New file, modified for MPW from esh.c. 339077298Sobrien * scripttempl/sh.sc: Reformatted to simplify MPWification, 339177298Sobrien use *() to concat stab sections instead of []. 339277298Sobrien 339377298SobrienThu Jun 15 08:48:16 1995 Steve Chamberlain <sac@slash.cygnus.com> 339477298Sobrien 339577298Sobrien * scripttempl/armpe.sc: Add constructor support. 339677298Sobrien 339777298SobrienTue Jun 13 09:11:20 1995 Steve Chamberlain <sac@slash.cygnus.com> 339877298Sobrien 339977298Sobrien * ldlang.c (lang_size_sections): Any section with a DATA 340077298Sobrien statement has contents. 340177298Sobrien 340277298SobrienSun Jun 11 15:20:46 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 340377298Sobrien 340477298Sobrien * emulparams/m68kelf.sh (NOP): Define. 340577298Sobrien (DYNAMIC_LINK): Don't define. 340677298Sobrien (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers 340777298Sobrien will come from the linker script. 340877298Sobrien 340977298SobrienThu Jun 8 14:17:33 1995 Steve Chamberlain <sac@slash.cygnus.com> 341077298Sobrien 341189857Sobrien * emulparams/armpe.sh, scripttempl/armpe.sc: Add end and stack. 341277298Sobrien 341377298SobrienMon Jun 5 02:16:24 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 341477298Sobrien 341577298Sobrien * configure.in (i[345]86-*-gnu*): Use GNU elf config. 341677298Sobrien 341777298SobrienThu May 25 11:49:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> 341877298Sobrien 341977298Sobrien From Andrew Cagney <cagney@highland.com.au> 342077298Sobrien * Makefile.in: Fixup more gotchas from renaming elf32ppcle to 342177298Sobrien elf32lppc. 342277298Sobrien 342377298SobrienWed May 24 11:23:21 1995 Steve Chamberlain <sac@slash.cygnus.com> 342477298Sobrien 342577298Sobrien Add support for ARM-PE. 342677298Sobrien * Makefile.in (ALL_EMULATIONS): Add armpe.o 342777298Sobrien * configure.in: Recognize armpe. 342877298Sobrien * config/arm-pe.mt: New file. 342977298Sobrien * emulparams/armpe.sh: New file. 343077298Sobrien * scripttempl/armpe.sc: New file. 343177298Sobrien 343277298Sobrien 343377298SobrienMon May 22 15:19:26 1995 Doug Evans <dje@chestnut.cygnus.com> 343477298Sobrien 343577298Sobrien * configure.in (h8300h-*-hms): Deleted 343677298Sobrien * config/cf-h8300h.mt: Deleted. 343777298Sobrien 343877298SobrienThu May 18 04:26:10 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 343977298Sobrien 344077298Sobrien Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) 344177298Sobrien 344277298Sobrien From David Taylor (dtaylor@armltd.co.uk) 344377298Sobrien * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o 344477298Sobrien * configure.in: Recognize arm{,e[lb]-*-aout. 344577298Sobrien * config/arm[lb]-aout.mt: New files. 344677298Sobrien * emulparams/armaout[lb].sh: New files. 344777298Sobrien * scripttempl/armaout.sc: New file. 344877298Sobrien 344977298SobrienTue May 16 18:27:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> 345077298Sobrien 345177298Sobrien * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to 345277298Sobrien be unique in 8 characters for DOS. 345377298Sobrien 345477298Sobrien * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. 345577298Sobrien * emulparams/elf32ppcle.sh: Deleted. 345677298Sobrien 345777298SobrienFri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com> 345877298Sobrien Tom Griest <griest@cs.yale.edu> 345977298Sobrien 346077298Sobrien Initial support for PE executables (eg NT, win32) 346177298Sobrien 346277298Sobrien * Makefile.in (configure.in, ei386pe): Add support. 346377298Sobrien * ldmain.c (main): Initialize PE argument info. 346477298Sobrien * ldwrite.c (print_file_stuff): Don't print out .drectve 346577298Sobrien and .debug section info. 346677298Sobrien * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, 346777298Sobrien OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): 346877298Sobrien Handle new arguments. 346977298Sobrien * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: 347077298Sobrien New files 347177298Sobrien 347277298SobrienWed May 10 18:37:59 1995 Stu Grossman (grossman@andros.cygnus.com) 347377298Sobrien 347477298Sobrien * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text 347577298Sobrien segment. This allows ld -r to preserve unwind sections. 347677298Sobrien 347777298SobrienTue May 9 17:19:57 1995 Michael Meissner <meissner@tiktok.cygnus.com> 347877298Sobrien 347977298Sobrien * configure.in: Add little endian PowerPC support. 348077298Sobrien 348177298Sobrien * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. 348277298Sobrien (eelf32ppcle.c): Support for little endian PowerPC. 348377298Sobrien 348477298Sobrien * config/ppcle-elf32.mt: New file for little endian PowerPC. 348577298Sobrien * emulparams/elf32ppcle.sh: Ditto. 348677298Sobrien 348777298SobrienWed May 3 12:56:32 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 348877298Sobrien 348977298Sobrien * ldlang.c (print_output_section_statement): Check 349077298Sobrien subsection_alignment, instead of checking section_alignment twice. 349177298Sobrien Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>. 349277298Sobrien 349377298SobrienTue May 2 16:36:07 1995 Jeff Law (law@snake.cs.utah.edu) 349477298Sobrien 349577298Sobrien * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. 349677298Sobrien 349777298SobrienMon Apr 24 19:21:02 1995 Michael Meissner <meissner@cygnus.com> 349877298Sobrien 349977298Sobrien * ldwrite.c (ldwrite): Before doing anything, reset the error 350077298Sobrien code. If bfd_final_link returns an error, but the error code is 350177298Sobrien unset, don't issue an extra message. Assume a correct error 350277298Sobrien message was already set. 350377298Sobrien 350477298SobrienFri Apr 14 16:31:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 350577298Sobrien 350677298Sobrien * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. 350777298Sobrien (em68kelf.o): New target. 350877298Sobrien * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. 350977298Sobrien * configure.in: Use them for m68*-*-elf. 351077298Sobrien 351177298SobrienTue Apr 11 12:02:03 1995 Stan Shebs <shebs@andros.cygnus.com> 351277298Sobrien 351377298Sobrien Merge in support for Mac MPW as a host. 351477298Sobrien (Old change descriptions retained for informational value.) 351577298Sobrien 351677298Sobrien * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. 351777298Sobrien (i386-unknown-coff): Remove. 351877298Sobrien (sh-hitachi-hms): New target. 351977298Sobrien (emulation_ofiles): Set correctly for each target. 352077298Sobrien (version, TDEFINES): Add to makefile fragment. 352177298Sobrien * mpw-make.in (BISON): Use byacc instead of bison. 352277298Sobrien (em_*.c): Replace with e*.c everywhere. 352377298Sobrien (ldgram.h): Separate action from ldgram.c generation. 352477298Sobrien (LD_PROG): Depend on Version.r. 352577298Sobrien (Version.r): generate from version info. 352677298Sobrien * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. 352777298Sobrien 352877298Sobrien * mpw-config.in (m68k-apple-macos, ppc-apple-macos, 352977298Sobrien i386-unknown-aout, i386-unknown-coff): New targets. 353077298Sobrien (m68k-aout, m68k-coff): Remove targets. 353177298Sobrien (mk.tmp): Add definition of EMUL. 353277298Sobrien 353377298Sobrien * mpw-config.in (emulname): Set based on target. 353477298Sobrien (ldemul-list.h): Construct. 353577298Sobrien * mpw-make.in (install-only): New target. 353677298Sobrien (install): Depend on install-only. 353777298Sobrien 353877298Sobrien * mpw-make.in (bindir): Fix pathname. 353977298Sobrien (install): Move here from mpw-build.in. 354077298Sobrien 354177298Sobrien * mpw-config.in: New file, MPW configuration fragment. 354277298Sobrien * mpw-make.in: New file, MPW makefile fragment. 354377298Sobrien (This file is semi-automatically generated from Makefile.in.) 354477298Sobrien * ldfile.c (slash): If MPW, set to `:'. 354577298Sobrien * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to 354677298Sobrien prevent redefinition errors. 354777298Sobrien 354877298SobrienTue Apr 4 17:55:18 1995 Steve Chamberlain <sac@bang.hack.com> 354977298Sobrien 355077298Sobrien * ldwrite.c (clone_section): Align clone sections on even 355177298Sobrien boundaries. 355277298Sobrien 355377298SobrienThu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com) 355477298Sobrien 355577298Sobrien * configure.in: Change linux to default to elf. Using 355677298Sobrien i[345]86-*-linuxaout will build a linker which defaults to a.out. 355777298Sobrien * config/i386-laout.mt: Rename from old config/i386-linux.mt. 355877298Sobrien * config/i386-linux.mt: Rename from old config/i386-lelf.mt. 355977298Sobrien * config/i386-lelf.mt: Remove. 356077298Sobrien 356177298SobrienThu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com> 356277298Sobrien 356377298Sobrien * ldmain.c (main): If opening the map file fails, call 356477298Sobrien bfd_set_error before calling einfo. 356577298Sobrien 356677298Sobrien * ld.texinfo, ld.1: Document the -no-keep-memory option. 356777298Sobrien 356877298SobrienMon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com> 356977298Sobrien 357077298Sobrien * ldmain.c (main): Revert patch of March 10, since the SVR4 linker 357177298Sobrien does mark shared libraries as executable. 357277298Sobrien 357377298SobrienTue Mar 21 15:15:38 1995 Ian Lance Taylor <ian@cygnus.com> 357477298Sobrien 357577298Sobrien * ldlang.c (lang_common): Change power to int. Pass larger values 357677298Sobrien before smaller values. 357777298Sobrien (lang_one_common): Treat info as int *. Don't bother to check for 357877298Sobrien last value, since it is now zero. 357977298Sobrien 358077298SobrienSat Mar 18 01:49:14 1995 Ian Lance Taylor <ian@cygnus.com> 358177298Sobrien 358277298Sobrien * ldlang.c (load_symbols): An empty archive is OK. 358377298Sobrien 358477298SobrienFri Mar 17 16:15:31 1995 Stan Shebs <shebs@andros.cygnus.com> 358577298Sobrien 358677298Sobrien * ldmain.c (progress.h): Include. 358777298Sobrien (main): Call START_PROGRESS and END_PROGRESS. 358877298Sobrien 358977298SobrienThu Mar 16 17:17:33 1995 Michael Meissner <meissner@cygnus.com> 359077298Sobrien 359177298Sobrien * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and 359277298Sobrien .dtors sections, so that these pointers get relocated also. 359377298Sobrien Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning 359477298Sobrien and end of the constructors/destructors. 359577298Sobrien 359677298SobrienThu Mar 16 13:59:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 359777298Sobrien 359877298Sobrien * ldlang.c (load_symbols): If whole_archive is true and ENTRY 359977298Sobrien describes an archive, call bfd_link_add_symbols on each member. 360077298Sobrien * ldmain.c (whole_archive): New variable. 360177298Sobrien (main): Initialize it to false. 360277298Sobrien * ldmain.h: Declare whole_archive. 360377298Sobrien * lexsup.c (parse_args): Grok --whole-archive switch. 360477298Sobrien * ld.texinfo, ld.1: Document --whole-archive. 360577298Sobrien 360677298SobrienThu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com> 360777298Sobrien 360877298Sobrien * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not 360977298Sobrien using the default emulation. 361077298Sobrien 361177298Sobrien * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set 361277298Sobrien LDEMULATION. 361377298Sobrien * config/hppaelf.mh (HOSTING_EMU): Likewise. 361477298Sobrien 361577298SobrienTue Mar 14 12:28:03 1995 Ian Lance Taylor <ian@cygnus.com> 361677298Sobrien 361777298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj 361877298Sobrien for -lc.N. From H.J. Lu <hjl@nynexst.com>. 361977298Sobrien 362077298SobrienFri Mar 10 14:43:48 1995 Ian Lance Taylor <ian@cygnus.com> 362177298Sobrien 362277298Sobrien * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. 362377298Sobrien 362477298Sobrien * ldlex.l: Return -lFILENAME as the token LNAME. 362577298Sobrien * ldgram.y: Add token LNAME. 362677298Sobrien (input_list): Treat LNAME like NAME, but pass it to 362777298Sobrien lang_add_input_file as lang_input_file_is_l_enum. 362877298Sobrien * ld.texinfo: Document using -lFILENAME in INPUT. 362977298Sobrien 363077298SobrienThu Mar 9 12:21:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> 363177298Sobrien 363277298Sobrien * ldlang.c (lang_check): If the architectures are compatible call 363377298Sobrien bfd_merge_private_bfd_data to let the backend do additional 363477298Sobrien checks. 363577298Sobrien 363677298SobrienTue Mar 7 00:53:08 1995 Ian Lance Taylor <ian@cygnus.com> 363777298Sobrien 363877298Sobrien * ldemul.c (ldemul_choose_mode): If emulation not recognized, list 363977298Sobrien all supported emulations. 364077298Sobrien 364177298SobrienMon Mar 6 14:03:50 1995 Ian Lance Taylor <ian@cygnus.com> 364277298Sobrien 364377298Sobrien * ldemul.c (ldemul_list_emulations): New function. 364477298Sobrien * ldemul.h (ldemul_list_emulations): Declare. 364577298Sobrien * ldver.c (help): List supported targets and emulations. 364677298Sobrien 364777298SobrienFri Mar 3 15:40:36 1995 Doug Evans <dje@canuck.cygnus.com> 364877298Sobrien 364977298Sobrien * scripttempl/elf.sc (.debug): Relocate to address 0. 365077298Sobrien (.debug_srcinfo, .debug_aranges, .debug_pubnames, 365177298Sobrien .debug_sfnames, .line): Likewise. 365277298Sobrien 365377298SobrienFri Mar 3 17:07:14 1995 Ian Lance Taylor <ian@cygnus.com> 365477298Sobrien 365577298Sobrien * emultempl/elf32.em (hold_rel): New static variable. 365677298Sobrien (gld${EMULATION_NAME}_place_orphan): Place readonly sections with 365777298Sobrien contents whose names begin with ".rel" after hold_rel. Remove the 365877298Sobrien assertion which checked for unplaced .rel sections. Don't try to 365977298Sobrien sort the section into place if place->bfd_section is NULL. 366077298Sobrien (gld${EMULATION_NAME}_place_section): Set hold_rel to the first 366177298Sobrien section beginning with ".rel". 366277298Sobrien 366377298SobrienThu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com> 366477298Sobrien 366577298Sobrien Doc note from pierre@phi.la.tce.com (Pierre Willard): 366677298Sobrien * ld.texinfo: -X and -x work even if -s or -S are not specified. 366777298Sobrien * ld.1: Similar change. 366877298Sobrien 366977298SobrienWed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com> 367077298Sobrien 367177298Sobrien * emulparams/gld960coff.sh (COFF_CTORS): Define. 367277298Sobrien * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. 367377298Sobrien 367477298SobrienTue Feb 28 12:42:56 1995 Ian Lance Taylor <ian@cygnus.com> 367577298Sobrien 367677298Sobrien * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. 367777298Sobrien (i[345]86-*-gnuelf*): New target. Use i386-gelf. 367877298Sobrien * config/i386-lelf.mt: New file. 367977298Sobrien * config/i386-gelf.mt: New file. 368077298Sobrien 368177298SobrienTue Feb 28 10:27:54 1995 Rob Savoye <rob@darkstar.cygnus.com> 368277298Sobrien 368377298Sobrien * configure.in: Match on mips-ecoff, and default to the IDT 368477298Sobrien configuration. 368577298Sobrien 368677298SobrienFri Feb 17 13:06:47 1995 Michael Meissner <meissner@cygnus.com> 368777298Sobrien 368877298Sobrien * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. 368977298Sobrien Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area 369077298Sobrien to double the size of the table. 369177298Sobrien 369277298SobrienThu Feb 9 18:29:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 369377298Sobrien 369477298Sobrien * Makefile.in (distclean): Do recursive deletion, since ldscripts 369577298Sobrien is a directory. 369677298Sobrien 369777298SobrienThu Feb 9 11:38:22 1995 Ian Lance Taylor <ian@cygnus.com> 369877298Sobrien 369977298Sobrien * ldmain.c (main): If trace_file_tries is true, and we are using 370077298Sobrien an internal linker script, print out the script. 370177298Sobrien * ldfile.c (try_open): Reindent function. Make the messages about 370277298Sobrien opening script files more informative. 370377298Sobrien 370477298Sobrien * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. 370577298Sobrien * ld.texinfo, ld.1: Update accordingly. 370677298Sobrien 370777298SobrienWed Feb 8 17:34:45 1995 Ian Lance Taylor <ian@cygnus.com> 370877298Sobrien 370977298Sobrien * ldlang.c (lang_one_common): Adjust references to common symbol 371077298Sobrien information for new structure. 371177298Sobrien 371277298SobrienMon Feb 6 12:17:24 1995 Ian Lance Taylor <ian@cygnus.com> 371377298Sobrien 371477298Sobrien * ldmain.c (undefined_symbol): Handle section being NULL. 371577298Sobrien 371677298Sobrien * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. 371777298Sobrien * ldexp.c (fold_name): Likewise. 371877298Sobrien * ldlang.c (print_one_symbol): Likewise. 371977298Sobrien (lang_finish): Likewise. 372077298Sobrien * ldmain.c (multiple_common): Likewise. 372177298Sobrien * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak 372277298Sobrien renamed to bfd_link_hash_undefweak. 372377298Sobrien 372477298Sobrien * scripttempl/alpha.sc: Set address of .data section correctly 372577298Sobrien when -n or -N is used. Patch from Chris G Demetriou 372677298Sobrien <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>. 372777298Sobrien * scripttempl/mips.sc: Similar change. 372877298Sobrien 372977298SobrienTue Jan 31 16:20:52 1995 Doug Evans <dje@canuck.cygnus.com> 373077298Sobrien 373177298Sobrien * ldlang.c (lang_size_sections): Clarify error message when user 373277298Sobrien specified start addr conflicts with region. Fix resetting of 373377298Sobrien region pointer. 373477298Sobrien 373577298SobrienTue Jan 31 12:37:09 1995 Ian Lance Taylor <ian@cygnus.com> 373677298Sobrien 373777298Sobrien * ldexp.c (fold_name): In case NAME, permit an absolute symbol 373877298Sobrien in lang_allocating_phase_enum. 373977298Sobrien 374077298SobrienMon Jan 30 11:33:25 1995 Ian Lance Taylor <ian@cygnus.com> 374177298Sobrien 374277298Sobrien * Makefile.in (distclean): Depend upon clean. Don't bother to 374377298Sobrien remove files which will be removed by clean. From patch by 374477298Sobrien alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra). 374577298Sobrien 374677298SobrienFri Jan 27 16:27:34 1995 Ian Lance Taylor <ian@cygnus.com> 374777298Sobrien 374877298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For 374977298Sobrien a MIPS target, clobber the size of all but the first input 375077298Sobrien .reginfo section to be 0, so that lang_size_sections sets the 375177298Sobrien correct size for the output .reginfo section. 375277298Sobrien 375377298SobrienThu Jan 26 19:53:37 1995 Ian Lance Taylor <ian@cygnus.com> 375477298Sobrien 375577298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 375677298Sobrien Remove unused variable is. 375777298Sobrien 375877298SobrienThu Jan 26 12:33:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> 375977298Sobrien 376077298Sobrien * configure.in: Add support for powerpc-*-eabi. 376177298Sobrien 376277298Sobrien * scripttempl/elfppc.sc: New file for PowerPC embedded ABI 376377298Sobrien support. 376477298Sobrien 376577298Sobrien * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of 376677298Sobrien elf.sc, which defines some new symbols PowerPC elf needs. 376777298Sobrien 376877298SobrienTue Jan 24 10:32:15 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 376977298Sobrien 377077298Sobrien * ldctor.c (ldctor_add_set_entry): Don't dump core if a 377177298Sobrien constructor entry is in the absolute section. 377277298Sobrien 377377298SobrienMon Jan 23 13:58:13 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 377477298Sobrien 377577298Sobrien * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. 377677298Sobrien * config/i386-gnu.mt: New file. Include ELF support. 377777298Sobrien 377877298SobrienThu Jan 19 16:22:11 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 377977298Sobrien 378077298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If 378177298Sobrien there are any input sections named .gnu.warning, treat them as 378277298Sobrien containing a warning message to be printed by the linker, and 378377298Sobrien clobber the size so that the message is not copied into the output 378477298Sobrien file. 378577298Sobrien * scripttempl/elf.sc: Put .gnu.warning sections into the .text 378677298Sobrien section. 378777298Sobrien 378877298SobrienSun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> 378977298Sobrien 379077298Sobrien * configure.in (w65-*-*): New target. 379177298Sobrien * Makefile.in: Update. 379277298Sobrien * scripttempl/w65.sc: New. 379377298Sobrien * config/coff-w65.mt: New. 379477298Sobrien 379577298SobrienThu Jan 12 01:32:25 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com> 379677298Sobrien 379777298Sobrien * ldlang.c (lang_place_orphans): Don't ignore files with 379877298Sobrien just_syms_flag set. Instead, put all their sections in 379977298Sobrien bfd_abs_section_ptr, using the section VMA as the output_offset. 380077298Sobrien 380177298SobrienWed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 380277298Sobrien 380377298Sobrien * ldctor.c (ldctor_build_sets): Don't use `const' with typedef 380477298Sobrien name `reloc_howto_type', since it's now defined to be const. 380577298Sobrien * ldlang.c (lang_add_reloc): Ditto. 380677298Sobrien * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. 380777298Sobrien 380877298SobrienWed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 380977298Sobrien 381077298Sobrien * ldexp.c (fold_binary): Adding or subtracting an absolute value 381177298Sobrien to a relative value does not require forcing the relative value to 381277298Sobrien be absolute. Also, reindent function. 381377298Sobrien 381477298SobrienWed Dec 28 22:05:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) 381577298Sobrien 381677298Sobrien * ldwrite.c (clone_section): Create a symbol with the 381777298Sobrien same name as the section. 381877298Sobrien 381977298SobrienMon Dec 19 14:02:13 1994 Steve Chamberlain (sac@jonny.cygnus.com) 382077298Sobrien 382177298Sobrien * ld.h (split_by_reloc, split_by_file): New flags. 382277298Sobrien * ldwrite.c (clone_section, split_sections): New functions. 382377298Sobrien * lexsup.c (parse_args): Understand new split options. 382477298Sobrien 382577298SobrienFri Dec 9 17:22:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 382677298Sobrien 382777298Sobrien * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to 382877298Sobrien .data segment. They must be writable when creating a shared 382977298Sobrien library. From H.J. Lu <hjl@nynexst.com>. 383077298Sobrien 383177298SobrienFri Dec 2 14:09:00 1994 Ian Lance Taylor <ian@rtl.cygnus.com> 383277298Sobrien 383377298Sobrien * emultempl/miposecoff.em: New file. 383477298Sobrien * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. 383577298Sobrien * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. 383677298Sobrien * scripttempl/mips.sc: Put .rel.sdata sections in .text, and 383777298Sobrien provide __runtime_reloc_start and __runtime_reloc_stop if they are 383877298Sobrien used. Align _fdata to a 16 byte boundary. 383977298Sobrien * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than 384077298Sobrien generic.em. 384177298Sobrien (emipsidtl.c): Likewise. 384277298Sobrien (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. 384377298Sobrien 384477298Sobrien * ld.h (args_type): Add new field embedded_relocs. 384577298Sobrien * ldemul.h (ldemul_after_open, after_open_default): Declare. 384677298Sobrien (ld_emulation_xfer_struct): Add new field after_open. 384777298Sobrien * ldemul.c (ldemul_after_open): New function. 384877298Sobrien (after_open_default): New function. 384977298Sobrien * ldlang.c (lang_process): Call ldemul_after_open. 385077298Sobrien * lexsup.c (parse_args): Handle --embedded-relocs. 385177298Sobrien * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize 385277298Sobrien new after_open field to after_open_default. 385377298Sobrien * emultempl/generic.em, emultempl/gld960.em: Likewise. 385477298Sobrien * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. 385577298Sobrien * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. 385677298Sobrien * emultempl/sunos.em, emultempl/vanilla.em: Likewise. 385777298Sobrien * ld.texinfo, ld.1: Mention -embedded-relocs. 385877298Sobrien 385977298SobrienWed Nov 23 22:04:47 1994 Steve Chamberlain (sac@jonny.cygnus.com) 386077298Sobrien 386177298Sobrien * Makefile.in: Add eshl.o. 386277298Sobrien * config/coff-sh.mt: Add shl emulation. 386377298Sobrien 386477298SobrienTue Nov 22 11:55:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 386577298Sobrien 386677298Sobrien * scripttempl/elf.sc: Fill .text section with NOPS. From Eric 386777298Sobrien Youngdale <eric@aib.com>. 386877298Sobrien 386977298SobrienThu Nov 17 14:39:48 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 387077298Sobrien 387177298Sobrien Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker). 387277298Sobrien * config/i386linux.mh: New file; set HOSTING_CRT0. 387377298Sobrien * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is 387477298Sobrien /usr/lib, since that is already in LIB_PATH. 387577298Sobrien 387677298SobrienWed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu) 387777298Sobrien 387877298Sobrien * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start 387977298Sobrien address. 388077298Sobrien (.data, .bss): If "-N", then place the data/bss just after the end 388177298Sobrien of the .text section rather than at the default 0x40000000. 388277298Sobrien 388377298Sobrien * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the 388477298Sobrien text segment. 388577298Sobrien 388677298SobrienSat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 388777298Sobrien 388877298Sobrien Patches from Eric Youngdale <eric@aib.com>: 388977298Sobrien * ldlang.c (lang_finish): Don't warn if entry symbol not found 389077298Sobrien when generating a shared library. 389177298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if 389277298Sobrien attempting to place an orphaned relocation section when generating 389377298Sobrien a dynamically linked object. 389477298Sobrien 389577298Sobrien * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to 389677298Sobrien _start. 389777298Sobrien 389877298SobrienFri Nov 11 14:27:23 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 389977298Sobrien 390077298Sobrien * ld.h (args_type): Add field export_dynamic. 390177298Sobrien * lexsup.c (parse_args): Recognize --export-dynamic. 390277298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 390377298Sobrien Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. 390477298Sobrien 390577298SobrienWed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 390677298Sobrien 390777298Sobrien * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where 390877298Sobrien we allocate common symbols. 390977298Sobrien 391077298SobrienTue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) 391177298Sobrien 391277298Sobrien * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and 391377298Sobrien .rela.fini to the list of .rel* sections. 391477298Sobrien 391577298SobrienTue Nov 8 17:47:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 391677298Sobrien 391777298Sobrien * ldlang.c (load_symbols): Add new argument place. Only accept 391877298Sobrien linker scripts if place is not NULL. Put commands found in an 391977298Sobrien assumed linker script into place. 392077298Sobrien (lookup_name): Pass NULL as place argument to load_symbols. 392177298Sobrien (open_input_bfds): In lang_input_statement_enum case, pass a place 392277298Sobrien argument to load_symbols, and store any new statements after the 392377298Sobrien current one. 392477298Sobrien 392577298SobrienMon Nov 7 15:53:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 392677298Sobrien 392777298Sobrien * ldver.c (ldversion): Bump to 2.5.3. 392877298Sobrien 392977298SobrienFri Nov 4 15:11:26 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 393077298Sobrien 393177298Sobrien * Makefile.in (e*nbsd.c): Fix typo in dependencies. 393277298Sobrien 393377298SobrienThu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 393477298Sobrien 393577298Sobrien * Makefile.in (check): Add missing "else true" clause. 393677298Sobrien 393777298Sobrien * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". 393877298Sobrien 393977298Sobrien * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default 394077298Sobrien entry point to "start". Align at end of each section to 0x200. 394177298Sobrien Start .text section 0x1000 later. Add _etext, _edata, _end 394277298Sobrien symbols. 394377298Sobrien 394477298SobrienWed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 394577298Sobrien 394677298Sobrien * ldctor.c (ldctor_add_set_entry): Don't permit a set to be 394777298Sobrien composed of different object file formats. 394877298Sobrien (ldctor_build_sets): If the output format does not support the 394977298Sobrien reloc, and we are not generating a relocateable link, try getting 395077298Sobrien the reloc from the input format. 395177298Sobrien 395277298SobrienTue Nov 1 10:30:19 1994 J.T. Conklin (jtc@rtl.cygnus.com) 395377298Sobrien 395477298Sobrien * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. 395577298Sobrien (em68knbsd.c): New target. 395677298Sobrien 395777298Sobrien * config/m68k-nbsd.mt: New file. 395877298Sobrien * emulparams/m68knbsd.sh: New file. 395977298Sobrien * configure.in (m68*-*-netbsd*): Use above configs. 396077298Sobrien 396177298SobrienMon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 396277298Sobrien 396377298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an 396477298Sobrien appropriately named static library, stop the search at that 396577298Sobrien directory. 396677298Sobrien 396777298SobrienWed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) 396877298Sobrien 396977298Sobrien * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o 397077298Sobrien and esparcnbsd.o; sorted entries. 397177298Sobrien (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. 397277298Sobrien 397377298Sobrien * config/netbsd532.mt: Removed. 397477298Sobrien * emulparams/netbsd532.sh: Removed. 397577298Sobrien 397677298Sobrien * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. 397777298Sobrien * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. 397877298Sobrien * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, 397977298Sobrien sparc*-*-netbsd*): Use above configs. 398077298Sobrien 398177298SobrienTue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 398277298Sobrien 398377298Sobrien * ldmain.c (multiple_common): One of the types may now be 398477298Sobrien bfd_link_hash_indirect. The old BFD argument may be NULL. 398577298Sobrien 398677298SobrienThu Oct 20 22:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 398777298Sobrien 398877298Sobrien * configure.in: Add * at the end of m68k-hp-hpux. 398977298Sobrien 399077298SobrienTue Oct 18 15:58:39 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 399177298Sobrien 399277298Sobrien * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to 399377298Sobrien YY_CHAR *. 399477298Sobrien 399577298SobrienMon Oct 17 14:53:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com) 399677298Sobrien 399777298Sobrien * scripttempl/nw.sc: Gather constructors and destructors and 399877298Sobrien define __CTOR__LIST__ and __DTOR_LIST__ appropriately. 399977298Sobrien 400077298SobrienFri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com) 400177298Sobrien 400277298Sobrien * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. 400377298Sobrien (ei386nw.c, eppcnw.c): New targets. 400477298Sobrien 400577298Sobrien * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, 400677298Sobrien scripttempl/nw.sc: New files, for i386 and powerpc netware. 400777298Sobrien 400877298Sobrien * configure.in: Changed netware ld_target name to be {i386,ppc}-nw 400977298Sobrien instead of {i386,ppc}-elf. 401077298Sobrien 401177298Sobrien * configure.in (sparc*-*-netware): Removed. There is no such 401277298Sobrien thing anymore. 401377298Sobrien 401477298Sobrien * ldint.texinfo: Move misplaced `@end iftex'. 401577298Sobrien 401677298SobrienFri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com) 401777298Sobrien 401877298Sobrien * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and 401977298Sobrien .rela.dtors to the list of .rel* sections. 402077298Sobrien 402177298SobrienThu Oct 13 14:16:27 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 402277298Sobrien 402377298Sobrien * ldver.c (ldversion): Update to version 2.5. 402477298Sobrien * Version 2.5 released. 402577298Sobrien 402677298Sobrien * configure.in (all_targets): Handle i386-linux*. 402777298Sobrien 402877298SobrienThu Oct 13 11:24:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 402977298Sobrien 403077298Sobrien * scripttempl/aout.sc: Set _etext and __etext to ., not 403177298Sobrien ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, 403277298Sobrien will not break any other system. From Eric Valette 403377298Sobrien <ev@chorus.fr>. 403477298Sobrien 403577298SobrienWed Oct 12 16:22:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 403677298Sobrien 403777298Sobrien * lexsup.c (parse_args): Change -V to be a synonym for -v. Add 403877298Sobrien --verbose to get the old -V behaviour. 403977298Sobrien * ld.1, ld.texinfo: Document this change. 404077298Sobrien 404177298SobrienTue Sep 27 14:56:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 404277298Sobrien 404377298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove 404477298Sobrien assertion, since it could fail with a user defined linker script. 404577298Sobrien 404677298Sobrien * ldexp.c (fold_name): For DEFINED case, don't try to look up the 404777298Sobrien name in the hash table during the first phase--the hash table does 404877298Sobrien not even exist at that point, much less have the right value. 404977298Sobrien 405077298Sobrien * Makefile.in (CC): Define. 405177298Sobrien (CXX): Move definition, change from g++ to gcc. 405277298Sobrien (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. 405377298Sobrien (RUNTEST_CC, RUNTEST_CFLAGS): Remove. 405477298Sobrien (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. 405577298Sobrien (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. 405677298Sobrien (.cc.o): Comment out. 405777298Sobrien (testdir): Remove. 405877298Sobrien (site.exp): Don't create testdir or set tmpdir. 405977298Sobrien (check): Run checks even if not running native. Use CC_FOR_TARGET 406077298Sobrien instead of RUNTEST_CC, and likewise for CXX. 406177298Sobrien (cdtest targets): Comment out. 406277298Sobrien * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. 406389857Sobrien * testsuite/ld-cdtest/cdtest-bar.cc, 406489857Sobrien testsuite/ld-cdtest/cdtest-foo.cc, 406589857Sobrien testsuite/ld-cdtest/cdtest-foo.h, 406689857Sobrien testsuite/ld-cdtest/cdtest-main.cc, 406789857Sobrien testsuite/ld-cdtest/cdtest.exp: Remove. 406877298Sobrien 406977298SobrienMon Sep 26 11:40:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 407077298Sobrien 407177298Sobrien * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS 407277298Sobrien file naming problems. 407377298Sobrien * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. 407477298Sobrien * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to 407577298Sobrien eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. 407677298Sobrien (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. 407777298Sobrien (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. 407877298Sobrien * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. 407977298Sobrien * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. 408077298Sobrien 408177298Sobrien * genscripts.sh: Always search /usr/local/TARGET/lib. 408277298Sobrien 408377298Sobrien * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". 408477298Sobrien 408577298SobrienFri Sep 23 15:05:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 408677298Sobrien 408777298Sobrien * configure.in: Handle i386-bsdi* targets like i386-bsd. 408877298Sobrien 408977298SobrienFri Sep 23 00:06:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 409077298Sobrien 409177298Sobrien * lexsup.c (parse_args): Add support for -a for HP/UX 409277298Sobrien compatibility. 409377298Sobrien 409477298Sobrien * lexsup.c (parse_args): -c takes an argument. 409577298Sobrien 409677298SobrienTue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 409777298Sobrien 409877298Sobrien * ld.h (args_type): Add new field endian. 409977298Sobrien * lexsup.c (parse_args): Handle -EB and -EL by setting 410077298Sobrien command_line.endian. 410177298Sobrien * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. 410277298Sobrien * ldlang.c (lang_add_output_format): Add arguments big and little. 410377298Sobrien If command_line.endian is set, use it to select big or little 410477298Sobrien rather than the default. Changed all callers. 410577298Sobrien * ldlang.h (lang_add_output_format): Update declaration. 410677298Sobrien * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and 410777298Sobrien LITTLE_OUTPUT_FORMAT. 410877298Sobrien * emulparams/elf32mipl.sh: Likewise. 410977298Sobrien * emulparams/mipsbig.sh: Likewise. 411077298Sobrien * emulparams/mipsbsd.sh: Likewise. 411177298Sobrien * emulparams/mipsidt.sh: Likewise. 411277298Sobrien * emulparams/mipsidtl.sh: Likewise. 411377298Sobrien * emulparams/mipslit.sh: Likewise. 411477298Sobrien * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and 411577298Sobrien LITTLE_OUTPUT_FORMAT if not already defined. Pass them to 411677298Sobrien OUTPUT_FORMAT. 411777298Sobrien * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and 411877298Sobrien LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. 411977298Sobrien * scripttempl/mipsbsd.sc: Likewise. 412077298Sobrien 412177298Sobrien * Makefile.in (ldgram.h): Make separate target from ldgram.c, 412277298Sobrien depending upon ldgram.c, so that a parallel make does not try to 412377298Sobrien build both at once. 412477298Sobrien 412577298Sobrien * configure.in (mips*el-elf*): New target. 412677298Sobrien * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. 412777298Sobrien (eelf32mipl.c): New target. 412877298Sobrien 412977298Sobrien * config/mipsl-elf32.mt: New file. 413077298Sobrien * emulparams/elf32mipl.sh: New file. 413177298Sobrien 413277298SobrienFri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 413377298Sobrien 413477298Sobrien * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as 413577298Sobrien ld -r -S -x. 413677298Sobrien 413777298SobrienThu Sep 15 13:05:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 413877298Sobrien 413977298Sobrien * ldmisc.c (vfinfo): Print BFD file name as well as file name 414077298Sobrien returned by find_nearest_line, in case the file name is something 414177298Sobrien unhelpful such as a .h file. Handle %u. 414277298Sobrien 414377298SobrienWed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com) 414477298Sobrien 414577298Sobrien * ldlang.c (lang_do_assignments): Make sure output statement 414677298Sobrien has an attached bfd_section before trying to dereference it. 414777298Sobrien 414877298SobrienWed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 414977298Sobrien 415077298Sobrien * ld.h (ld_config_type): Add new field warn_once. 415177298Sobrien * ldmain.c (undefined_symbol): Handle -warn-once. 415277298Sobrien * lexsup.c (parse_args): Recognize -warn-once. 415377298Sobrien * ld.texinfo (Options): Document -warn-once. 415477298Sobrien * ld.1: Likewise. 415577298Sobrien 415677298Sobrien * ldmisc.c (vfinfo): Handle %D as %C, but never print the function 415777298Sobrien name. For %C, print the function name on a separate line, to keep 415877298Sobrien the length of error messages under control. 415977298Sobrien * ldmain.c (multiple_definition): Use %D for ``first defined 416077298Sobrien here.'' 416177298Sobrien (undefined_symbol): Use %D for ``more undefined references 416277298Sobrien follow''. 416377298Sobrien 416477298Sobrien * ldmisc.c (multiple_warn): Remove; no longer used. 416577298Sobrien * ldmisc.h (multiple_warn): Don't declare. 416677298Sobrien 416777298SobrienTue Sep 13 20:47:58 1994 Steve Chamberlain (sac@jonny.cygnus.com) 416877298Sobrien 416977298Sobrien * ldlang.c (print_output_section_statement): Print all lines 417077298Sobrien to the map file. 417177298Sobrien 417277298SobrienTue Sep 13 16:30:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 417377298Sobrien 417477298Sobrien * ldlang.c (load_symbols): Check for archive before object. Use 417577298Sobrien bfd_check_format_matches, and, if ambiguous, print a list of 417677298Sobrien matching formats. If file format is not recognized, treat file as 417777298Sobrien a linker script. 417877298Sobrien * ldgram.y (yyerror): If assuming an object file is a script, 417977298Sobrien mention that. Tweak the format of the error messages. 418077298Sobrien * ldlex.l (lex_warn_invalid): If assuming an object is a script, 418177298Sobrien guess that this is not actually a script, and just report that the 418277298Sobrien file format was not recognized. 418377298Sobrien * ld.texinfo (Options): Admit that -( may be used more than once. 418477298Sobrien Add note that unrecognized object files are now treated as linker 418577298Sobrien scripts. 418677298Sobrien 418777298Sobrien * ldfile.c (ldfile_input_filename): Make const. 418877298Sobrien (ldfile_assumed_script): New variable. 418977298Sobrien (try_open): Change arguments types to const. 419077298Sobrien (ldfile_find_command_file): Likewise. 419177298Sobrien (ldfile_open_command_file): Likewise. Also, set lineno to 1. 419277298Sobrien * ldfile.h: Update declarations for ldfile.c changes. 419377298Sobrien * ldlex.l: Include <ctype.h>. 419477298Sobrien (file_name_stack): Change to be const char *. 419577298Sobrien (lineno_stack): New static variable. 419677298Sobrien (<<EOF>>): Set lineno as well as ldfile_input_filename. 419777298Sobrien (lex_push_file): Make name argument const. Initialize 419877298Sobrien lineno_stack entry. 419977298Sobrien (lex_redirect): Initialize lineno_stack entry. 420077298Sobrien (lex_warn_invalid): Handle non printable characters nicely. 420177298Sobrien * ldlex.h (lex_push_file): Declare second argument as const. 420277298Sobrien 420377298Sobrien * ldgram.y (ifile_p1): Recognize GROUP. 420477298Sobrien * ldlex.l: Recognize GROUP. 420577298Sobrien * ld.texinfo (Option Commands): Document GROUP. 420677298Sobrien 420777298SobrienMon Sep 12 17:04:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 420877298Sobrien 420977298Sobrien * config/m68klynx.mh: New file. 421077298Sobrien 421177298SobrienMon Sep 12 01:50:03 1994 Jeff Law (law@snake.cs.utah.edu) 421277298Sobrien 421377298Sobrien * emultempl/hppaelf.em: Add newlines to the error messages. 421477298Sobrien 421577298SobrienSat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 421677298Sobrien 421777298Sobrien * config/i386lynx.mh: New file. 421877298Sobrien * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text 421977298Sobrien unless CONSTRUCTING. 422077298Sobrien 422177298SobrienThu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 422277298Sobrien 422377298Sobrien * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. 422477298Sobrien (GENERATE_SHLIB_SCRIPT): Define as yes. 422577298Sobrien (DYNAMIC_LINK): Define as false. 422677298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): 422777298Sobrien Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. 422877298Sobrien (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. 422977298Sobrien * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than 423077298Sobrien generic.em. 423177298Sobrien 423277298SobrienThu Sep 8 16:30:37 1994 Steve Chamberlain (sac@jonny.cygnus.com) 423377298Sobrien 423477298Sobrien * scripttempl/h8500b.sc: Put rdata stuff into own segment. 423577298Sobrien 423677298SobrienThu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 423777298Sobrien 423877298Sobrien * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; 423977298Sobrien .got section is now explicitly handled in elf.sc. 424077298Sobrien 424177298SobrienWed Sep 7 13:08:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 424277298Sobrien 424377298Sobrien * scripttempl/alpha.sc: Redo script to set . outside of sections 424477298Sobrien and not bother to explicitly specify section addresses. 424577298Sobrien Explicitly place .sdata section. 424677298Sobrien 424777298SobrienTue Sep 6 23:51:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 424877298Sobrien 424977298Sobrien * scripttempl/m68kcoff.sc: Put .bss in data segment. 425077298Sobrien 425177298Sobrien * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of 425277298Sobrien 0, and to only be marked as NOLOAD if relocating. 425377298Sobrien * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. 425477298Sobrien * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. 425577298Sobrien * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. 425677298Sobrien * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. 425777298Sobrien * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. 425877298Sobrien * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. 425977298Sobrien * scripttempl/sparclynx.sc: Likewise. 426077298Sobrien 426177298SobrienSun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) 426277298Sobrien 426377298Sobrien * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. 426477298Sobrien * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: 426577298Sobrien New files. 426677298Sobrien 426777298SobrienTue Aug 30 11:48:08 1994 Eric Youngdale (ericy@cais.cais.com) 426877298Sobrien 426977298Sobrien * ld.h (args_type): Add field soname. 427077298Sobrien * lexsup.c (parse_args): Handle -soname argument. 427177298Sobrien * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, 427277298Sobrien pass soname. 427377298Sobrien * ld.texinfo: Document -soname. 427477298Sobrien 427577298SobrienMon Aug 29 15:21:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 427677298Sobrien 427777298Sobrien * ldlang.c (lang_check): Don't try to set the architecture if the 427877298Sobrien input and output files are incompatible. Just warn. 427977298Sobrien 428077298SobrienWed Aug 24 12:52:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 428177298Sobrien 428277298Sobrien * configure.in: Change i[34]86 to i[345]86. 428377298Sobrien 428477298SobrienSun Aug 21 16:17:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 428577298Sobrien 428677298Sobrien * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. 428777298Sobrien 428877298SobrienThu Aug 18 15:37:45 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 428977298Sobrien 429077298Sobrien Make the ELF linker handle orphaned sections reasonably. Also, 429177298Sobrien define __start_SECNAME and __stop_SECNAME around sections whose 429277298Sobrien names can be represented in C, for the benefit of symbol sets in 429377298Sobrien glibc. 429477298Sobrien * ldemul.h (ldemul_place_orphan): Declare. 429577298Sobrien (ld_emulation_xfer_type): Add place_orphan field. 429677298Sobrien * ldemul.c (ldemul_place_orphan): New function. 429777298Sobrien * ldlang.h (wild_doit): Declare. 429877298Sobrien * ldlang.c (wild_doit): Make nonstatic. 429977298Sobrien (lang_place_orphans): Call ldemul_place_orphan. 430077298Sobrien * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". 430177298Sobrien (hold_section, hold_use, hold_text, hold_data, hold_bss): New 430277298Sobrien static variables. 430377298Sobrien (gld${EMULATION_NAME}_place_orphan): New static function. 430477298Sobrien (gld${EMULATION_NAME}_place_section): New static function. 430577298Sobrien (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. 430677298Sobrien 430777298SobrienTue Aug 16 00:17:20 1994 Eric Youngdale (ericy@cais.cais.com) 430877298Sobrien 430977298Sobrien * scripttempl/aout.sc: Add .linux-dynamic after .data. 431077298Sobrien 431177298SobrienTue Aug 16 00:08:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 431277298Sobrien 431377298Sobrien * lexsup.c (parse_args) Treat --dll-verbose as --version, for 431477298Sobrien Linux compatibility. From hjl@nynexst.com (H.J. Lu). 431577298Sobrien 431677298SobrienMon Aug 15 17:17:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 431777298Sobrien 431877298Sobrien * ldexp.h (exp_get_abs_int): Declare. 431977298Sobrien 432077298SobrienSat Aug 6 01:45:39 1994 Steve Chamberlain (sac@jonny.cygnus.com) 432177298Sobrien 432277298Sobrien * ldlang.c (lang_do_assignments): Handle complex AT's better. 432377298Sobrien * ldexp.c (exp_get_abs_int): New function. 432477298Sobrien 432577298SobrienFri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com) 432677298Sobrien 432777298Sobrien * configure.in: add i960-nindy-coff support. 432877298Sobrien 432977298SobrienThu Aug 4 14:45:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 433077298Sobrien 433177298Sobrien * ldlex.l (yy_create_string_buffer): Handle change to internal 433277298Sobrien interface in flex 2.4.7. 433377298Sobrien 433477298SobrienTue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com) 433577298Sobrien 433677298Sobrien * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): 433777298Sobrien New function; add 0x20 to any use of -Ttext. 433877298Sobrien (gld${EMULATION_NAME}_create_output_section_statements): New 433977298Sobrien function. 434077298Sobrien (ld_${EMULATION_NAME}_emulation): Use the new function 434177298Sobrien gld${EMULATION_NAME}_create_output_section_statements. 434277298Sobrien 434377298SobrienMon Aug 1 15:50:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 434477298Sobrien 434577298Sobrien * scripttempl/mips.sc: Redo script to set . outside of sections 434677298Sobrien and not bother to explicitly specify section addresses. 434777298Sobrien 434877298SobrienTue Jul 26 11:02:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 434977298Sobrien 435077298Sobrien * scripttempl/elf.sc: Copy several more relocation sections into 435177298Sobrien the output. Put .got.plt sections into .got. 435277298Sobrien 435377298SobrienFri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 435477298Sobrien 435577298Sobrien * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. 435677298Sobrien 435777298Sobrien Add a new script operator, PROVIDE, to define a symbol only if it 435877298Sobrien is needed. 435977298Sobrien * ldgram.y (PROVIDE): New token. 436077298Sobrien (assignment): Accept PROVIDE. 436177298Sobrien * ldlex.l (PROVIDE): New token. 436277298Sobrien * ldexp.h (node_type): Add etree_provide to node_class enum. 436377298Sobrien (exp_provide): Declare. 436477298Sobrien * ldexp.c (exp_fold_tree): Handle etree_provide. 436577298Sobrien (exp_provide): New function. 436677298Sobrien (exp_print_tree): Handle etree_provide. 436777298Sobrien * ld.texinfo: Document PROVIDE. 436877298Sobrien 436977298Sobrien * ldlang.c (lang_common): Pass desired alignment to 437077298Sobrien lang_one_common as power of two. 437177298Sobrien (lang_one_common): Get common symbol alignment from linker hash 437277298Sobrien table entry. Treat desired alignment as a power of two. 437377298Sobrien 437477298Sobrien * ldlang.c (wild_section): Attach all section with the given name, 437577298Sobrien not just the first one. If there is no name, attach all sections 437677298Sobrien even if the SEC_IS_COMMON flag is set. 437777298Sobrien 437877298SobrienWed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 437977298Sobrien 438077298Sobrien * ld.h (args_type): Add field rpath. 438177298Sobrien * lexsup.c (S_ISDIR): Define if not already defined. 438277298Sobrien (parse_args): Add support for -rpath. If -R is used to name a 438377298Sobrien directory, treat it as -rpath for Solaris compatibility. 438477298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 438577298Sobrien Pass command_line.rpath to bfd_elf32_size_dynamic_sections. 438677298Sobrien * ldmain.c (main): Initialize command_line.rpath to NULL. 438777298Sobrien * ld.texinfo: Document -rpath option. 438877298Sobrien 438977298SobrienSun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au) 439077298Sobrien 439177298Sobrien * emulparams/pc532machaout.sh: New file. Pc532 mach script 439277298Sobrien parameters. 439377298Sobrien 439477298Sobrien * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. 439577298Sobrien 439677298Sobrien * config/pc532mach.mt: New file. Pc532 mach target support. 439777298Sobrien 439877298Sobrien * config/pc532mach.mh: New file. Pc532 mach host support. 439977298Sobrien 440077298Sobrien * config/netbsd532.mt: New file. Netbsd 532 target support. 440177298Sobrien 440277298Sobrien * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. 440377298Sobrien 440477298Sobrien * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c 440577298Sobrien dependency. 440677298Sobrien 440777298SobrienFri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 440877298Sobrien 440977298Sobrien * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use 441077298Sobrien bfd_abs_section_ptr, not &bfd_abs_section. 441177298Sobrien 441277298Sobrien * lexsup.c (parse_args): Changed "retain-symbols-file" from 441377298Sobrien no_argument to required_argument. From djm. 441477298Sobrien 441577298SobrienThu Jul 7 12:29:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 441677298Sobrien 441777298Sobrien * scripttempl/elf.sc: Explicitly mention .stab and .stabstr 441877298Sobrien sections to force a VMA of 0; needed for ELF backends which have 441977298Sobrien not been converted to the new linker style. 442077298Sobrien 442177298SobrienMon Jul 4 19:35:45 1994 Jeff Law (law@snake.cs.utah.edu) 442277298Sobrien 442377298Sobrien * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, 442477298Sobrien it was for the HPUX dynamic loader's use and it creates problems 442577298Sobrien with ELF GDB. 442677298Sobrien 442777298SobrienFri Jul 1 12:53:47 1994 Jeff Law (law@snake.cs.utah.edu) 442877298Sobrien 442977298Sobrien * ldlang.c (lang_do_assignments): No longer static. Delete decl. 443077298Sobrien * ldlang.h (lang_do_assignments): Put external decl here. 443177298Sobrien * emultempl/hppaelf.em: Minor cleanups throughout file. 443277298Sobrien (hppa_elf_create_output_section_statements): Rewrite. 443377298Sobrien (hppaelf_finish): Rewrite. 443477298Sobrien 443577298SobrienWed Jun 29 16:50:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 443677298Sobrien 443777298Sobrien * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. 443877298Sobrien 443977298Sobrien * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not 444077298Sobrien accept plain -B. 444177298Sobrien * ld.texinfo: -Bstatic is not ignored. 444277298Sobrien 444377298SobrienTue Jun 28 12:13:34 1994 Stan Shebs (shebs@andros.cygnus.com) 444477298Sobrien 444577298Sobrien * ldlex.l: Recognize \r the same as \n. 444677298Sobrien 444777298SobrienThu Jun 23 17:53:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 444877298Sobrien 444977298Sobrien Preliminary support for generating shared libraries, from Eric 445077298Sobrien Youngdale <ericy@cais.cais.com>. 445177298Sobrien * genscripts.sh: If the emulation parameter file sets 445277298Sobrien GENERATE_SHLIB_SCRIPT, generate a .xs script file with 445377298Sobrien CREATE_SHLIB defined. 445477298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If 445577298Sobrien link_info.shared is set, use the .xs script file. 445677298Sobrien * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a 445777298Sobrien .interp section, and don't include TEXT_START_ADDR in the starting 445877298Sobrien address of the first section. 445977298Sobrien * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. 446077298Sobrien * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. 446177298Sobrien 446277298SobrienThu Jun 23 12:52:22 1994 David J. Mackenzie (djm@rtl.cygnus.com) 446377298Sobrien 446477298Sobrien * configure.in: Change --with-targets to --enable-targets. 446577298Sobrien 446677298SobrienWed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 446777298Sobrien 446877298Sobrien * lexsup.c (parse_args): Add support for new options -( -) with 446977298Sobrien synonyms --start-group --end-group. 447077298Sobrien * ldlang.h (enum statement_enum): Add lang_group_statement_enum. 447177298Sobrien (lang_group_statement_type): Define new struct. 447277298Sobrien (lang_statement_union_type): Add group_statement field. 447377298Sobrien (lang_enter_group, lang_leave_group): Declare. 447477298Sobrien * ldlang.c (lang_for_each_statement_worker): Handle 447577298Sobrien lang_group_statement_enum. 447677298Sobrien (map_input_to_output_sections, print_statement): Likewise. 447777298Sobrien (lang_size_sections, lang_do_assignments): Likewise. 447877298Sobrien (open_input_bfds): Completely rewrite. Now does its own looping, 447977298Sobrien rather than using lang_for_each_statement. Handle groups. 448077298Sobrien (lang_process): Update call to open_input_bfds. 448177298Sobrien (print_group): New static function. 448277298Sobrien (lang_enter_group, lang_leave_group): New static functions. 448377298Sobrien * ldfile.c (ldfile_open_file): If the file has already been 448477298Sobrien opened, just return rather than taking an assertion failure. 448577298Sobrien * ldver.c (help): Mention new options. 448677298Sobrien * ld.texinfo: Document new options. 448777298Sobrien 448877298Sobrien * ldlang.c (end_of_data_section_statement_list): Don't define. 448977298Sobrien (lang_leave_output_section_statement): Don't set obsolete variable 449077298Sobrien end_of_data_section_statement_list. 449177298Sobrien 449277298Sobrien * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an 449377298Sobrien ALIGN. 449477298Sobrien 449577298Sobrien * ldlang.c (lang_size_sections): Adjust current region address 449677298Sobrien even for sections with an explicit address. From 449777298Sobrien ralphc@pyramid.com (Ralph Campbell). 449877298Sobrien 449977298Sobrien * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. 450077298Sobrien From jrs@world.std.com (Rick Sladkey). 450177298Sobrien 450277298Sobrien * scripttempl/mipsbsd.sc: Let sections align to their natural 450377298Sobrien boundaries. 450477298Sobrien 450577298SobrienTue Jun 21 11:27:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 450677298Sobrien 450777298Sobrien * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not 450877298Sobrien &bfd_abs_section. 450977298Sobrien (lang_abs_symbol_at_beginning_of): Likewise. 451077298Sobrien (lang_abs_symbol_at_end_of): Likewise. 451177298Sobrien (lang_size_sections): Use bfd_is_abs_section to check for the 451277298Sobrien absolute section. Don't try to set the VMA or output_offset or 451377298Sobrien size of the absolute section. 451477298Sobrien * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the 451577298Sobrien undefined section. 451677298Sobrien 451777298SobrienThu Jun 16 22:48:41 1994 Jeff Law (law@snake.cs.utah.edu) 451877298Sobrien 451977298Sobrien * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 452077298Sobrien when generating relocatable objects. 452177298Sobrien 452277298SobrienThu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com) 452377298Sobrien 452477298Sobrien * emultempl/linux.em: New file providing support for linking 452577298Sobrien against Linux shared libraries. 452677298Sobrien * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. 452777298Sobrien * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. 452877298Sobrien 452977298SobrienThu Jun 16 12:22:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 453077298Sobrien 453177298Sobrien * lexsup.c (parse_args): Add -shared to longopts, and handle it. 453277298Sobrien * ldmain.c (main): Initialize link_info.shared to false. Give 453377298Sobrien error if link_info.relocateable and link_info.shared are both set. 453477298Sobrien 453577298Sobrien * configure.in: If EMUL_EXTRA* is defined in a config file, treat 453677298Sobrien it as naming an emulation to be added to EMULATION_OFILES. 453777298Sobrien * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. 453877298Sobrien 453977298Sobrien * Makefile.in: Rebuilt dependencies. 454077298Sobrien (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, 454177298Sobrien eelf64_sparc.o. Remove $(OTHER_EMULATIONS). 454277298Sobrien (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. 454377298Sobrien * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. 454477298Sobrien (ei386linux.c): Remove; now in Makefile.in. 454577298Sobrien * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. 454677298Sobrien * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. 454777298Sobrien * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. 454877298Sobrien * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. 454977298Sobrien (eelf64_sparc.c): Remove; now in Makefile.in. 455077298Sobrien * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. 455177298Sobrien (eelf32_sparc.c): Remove; now in Makefile.in. 455277298Sobrien 455377298Sobrien * ldexp.c (exp_print_tree): Don't crash if etree_rel section has 455477298Sobrien no owner--it might be bfd_abs_section. From Eric Youngdale 455577298Sobrien <ericy@cais.cais.com>. 455677298Sobrien 455777298Sobrien * scripttempl/aout.sc: Let sections align to their natural 455877298Sobrien boundaries. 455977298Sobrien 456077298SobrienWed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 456177298Sobrien 456277298Sobrien * ldemul.h (ldemul_open_dynamic_archive): Declare. 456377298Sobrien (ld_emulation_xfer_type): Add new field open_dynamic_archive. 456477298Sobrien * ldemul.c: Include ldexp.h and ldlang.h. 456577298Sobrien (ldemul_open_dynamic_archive): New function. 456677298Sobrien * ldfile.h (ldfile_open_file_search): Declare. 456777298Sobrien * ldfile.c: Include ldemul.h. 456877298Sobrien (try_open_bfd): Rename from cache_bfd_openr. Return boolean 456977298Sobrien argument, not bfd *. Change all callers. 457077298Sobrien (ldfile_open_file_search): Rename from open_a. Return boolean 457177298Sobrien argument, not bfd *. Clean up. Change all callers. 457277298Sobrien (ldfile_open_file): If doing a dynamic link, call 457377298Sobrien ldemul_open_dynamic_archive rather than assuming the extension of 457477298Sobrien a dynamic object is ".so". 457577298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): 457677298Sobrien New function. 457777298Sobrien (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive 457877298Sobrien field. 457977298Sobrien * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. 458077298Sobrien 458177298Sobrien * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. 458277298Sobrien * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. 458377298Sobrien Accept -static as a synonym for -non_shared. 458477298Sobrien 458577298Sobrien Let the user change the dynamic linker used by ELF code. 458677298Sobrien * ld.h (args_type): Add new field interpreter. 458777298Sobrien * lexsup.c (parse_args): Add dynamic-linker to longopts, and 458877298Sobrien handle it. 458977298Sobrien * ldmain.c (main): Initialize command_line.interpreter to NULL. 459077298Sobrien * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get 459177298Sobrien the ELF backend to return the .interp section. If 459277298Sobrien command_line.interpreter is not NULL, set the contents of .interp 459377298Sobrien to it. 459477298Sobrien * ld.texinfo: Mention -dynamic-linker. 459577298Sobrien 459677298Sobrien * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not 459777298Sobrien generic.em. 459877298Sobrien 459977298Sobrien * lexsup.c (parse_args): Sort out the option macros and change the 460077298Sobrien definitions to make it easier to add a new option. 460177298Sobrien 460277298Sobrien * scripttempl/aout.sc: Define __etext and __edata to go along with 460377298Sobrien _etext and _edata. 460477298Sobrien 460577298Sobrien * ld.h (ld_config_type): Add new field traditional_format. 460677298Sobrien * lexsup.c (parse_args): Add traditional-format to longopts, and 460777298Sobrien handle it. 460877298Sobrien * ldmain.c (main): Initialize config.traditional_format to false. 460977298Sobrien * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD 461077298Sobrien flags of output_bfd according to config.traditional_format. 461177298Sobrien * ldver.c (help): Mention -traditional-format. 461277298Sobrien * ld.texinfo: Document -traditional-format. 461377298Sobrien 461477298SobrienTue Jun 14 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 461577298Sobrien 461677298Sobrien * ldctor.c (ldctor_add_entry): Add entries to a set in the order 461777298Sobrien they are encountered. 461877298Sobrien 461977298SobrienTue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com) 462077298Sobrien 462177298Sobrien * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. 462277298Sobrien (NONPAGED_TEXT_START_ADDR): Define as 0x20. 462377298Sobrien 462477298SobrienMon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 462577298Sobrien 462677298Sobrien * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of 462777298Sobrien _FTEXT, _ETEXT and _FDATA. Dont define _END. 462877298Sobrien 462977298Sobrien * ldfile.c (open_a): If this is not an archive, try to open it in 463077298Sobrien the current directory before searching for it. 463177298Sobrien 463277298Sobrien * lexsup.c (parse_args): Treat -i as a synonym for -r. 463377298Sobrien 463477298Sobrien * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that 463577298Sobrien BLOCK works in a section address as documented. 463677298Sobrien 463777298Sobrien * ldgram.y (YYDEBUG): Don't define. 463877298Sobrien 463977298SobrienFri Jun 10 16:45:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 464077298Sobrien 464177298Sobrien * emultempl/gld960.em: Pass false for new argument to 464277298Sobrien ldfile_add_library_path. 464377298Sobrien * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. 464477298Sobrien 464577298Sobrien * emultempl/sunos.em: Only look for .so files if doing a dynamic 464677298Sobrien link. 464777298Sobrien 464877298SobrienThu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com) 464977298Sobrien 465077298Sobrien * scripttempl/i960.sc: Add CONSTRUCTORS to .data. 465177298Sobrien 465277298SobrienThu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com) 465377298Sobrien 465477298Sobrien * Makefile.in (check): Delete ld.new dependency so that a regression 465577298Sobrien test doesn't trigger a rebuild of the linker. 465677298Sobrien 465777298SobrienThu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 465877298Sobrien 465977298Sobrien * ldlang.c (map_input_to_output_sections): For lang_address, call 466077298Sobrien init_os if it hasn't already been called. 466177298Sobrien 466277298SobrienThu Jun 2 17:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 466377298Sobrien 466477298Sobrien Add support for SunOS shared libraries. 466589857Sobrien * scripttempl/aout.sc: Don't define __DYNAMIC here. Add new 466689857Sobrien sections used by shared library support code. 466777298Sobrien * emultempl/sunos.em: New file. 466877298Sobrien * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. 466977298Sobrien * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. 467077298Sobrien * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. 467177298Sobrien (esun3.c): Likewise. 467277298Sobrien 467377298Sobrien * ldlang.c: Minor formatting cleanups. 467477298Sobrien (lang_for_each_input_file): New function. 467577298Sobrien * ldlang.h (lang_for_each_input_file): Declare. 467677298Sobrien 467777298Sobrien * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline 467877298Sobrien field. 467977298Sobrien (search_head): Declare. 468077298Sobrien (ldfile_add_library_path): Add new cmdline argument in prototype. 468177298Sobrien * ldfile.c (search_head): Make non-static. 468277298Sobrien (search_dirs_type): Move to ldfile.h. 468377298Sobrien (ldfile_add_library_path): Accept cmdline argument, and save it. 468477298Sobrien * lexsup.c (parse_args): Pass true for new cmdline argument of 468577298Sobrien ldfile_add_library_path. 468677298Sobrien (set_default_dirlist): Likewise. 468777298Sobrien * ldmain.c (check_for_scripts_dir): Pass false for new cmdline 468877298Sobrien argument of ldfile_add_library_path. 468977298Sobrien * ldgram.y (ifile_p1): Likewise. 469077298Sobrien 469177298SobrienWed Jun 1 14:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 469277298Sobrien 469377298Sobrien * ldlang.h (lang_input_statement_type): Remove fields subfiles, 469477298Sobrien total_size, superfile and chain. 469577298Sobrien * ldfile.c (open_a): Don't clear search_dirs_flag. 469677298Sobrien (ldfile_open_file): Don't try to open superfile. Assert that file 469777298Sobrien has not already been opened. 469877298Sobrien * ldlang.c (new_afile): Don't initialize superfile. 469977298Sobrien * ldmain.c (add_archive_element): Don't initialize subfiles or 470077298Sobrien chain or superfile. Initialize search_dirs_flag to false. 470177298Sobrien 470277298SobrienFri May 27 12:25:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 470377298Sobrien 470477298Sobrien * ldver.c (ldversion): Changed version to "cygnus-2.4.1". 470577298Sobrien 470677298Sobrien Changes from binutils-2.4 release: 470777298Sobrien 470877298Sobrien * genscripts.sh (RELOCATING, CONSTRUCTING): When setting 470977298Sobrien variables, use whitespace, so scripts don't break. 471077298Sobrien 471177298Sobrien * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. 471277298Sobrien 471377298Sobrien * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. 471477298Sobrien 471589857Sobrien * testsuite/ld-cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. 471677298Sobrien * Makefile.in: Noted change. 471777298Sobrien 471877298Sobrien * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I 471977298Sobrien don't know where that's supposed to come from, or why it's 472077298Sobrien necessary. 472177298Sobrien 472277298Sobrien Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) 472377298Sobrien 472489857Sobrien * configure.bat: update to latest Makefile.in 472589857Sobrien * emulparams/go32.sh: set to coff-go32 not aout 472689857Sobrien * emultempl/generic.em: strength-reduce the structure of 472777298Sobrien this shell script, since the only available shell for 472877298Sobrien DOS can't handle complex syntax. 472989857Sobrien * emultempl/stringify.sed: for "sed -f" instead of inline. 473089857Sobrien * Makefile.in: depend on stringify.sed as well as genscripts.sh 473189857Sobrien * scripttempl/go32coff.sc: correct for djgpp 1.11's COFF format 473277298Sobrien * genscripts.sh: empty variables aren't always considered "set", 473377298Sobrien so set them to "y" instead. 473477298Sobrien 473577298SobrienFri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 473677298Sobrien 473777298Sobrien * ldlang.c (entry_symbol): Make static. 473877298Sobrien (lang_add_entry): Add cmdline argument. 473977298Sobrien * ldlang.h (lang_add_entry): Change prototype. 474077298Sobrien * ldgram.y (statement_anywhere): Change lang_add_entry call. 474177298Sobrien * lexsup.c (parse_args): Likewise. 474277298Sobrien 474377298SobrienTue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 474477298Sobrien 474577298Sobrien * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give 474677298Sobrien .reginfo an address. 474777298Sobrien (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. 474877298Sobrien (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. 474977298Sobrien * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. 475077298Sobrien 475177298SobrienThu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 475277298Sobrien 475377298Sobrien Add support for ELF shared libraries. 475477298Sobrien * ld.h (ld_config_type): Add field dynamic_link. 475577298Sobrien * ldmain.c (main): Initialize config.dynamic_link to false. Warn 475677298Sobrien on attempts to use -r with -relax, -call_shared or -s. 475777298Sobrien * lexsup.c (longopts): Separate OPTION_CALL_SHARED from 475877298Sobrien OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values 475977298Sobrien accordingly. Add "dy" and "non_shared" options. Change "Qy" to 476077298Sobrien OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and 476177298Sobrien OPTION_NON_SHARED by setting dynamic_link field accordingly. 476277298Sobrien Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for 476377298Sobrien -r and -Ur. 476477298Sobrien * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try 476577298Sobrien opening a file with a .so extension first. 476677298Sobrien * emultempl/elf32.em: New file. 476777298Sobrien * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. 476877298Sobrien (NONPAGED_TEXT_START_ADDR): Likewise. 476977298Sobrien (TEMPLATE_NAME): Define as elf32. 477077298Sobrien (DATA_PLT): Define. 477177298Sobrien * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. 477277298Sobrien * scripttempl/elf.sc: Add placement for new dynamic sections. 477377298Sobrien Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end 477477298Sobrien outside of any section. Don't use ALIGN(8); just let one section 477577298Sobrien VMA follow another. Put .dynbss in .bss. Don't mention debugging 477677298Sobrien sections; they'll be handled correctly anyhow. 477777298Sobrien * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. 477877298Sobrien 477977298SobrienWed May 18 10:15:39 1994 Ian Lance Taylor (ian@cygnus.com) 478077298Sobrien 478177298Sobrien * Makefile.in (install): Redirect output of ln to /dev/null. 478277298Sobrien 478377298SobrienMon May 16 13:35:08 1994 Jeff Law (law@snake.cs.utah.edu) 478477298Sobrien 478577298Sobrien * emultempl/hppaelf.em: Change all references of 478677298Sobrien .hppa_linker_stubs to .PARISC.stubs. 478777298Sobrien * scripttempl/hppaelf.sc: Likewise. 478877298Sobrien 478977298SobrienFri May 13 13:00:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 479077298Sobrien 479177298Sobrien * ldlang.c (print_output_section_statement): Change ``no attached 479277298Sobrien output section'' message slightly. 479377298Sobrien (lang_do_assignments): Don't recurse down if there is no real 479477298Sobrien section. 479577298Sobrien 479677298Sobrien * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to 479777298Sobrien match corresponding change in emulation templates. 479877298Sobrien * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. 479977298Sobrien * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. 480077298Sobrien 480177298SobrienWed May 11 18:16:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 480277298Sobrien 480377298Sobrien * ldver.c (ldversion): Updated version number. 480477298Sobrien 480589857Sobrien * testsuite/ld-cdtest/cdtest-foo.cc: Use explicit "#pragma 480689857Sobrien implementation". 480789857Sobrien * testsuite/ld-cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. 480877298Sobrien * Makefile.in: References to cdtest-func.o changed to 480977298Sobrien cdtest-bar.o. 481077298Sobrien 481177298SobrienWed May 11 16:24:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 481277298Sobrien 481377298Sobrien Don't create unnecessary output sections. 481477298Sobrien * ldlang.c (out_bfd_get_section_by_name): Remove. 481577298Sobrien (wild_section): Call bfd_get_section_by_name rather than 481677298Sobrien our_bfd_get_section_by_name. Don't call wild_doit if there is no 481777298Sobrien section. 481877298Sobrien (lang_create_output_section_statements): Remove. 481977298Sobrien (map_input_to_output_sections): For several cases, call init_os if 482077298Sobrien it has not already been called. 482177298Sobrien (lang_size_sections): If output section was not created, skip it. 482277298Sobrien (lang_process): Don't call lan_create_output_section_statements. 482377298Sobrien (lang_place_orphans): Skip files with just_syms_flags set to true. 482477298Sobrien * ld.texinfo: Document change. 482577298Sobrien 482677298SobrienTue May 10 14:31:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 482777298Sobrien 482877298Sobrien * ldlang.c (wild_doit): Don't bother initializing the vma and 482977298Sobrien section size. Don't special case SEC_SHARED_LIBRARY. 483077298Sobrien (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections 483177298Sobrien specially. 483277298Sobrien 483377298SobrienFri May 6 12:24:27 1994 Steve Chamberlain (sac@cygnus.com) 483477298Sobrien 483577298Sobrien * config/go32.mh : New file for Xgo32X. 483677298Sobrien 483777298SobrienFri May 6 15:15:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 483877298Sobrien 483977298Sobrien * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call 484077298Sobrien before calling einfo, since we are reporting an fopen failure. 484177298Sobrien From jrs@world.std.com (Rick Sladkey). 484277298Sobrien 484377298Sobrien * configure.in: Use "e" rather than "em_" as prefix for 484477298Sobrien emulations. 484577298Sobrien 484677298SobrienFri May 6 01:08:14 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) 484777298Sobrien 484877298Sobrien * emultempl/generic.em: Use "e" rather than "em_" as prefix for 484977298Sobrien filename. 485077298Sobrien * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, 485177298Sobrien emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: 485277298Sobrien Ditto. 485377298Sobrien * Makefile.in: Changed all generated file names. 485477298Sobrien (ldemul-list.h): Depend on Makefile, not config.status. Changed 485577298Sobrien sed patterns to handle new filenames. 485677298Sobrien 485777298Sobrien * config/mipsl-idt.mt: Renamed from mips-idtl.mt. 485877298Sobrien * configure.in: Adjusted. 485977298Sobrien 486077298SobrienThu May 5 15:07:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 486177298Sobrien 486277298Sobrien * Makefile.in (install-info): Don't use "$<*", it doesn't always 486377298Sobrien work. Instead, check build dir and $srcdir explicitly, and use 486477298Sobrien `echo' to get all the filenames. 486577298Sobrien 486677298Sobrien * configure.in (h8300h-*-hms): Changed ld_target name to 486777298Sobrien cf-h8300h. 486877298Sobrien * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it 486977298Sobrien unique in 8.3. 487077298Sobrien 487177298Sobrien * config/i960coff.mt: New file. 487277298Sobrien * emulparams/gld960coff.sh: New file. 487377298Sobrien * emultempl/gld960c.em: New file. 487477298Sobrien * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use 487577298Sobrien i960coff configuration. 487677298Sobrien * Makefile.in (em_gld960coff.c): Added dependencies, build rule. 487777298Sobrien 487877298Sobrien * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the 487977298Sobrien code isn't included in FSF releases, and it can still be 488077298Sobrien explicitly selected. 488177298Sobrien (distclean): Remove site.bak and tmpdir. 488277298Sobrien (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). 488377298Sobrien (mostlyclean): Delete them explicitly here. Also remove tmpdir. 488477298Sobrien 488577298Sobrien Patches from Ralph Campbell: 488677298Sobrien * config/mipsbsd.mh: New file. 488777298Sobrien * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. 488877298Sobrien * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. 488977298Sobrien * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' 489077298Sobrien instead of `aout'. 489177298Sobrien 489277298Sobrien * configure.in (i386-*-gnu*): Treat like i386-*-mach*. 489377298Sobrien 489477298SobrienWed May 4 11:59:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 489577298Sobrien 489677298Sobrien * config/m68k.mt (EMUL): Set to m68kaout. 489777298Sobrien * emulparams/m68kaout.sh: New file. 489877298Sobrien * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. 489977298Sobrien (em_m68kaout.c): New target. 490077298Sobrien 490177298Sobrien * ldlang.c (lang_size_sections): If dot moves because of an 490277298Sobrien assignment, don't try to insert a pad into the absolute output 490377298Sobrien section, just change the address of the default memory region 490477298Sobrien instead. 490577298Sobrien 490677298Sobrien * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, 490777298Sobrien cdtest-ur.out, and cdtest-ur.tmp. 490877298Sobrien 490977298SobrienWed Apr 27 16:03:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 491077298Sobrien 491177298Sobrien * scripttempl/sa29200.sc: Align all sections to four byte 491277298Sobrien boundaries. 491377298Sobrien 491477298SobrienWed Apr 27 10:48:03 1994 Steve Chamberlain (sac@cygnus.com) 491577298Sobrien 491677298Sobrien * Makefile.in, configure.in: Support for go32 coff. 491777298Sobrien * config/i386-go32.mt: New file 491877298Sobrien * emulparams/i386go32.sh: New file 491977298Sobrien * scripttempl/i386go32.sc: New file 492077298Sobrien 492177298SobrienTue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com) 492277298Sobrien 492377298Sobrien * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use 492477298Sobrien Lynx-specific script templates. 492577298Sobrien * configure.in (sparclite*-*-coff): Use coff-sparc. 492677298Sobrien * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. 492777298Sobrien * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. 492877298Sobrien (ENTRY): Set to __main. 492977298Sobrien * scripttempl/i386lynx.sc: New file, script for I386 Lynx. 493077298Sobrien * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. 493177298Sobrien * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. 493277298Sobrien 493377298SobrienTue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 493477298Sobrien 493577298Sobrien * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 493677298Sobrien byte boundary, in case the global constructors do not take up an 493777298Sobrien even 16 bytes. 493877298Sobrien 493977298Sobrien * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not 494077298Sobrien exist, get crtbegin based on gcc -print-libgcc-file-name. 494177298Sobrien (HOSTING_LIBS): Similar change for ../gcc/crtend.o. 494277298Sobrien 494377298SobrienMon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 494477298Sobrien 494577298Sobrien * ldlang.c (lang_size_sections): When no address is given for a 494677298Sobrien section, align it according to its requirements. 494777298Sobrien 494877298SobrienThu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 494977298Sobrien 495077298Sobrien * Makefile.in (clean, distclean): Remove configdoc.texi. 495177298Sobrien 495277298SobrienTue Apr 19 12:12:15 1994 Bill Cox (bill@rtl.cygnus.com) 495377298Sobrien 495477298Sobrien * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. 495577298Sobrien 495677298SobrienFri Apr 15 14:35:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 495777298Sobrien 495877298Sobrien * ldlang.c (lang_size_sections): When relaxing, adjust the 495977298Sobrien position of a padding statement, and adjust dot accordingly. 496077298Sobrien 496177298SobrienMon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com) 496277298Sobrien 496377298Sobrien * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. 496477298Sobrien 496577298SobrienMon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 496677298Sobrien 496777298Sobrien * scripttempl/i386coff.sc: If relocating, don't put .init and 496877298Sobrien .fini sections into .text; keep them separate. 496977298Sobrien * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not 497077298Sobrien exist, get crtbegin based on gcc -print-libgcc-file-name. 497177298Sobrien (HOSTING_LIBS): Similar change for ../gcc/crtend.o. 497277298Sobrien 497377298SobrienMon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) 497477298Sobrien 497577298Sobrien * Makefile.in (check): Set TCL_LIBRARY for runtest. 497677298Sobrien 497777298SobrienWed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 497877298Sobrien 497977298Sobrien * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the 498077298Sobrien manufacturer. 498177298Sobrien 498277298Sobrien * emultempl/hppaelf.em (hppaelf_finish): Only resize sections 498377298Sobrien if building a final executable. 498477298Sobrien 498577298SobrienTue Apr 5 12:17:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 498677298Sobrien 498777298Sobrien * ldmain.c (main): Check the return value of bfd_close. 498877298Sobrien 498977298SobrienThu Mar 31 18:07:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 499077298Sobrien 499177298Sobrien * scripttempl/alpha.sc: Clean up section alignment to ensure that 499277298Sobrien sections never overlap when using -r. 499377298Sobrien 499477298SobrienWed Mar 30 15:51:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 499577298Sobrien 499677298Sobrien * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD 499777298Sobrien changes: get_symtab_upper_bound renamed and returns long, 499877298Sobrien bfd_canonicalize_symtab returns long, check for error indications. 499977298Sobrien 500077298SobrienFri Mar 25 17:20:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 500177298Sobrien 500277298Sobrien * ldlang.c (print_input_section): For section size, use 500377298Sobrien _cooked_size if it is non-zero, size otherwise. 500477298Sobrien (size_input_section): Likewise. 500577298Sobrien (lang_do_assignments): Likewise (case lang_input_section_enum). 500677298Sobrien 500777298SobrienThu Mar 24 15:20:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 500877298Sobrien 500977298Sobrien * ldlang.c (new_afile): Add new argument add_to_list. Don't set 501077298Sobrien real to true for lang_input_file_is_marker_enum. Clear the_bfd. 501177298Sobrien (lang_add_input_file): Pass true to new_afile for add_to_list. 501277298Sobrien (lookup_name): Remove force_load argument. Changed all callers. 501377298Sobrien Pass false to new_afile for add_to_list. Split loading of symbols 501477298Sobrien out into separate function. 501577298Sobrien (load_symbols): New function split out of lookup_name. Don't load 501677298Sobrien the symbols if they are already loaded. 501777298Sobrien (open_input_bfds): For lang_input_statement_enum call load_symbols 501877298Sobrien rather than lookup_name. 501977298Sobrien (lang_process): Pass abs_output_section rather than NULL to 502077298Sobrien lang_size_sections. 502177298Sobrien (lang_startup): Set real field of first_file to true. 502277298Sobrien 502377298SobrienWed Mar 23 14:15:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 502477298Sobrien 502577298Sobrien * ldlang.c (had_relax): Removed. 502677298Sobrien (relax_again): New static variable. 502777298Sobrien (lang_size_sections): Change call to bfd_relax_section to 502877298Sobrien correspond to BFD changes. Set relax_again appropriately. 502977298Sobrien (lang_process): Remove #if 0 code. When relaxing, keep calling 503077298Sobrien lang_do_assignments and lang_size_sections until relax_again 503177298Sobrien becomes false. 503277298Sobrien 503389857Sobrien * emultempl/gld960.em: Include libiberty.h 503477298Sobrien (gld960_before_parse): Pass NULL as final argument to concat. 503577298Sobrien 503677298SobrienTue Mar 22 13:08:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 503777298Sobrien 503877298Sobrien * scripttempl/aout.sc: Force _end and __end to be aligned to a 503977298Sobrien four byte boundary. 504077298Sobrien 504177298Sobrien * ldwrite.c (build_link_order): Handle lang_data_statement_enum by 504277298Sobrien building a bfd_data_link_order, rather than by setting the section 504377298Sobrien contents immediately. 504477298Sobrien 504577298SobrienMon Mar 21 18:28:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 504677298Sobrien 504777298Sobrien Changes to make -Ur work again. 504877298Sobrien * ldmain.c (add_to_set): Now takes reloc argument rather than 504977298Sobrien bitsize. Check config.build_constructors here. If an new hash 505077298Sobrien table entry is created, mark it as undefined. 505177298Sobrien (constructor_callback): No longer takes bitsize argument. Pass 505277298Sobrien BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the 505377298Sobrien BFD backend supports it. 505477298Sobrien (reloc_overflow): Handle a NULL abfd argument. 505577298Sobrien (reloc_dangerous, unattached_reloc): Likewise. 505677298Sobrien * ldctor.c: Include ldmain.h. 505777298Sobrien (struct set_info): Change bitsize field to reloc. 505877298Sobrien (ldctor_add_set_entry): Now takes reloc argument rather than 505977298Sobrien bitsize. Don't bother to check config.build_constructors here. 506077298Sobrien (ldctor_build_sets): Get the size from the reloc howto. If 506177298Sobrien generating relocateable output, call lang_add_reloc rather than 506277298Sobrien lang_add_data. 506377298Sobrien * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc 506477298Sobrien instead of bitsize. 506577298Sobrien * ldlang.h (statement_enum): Add lang_reloc_statement_enum. 506677298Sobrien (lang_reloc_statement_type): New structure. 506777298Sobrien (lang_statement_union_type): Add reloc_statement field. 506877298Sobrien (lang_add_reloc): Declare new function. 506977298Sobrien * ldlang.c (lang_for_each_statement_worker): Handle 507077298Sobrien lang_reloc_statement_enum. 507177298Sobrien (map_input_to_output_sections, print_statement): Likewise. 507277298Sobrien (lang_size_sections, lang_do_assignments): Likewise. 507377298Sobrien (print_reloc_statement): New function. 507477298Sobrien (lang_add_reloc): New function. 507577298Sobrien * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. 507677298Sobrien 507777298Sobrien * Makefile.in (cdtest.out, cdtest-ur.o): New targets. 507877298Sobrien (cdtest-ur, cdtest-ur.out): New targets. 507977298Sobrien (check-cdtest): Now also check that -Ur works correctly. 508077298Sobrien 508189857Sobrien * scripttempl/alpha.sc: Align all sections to 16 byte boundaries. 508277298Sobrien 508377298SobrienThu Mar 17 12:45:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 508477298Sobrien 508577298Sobrien * ldlang.c (lang_process): Move lang_common call before 508677298Sobrien map_input_to_output_sections, to ensure that any alignment 508777298Sobrien constraints set by common symbols are copied over to the output 508877298Sobrien sections. 508977298Sobrien 509077298SobrienFri Mar 11 22:17:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 509177298Sobrien 509277298Sobrien * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. 509377298Sobrien (OTHER_READWRITE_SECTIONS): Rename .toc to .got. 509477298Sobrien * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. 509577298Sobrien * emultempl/ppc.em: Remove ugly stub code; turns out not to be 509677298Sobrien needed for ELF. 509777298Sobrien 509877298SobrienTue Mar 8 04:22:27 1994 David J. Mackenzie (djm@rtl.cygnus.com) 509977298Sobrien 510077298Sobrien * config/i386bsd.mh: New file. 510177298Sobrien 510277298SobrienMon Mar 7 15:23:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 510377298Sobrien 510489857Sobrien * scripttempl/elf.sc: Permit TEXT_START_SYMBOLS and 510589857Sobrien DATA_START_SYMBOLS to be defined. 510677298Sobrien * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. 510777298Sobrien (DATA_START_SYMBOLS): Define _fdata. 510877298Sobrien 510977298SobrienMon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com) 511077298Sobrien 511177298Sobrien * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. 511277298Sobrien 511377298SobrienSun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 511477298Sobrien 511577298Sobrien * emultempl/hppaelf.em (hppaelf_finish): Update comments. This 511677298Sobrien works again. Attach some output symbols to the stub file bfd. 511777298Sobrien 511877298Sobrien * emultempl/hppaelf.em: Include elf32-hppa.h. 511977298Sobrien (file_chain): Add decl. 512077298Sobrien (hppa_look_for_stubs_in_section): Delete decl. 512177298Sobrien (hppaelf_finish): Reenable code. Do not pass symbols 512277298Sobrien down to hppa_look_for_stubs_in_section. 512377298Sobrien 512477298SobrienSat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com) 512577298Sobrien 512677298Sobrien * ldmain.c (write_map): Don't define. Removed all references. 512777298Sobrien Just use map_file or map_filename instead. 512877298Sobrien (add_archive_element): Use minfo to write map information, not 512977298Sobrien info_msg. 513077298Sobrien (constructor_callback): Use fprintf to write map information, not 513177298Sobrien info_msg. 513277298Sobrien * ldmain.h (write_map): Don't declare. 513377298Sobrien * ldgram.y (mri_script_command): Removed reference to write_map. 513477298Sobrien * ldlang.c (lang_one_common): Likewise. 513577298Sobrien * lexsup.c (parse_args): Likewise. 513677298Sobrien 513777298SobrienFri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com) 513877298Sobrien 513977298Sobrien * scripttempl/elf.sc: Force all sections to be aligned. 514077298Sobrien 514177298Sobrien * ldgram.y (section): Reverse the order of memspec_opt and 514277298Sobrien fill_opt to avoid an ambiguity when both are used. 514377298Sobrien * ld.texinfo: Changed accordingly. 514477298Sobrien 514577298Sobrien * ldgram.y: Move include of ldlex.h back with other includes. 514677298Sobrien * ldlex.h (input_type): Don't initialize enum constants to 514777298Sobrien particular values. 514877298Sobrien * ldlex.l: Use a switch to return the right token based on 514977298Sobrien input_type, rather than knowing that input_type has a value based 515077298Sobrien on a token type. 515177298Sobrien 515277298Sobrien * ldgram.y (dirlist_ptr): Removed; not used. 515377298Sobrien * lexsup.c: Include ldver.h. 515477298Sobrien * Makefile.in: Rebuilt dependencies. 515577298Sobrien 515677298SobrienFri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com) 515777298Sobrien 515877298Sobrien * ldlang.c (lookup_name): don't call bfd_set_gp_size. 515977298Sobrien (ldlang_add_file): call it here instead. 516077298Sobrien 516177298SobrienFri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) 516277298Sobrien 516377298Sobrien * ldgram.y: Include ldlex.h after %token decls, for byacc. 516477298Sobrien 516577298SobrienFri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 516677298Sobrien 516777298Sobrien * emultempl/hppaelf.em: First attempt to clean this file up. 516877298Sobrien Add comments in several functions as to their purpose and 516977298Sobrien how they function (or my current best guess). Clean up horrible 517077298Sobrien spacing and indention that never should have been accepted in the 517177298Sobrien first place. Add FIXMEs for issues which need to be resolved. 517277298Sobrien Disable linker-stub generation until it gets fixed. This allows 517377298Sobrien the linker to at least work on simple code for testing purposes. 517477298Sobrien 517577298Sobrien * ldlang.c (lang_size_sections): No longer static (PA ELF calls 517677298Sobrien it via hppaelf_finish). Prototype moved into ldlang.h. 517777298Sobrien (lang_process): Move problematic extra call to lang_size_sections 517877298Sobrien into the PA ELF specific code. 517977298Sobrien * emultempl/hppaelf.em (hppaelf_finish): Extra call to 518077298Sobrien lang_size_sections moved here. 518177298Sobrien 518277298SobrienThu Feb 24 16:47:33 1994 Ian Lance Taylor (ian@cygnus.com) 518377298Sobrien 518477298Sobrien * configure.in (powerpc-*-elf*): New target; use ppc-elf32. 518577298Sobrien * config/ppc-elf32.mt: New file. 518677298Sobrien * emulparams/elf32ppc.sh: New file. 518777298Sobrien * emultempl/ppc.em: New file. 518877298Sobrien * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. 518977298Sobrien (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. 519077298Sobrien (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. 519177298Sobrien 519277298SobrienThu Feb 24 12:27:07 1994 David J. Mackenzie (djm@rtl.cygnus.com) 519377298Sobrien 519477298Sobrien * lexsup.c (parse_args): Use symbolic numbers for long options. 519577298Sobrien Fix misunderstanding in -Y and -call_shared et al. 519677298Sobrien 519777298Sobrien Use getopt instead of lex and yacc to parse the command line. 519877298Sobrien 519977298Sobrien * ld.texinfo (Options): Document changes to option syntax. 520077298Sobrien * Makefile.in: Update dependencies. 520177298Sobrien * ldver.c (help): Tweak dashes in usage message. 520277298Sobrien * ldgram.y (%union): Remove unused members. 520377298Sobrien Remove %tokens for command line options; add ones for input types. 520477298Sobrien (command_line): Rules removed. 520577298Sobrien (file): Instead of command line, recognize an 520677298Sobrien input type indicator, then use the nonterminal for that type. 520777298Sobrien (defsym_expr): New nonterminal from code formerly in command_line. 520877298Sobrien * ldlex.h: Declare parser input type enum and variable. 520977298Sobrien Don't declare parse_line. 521077298Sobrien * ldlex.l: Remove unused variables. Make some used ones static 521177298Sobrien and comment them. 521277298Sobrien (COMMAND): Start state and its rules removed. 521377298Sobrien At start of yylex, return input state token if at start of input. 521477298Sobrien (lex_redirect): Don't need to set yyout. 521577298Sobrien (ldlex_command): Function removed. 521677298Sobrien * ldmain.c (main): Instead of calling parse_line, set up the 521777298Sobrien redirections and call yyparse directly. 521877298Sobrien * ldmisc.c (vfinfo): If there's no input filename, print nothing, not 521977298Sobrien "command line". 522077298Sobrien * lexsup.c: Remove #if 0'd code. 522177298Sobrien (parse_line): Function removed. 522277298Sobrien (parse_args): Rewrite to use getopt_long_only. 522377298Sobrien (set_default_dirlist): New function from code formerly in 522477298Sobrien ldgram.y:command_line. 522577298Sobrien (set_section_start): New function. 522677298Sobrien * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, 522777298Sobrien emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose 522877298Sobrien compiled-in link scripts in "{" and "}", as the grammar no longer 522977298Sobrien wants them to be. 523077298Sobrien 523177298SobrienThu Feb 24 08:43:26 1994 Ken Raeburn (raeburn@rtl.cygnus.com) 523277298Sobrien 523377298Sobrien * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't 523477298Sobrien require that it be in $(srcdir). 523577298Sobrien 523677298SobrienTue Feb 22 09:21:18 1994 Ian Lance Taylor (ian@cygnus.com) 523777298Sobrien 523877298Sobrien * ldlang.c (lang_size_sections): Only align section to alignment 523977298Sobrien required by linker script, not to maximum alignment of input 524077298Sobrien sections. 524177298Sobrien 524277298Sobrien * ldlang.h (largest_section): Don't declare. 524377298Sobrien * ldlang.c (largest_section): Don't define. 524477298Sobrien (size_input_section): Don't set largest_section; not used. 524577298Sobrien 524677298SobrienMon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com) 524777298Sobrien 524877298Sobrien * ldlang.c (new_afile): Pass NULL as last argument to concat. 524977298Sobrien 525077298SobrienThu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 525177298Sobrien 525277298Sobrien * ldlang.c, ldmain.c: Include libiberty.h. 525377298Sobrien 525477298Sobrien * ldmisc.h (concat): Don't declare. 525577298Sobrien * ldmisc.c (concat): Don't define; just use the one in libiberty. 525677298Sobrien 525777298Sobrien * ld.h (as_output_section_statement): Removed; not used. 525877298Sobrien 525977298SobrienThu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com) 526077298Sobrien 526177298Sobrien * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and 526277298Sobrien bfd_set_error and new error names. 526377298Sobrien 526477298SobrienTue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 526577298Sobrien 526677298Sobrien * ldwrite.c (build_link_order): If the cooked size of the section 526777298Sobrien has been set, use it, for determining link_order size. 526877298Sobrien (ldwrite): In the error message displayed if bfd_final_link fails, 526977298Sobrien indicate that it was in fact the final link step that failed. 527077298Sobrien 527177298Sobrien * ldlang.c (lang_size_sections): Clear bfd_error before calling 527277298Sobrien bfd_relax_section, in case it returns false but doesn't flag an 527377298Sobrien error. If an error is returned, indicate which one it is in the 527477298Sobrien error message. 527577298Sobrien 527677298Sobrien * Makefile.in (install-info): Depend on ld.info, and use "$<*" so 527777298Sobrien it'll get picked up from $(srcdir) if appropriate. 527877298Sobrien 527977298SobrienTue Feb 15 16:32:04 1994 David J. Mackenzie (djm@rtl.cygnus.com) 528077298Sobrien 528177298Sobrien * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. 528277298Sobrien * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. 528377298Sobrien 528477298SobrienFri Feb 11 17:02:49 1994 David J. Mackenzie (djm@thepub.cygnus.com) 528577298Sobrien 528677298Sobrien * ldlex.l (comment): Increment line number when newline is read. 528777298Sobrien 528877298SobrienFri Feb 11 17:36:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 528977298Sobrien 529077298Sobrien * ldlang.c (lookup_name): Take new argument, force_load. If true, 529177298Sobrien reload the file even if it is already loaded. 529277298Sobrien (wild): Call lookup_name with force_load argument of 0. 529377298Sobrien (open_input_bfds): Call lookup_name with force_load argument of 1. 529477298Sobrien (print_symbol): Remove declaration of non-existent function. 529577298Sobrien (print_one_symbol): Return true rather than falling off end. 529677298Sobrien 529777298SobrienThu Feb 10 11:52:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 529877298Sobrien 529977298Sobrien * ldmain.c (main): Use %ld when printing long values. 530077298Sobrien 530177298Sobrien * scripttempl/elf.sc: Move _edata after the .sdata section. 530277298Sobrien Permit OTHER_BSS_SYMBOLS to be defined. 530377298Sobrien * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. 530477298Sobrien 530577298SobrienMon Feb 7 16:31:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 530677298Sobrien 530777298Sobrien * Rename all "hppaosf" files to "hppaelf". 530877298Sobrien * Change all "osf" references to "elf" in hppaelf files. 530977298Sobrien * Makefile.in: Likewise. 531077298Sobrien * configure.in: Likewise. 531177298Sobrien 531277298SobrienSun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) 531377298Sobrien 531477298Sobrien * ldmain.c (main): Call xatexit, not atexit. 531577298Sobrien Call xmalloc_set_program_name. 531677298Sobrien 531777298Sobrien * ldlang.c (lang_size_sections): Check if bfd_relax_section set 531877298Sobrien bfd_errno. 531977298Sobrien 532077298SobrienSat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com) 532177298Sobrien 532277298Sobrien * emultempl/lnk960.em (append), emultempl/hppaosf.em 532377298Sobrien (hppaosf_finish): Call xmalloc, not ldmalloc. 532477298Sobrien * ldmain.c (preserve_output): Function removed. 532577298Sobrien (main): Do it here instead. 532677298Sobrien 532777298SobrienFri Feb 4 23:02:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 532877298Sobrien 532977298Sobrien * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) 533077298Sobrien GNU C specific macros. 533177298Sobrien 533277298Sobrien * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining 533377298Sobrien call to LANG_FOR_EACH_INPUT_SECTION. 533477298Sobrien 533577298SobrienFri Feb 4 16:26:08 1994 David J. Mackenzie (djm@thepub.cygnus.com) 533677298Sobrien 533777298Sobrien * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions 533877298Sobrien deleted; will use libiberty versions instead. 533977298Sobrien * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c 534077298Sobrien mri.c Makefile.in: Change callers. 534177298Sobrien 534277298Sobrien * ldmisc.c (vfinfo): Remove cleanup code. 534377298Sobrien * ldmain.c (remove_output): Put it here (new function). 534477298Sobrien (preserve_output): New function. 534577298Sobrien (main): Register remove_output and preserve_output with atexit. 534677298Sobrien * ldmain.c ldgram.y: Call xexit instead of exit. 534777298Sobrien * ldmisc.h: Declare xexit. 534877298Sobrien 534977298SobrienFri Feb 4 15:19:01 1994 Steve Chamberlain (sac@cygnus.com) 535077298Sobrien 535177298Sobrien * Makefile.in: Lots of new H8/500 memory models. 535277298Sobrien 535377298SobrienSun Jan 30 14:33:40 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 535477298Sobrien 535577298Sobrien * ldlex.l: Removed duplicate rules. 535677298Sobrien (yywrap): Provide default definition, needed with some versions of 535777298Sobrien flex. 535877298Sobrien 535977298SobrienFri Jan 28 09:12:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) 536077298Sobrien 536177298Sobrien * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print 536277298Sobrien the archive filename too. 536377298Sobrien 536477298Sobrien * ldlex.l: Add rule to catch invalid input characters instead of 536577298Sobrien printing them. Include "ldmain.h" for program_name decl. 536677298Sobrien (lex_warn_invalid): New function. 536777298Sobrien * Makefile.in: Add dependency. 536877298Sobrien 536977298SobrienFri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 537077298Sobrien 537177298Sobrien * Makefile.in (check): Don't bother running any tests of 537277298Sobrien cross-linker until the test suite no longer assumes native mode. 537377298Sobrien 537477298SobrienThu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) 537577298Sobrien 537677298Sobrien * ldlang.c (print_one_symbol, print_input_section): Print 537777298Sobrien global symbols in symbol table again. 537877298Sobrien 537977298SobrienThu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) 538077298Sobrien 538177298Sobrien * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, 538277298Sobrien exit successfully instead of complaining if no input files are 538377298Sobrien given. 538477298Sobrien 538577298SobrienTue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com) 538677298Sobrien 538777298Sobrien * Makefile.in: Format variable definitions consistently. 538877298Sobrien (LD_PROG): Remove unnecessary variables from link command, 538977298Sobrien change variable LOADLIBES to EXTRALIBS. 539077298Sobrien 539177298Sobrien * ldmain.c (main): Compute and display total execution time. 539277298Sobrien * ld.texinfo (-stats): Document the option. 539377298Sobrien 539477298SobrienMon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 539577298Sobrien 539677298Sobrien * ldmain.c (reloc_overflow): Added name, reloc_name and addend 539777298Sobrien arguments. 539877298Sobrien 539977298Sobrien * ldlang.c (lookup_name): Set BFD GP size to -G argument value 540077298Sobrien after opening BFD. 540177298Sobrien 540277298Sobrien * ldlang.c (relaxing): Removed global variable. 540377298Sobrien (lang_size_sections): If the canonical symbols have not already 540477298Sobrien been read in, read them in before relaxing. 540577298Sobrien * ldlang.h (relaxing): Removed declaration. 540677298Sobrien 540777298SobrienFri Jan 21 00:44:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 540877298Sobrien 540977298Sobrien * ldlang.c (new_afile): Initialize loaded field to false. 541077298Sobrien (lookup_name): If file was already loaded, don't call the 541177298Sobrien add_symbols entry point again. 541277298Sobrien 541377298SobrienWed Jan 19 13:57:00 1994 David J. Mackenzie (djm@thepub.cygnus.com) 541477298Sobrien 541577298Sobrien * ld.texinfo: Clarify what -T option does. 541677298Sobrien 541777298SobrienTue Jan 18 16:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) 541877298Sobrien 541977298Sobrien * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's 542077298Sobrien for a.out. 542177298Sobrien 542277298SobrienTue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 542377298Sobrien 542477298Sobrien * ldmain.c (add_archive_element): If trace_files or 542577298Sobrien trace_file_tries, print file name. 542677298Sobrien * ldlang.c (lookup_name): Likewise. 542777298Sobrien (ldlang_add_file): Don't put files on input_bfds list in reverse 542877298Sobrien order. 542977298Sobrien 543077298Sobrien * scripttempl/elf.sc: Correct typo. 543177298Sobrien 543277298SobrienMon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) 543377298Sobrien 543477298Sobrien * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and 543577298Sobrien their arguments optional, for compatibility with the old GNU ld. 543677298Sobrien 543777298SobrienFri Jan 7 20:00:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 543877298Sobrien 543989857Sobrien * scripttempl/elf.sc: Define __bss_start before the .sbss section. 544077298Sobrien 544177298SobrienThu Jan 6 00:13:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 544277298Sobrien 544377298Sobrien * ldmain.c (add_to_set): Add bitsize argument. 544477298Sobrien (constructor_callback): New function. 544577298Sobrien (link_callbacks): Add constructor_callback. 544677298Sobrien * ldctor.c (struct set_info): Add bitsize field. 544777298Sobrien (ldctor_add_set_entry): Add bitsize argument. 544877298Sobrien (ldctor_build_sets): Base the size of the elements of the set on 544977298Sobrien the bitsize, rather than always using LONG. 545077298Sobrien * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. 545177298Sobrien 545277298Sobrien * ld.h (QUAD_SIZE): Define. 545377298Sobrien * ldgram.y (QUAD): New token. 545477298Sobrien (length): Handle it. 545577298Sobrien * ldlex.l: Return QUAD. 545677298Sobrien * lexsup.c (keywords): Add QUAD. 545777298Sobrien * ldwrite.c (build_link_order): Handle QUAD. 545877298Sobrien * ldlang.c (print_data_statement): Handle QUAD. 545977298Sobrien (lang_size_sections): Likewise. 546077298Sobrien (lang_do_assignments): Likewise. 546177298Sobrien * ldexp.c (exp_print_token): Add QUAD to table. 546277298Sobrien * ld.texinfo: Describe QUAD. 546377298Sobrien 546477298Sobrien * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, 546577298Sobrien since the Alpha doesn't use them. 546677298Sobrien 546777298SobrienWed Jan 5 17:42:16 1994 David J. Mackenzie (djm@thepub.cygnus.com) 546877298Sobrien 546977298Sobrien * ldemul.h (ld_emulation_xfer_struct): Comment the members. 547077298Sobrien 547177298SobrienSat Jan 1 13:39:31 1994 Rob Savoye (rob@darkstar.cygnus.com) 547277298Sobrien 547377298Sobrien * Makefile.in, configure.in: Add support for VSTa micro-kernel. 547477298Sobrien * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. 547577298Sobrien 547677298SobrienSat Jan 1 10:53:35 1994 David J. Mackenzie (djm@thepub.cygnus.com) 547777298Sobrien 547877298Sobrien * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; 547977298Sobrien needed for i386mach. (Should be a no-op on other systems.) 548077298Sobrien 548177298Sobrien * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. 548277298Sobrien (PAGE_SIZE): Don't define; not used. 548377298Sobrien 548477298SobrienFri Dec 31 16:12:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 548577298Sobrien 548677298Sobrien * ldgram.y (yyerror): Make argument const char *, and actually 548777298Sobrien print it out rather than assuming it is a syntax error. 548877298Sobrien * ldmisc.h: Change declaration of yyerror. 548977298Sobrien * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. 549077298Sobrien 549177298SobrienFri Dec 31 11:37:28 1993 David J. Mackenzie (djm@thepub.cygnus.com) 549277298Sobrien 549377298Sobrien * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include 549477298Sobrien exec header offset, since the exec header isn't loaded. 549577298Sobrien (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. 549677298Sobrien 549777298SobrienThu Dec 30 13:01:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 549877298Sobrien 549977298Sobrien A major rewrite to move the bulk of the linker into BFD so that 550077298Sobrien more efficient backend code can be written for specific object 550177298Sobrien files. 550277298Sobrien * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, 550377298Sobrien ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. 550477298Sobrien * ldctor.c, ldctor.h: Complete rewrite. 550577298Sobrien * ldwrite.c, ldwrite.h: Complete rewrite. 550677298Sobrien * ld.h (strip_symbols_type, strip_symbols): Removed. Use 550777298Sobrien link_info.strip instead. Changed all uses. 550877298Sobrien (discard_locals_type, discard_locals): Removed. Use 550977298Sobrien link_info.discard instead. Changed all uses. 551077298Sobrien (ld_config_type): Removed relocateable_output field; use 551177298Sobrien link_info.relocateable instead; changed all uses. Added stats 551277298Sobrien field. 551377298Sobrien (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, 551477298Sobrien set_loader_symbol): Removed. 551577298Sobrien * ldexp.h (node_class): Added etree_rel. 551677298Sobrien (etree_type): Added rel field. 551777298Sobrien * ldexp.c (exp_print_token): Bracketed table initialization. 551877298Sobrien (exp_relop): New function. 551977298Sobrien (fold_name): Use linker hash table rather than ldsym functions. 552077298Sobrien (exp_fold_tree): Likewise. Also, handle etree_rel case. 552177298Sobrien (exp_print_tree): Handle etree_rel. 552277298Sobrien * ldgram.y (strip_symbols, discard_locals): Removed. 552377298Sobrien (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. 552477298Sobrien (REL): New token. Does not appear in grammar, but needed for 552577298Sobrien expression code. 552677298Sobrien (file): Don't call lang_final; it's called by main anyhow. 552777298Sobrien * ldlex.l: Accept -stats and -no-keep-memory options. 552877298Sobrien * ldlang.h (fill_type): Make unsigned int, not unsigned short. 552977298Sobrien * ldlang.c: Consistently use fill_type for fill argument. 553077298Sobrien (lang_init_script_file, script_file): Removed. 553177298Sobrien (create_object_symbols): Removed. Use 553277298Sobrien link_info.create_object_symbols_section instead. Changed all 553377298Sobrien uses. 553477298Sobrien (lang_add_keepsyms_file): Removed. 553577298Sobrien (lookup_name): Call bfd_link_add_symbols instead of 553677298Sobrien ldmain_open_file_read_symbol. 553777298Sobrien (wild): Don't iterate over script_file. 553877298Sobrien (open_output): Create link hash table. 553977298Sobrien (lang_place_undefineds): Rewrote. 554077298Sobrien (lang_size_sections): Handle relaxing (doesn't work yet). 554177298Sobrien (lang_relocate_globals): Removed. 554277298Sobrien (lang_finish): Use link hash table rather than ldsym functions. 554377298Sobrien (lang_common): Rewrote. 554477298Sobrien (lang_one_common): New function. 554577298Sobrien (ldlang_add_file): Add file to link_info.input_bfds list. Set 554677298Sobrien usrdata. 554777298Sobrien (create_symbol): Removed. 554877298Sobrien (lang_process): Don't call lang_init_script_file. Call 554977298Sobrien ldctor_build_sets rather than find_constructors. Don't call 555077298Sobrien lang_relocate_globals. 555177298Sobrien (lang_abs_symbol_at_beginning_of): Rewrote. 555277298Sobrien (lang_abs_symbol_at_end_of): Rewrote. 555377298Sobrien * ldmain.c (had_y): Removed. 555477298Sobrien (lprefix, lprefix_len): Removed; use link_info fields instead. 555577298Sobrien Changed all uses. 555677298Sobrien (multiple_def_count, commons_pending, undefined_global_sym_count, 555777298Sobrien total_symbols_seen, total_files_seen): Removed. 555877298Sobrien (link_callbacks, link_info): New variables. 555977298Sobrien (main): Initialize link_info. Don't call init_bfd_error_vector or 556077298Sobrien ldsym_init. Don't set now unused variables. Handle -stats. 556177298Sobrien (get_emulation): Removed obsolete and nonfunctional GNU960 code. 556277298Sobrien (add_ysym): Rewrote. 556377298Sobrien (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, 556477298Sobrien search_library, gnu960_check_format, decode_library_subfile, 556577298Sobrien linear_library, symdef_library, clear_syms, subfile_wanted_p): 556677298Sobrien Removed. 556777298Sobrien (add_keepsyms_file, add_archive_element, multiple_definition, 556877298Sobrien multiple_common, add_to_set, warning_callback, undefined_symbol, 556977298Sobrien reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): 557077298Sobrien New functions. 557177298Sobrien * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't 557277298Sobrien require symbols for %C; look them up instead. 557377298Sobrien * emultempl/hppaosf.em: Pass link_info to 557477298Sobrien hppa_look_for_stubs_in_section. 557577298Sobrien * Makefile.in: Rebuilt dependencies. 557677298Sobrien (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and 557777298Sobrien relax.c. 557877298Sobrien (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and 557977298Sobrien relax.h. 558077298Sobrien (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, 558177298Sobrien ldlang.h and ldctor.h. 558277298Sobrien 558377298Sobrien * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove 558477298Sobrien declarations of free and malloc from flex output. Change malloc 558577298Sobrien to ldmalloc in flex output. 558677298Sobrien 558777298SobrienThu Dec 16 21:19:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) 558877298Sobrien 558977298Sobrien * ldmain.c (lprefix): Change default from a char to a string 559077298Sobrien with only one character. 559177298Sobrien (lprefix_len): Set default to one. 559277298Sobrien 559377298Sobrien * ldmain.h (lprefix_len): Declare. 559477298Sobrien 559577298Sobrien * ldsym.c (write_file_locals): Use strncmp rather than a character 559677298Sobrien comparison for lprefix. 559777298Sobrien 559889857Sobrien * emultempl/m88kbcs.em (before_parse): Set lprefix and lprefix_len 559977298Sobrien correctly. 560077298Sobrien 560189857Sobrien * emultempl/hppaosf.em: Include ldexp.h. 560277298Sobrien (before_parse): Set lprefix and lprefix_len correctly. 560377298Sobrien 560477298SobrienTue Dec 14 17:19:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 560577298Sobrien 560677298Sobrien * ldlex.h: Don't declare yywrap if it is a macro. 560777298Sobrien * ldlex.l: Include sysdep.h. 560877298Sobrien * ldlang.c (lang_for_each_statement_worker, 560977298Sobrien lang_for_each_statement): Forgot to use PARAMS. 561077298Sobrien 561177298SobrienMon Dec 13 14:30:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 561277298Sobrien 561377298Sobrien * Makefile.in: Added .PHONY targets where appropriate. Added some 561477298Sobrien comments. Also: 561577298Sobrien (gcclibdir, version): Removed unused variables. 561677298Sobrien (DEP): New variable, set to mkdep. 561777298Sobrien (ALL_CFLAGS): New variable. Used in .c.o target. 561877298Sobrien (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New 561977298Sobrien variables. 562077298Sobrien (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, 562177298Sobrien GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed 562277298Sobrien mostly obsolete variables. Adjusted remaining uses. 562377298Sobrien (DEF_EMUL): Removed variable. 562477298Sobrien (ldmain.o): Handle undefined EMUL error correctly. 562577298Sobrien (ldemul-list.h): Depend on config.status rather than Makefile. 562677298Sobrien Create via temporary file. 562777298Sobrien (ver960.c, roll, make): Removed obsolete targets. 562877298Sobrien (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild 562977298Sobrien dependencies. 563077298Sobrien * dep-in.sed: New file, used when rebuilding dependencies. 563177298Sobrien 563277298SobrienSat Dec 11 14:43:44 1993 Ian Lance Taylor (ian@deneb.cygnus.com) 563377298Sobrien 563477298Sobrien Made many changes to eliminate gcc warnings. Made various 563577298Sobrien cosmetic changes, declared various things in header files, removed 563677298Sobrien various extern declarations from .c files. No substantive 563777298Sobrien changes. 563877298Sobrien 563977298Sobrien * ldlang.c (lang_process): Ifdef out final call to 564077298Sobrien lang_size_sections again (reverting change of Nove 2), since it 564177298Sobrien breaks the Sun4 linker. 564277298Sobrien 564377298SobrienThu Dec 2 16:31:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 564477298Sobrien 564577298Sobrien * configure.in (alpha-*-netware*): New target; use alpha. 564677298Sobrien 564777298SobrienWed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com) 564877298Sobrien 564977298Sobrien * configure.in: Group targets by CPU. Merge some m68k target 565077298Sobrien entries with different CPU specs that use the same ld_target 565177298Sobrien values. 565277298Sobrien 565377298Sobrien * configure.in: Add sparc*-*-coff. 565477298Sobrien * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. 565577298Sobrien * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. 565677298Sobrien (em_coff_sparc.c): Add dependencies and build rules. 565777298Sobrien 565877298Sobrien * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. 565977298Sobrien 566077298SobrienWed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 566177298Sobrien 566277298Sobrien * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): 566377298Sobrien New tokens. 566477298Sobrien (command_line_option): Accept and ignore them (for now). 566577298Sobrien * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On 566677298Sobrien where n is a number. 566777298Sobrien 566877298SobrienMon Nov 22 14:14:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 566977298Sobrien 567077298Sobrien * ldmain.c (subfile_wanted_p): If merging a common symbol which is 567177298Sobrien not in bfd_com_section, create the section in the BFD so that it 567277298Sobrien can be placed in the right output section. 567377298Sobrien 567477298SobrienFri Nov 19 14:12:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 567577298Sobrien 567677298Sobrien * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. 567777298Sobrien * emulparams/elf32mipsb.sh (DATA_ADDR): Define. 567877298Sobrien (OTHER_READONLY_SECTIONS): Define for .reginfo. 567977298Sobrien (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. 568077298Sobrien * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. 568177298Sobrien Move OTHER_READONLY_SECTIONS after all the other readonly 568277298Sobrien sections. Don't use DATA_ADDR twice. 568377298Sobrien 568477298Sobrien * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If 568577298Sobrien p is in a common section, make sure the BFD has a section of that 568677298Sobrien name. 568777298Sobrien 568877298Sobrien * ldlang.c (lang_common): Add newline to error message. 568977298Sobrien 569077298SobrienThu Nov 11 15:54:41 1993 Stan Shebs (shebs@rtl.cygnus.com) 569177298Sobrien 569277298Sobrien * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a 569377298Sobrien Lynx-specific script instead of m68kcoff. 569477298Sobrien (OUTPUT_FORMAT): Define as "coff-m68k-lynx". 569577298Sobrien (ENTRY): Define as __main. 569677298Sobrien (TEXT_START_ADDR): Define as 0. 569777298Sobrien (PAGE_SIZE): Define as 0x1000. 569877298Sobrien * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. 569977298Sobrien * scripttempl/m68klynx.sc: New file. 570077298Sobrien 570177298SobrienMon Nov 8 12:00:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 570277298Sobrien 570377298Sobrien * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 570477298Sobrien arguments rather than treating them as emulation names. 570577298Sobrien 570677298SobrienFri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) 570777298Sobrien 570877298Sobrien * configure.in: Support x86 unixware and netware plus generic netware. 570977298Sobrien 571077298SobrienFri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) 571177298Sobrien 571277298Sobrien * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): 571377298Sobrien Correct values (?). 571477298Sobrien 571577298SobrienWed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) 571677298Sobrien 571777298Sobrien * Makefile.in (distclean): Don't delete dvi or info files. 571877298Sobrien (ld.info): Update dependency list. 571977298Sobrien (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. 572077298Sobrien 572177298SobrienWed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) 572277298Sobrien 572377298Sobrien * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. 572477298Sobrien Set output_filename instead of creating a new node. 572577298Sobrien (open_output): Don't set output_filename. 572677298Sobrien (lang_final): Create the new node here. 572777298Sobrien * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. 572877298Sobrien 572977298SobrienTue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu) 573077298Sobrien 573177298Sobrien From Pete Hoogenboom (hoogen@cs.utah.edu): 573277298Sobrien 573377298Sobrien * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, 573477298Sobrien edata, _edata, end): Add definitions of these symbols. 573577298Sobrien (__end): Remove definition of this symbol. 573677298Sobrien (__data_start): Move definition of this symbol. 573777298Sobrien 573877298Sobrien * emultempl/hppaosf.em: Various fixes and support for linker stub 573977298Sobrien generation. 574077298Sobrien (hppaosf_finish, hppaosf_search_for_padding_statements, 574177298Sobrien hppaosf_create_output_section_statements): New functions in 574277298Sobrien support of linker stub generation. 574377298Sobrien (ld_hppaosf_emulation): Redefine to include new 574477298Sobrien emulation-specific routines. 574577298Sobrien 574677298Sobrien * ldlang.c (lang_process): Re-enable last call lang_size_sections. 574777298Sobrien Pass abs_output_section rather than NULL to avoid invalidating 574877298Sobrien absolute symbols. 574977298Sobrien 575077298SobrienThu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) 575177298Sobrien 575277298Sobrien * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. 575377298Sobrien (em_i386mach.c): New rule. 575477298Sobrien * configure.in (i[34]86-*-mach*): New case. 575577298Sobrien * config/i386-mach.mt: New file. 575677298Sobrien * emulparams/i386mach.sh: New file. 575777298Sobrien 575877298SobrienFri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 575977298Sobrien 576077298Sobrien * ld.h (flag_is_*): Removed macros. 576177298Sobrien * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): 576277298Sobrien Consistently check the BFD symbol flags directly, rather than 576377298Sobrien using file_is_* macros. 576477298Sobrien 576577298SobrienThu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com) 576677298Sobrien 576777298Sobrien * configure.in (sparc*-*-lynxos*): New target. 576877298Sobrien * Makefile.in: Add rule for em_sparclynx.c. 576977298Sobrien (ALL_EMULATIONS): Add Lynx emulations. 577077298Sobrien * config/sparc-lynx.mt: New file. 577177298Sobrien * emulparams/sparclynx.sh: New file. 577277298Sobrien * scripttempl/sparccoff.sc: New file. 577377298Sobrien 577477298SobrienThu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 577577298Sobrien 577677298Sobrien * Makefile.in: Add dependency for $(EMULATION_OFILES). 577777298Sobrien 577877298SobrienMon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 577977298Sobrien 578077298Sobrien * relax.c (write_relax): Check return value of bfd_seclet_link. 578177298Sobrien 578277298SobrienMon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com) 578377298Sobrien 578477298Sobrien * ldlang.c (delete_output_file_on_failure): New variable. 578577298Sobrien (open_output): Set it after bfd open succeeds. 578677298Sobrien * ldmisc.c (vfinfo): Test it. 578777298Sobrien 578877298Sobrien Changes from Peter Hoogenboom, hoogen@cs.utah.edu: 578977298Sobrien 579077298Sobrien * ldsym.c (write_file_locals): Set the BSF_FILE flag for object 579177298Sobrien symbols. 579277298Sobrien 579377298Sobrien * ldemul.c: Support was added to allow emulation-specific 579477298Sobrien processing to occur. This support was added primarily for linker 579577298Sobrien stub generation in the elf32-hppa gld. 579677298Sobrien (ldemul_finish, ldemul_create_output_section_statements): New 579777298Sobrien functions. 579877298Sobrien * ldemul.h: Support was added to allow emulation-specific 579977298Sobrien processing to occur. (As described above.) Added finish and 580077298Sobrien create_output_section_statements fields to 580177298Sobrien ld_emulation_xfer_struct structure. 580277298Sobrien * ldlang.c: Add calls to emulation-specific routines. 580377298Sobrien (lang_process): Add call to 580477298Sobrien ldemul_create_output_section_statements function. 580577298Sobrien (lang_process): Add call to a emulation-specific routine (and 580677298Sobrien some processing after the call). 580777298Sobrien 580877298SobrienFri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 580977298Sobrien 581077298Sobrien * configure.in: mips*- instead of mips-, mips*el changes 581177298Sobrien 581277298SobrienTue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 581377298Sobrien 581477298Sobrien * configure.in (alpha-*-osf*): New target; use alpha.mt. 581577298Sobrien * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. 581677298Sobrien (em_alpha.c): New target; use alpha.sh and alpha.sc. 581777298Sobrien * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. 581877298Sobrien * config/alpha.mt: New file. 581977298Sobrien * emulparams/alpha.sh: New file. 582077298Sobrien * scripttempl/alpha.sc: New file. 582177298Sobrien 582277298SobrienFri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com) 582377298Sobrien 582477298Sobrien * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle 582577298Sobrien types of different sizes (eg: 64 and 32 bits), so coerce. 582677298Sobrien * ld.h (ALIGN_N): Add warning about usage. 582777298Sobrien 582877298SobrienWed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 582977298Sobrien 583077298Sobrien * ldmain.c (enter_global_ref): Just ignore any weak symbol for 583177298Sobrien which we already have a definition, rather than checking in 583277298Sobrien several different places whether the symbol is weak. 583377298Sobrien 583477298SobrienTue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 583577298Sobrien 583677298Sobrien * configure.in (mips-*-elf*): New target; use mipsb-elf32. 583777298Sobrien * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and 583877298Sobrien OTHER_READWRITE_SECTIONS if relocating. Shell variables are not 583977298Sobrien expanded within them. 584077298Sobrien * config/mipsb-elf32.mt: New file. 584177298Sobrien * emulparams/elf32mipb.sh: New file. 584277298Sobrien * Makefile.in (em_elf32mipb.c): New target. 584377298Sobrien 584477298SobrienThu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com) 584577298Sobrien 584677298Sobrien * ldgram.y: In input_list, change lang_input_file_is_file_enum to 584777298Sobrien lang_input_file_is_search_file_enum so objects brought in using 584877298Sobrien INPUT() do a path lookup. 584977298Sobrien 585077298SobrienTue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com) 585177298Sobrien 585277298Sobrien * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx 585377298Sobrien instead of {i386,m68k}-coff. 585477298Sobrien * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. 585577298Sobrien * config/i386-lynx.mt: New file. 585677298Sobrien * config/m68k-lynx.mt: New file. 585777298Sobrien * emulparams/i386lynx.sh: New file. 585877298Sobrien * emulparams/m68klynx.sh: New file. 585977298Sobrien 586077298Sobrien * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, 586177298Sobrien but defaulting to _start. 586277298Sobrien 586377298Sobrien * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, 586477298Sobrien ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with 586577298Sobrien LynxOS libc. 586677298Sobrien 586777298SobrienThu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com) 586877298Sobrien 586977298Sobrien * config/solaris2.mh: New file. Define HOSTING_CRT0 and 587077298Sobrien HOSTING_LIBS for testing. 587177298Sobrien 587277298SobrienFri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 587377298Sobrien 587477298Sobrien Finish up support for i386-sysv4 (without shared libraries): 587577298Sobrien * ld.h (flag_is_weak): Define. 587677298Sobrien * ldlang.c (print_symbol): Mention whether symbol is weak. 587777298Sobrien (print_input_section): Print weak symbols as globals. 587877298Sobrien * ldmain.c (refize): Do not zero out BSF_WEAK flag. 587977298Sobrien (enter_global_ref): Do not warn if a weak symbol redefines a 588077298Sobrien global symbol. Do not let a weak symbol redefine a common symbol. 588177298Sobrien (enter_file_symbols): Treat weak symbols as global symbols. 588277298Sobrien (subfile_wanted_p): Do not pull in an object file from a archive 588377298Sobrien just to resolve an undefined weak symbol. 588477298Sobrien * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal 588577298Sobrien error; the error might be that malloc has run out of space. 588677298Sobrien * ldsym.c (write_file_locals): Treat weak symbols as global. 588777298Sobrien * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; 588877298Sobrien use i386-elf. 588977298Sobrien * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. 589077298Sobrien * config/i386-elf.mt: New file; set EMUL to elf_i386. 589177298Sobrien * emulparams/elf_i386.sh: New file. 589277298Sobrien * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). 589377298Sobrien * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. 589477298Sobrien (ALL_EMULATIONS): Add em_elf_i386.o. 589577298Sobrien (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. 589677298Sobrien (em_elf_i386.c): New target, like other em_*.c targets. 589777298Sobrien ($(LD_PROG)): Pass $(CFLAGS) to $(CC). 589877298Sobrien * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If 589977298Sobrien nonempty, and configured for native, add it to LIB_PATH. 590077298Sobrien 590177298SobrienFri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com) 590277298Sobrien 590377298Sobrien * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: 590477298Sobrien Added statements to pass stab and stabstr sections through and 590577298Sobrien mark them as NOLOAD, which makes GDB happier. 590677298Sobrien 590777298SobrienWed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com) 590877298Sobrien 590977298Sobrien * configure.in: Accept m68k-lynx-lynxos config. 591077298Sobrien 591177298Sobrien * Makefile.in: Use $(SHELL) to run genscripts.sh. 591277298Sobrien 591377298SobrienSun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com) 591477298Sobrien 591577298Sobrien * config/coff-h8300.mt: Add EMUL=h8300h. 591677298Sobrien 591777298Sobrien * ldmain.c (main): Call set_scripts_dir after argv has been processed. 591877298Sobrien 591977298SobrienFri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com) 592077298Sobrien 592177298Sobrien * Makefile.in: Changed CXX back to g++. 592277298Sobrien 592377298SobrienFri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com) 592477298Sobrien 592577298Sobrien * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. 592677298Sobrien 592777298SobrienFri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) 592877298Sobrien 592977298Sobrien * Makefile.in (TAGS): Use shell wildcards. 593077298Sobrien 593177298SobrienTue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com) 593277298Sobrien 593377298Sobrien * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target 593477298Sobrien 593577298SobrienFri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) 593677298Sobrien 593777298Sobrien * ld.texinfo: re-enable included config file; conditionalize doc 593877298Sobrien for -oformat to interact properly with SingleFormat doc config 593977298Sobrien var; rename @up/@down to @raisesections/@lowersections. 594077298Sobrien 594177298SobrienWed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com) 594277298Sobrien 594377298Sobrien * configure.in: recognize m88110. 594477298Sobrien 594577298SobrienTue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 594677298Sobrien 594777298Sobrien From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: 594877298Sobrien * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA 594977298Sobrien ELF emulation is "elf32-hppa" not "elf-big". 595077298Sobrien (hppaosf_before_parse): Remove unneeded processing of environment 595177298Sobrien variables. 595277298Sobrien * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in 595377298Sobrien .text segment of output file. 595477298Sobrien * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. 595577298Sobrien 595677298SobrienTue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) 595777298Sobrien 595877298Sobrien * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no 595977298Sobrien longer in bfd.h. 596077298Sobrien 596177298Sobrien * ldlang.c, ld.h: updated copyright. 596277298Sobrien 596377298SobrienTue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 596477298Sobrien 596577298Sobrien * ldlang.c (open_output, lang_check): Check return value of 596677298Sobrien bfd_set_arch_mach. 596777298Sobrien 596877298SobrienTue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) 596977298Sobrien 597077298Sobrien * scripttempl/h8500.sc: Start all sections in a different segment. 597177298Sobrien * scripttempl/z8ksim.sc: Handle constructors 597277298Sobrien 597377298SobrienThu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) 597477298Sobrien 597577298Sobrien * Makefile.in: revert earlier changes back to execute runtest 597677298Sobrien with make check. cdtest and bootstrap now function as they 597777298Sobrien did within the Makefile. 597877298Sobrien 597977298SobrienThu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) 598077298Sobrien 598177298Sobrien * Makefile.in: Update dependencies. 598277298Sobrien 598377298Sobrien * configure.in: Set EMULATION_OFILES in Makefile based on 598477298Sobrien --with-targets option. 598577298Sobrien 598677298SobrienThu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com) 598777298Sobrien 598877298Sobrien * Makefile.in: check targets reimplemented to old way. 598977298Sobrien 599077298SobrienWed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com) 599177298Sobrien 599277298Sobrien * config/i386v.mh, config/irix4.mh: Use gcc 599377298Sobrien -print-libgcc-file-name rather than $(libdir)/libgcc.a. 599477298Sobrien * config/i386sco.mh: New file; copy of i386v.mh to correspond to 599577298Sobrien bfd/configure.host change. 599677298Sobrien 599777298SobrienMon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 599877298Sobrien 599977298Sobrien * scripttempl/elf.sc: Handle .line and .debug* sections. 600077298Sobrien 600177298Sobrien * ldlex.l: Use bfd_scan_vma, not strtoul. 600277298Sobrien 600377298SobrienFri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) 600477298Sobrien 600577298Sobrien * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: 600677298Sobrien Remove inital caps in some error messages, change "can't" to 600777298Sobrien "cannot", add missing colons. 600877298Sobrien * ldmisc.c (vfinfo): Print "%%" as a single %. 600977298Sobrien For '%' followed by unrecognized character, print them both 601077298Sobrien verbatim instead of expecting a char * arg. 601177298Sobrien For '%C', don't put the function name in parens. 601277298Sobrien 601377298Sobrien * ldexp.c (invalid): Pass "%%", not "% ". 601477298Sobrien 601577298SobrienFri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 601677298Sobrien 601777298Sobrien * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. 601877298Sobrien (BSS_VAR): Removed; now always define _fbss. 601977298Sobrien * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): 602077298Sobrien Removed. 602177298Sobrien 602277298SobrienThu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 602377298Sobrien 602477298Sobrien * configure.in: z8k-coff is the same as z8k-sim 602577298Sobrien 602677298SobrienWed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) 602777298Sobrien 602877298Sobrien * testsuite/lib/ld.exp: new file 602977298Sobrien * testsuite/config/unix-ld.exp: new file 603077298Sobrien * testsuite/ld.bootstrap/bootstrap.exp: new file 603177298Sobrien * Makefile.in: add dejagnu support for make check 603277298Sobrien 603377298SobrienWed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) 603477298Sobrien 603577298Sobrien * ldlex.l (comment): Add missing newline in message. 603677298Sobrien * ldindr.c (add_indirect): Ditto. 603777298Sobrien * ldexp.c (exp_fold_tree): Ditto. 603877298Sobrien 603977298SobrienTue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com) 604077298Sobrien 604177298Sobrien * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons 604277298Sobrien into externs. 604377298Sobrien 604477298Sobrien * ldmisc.c (multiple_warn): New function. 604577298Sobrien * ldmisc.h: Declare it. 604677298Sobrien * ldmain.c (enter_global_ref): Call it. 604777298Sobrien * ld.h (ld_config_type): Add warn_common. 604877298Sobrien * ldlex.l, ldgram.y: Set it with -warn-common option. 604977298Sobrien * ldver.c (help): Document it. 605077298Sobrien 605177298SobrienMon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 605277298Sobrien 605377298Sobrien * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and 605477298Sobrien target-specific sections, and for changing data section vma. 605577298Sobrien 605677298SobrienMon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 605777298Sobrien 605877298Sobrien * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New 605977298Sobrien terminals, for Solaris. 606077298Sobrien (dirlist_ptr): New static variable. 606177298Sobrien (command_line_option): Accept new options. 606277298Sobrien 606377298Sobrien * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and 606477298Sobrien "-YP,...". 606577298Sobrien 606677298Sobrien * config/sun4sol2.mt: Pass emulation name without ".sh". 606777298Sobrien 606877298Sobrien * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. 606977298Sobrien * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. 607077298Sobrien 607177298SobrienFri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 607277298Sobrien 607377298Sobrien * scripttempl/elf.sc: Add support for .init, .fini, .ctors, 607477298Sobrien .dtors, .data1, .rodata1 sections, instead of combining them into 607577298Sobrien other sections. For `-r', set all section start addresses to 607677298Sobrien zero. 607777298Sobrien 607877298Sobrien * emulparams/elf32-sparc.sh (TEXT_START_ADDR, 607977298Sobrien NONPAGED_TEXT_START_ADDR): Value should be 0x10100. 608077298Sobrien (MAXPAGESIZE): Renamed from PAGE_SIZE. 608177298Sobrien 608277298SobrienWed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) 608377298Sobrien 608477298Sobrien * genscripts.sh: If this is the default emulation, set 608577298Sobrien COMPILE_IN. 608677298Sobrien * emultempl/*.em: Use it to determine whether to compile in the 608777298Sobrien scripts. 608877298Sobrien 608977298Sobrien * Makefile.in (GENSCRIPTS): Pass the default emulation name to 609077298Sobrien genscripts.sh. Pass the current emulation name without ".sh" on 609177298Sobrien the end. 609277298Sobrien * genscripts.sh: Take an default emulation arg. 609377298Sobrien Use the current emulation name as EMULATION_NAME. 609477298Sobrien Make default lib path for cross-compiling ':', not null. 609577298Sobrien * emulparams/*.sh: Don't set EMULATION_NAME. 609677298Sobrien * ldemul.c (ldemul_get_script): Take isfile arg. 609777298Sobrien Pass it to emulation's get_script function. 609877298Sobrien * ldemul.h: Adjust get_script prototypes. 609977298Sobrien * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. 610077298Sobrien No longer static. 610177298Sobrien * ldfile.h: Declare it. 610277298Sobrien * ldgram.y: Accept a script on the command line again, 610377298Sobrien for parsing compiled-in scripts. 610477298Sobrien * ldmain.c (main): If ld script is a file, parse it as a -T 610577298Sobrien option, otherwise parse it directly. 610677298Sobrien * emultempl/*.em (*get_script): Return the scripts themselves if 610777298Sobrien this is the default emulation; otherwise return their file names. 610877298Sobrien * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of 610977298Sobrien generic.em. 611077298Sobrien * emulparams/m88kbcs.sh: Use it. 611177298Sobrien 611277298Sobrien * ld.h (ld_config_type::unix_relocate): Remove unused element. 611377298Sobrien 611477298SobrienTue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 611577298Sobrien 611677298Sobrien * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which 611777298Sobrien there's no change log entry yet, tsk tsk) from the list of 611877298Sobrien emulations compiled in until Mark gets around to checking in 611977298Sobrien emulparams/i386linux.sh. 612077298Sobrien (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is 612177298Sobrien changed, this file gets updated. 612277298Sobrien 612377298SobrienFri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com) 612477298Sobrien 612577298Sobrien * ldgram.y (OPTION_Lfile): New token. 612677298Sobrien (command_line_option): Accept OPTION_L NAME (whitespace after -L). 612777298Sobrien * ldlex.l (<COMMAND>): Accept -L without FILENAME. 612877298Sobrien 612977298SobrienFri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com) 613077298Sobrien 613177298Sobrien * configure.in: h8/300h support needs own .mt file. 613277298Sobrien config/coff-h8300h.mt: New file. 613377298Sobrien 613477298SobrienThu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 613577298Sobrien 613677298Sobrien * ldmain.c: Don't include sys/stat.h; it already got included 613777298Sobrien somewhere along the way. 613877298Sobrien 613977298SobrienThu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com) 614077298Sobrien 614177298Sobrien * Makefile.in: Add h8300h support. 614277298Sobrien emulparams/h8300h.sh: New file. 614377298Sobrien scripttempl/h8300h.sc: New file. 614477298Sobrien 614577298SobrienThu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 614677298Sobrien 614777298Sobrien * ldfile.c (ldfile_open_file): In error message, use the name the 614877298Sobrien user gave (e.g., "-lc"), rather than the base file name. 614977298Sobrien 615077298Sobrien * ldexp.c (exp_fold_tree): Don't assign an int to an enum. 615177298Sobrien 615277298Sobrien * ldmain.[ch]: Remove initial Q_ from function names. 615377298Sobrien * ldexp.c, ldindr.c, ldlang.c: Change callers. 615477298Sobrien 615577298Sobrien * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. 615677298Sobrien 615777298Sobrien * ldlang.c (lang_process): Move loading of default script from 615877298Sobrien here to main. Add a "/" to start of script name to prevent 615977298Sobrien finding it in "." first. 616077298Sobrien 616177298Sobrien * ldmain.c (set_scripts_dir): Don't look in "." first. 616277298Sobrien 616377298Sobrien * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var 616477298Sobrien option_longmap. 616577298Sobrien 616677298SobrienThu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com) 616777298Sobrien 616877298Sobrien * Makefile.in (em_m88kbcs.c): Correct dependency. 616977298Sobrien * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET 617077298Sobrien statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. 617177298Sobrien * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. 617277298Sobrien 617377298SobrienWed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com) 617477298Sobrien 617577298Sobrien * ldfile.c (ldlang_open_file, ldfile_open_command_file), 617677298Sobrien main.c (main): Print the errno string in the error message. 617777298Sobrien 617877298SobrienTue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com) 617977298Sobrien 618077298Sobrien * configure.in: Accept h8300h for target cpu. 618177298Sobrien 618277298Sobrien * ldmisc.c (vfinfo): Have demangle remove leading underscore if 618377298Sobrien present (demangle is smart enough to know whether to do it or not). 618477298Sobrien 618577298SobrienMon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com) 618677298Sobrien 618777298Sobrien * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for 618877298Sobrien ldscripts, as well as <ld bin dir> and SCRIPTDIR. 618977298Sobrien 619077298Sobrien * ldlang.c (lang_process): Use sizeof instead of magic constant. 619177298Sobrien 619277298Sobrien * ldmain.c (get_emulation, check_for_scripts_dir, 619377298Sobrien set_scripts_dir): New functions. 619477298Sobrien (main): Call them. 619577298Sobrien 619677298SobrienMon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 619777298Sobrien 619877298Sobrien * scripttempl/elf.sc: Include .init, .fini, .rodata sections. 619977298Sobrien Create symbol "end" instead of "__end". Comment out some parts 620077298Sobrien that may not be needed (yet) for elf. 620177298Sobrien 620277298Sobrien * configure.in: Accept sparc-elf and sparc-solaris2 configs. 620377298Sobrien 620477298SobrienThu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 620577298Sobrien 620677298Sobrien * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). 620777298Sobrien 620877298Sobrien * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro 620977298Sobrien when no prototype is being supplied. 621077298Sobrien (ldmalloc, ldrealloc): Size argument is now size_t. 621177298Sobrien 621277298Sobrien * ldmisc.c (finfo): New function, accepts FILE* argument. 621377298Sobrien (vfinfo, case 'v'): New format character; displays bfd_vma in hex 621477298Sobrien without leading zeros. 621577298Sobrien (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a 621677298Sobrien bfd_vma value, instead of fprintf(%x) which won't hold a long long 621777298Sobrien value. 621877298Sobrien (concat, buystring): String lengths are size_t. 621977298Sobrien (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. 622077298Sobrien 622177298Sobrien * ldlang.c (new_statement): Size argument is now size_t. Added 622277298Sobrien forward declaration with prototype. 622377298Sobrien 622477298SobrienThu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) 622577298Sobrien 622677298Sobrien * ldgram.y (OPTION_v): Don't turn on verbose output. 622777298Sobrien 622877298SobrienWed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 622977298Sobrien 623077298Sobrien * ldlex.l: Get rid of local typedef for bfd_vma! Get it from 623177298Sobrien bfd.h instead. 623277298Sobrien 623377298SobrienWed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com) 623477298Sobrien 623577298Sobrien * Makefile.in (install): Don't install as $(tooldir)/bin/gld; 623677298Sobrien collect2 doesn't look for gld any more anyhow. 623777298Sobrien 623877298SobrienMon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com) 623977298Sobrien 624077298Sobrien * ldlang.c (lang_relocate_globals): Skip indirect symbols, which 624177298Sobrien now have a non NULL srefs_chain. 624277298Sobrien 624377298Sobrien * config/hp300hpux.mt: Use emulation hp3hpux rather than 624477298Sobrien hp300hpux, since the latter does not exist. 624577298Sobrien 624677298SobrienFri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) 624777298Sobrien 624877298Sobrien * genscripts.sh: Put the scripts in the ldscripts directory, not 624977298Sobrien emulations. 625077298Sobrien * configure.in (ldscripts): Make, instead of emulations. 625177298Sobrien * Makefile.in (scriptdir): Take off the "ld" part. 625277298Sobrien (install, clean, distclean): Use ldscripts, not emulations. 625377298Sobrien In tests, don't pass -Lemulations. 625477298Sobrien Don't pass tooldir/lib to genscripts.sh. 625577298Sobrien * genscripts.sh: Don't take tooldir/lib arg. 625677298Sobrien * ldlang.c (lang_process): Add "ldscripts/" to the name of the 625777298Sobrien default script file. 625877298Sobrien 625977298SobrienFri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com) 626077298Sobrien 626177298Sobrien * scripttempl/h8300.sc: Add .tors section for constructor/destructors. 626277298Sobrien 626377298SobrienThu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com) 626477298Sobrien 626577298Sobrien * config/coff-h8300.mt: EMUL=h8300hms -> h8300. 626677298Sobrien 626777298SobrienWed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com) 626877298Sobrien 626977298Sobrien * Makefile.in (.y.c): skip default .y.c rules. gnu make can now 627077298Sobrien run in parallel without colliding on yacc's static file names. 627177298Sobrien Without the stub rule, make will try to start two yacc's 627277298Sobrien concurrently which fails because of yacc's static file names. 627377298Sobrien 627477298SobrienTue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com) 627577298Sobrien 627677298Sobrien * ldmain.c (subfile_wanted_p): Don't dump core if there are no 627777298Sobrien symbols. 627877298Sobrien 627977298SobrienMon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com) 628077298Sobrien 628177298Sobrien * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's 628277298Sobrien different from libdir. 628377298Sobrien 628477298Sobrien * Makefile.in (scriptdir): Base on tooldir, not datadir. 628577298Sobrien 628677298SobrienSat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) 628777298Sobrien 628877298Sobrien * ldver.c (help): New function. 628977298Sobrien * ldver.h: Declare it. 629077298Sobrien * ldlex.l, ldgram.y: Recognize new options --help and --version. 629177298Sobrien 629277298SobrienMon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) 629377298Sobrien 629477298Sobrien * Makefile.in (INCLUDES): Don't need ../include any more. 629577298Sobrien 629677298SobrienMon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 629777298Sobrien 629877298Sobrien * ldlex.l, ldgram.y: Support new -oformat option. 629977298Sobrien Remove attempt at supporting script fragments on the command line. 630077298Sobrien * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. 630177298Sobrien * mri.c (mri_format), ldgram.y: Change callers. 630277298Sobrien * ldlang.h: Change prototype. 630377298Sobrien 630477298SobrienThu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) 630577298Sobrien 630677298Sobrien * Makefile.in: canonicalize install.sh; for use within 630777298Sobrien this directory (and subdirs) 630877298Sobrien 630977298SobrienThu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com) 631077298Sobrien 631177298Sobrien * ldgram.y: Tweak grammar to make reporting of invalid options work. 631277298Sobrien 631377298Sobrien * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc 631477298Sobrien and .cc.o rule. 631577298Sobrien 631677298SobrienWed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) 631777298Sobrien 631877298Sobrien * ldfile.c (ldfile_open_command): Don't try .ld extension. 631977298Sobrien It wasn't documented (or likely used) and wastes time. 632077298Sobrien (try_open): If EXTEN is empty, don't try it. 632177298Sobrien 632277298Sobrien * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, 632377298Sobrien ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, 632477298Sobrien ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls 632577298Sobrien with normal function declarations. 632677298Sobrien 632777298Sobrien * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. 632877298Sobrien Move *.sc-sh to scripttempl/*.sc. 632977298Sobrien * {emultempl,emulparams,scripttempl}/README: New files. 633089857Sobrien * emultempl/sh.em, emultempl/st2000.em, emultempl/z8ksim.em, 633189857Sobrien emultempl/h8300hms.em, emultempl/h8500hms.em: Files removed, 633289857Sobrien replaced with generic.em. 633389857Sobrien * emulparams/h8300.sh, emulparams/h8500.sh, scripttempl/h8300.sc, 633489857Sobrien scripttempl/h8500.sc: Renamed from h8[35]00hms.s[ch]. Change 633589857Sobrien their contents to omit the "hms". 633677298Sobrien 633777298Sobrien * *.em (*_get_script): Return script name instead of script contents. 633877298Sobrien * ldlang.c (lang_process): Change caller. 633977298Sobrien 634077298Sobrien * ldlex.l, ldgram.y: Recognize -m option. 634177298Sobrien Check for input files after *all* options in grammar. 634277298Sobrien * ldmain.c (main): Check for -m options. Add default directory 634377298Sobrien for -m. 634477298Sobrien 634577298Sobrien * mkscript.c: File removed. 634677298Sobrien * genscripts.sh: Take two more parameters, tooldirlib and libdir, 634777298Sobrien to add to the default LIB_PATH. 634877298Sobrien Look for input files in the new subdirectories. 634977298Sobrien Create the scripts in emulations subdirectory and don't filter 635077298Sobrien them through mkscript. 635177298Sobrien * configure.in: Make the emulations subdirectory. 635277298Sobrien 635377298Sobrien * Makefile.in: Account for all of the above changes. 635477298Sobrien Remove unused .SUFFIXES. Get libgcc.a path with gcc 635577298Sobrien -print-libgcc-file-name instead of $(libdir)/libgcc.a. 635677298Sobrien Put CFLAGS last in the compilation rules. 635777298Sobrien Add -I../bfd to INCLUDES so sysdep.h is found. 635877298Sobrien 635977298SobrienTue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 636077298Sobrien 636177298Sobrien * Makefile.in (INCLUDES): Look in ../include, not ../bfd. 636277298Sobrien 636389857Sobrien * scripttempl/aout.sc, emulparams/aout.sh: Add SHLIB_PATH like 636489857Sobrien STACKZERO. Make STACKZERO dependent on RELOCATING, not 636589857Sobrien RELOCATION. 636689857Sobrien * emulparams/hp3hpux.sh (SHLIB_PATH): Define it. 636777298Sobrien 636877298SobrienMon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com) 636977298Sobrien 637077298Sobrien * ldfile.c (try_open): If opening without the extension fails, 637177298Sobrien try with the extension even if -v or -V was given. 637277298Sobrien had_script is imported (from ldgram.y), not exported. 637377298Sobrien 637477298SobrienMon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) 637577298Sobrien 637677298Sobrien * Makefile.in: remove parentdir support, use INSTALL_XFORM 637777298Sobrien 637877298SobrienThu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com) 637977298Sobrien 638077298Sobrien * ldexp.c (exp_fold_tree): Don't lose the old flag bits. 638177298Sobrien * ldgram.y (statement_list_opt): New nonterminal, either empty or 638277298Sobrien statement_list. 638377298Sobrien (section): Use statement_list_opt, not statement_list. 638489857Sobrien * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: Gather 638589857Sobrien constructors and destructors and define __CTOR_LIST__ and 638689857Sobrien __DTOR_LIST__ appropriately. 638789857Sobrien * scripttempl/sa29200.sc, emulparams/sa29200.sh: Gather 638889857Sobrien constructors and destructors and define ___CTOR_LIST__ and 638989857Sobrien ___DTOR_LIST__ appropriately. 639077298Sobrien 639177298SobrienMon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) 639277298Sobrien 639377298Sobrien * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. 639477298Sobrien * configure.in: No longer need to configure to get sysdep.h. 639577298Sobrien 639677298SobrienFri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 639777298Sobrien 639877298Sobrien * Makefile.in: remove install:all and install-info:info 639977298Sobrien dependencies (these cause some spurious rebuilds at 'make install' 640077298Sobrien time) 640177298Sobrien 640277298SobrienFri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com) 640377298Sobrien 640477298Sobrien * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. 640577298Sobrien (mips-idt-ecoff*): Added trailing '*'. 640677298Sobrien * config/mips-idtl.mt: New file; use EMUL of mipsidtl. 640789857Sobrien * emulparams/mipsidtl.sh: New file; like mipsidt.sh, but little 640889857Sobrien endian. 640977298Sobrien * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. 641077298Sobrien 641177298Sobrien * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and 641277298Sobrien incorrect definitions. 641377298Sobrien 641477298SobrienTue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com) 641577298Sobrien 641677298Sobrien * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR 641777298Sobrien symbols, unless stripping. 641877298Sobrien 641977298SobrienTue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com) 642077298Sobrien 642177298Sobrien * Makefile.in: configure looks for ####, so remove lines with many 642277298Sobrien '#' characters. 642377298Sobrien * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 642477298Sobrien and HOSTING_LIBS correctly so that ``make check'' will work. 642577298Sobrien 642677298SobrienThu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com) 642777298Sobrien 642889857Sobrien * scripttempl/mips.sc, emulparams/mips.sh: Define _etext, _edata, 642989857Sobrien and _end, in addition to etext, edata, and end. Needed for IRIX 643089857Sobrien 4.0.5F. Patch from mwp@iconix.oz.au (Michael Paddon). 643177298Sobrien 643277298Sobrien * Version 2.2.1 released. 643377298Sobrien 643477298SobrienThu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 643577298Sobrien 643689857Sobrien * scripttempl/mipsbsd.sc, emulparams/mipsbsd.sh: Renamed from 643789857Sobrien aout-mipsbsd.sc-sh. 643889857Sobrien * emulparams/mipsbsd.sh (EMULATION_NAME): Use new file name. 643977298Sobrien 644077298SobrienTue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 644177298Sobrien 644277298Sobrien * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it 644377298Sobrien properly right now. 644477298Sobrien 644577298Sobrien * Version 2.2 released. 644677298Sobrien 644777298SobrienMon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 644877298Sobrien 644977298Sobrien * ldver.c (ldversion): Bump version number to 2.2. 645077298Sobrien 645177298SobrienMon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com) 645277298Sobrien 645377298Sobrien * NEWS: New file. 645477298Sobrien 645577298SobrienFri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com) 645677298Sobrien 645789857Sobrien * scripttempl/mips.sc, emulparams/mips.sh: Don't define BSS_VAR 645889857Sobrien unless relocating. 645977298Sobrien 646077298SobrienWed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com) 646177298Sobrien 646277298Sobrien * Makefile.in (mkscript.o, mkscript): Build mkscript via 646377298Sobrien mkscript.o, rather than directly from mkscript.c. 646477298Sobrien 646577298SobrienTue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 646677298Sobrien 646777298Sobrien * configure.in: Look for ${target_makefile_frag} relative to 646877298Sobrien ${srcdir}, not relative to build directory. 646977298Sobrien 647089857Sobrien * emultempl/hppaosf.em, scripttempl/hppaosf.sc, 647189857Sobrien emulparams/hppaosf.sh: New files. 647277298Sobrien * configure.in: Recognize hppa*-hp-osf. 647377298Sobrien * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. 647477298Sobrien (em_hppaosf.c): Build it. 647589857Sobrien * config/hppaosf.mh, config/hppaosf.mt: New files. 647677298Sobrien 647777298Sobrien * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with 647877298Sobrien some system header files. All uses changed. 647977298Sobrien 648077298Sobrien * configure.in: Recognize i386-aix configurations as i386-coff 648177298Sobrien targets. 648277298Sobrien 648377298Sobrien * configure.in: Recognize m68*-*-hpux. 648489857Sobrien * scripttempl/aout.sc: If STACKZERO and RELOCATING are both defined, output 648577298Sobrien the value of STACKZERO. 648677298Sobrien * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. 648777298Sobrien (em_hp3hpux.c): Build it. 648889857Sobrien * emulparams/hp3hpux.sh, config/hp300hpux.mt: New files. 648977298Sobrien 649077298SobrienTue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com) 649177298Sobrien 649289857Sobrien * scripttempl/mips.sc: Put constructors in the .data section. 649377298Sobrien * Makefile.in (cdtest): Added dependency on ld.new. 649477298Sobrien 649577298SobrienMon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com) 649677298Sobrien 649777298Sobrien * Makefile.in: Change definition of $(tooldir) to match FSF. 649889857Sobrien * emulparams/vax.sh, config/vax.mt, configure.in, Makefile.in: 649977298Sobrien Support VAX Ultrix and BSD. 650077298Sobrien 650177298SobrienMon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) 650277298Sobrien 650389857Sobrien * emultempl/sh.em, emulparams/sh.sh, scripttempl/sh.sc: New 650489857Sobrien files supporting Hitachi SH. 650577298Sobrien 650677298SobrienWed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com) 650777298Sobrien 650877298Sobrien * ldlang.h (struct memory_region): Change `length' and 650977298Sobrien `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. 651077298Sobrien * ldlang.c, mri.c: Corresponding changes, plus lint. 651177298Sobrien 651277298SobrienThu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com) 651377298Sobrien 651477298Sobrien * configure.in: For all i386 targets, accept i486 as well. 651577298Sobrien 651677298SobrienMon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com) 651777298Sobrien 651877298Sobrien * ldlang.c (wild_doit): Preserve all flags for a 651977298Sobrien SEC_SHARED_LIBRARY section. 652077298Sobrien (size_input_section): Consider any SEC_HAS_CONTENTS section when 652177298Sobrien computing largest_section. 652277298Sobrien 652377298SobrienFri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com) 652477298Sobrien 652577298Sobrien * ldlang.c (lang_output_section_statement_lookup): Initialize all 652677298Sobrien fields of newly created structure. 652777298Sobrien 652877298SobrienWed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com) 652977298Sobrien 653077298Sobrien * ldmain.c (g_switch_value): New variable. 653177298Sobrien * ldgram.y (OPTION_G, OPTION_Gval): New tokens. 653277298Sobrien (command_line_option): Accept -G and set g_switch_value. 653377298Sobrien * ldlex.l (COMMAND): Accept -G. 653477298Sobrien * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. 653577298Sobrien 653677298SobrienTue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) 653777298Sobrien 653877298Sobrien Support for linking and loading at different places: 653977298Sobrien 654077298Sobrien * ldlex.l: Add "AT" keyword. 654177298Sobrien * ldgram.y: Cleanup, and parse AT. 654277298Sobrien * ldlang.c (print_output_section_statement): Print output address 654377298Sobrien of section in map. (lang_size_sections): Fill sections' lma with 654477298Sobrien load address. 654577298Sobrien * ldlang.h (lang_output_section_statement_type): Add load_base 654677298Sobrien information. 654777298Sobrien 654877298Sobrien * ldindr.c (add_indirect): Keep more information in the alias 654977298Sobrien symbol chain. 655077298Sobrien * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section 655177298Sobrien attribute from an input section. 655277298Sobrien * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by 655377298Sobrien default. (Q_enter_file_symbos): Indirect symbols now are known by 655477298Sobrien their section, not a special symbol flag. 655577298Sobrien * ldsym.c (write_file_locals): Indirect symbols aren't local. 655677298Sobrien (write_file_globals): Write the mapping for an indirect symbol. 655777298Sobrien * relax.c (build_it): When forced to write a NEVER_LOAD section, 655877298Sobrien fill it with zeros. 655977298Sobrien 656077298SobrienTue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) 656177298Sobrien 656277298Sobrien * ld.texinfo: changes for q1 656377298Sobrien 656477298SobrienTue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 656577298Sobrien 656677298Sobrien * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck 656777298Sobrien 656877298SobrienMon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 656977298Sobrien 657077298Sobrien * Makefile.in: rename HOST_CC to CC_FOR_BUILD 657177298Sobrien 657277298SobrienThu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com) 657377298Sobrien 657477298Sobrien * mips.sc-sh: Added variables which may be overridden by a 657577298Sobrien specific emulation. 657689857Sobrien * emulparams/mipsidt.sh: New file; emulation for IDT MIPS board. 657777298Sobrien * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. 657877298Sobrien (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. 657977298Sobrien * config/mips-idt.mt: New file; sets EMUL to mipsidt. 658077298Sobrien * configure.in (mips-idt-ecoff): New target; uses mips-idt. 658177298Sobrien 658277298SobrienSat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 658377298Sobrien 658489857Sobrien * aout-mipsbsd.sc-sh, emulparams/mipsbsd.sh: New files from Ralph 658589857Sobrien Campbell, ralphc@pyramid.com. 658689857Sobrien * emulparams/i386bsd.sh, config/i386bsd.mt: New files. 658777298Sobrien * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. 658877298Sobrien 658977298SobrienThu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com) 659077298Sobrien 659177298Sobrien * mri.c: Add extern declaration of strdup. 659277298Sobrien * ldsym.c (KEEP macro): Add spaces around '=' for the 659377298Sobrien sake of old (e.g. PCC) compilers. 659477298Sobrien 659577298SobrienWed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com) 659677298Sobrien 659777298Sobrien * ldver.c: Bump to version 2.1. 659877298Sobrien 659977298SobrienFri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com) 660077298Sobrien 660177298Sobrien * ldgram.y: allow section types without address expressions. 660277298Sobrien * ldlang.c (lang_relocate_globals): avoid possible hang with 660377298Sobrien undefined but unreferenced symbols. 660477298Sobrien * relax.c (relax_section): don't complain if the script file isn't 660577298Sobrien relaxable but -relax is set 660677298Sobrien 660777298SobrienThu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 660877298Sobrien 660977298Sobrien * configure.in: go32 is the 3rd part of the triple, not the 2nd 661077298Sobrien 661177298SobrienWed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com) 661277298Sobrien 661389857Sobrien * emulparams/mipsbig.sh: New file. Big endian MIPS emulation. 661477298Sobrien * config/mips-big.mt: New file. Use mipsbig emulation. 661577298Sobrien * configure.in (mips-sgi-irix*): Use target mips-big. 661677298Sobrien * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. 661777298Sobrien (em_mipsbig.c): New target. Uses mipsbig.sh. 661877298Sobrien 661977298SobrienTue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) 662077298Sobrien 662177298Sobrien * mips.sc-sh: Put .scommon sections into .sbss section. 662277298Sobrien 662377298Sobrien * ldmain.c (subfile_wanted_p): Preserve section of common symbols, 662477298Sobrien rather than always putting them in bfd_com_section. 662577298Sobrien * ldlang.c (lang_common): If a common symbol is not in 662677298Sobrien bfd_com_section, put in a section of the same name, rather than 662777298Sobrien always putting it in section COMMON. 662877298Sobrien 662977298SobrienFri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com) 663077298Sobrien 663177298Sobrien * ldmain.c (subfile_wanted_p): If we already have a common 663277298Sobrien definition of a symbol, don't necessarily pull in an object file 663377298Sobrien that provides a non-common definition. 663477298Sobrien 663577298Sobrien * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, 663677298Sobrien returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS 663777298Sobrien linker. 663877298Sobrien * ldgram.y (OPTION_EB, OPTION_EL): New tokens. 663977298Sobrien (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. 664077298Sobrien 664177298SobrienThu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com) 664277298Sobrien 664377298Sobrien * Makefile.in (install): Remove $(tooldir)/bin/gld before creating 664477298Sobrien the link to it. 664577298Sobrien 664677298SobrienTue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com) 664777298Sobrien 664877298Sobrien * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than 664977298Sobrien checking for equality to bfd_com_section. 665077298Sobrien 665177298SobrienFri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com) 665277298Sobrien 665377298Sobrien * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF 665477298Sobrien targets, linker script. 665589857Sobrien * emulparams/mipslit.sh: New file. Little endian MIPS emulation. 665677298Sobrien * config/mips-lit.mt: New file. Use mipslit emulation. 665777298Sobrien * configure.in (mips-dec-ultrix*): Use target mips-lit. 665877298Sobrien * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. 665977298Sobrien (em_mipslit.c): New target. Uses mipslit.sh. 666077298Sobrien 666177298SobrienThu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com) 666277298Sobrien 666377298Sobrien * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and 666477298Sobrien $(tooldir)/bin/gld, so that gcc can find it with or without 666577298Sobrien collect2. 666677298Sobrien 666777298SobrienMon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 666877298Sobrien 666977298Sobrien * ldwrite.c: Removed perform_relocation, copy_and_relocate, and 667077298Sobrien write_norel. All linking is now done via write_relax. Call 667177298Sobrien ldsym_write before calling write_relax. 667277298Sobrien * relax.c: Added copyright. 667377298Sobrien (write_relax): Renamed from write_relaxnorel. Added relocateable 667477298Sobrien argument. seclet_dump renamed to bfd_seclet_link. 667577298Sobrien * relax.h: Added copyright. 667677298Sobrien 667777298SobrienMon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) 667877298Sobrien 667977298Sobrien * ldmain.c (decode_library_subfile): Patch from 668077298Sobrien hoogen@shafer.cs.utah.edu, don't reread library symbol tables. 668177298Sobrien 668277298SobrienFri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 668377298Sobrien 668477298Sobrien * config/vxworks960.mt renamed to config/i960.mt 668577298Sobrien 668677298Sobrien * configure.in: sparc-aout emulates a sun4, as does 668777298Sobrien sparc*-vxworks, i960-nindy uses gld960 emulation 668877298Sobrien 668977298SobrienFri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) 669077298Sobrien 669177298Sobrien Fix support for NOLOAD, add INCLUDE 669277298Sobrien * ldfile.c (ldfile_open_command_file): pass file name to 669377298Sobrien lex_push_file. 669477298Sobrien * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD 669577298Sobrien * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD 669677298Sobrien attribute. 669777298Sobrien 669877298SobrienThu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 669977298Sobrien 670077298Sobrien * Makefile.in, config.h: no more default emulation. Make the lack 670177298Sobrien of emulation a compile time error 670277298Sobrien 670377298SobrienWed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 670477298Sobrien 670577298Sobrien * configure.in: recognise all sparclite variants, not just 'sparclite' 670677298Sobrien 670777298SobrienMon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com) 670877298Sobrien 670989857Sobrien * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: define _end as 671089857Sobrien well as end, for consistency with aout.sc-sh. 671177298Sobrien 671277298Sobrien * configure.in: accept *-ericsson-ose for any m68k CPU. 671377298Sobrien 671477298Sobrien * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag 671577298Sobrien for each output section. 671677298Sobrien 671777298SobrienMon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com) 671877298Sobrien 671977298Sobrien * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new 672077298Sobrien macro bfd_asymbol_bfd as appropriate. 672177298Sobrien * Makefile.in: Un-duplicate ldlex.c dependency. 672289857Sobrien * configure.in: Replace my_host case table by sourcing 672377298Sobrien ../bfd/configure.host. Allow std-host as the default. 672477298Sobrien * ldmisc.c: Change logic for C++ name demangling: There is 672577298Sobrien no initial '_' to remove from stab-derived function names. 672677298Sobrien 672777298SobrienSun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) 672877298Sobrien 672977298Sobrien * ldlang.c (lang_init_script_file): don't attach the output file 673077298Sobrien sections to the script file. 673177298Sobrien 673277298SobrienWed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com) 673377298Sobrien * ldlang.c (wild): run expansion loop over command line bfd too. 673477298Sobrien (lang_ini_script_file): initialize more parts of the command line 673577298Sobrien bfd. 673677298Sobrien * ldlex.l: fix DEFINED start states. 673777298Sobrien 673877298SobrienMon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) 673977298Sobrien -y support 674077298Sobrien * ld.texinfo: new doc. 674177298Sobrien * ldgram.y, ldlex.l: understand -y<symbol> 674277298Sobrien * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and 674377298Sobrien print info. (add_ysym): new function. 674477298Sobrien * ldsym.h: (ldsym_type): new define SYM_Y. 674577298Sobrien 674677298SobrienSat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com) 674777298Sobrien 674877298Sobrien * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 674977298Sobrien ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, 675077298Sobrien ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue 675177298Sobrien macros with PARAMS. Recreational cleanup. Update copyrights. 675277298Sobrien 675377298SobrienTue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 675477298Sobrien 675577298Sobrien * Makefile.in: pass down the bfd source directory for includes 675677298Sobrien 675777298SobrienThu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com) 675877298Sobrien 675977298Sobrien * ldlang.c (lang_size_sections): don't change size and address for 676077298Sobrien SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD 676177298Sobrien sections. 676277298Sobrien 676377298SobrienThu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com) 676477298Sobrien 676577298Sobrien * relax.c (build_it): re-enable the processing of data_statements 676677298Sobrien in scripts, makes counted contructor lists work again. 676777298Sobrien 676877298SobrienThu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com) 676977298Sobrien 677077298Sobrien * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). 677177298Sobrien 677277298SobrienTue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com) 677377298Sobrien 677489857Sobrien * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: don't use 677589857Sobrien initial underscores for etext, edata and end. 677677298Sobrien 677777298SobrienMon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com) 677877298Sobrien 677977298Sobrien * Support for i386-sysv. 678077298Sobrien configure.in: check for i386-*-sysv* and i386-*-sco*. 678177298Sobrien i386coff.sc-sh: rewrote to support SVR3 by default. 678277298Sobrien ldctor.c (find_constructors): preserve stat_ptr. 678377298Sobrien ldlang.c (wild_doit): initialize vma and size of new output 678477298Sobrien section to corresponding input section. This is required for 678577298Sobrien shared library support. 678677298Sobrien (lang_size_sections): don't modify vma and size of sections which 678777298Sobrien are never loaded (for shared libraries). 678877298Sobrien ldwrite.c (copy_and_relocate): copy the contents of any section 678977298Sobrien which has contents, not just sections which are loaded (for shared 679077298Sobrien libraries). 679177298Sobrien 679277298SobrienThu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) 679377298Sobrien 679477298Sobrien * ldlang.c (size_input_section): count the sizes of all sections 679577298Sobrien we allocate. 679677298Sobrien 679777298SobrienThu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com) 679877298Sobrien 679977298Sobrien * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to 680077298Sobrien to demangle symbols better 680177298Sobrien 680277298SobrienTue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com) 680377298Sobrien 680477298Sobrien * ldlang.c (lang_finish): don't warn if -e start symbol does not 680577298Sobrien exist when linking with -r. 680677298Sobrien 680777298SobrienMon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) 680877298Sobrien 680989857Sobrien * scripttempl/aout.sc, emulparams/aout.sh, 681089857Sobrien scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: set __bss_start 681189857Sobrien to the start of the .bss segment. 681277298Sobrien 681377298SobrienMon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com) 681477298Sobrien 681577298Sobrien * ldmain.c (linear_library): don't even think about processing 681677298Sobrien an object file if it's already been done 681777298Sobrien 681877298SobrienThu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 681977298Sobrien 682077298Sobrien * configure.in: the hp9000/300 config file is now hp300 682177298Sobrien 682277298SobrienWed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com) 682377298Sobrien 682477298Sobrien * config/z8ksim.mt: new file 682577298Sobrien 682677298SobrienFri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) 682777298Sobrien 682877298Sobrien * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, 682977298Sobrien lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. 683077298Sobrien 683177298Sobrien * ld.h (strip_symbols_type): Add value STRIP_SOME. 683277298Sobrien * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. 683377298Sobrien * ldlang.c (lang_add_keepsyms_file): New function. 683477298Sobrien * ldlex.l: Handle "-retain-symbols-file". 683577298Sobrien * ldsym.c (keepsyms_file, kept_syms): New vars. 683677298Sobrien (process_keepsyms): New functihon; reads file, marks symbols for 683777298Sobrien saving. 683877298Sobrien (write_file_locals): File symbols should always be kept. 683977298Sobrien (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" 684077298Sobrien and "-s". Process retain-symbols file before setting symtab. 684177298Sobrien * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. 684277298Sobrien (keepsyms_file, kept_syms): Declare them. 684377298Sobrien 684477298Sobrien * ldmain.c (main): Non-fatal errors should still cause non-zero 684577298Sobrien exit status even with -r. 684677298Sobrien 684777298SobrienFri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) 684877298Sobrien 684977298Sobrien Added initial support for the z8k 685089857Sobrien * emultempl/z8ksim.em, z8ksim.sc-sh, emulparams/z8ksim.sh: new 685189857Sobrien files. 685277298Sobrien * configure.in, Makefile.in: modified to reflect above 685377298Sobrien 685477298Sobrien * ldlang.c (lang_check): when linking conflicting architectures, 685577298Sobrien make the output file reflect at least one of the bad inputs. 685677298Sobrien 685777298SobrienTue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) 685877298Sobrien 685977298Sobrien * Makefile.in (install): if $(tooldir) exists, install ld in 686077298Sobrien $(tooldir)/bin. 686177298Sobrien 686277298SobrienFri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) 686377298Sobrien 686477298Sobrien * Makefile.in, configure.in: modified to support i386-coff 686577298Sobrien * i386coff.sh: new file 686677298Sobrien 686777298SobrienWed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com) 686877298Sobrien 686989857Sobrien * Makefile.in, emulparams/m68kcoff.sh, scripttempl/m68kcoff.sc, 687089857Sobrien emulparmas/m68kcoff.sh, config/m68k-coff.mt: added m68k-coff 687189857Sobrien emulation mode, stolen from a29k emulation. Almost certainly 687289857Sobrien wrong, but perhaps better than sun3. 687377298Sobrien 687477298SobrienThu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com) 687577298Sobrien 687689857Sobrien * Makefile.in, Makefile.dos, emultempl/generic.em, genscripts.sh, 687789857Sobrien emultempl/gld960.em, emultempl/h8300hms.em, 687889857Sobrien emultempl/h8300xray.em, emultempl/lnk960.em, emultempl/st2000.em, 687989857Sobrien emultempl/vanilla.em: Rename all (generated) ld__*.c files to 688089857Sobrien em_.c. This is one character shorter, and lets people build on 688177298Sobrien SVR3 system. (ld__h8300xray.[co] was the killer there; 688277298Sobrien h8300xray.sc-sh is also overlong, but seems harmless.) 688377298Sobrien Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. 688477298Sobrien * Makefile.in (clean): Fix typo mostclean -> mostlyclean. 688577298Sobrien * configure.in: Add host isc. 688677298Sobrien 688777298Sobrien * ldver.c: Call it version 2.0. 688877298Sobrien 688977298SobrienWed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com) 689077298Sobrien 689177298Sobrien * ldver.c: Bump to version 0.98. 689277298Sobrien * TODO: New file. 689377298Sobrien 689477298Sobrien * Makefile.in: Added mostlyclean, distclean, realclean rules. 689577298Sobrien 689677298SobrienTue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com) 689777298Sobrien 689877298Sobrien * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). 689977298Sobrien * ldlex.l: Moved comment() to end, since some compilers 690077298Sobrien otherwise have problems with input() used before it is defined. 690177298Sobrien 690277298SobrienTue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 690377298Sobrien 690477298Sobrien * configure.in: added Solaris 2 and Irix 4 host support. 690577298Sobrien 690677298SobrienMon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 690777298Sobrien 690877298Sobrien * Makefile.in: remove -S flag from the FLEX definition 690977298Sobrien 691077298Sobrien * configure.in: rewrote, using new style case statement. use 691177298Sobrien m68k.mt for m68k-aout systems 691277298Sobrien 691377298SobrienSun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com) 691477298Sobrien 691577298Sobrien * Makefile.in: map "ld" through program_transform_name when 691677298Sobrien installing. 691777298Sobrien 691877298SobrienSun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com) 691977298Sobrien 692077298Sobrien * cplus-dem.c: Removed. Use the version in libiberty now. 692177298Sobrien * ldmisc.c: Use new libiberty version of cplus_demangle(). 692277298Sobrien 692377298SobrienThu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com) 692477298Sobrien 692589857Sobrien * emultempl/gld960.em (gld960_choose_target): default to little 692689857Sobrien endian, not big endian. 692777298Sobrien 692877298SobrienWed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) 692977298Sobrien 693077298Sobrien * ldlang.c (lang_process): don't pass null pointers when 693177298Sobrien abs_output_section is what is required. 693277298Sobrien * ldwrite.c (ldwrite): use malloc to allocate the largest space 693377298Sobrien used, and pass that down. 693489857Sobrien * relax.c, relax.h (write_relaxnorel): use the passed malloc area rather 693577298Sobrien than alloca. 693677298Sobrien 693777298SobrienMon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com) 693877298Sobrien 693977298Sobrien * configure.in, config/ose68.mt: renamed OSE to ose. 694077298Sobrien 694177298SobrienThu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com) 694277298Sobrien 694377298Sobrien * ldsym.c (write_file_locals): Reorder check for common or 694477298Sobrien undefined symbols so that it works. 694577298Sobrien 694677298SobrienTue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) 694777298Sobrien 694877298Sobrien * configure.in: accept all m68K family members. 694977298Sobrien 695077298Sobrien * Makefile.in: always create installation directories. 695177298Sobrien 695277298SobrienThu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) 695377298Sobrien 695477298Sobrien * ldlex.l: now parses comment correctly, added ~ to acceptable 695577298Sobrien chars in filenames 695677298Sobrien 695777298Sobrien * ldexp.c (exp_unop): pass down abs_output_section - now can have 695877298Sobrien unary -ve constants. 695977298Sobrien 696077298Sobrien * ldlang.c (lang_finish): warn when an entry symbol supplied on 696177298Sobrien the command line can't be found. 696277298Sobrien 696377298SobrienFri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) 696477298Sobrien 696577298Sobrien * ldlang.h: add new field "loadable" to output_section_statement. 696677298Sobrien * ldlang.c (lang_output_section_statement_lookup): initilize new 696777298Sobrien field. (wild_doit): if new field is not set, then stop output 696877298Sobrien section from being loadable. 696977298Sobrien (lang_enter_output_section_statement): set the field from the 697077298Sobrien NOLOAD keyword 697177298Sobrien * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. 697289857Sobrien * scripttempl/h8300hms.sc, emulparams/h8300.sh, 697389857Sobrien emultempl/h8300hms.em: get -r right. 697477298Sobrien 697577298SobrienThu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com) 697677298Sobrien 697777298Sobrien * ldint.texinfo: New internals manual (beginnings thereof). 697877298Sobrien * PORTING: Removed, merged into ldint.texinfo. 697977298Sobrien 698077298SobrienTue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com) 698177298Sobrien 698289857Sobrien * testsuite/ld-cdtest/cdtest-main.cc, 698389857Sobrien testsuite/ld-cdtest/cdtest-func.cc, 698489857Sobrien testsuite/ld-cdtest/cdtest-foo.h, 698589857Sobrien testsuite/ld-cdtest/cdtest-foo.cc, 698689857Sobrien testsuite/ld-cdtest/cdtest.exp: A test program (copied from 698789857Sobrien libg++/test-install) that tests that constructor and destructors 698889857Sobrien are handled corrrectly. 698977298Sobrien 699077298SobrienMon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 699177298Sobrien 699277298Sobrien * Makefile.in (install): install from ld.new, renaming during the 699377298Sobrien copy, or else the next 'make install' needs to re-link ld. 699477298Sobrien 699577298SobrienMon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com) 699677298Sobrien 699777298Sobrien * configure.in: generalise hp recognition (from sef). 699877298Sobrien 699977298SobrienSat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 700077298Sobrien 700177298Sobrien * configure.in: recognize bsd and hpux hppa configurations. 700277298Sobrien error messages echo to stderr, not stdout 700377298Sobrien 700477298SobrienFri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com) 700577298Sobrien 700677298Sobrien * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, 700777298Sobrien ldmisc.c: removed rcsid's. 700877298Sobrien 700977298SobrienTue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) 701077298Sobrien 701177298Sobrien * ldlang.c (lang_map): print changes in sizes due to relaxing 701277298Sobrien (size_input_section): maintain the delta information. 701377298Sobrien * ldlang.h: add new field to struct to contain delta info. 701477298Sobrien * relax.c (relax_section): complain if input not relaxable. 701577298Sobrien * ldlex.l : add '_', ',' and '$' to chars which can appear at the 701677298Sobrien start of a filename 701777298Sobrien 701877298SobrienMon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) 701977298Sobrien 702077298Sobrien * ldmain.c(main): prevent -r and -relax from being on at the same 702177298Sobrien time. 702277298Sobrien 702377298SobrienWed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) 702477298Sobrien 702577298Sobrien * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for 702677298Sobrien aliasing problems 702777298Sobrien 702877298Sobrien 702977298SobrienThu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) 703077298Sobrien 703189857Sobrien * emultempl/h8300hms.em, scripttempl/h8300hms.sc, 703289857Sobrien emulparams/h83000.sh: do the right thing for -r 703389857Sobrien * ldexp.c: lint 703477298Sobrien * ldlang.c(open_output): set the target arch and machine as soon 703577298Sobrien as we can. (lang_size_sections): use new macros for setting vma 703677298Sobrien * ldwrite.c: lint 703777298Sobrien 703877298SobrienMon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com) 703977298Sobrien 704077298Sobrien * configure.in (my_target): Accept m680?0 for wrs as vxworks68. 704177298Sobrien Also deleted an unreachable path to wrs. 704277298Sobrien 704377298SobrienWed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com) 704477298Sobrien 704577298Sobrien * Makefile.in (install): use -d test for $tooldir before 704677298Sobrien installing ld there so that $tooldir can be inherited from 704777298Sobrien top-level Makefile. 704877298Sobrien 704977298SobrienWed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com) 705077298Sobrien 705177298Sobrien * ldlang.c: Two non-substantial changes for the sake of 705277298Sobrien the old Portable C Compiler. 705377298Sobrien 705477298SobrienWed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com) 705577298Sobrien 705677298Sobrien * ldgram.y, ldlex.l: parse ABSOLUTE 705777298Sobrien * ldexp.c: add support for ABSOLUTE 705877298Sobrien 705977298SobrienWed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com) 706077298Sobrien 706177298Sobrien * Makefile.in: Added default definitions for HOSTING_CRT0, 706277298Sobrien HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. 706377298Sobrien * config/*.mh: Miscellaneous clean-up: Removed definitions 706477298Sobrien of YACC (since it is not longer used in the Makefile). 706577298Sobrien Remove HOSTING_* definitions that are subsumed by the 706677298Sobrien ones added to Makefile.in. Removed most definitions of CC. 706777298Sobrien * config/{sparc,news,hp300bsd,decstation}.mh: Removed; 706877298Sobrien These are no longer needed. 706977298Sobrien 707077298SobrienFri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com) 707177298Sobrien 707277298Sobrien * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex 707377298Sobrien rules, since these are used when building a distribution. 707477298Sobrien * Makefile.in (ldlex.c): Don't re-direct output, since that 707577298Sobrien leaves a bogus output files if it fails. 707677298Sobrien 707777298Sobrien * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. 707877298Sobrien * ldlex.c: Fix some unnecessary flex-specific-isms. 707977298Sobrien 708077298SobrienFri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com) 708177298Sobrien 708277298Sobrien * ldgram.y: move spurious semicolon 708377298Sobrien * ldexp.h: fix prototype 708477298Sobrien 708577298SobrienThu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) 708677298Sobrien 708777298Sobrien * ld.texinfo: references to linker now say "ld" not "gld". 708877298Sobrien 708977298SobrienWed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) 709077298Sobrien 709177298Sobrien changed calling convention for Q_enter_global_ref 709277298Sobrien * ldexp.c, ldlang.c, ldmain.c: reflect this 709377298Sobrien * ldver.c: bump version to 1.97.1 709477298Sobrien * ldindr.c (add_indirect): when an edict declaring an indirect 709577298Sobrien symbol is found, make sure that any ideas about the symbol being 709677298Sobrien common are changed if it now known to be defined. 709777298Sobrien * ldmain.c (linear_library): complain once if archive isn't 709877298Sobrien ranlibbed. 709977298Sobrien * ldlang.h, ldlang.c: make room for and initialize the complain 710077298Sobrien once field. 710177298Sobrien 710277298SobrienWed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com) 710377298Sobrien 710477298Sobrien * Makefile.in: use flex & bison from ../ if they exist. 710577298Sobrien 710677298SobrienTue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) 710777298Sobrien 710877298Sobrien * relax.c (build_it): don't allocate space in the output file for 710977298Sobrien stuff if -R flag applys to it. 711077298Sobrien * ldfile.c: merge in VMS filename support 711177298Sobrien * ldmain.c (main): take out ./ from library path, and close file 711277298Sobrien before unlinking. Make multiple defs of a symbol create an 711377298Sobrien unexecable file. 711477298Sobrien * ldmisc.c: fatal errosrs delete output file 711577298Sobrien 711677298SobrienTue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com) 711777298Sobrien 711877298Sobrien * ldver.c: Increase version number to 1.97, for consistency 711977298Sobrien with ../binutils. 712077298Sobrien 712177298SobrienTue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com) 712277298Sobrien 712377298Sobrien * Makefile.in: FLEX -> LEX. 712477298Sobrien 712577298Sobrien * ld.texinfo: {} -> @{@}. 712677298Sobrien 712777298SobrienMon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) 712877298Sobrien 712977298Sobrien * ld.texinfo: describe alternate, MRI-compatible linker scripts 713077298Sobrien (and associated change in -c option, now used for these scripts) 713177298Sobrien 713277298SobrienMon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) 713377298Sobrien 713477298Sobrien * ldver.c: Bumped version to 1.96 - new release, resync with the 713577298Sobrien bfd too #. 713677298Sobrien * ldexp.c, ldlang.c: now build memory shape tree in obstacks 713777298Sobrien rather than with raw malloc, makes it easier to track where memory 713877298Sobrien is going. 713977298Sobrien * ldsym.h, ldsym.c: create obstack for all global symbols too. 714077298Sobrien * ldwrite.c (ldwrite): moved malloc so only used when needed. 714177298Sobrien * sa29200-sc.sh: added support for .lit, data1 and data2 sections. 714277298Sobrien 714377298Sobrien 714477298SobrienFri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com) 714577298Sobrien 714677298Sobrien * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. 714777298Sobrien 714877298Sobrien * Makefile.in: use bootstrap for check. 714977298Sobrien 715077298SobrienFri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) 715177298Sobrien 715277298Sobrien * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and 715377298Sobrien PUBLIC. 715477298Sobrien * Makefile.in: now use flex, not lex 715577298Sobrien * ldlex.l, ldlang.c, ldctor.c: lint 715677298Sobrien 715777298SobrienWed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) 715877298Sobrien 715977298Sobrien * ldlex.l: added CMDFILENAMECHAR state so that you can lex 716077298Sobrien different sorts of filenames on the command line than in a script. 716177298Sobrien 716277298SobrienMon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com) 716377298Sobrien 716477298Sobrien * Makefile.in: rework CFLAGS so that they can be passed on the 716577298Sobrien make command line. Remove MINUS_G. Default CFLAGS to -g. 716677298Sobrien 716777298SobrienFri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) 716877298Sobrien 716977298Sobrien * relax.c: added handling for new "padding" seclet type, used to 717077298Sobrien fill out gaps between section. 717177298Sobrien * ldgram.y, ldlex.l: now -defsym on the command line is done 717277298Sobrien properly. 717377298Sobrien 717477298SobrienWed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com) 717577298Sobrien 717677298Sobrien * Makefile.in: the tooldir copy of ld goes directly in tooldir. 717777298Sobrien 717877298SobrienWed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) 717977298Sobrien 718077298Sobrien * mri.c, ldgram.y, ldlex.l: added support for minimal strange link 718177298Sobrien scripts. 718277298Sobrien 718377298SobrienThu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM) 718477298Sobrien 718577298Sobrien * Makefile.in (install): Install second copy in $(tooldir)/bin 718677298Sobrien without $(program_prefix), since that's what gcc expects. 718777298Sobrien 718877298SobrienSat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com) 718977298Sobrien 719077298Sobrien * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. 719177298Sobrien * h8300*: fix bit rot and add support for h8300xray target 719289857Sobrien * emulparams/go32.sh: target emulation for go32. 719377298Sobrien 719477298SobrienMon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com) 719577298Sobrien 719689857Sobrien * emultempl/gld960.em, scripttempl/i960.sc, 719789857Sobrien emulparamns/i960.sh. Fix i960 bit rot 719877298Sobrien 719977298SobrienFri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com) 720077298Sobrien 720177298Sobrien * Makefile.in: install man page. 720277298Sobrien 720377298SobrienFri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com) 720477298Sobrien 720577298Sobrien * config/mt-<foo> renamed to <foo>.mt 720677298Sobrien * config/mh-<foo> renamed to <foo>.mt 720777298Sobrien * configure.in changed to reflect this 720877298Sobrien * genscripts.sh now make .xbn files rather than .xN files 720977298Sobrien 721077298SobrienSat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com) 721177298Sobrien 721277298Sobrien * ldver.h: fix decl of ldversion. 721377298Sobrien 721477298SobrienFri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com) 721577298Sobrien 721677298Sobrien * Makefile.in: added check target. 721777298Sobrien 721877298SobrienFri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) 721977298Sobrien 722077298Sobrien * ldmain.c (Q_enter_file_symbols): now aliases work again 722177298Sobrien 722277298SobrienThu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com) 722377298Sobrien 722477298Sobrien * Makefile.in: added clean-info target. 722577298Sobrien 722677298SobrienThu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) 722777298Sobrien 722877298Sobrien * ldexp.c (exp_print_tree): don't try and follow null pointers 722977298Sobrien around. 723077298Sobrien * ldgram.y: remove 11 shift reduce errors 723177298Sobrien 723277298SobrienTue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com) 723377298Sobrien 723477298Sobrien * Makefile.in: added tooldir and program_prefix. 723577298Sobrien 723677298SobrienFri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) 723777298Sobrien 723877298Sobrien * ldlang.c (size_input_section): don't move absolute sections 723977298Sobrien around! 724077298Sobrien 724177298Sobrien 724277298SobrienThu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) 724377298Sobrien 724477298Sobrien * cplus-dem.c: yet another copy of this - maybe it should go into 724577298Sobrien libiberty ? 724677298Sobrien * ldgram.y: now -V and -v have different actions 724777298Sobrien * ldver.c: if -V, prints list of emulations compiled in 724877298Sobrien * ldmisc.c: support for cplus demangling 724977298Sobrien 725077298Sobrien 725177298SobrienWed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) 725277298Sobrien 725377298Sobrien * Makefile.in, configure.in: removed traces of namesubdir, 725477298Sobrien -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced 725577298Sobrien copyrights to '92, changed some from Cygnus to FSF. 725677298Sobrien 725777298SobrienThu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) 725877298Sobrien 725977298Sobrien * Makefile.in: Change mkscript rule into one for ./mkscript 726077298Sobrien (for the sake of makes that don't realize they're the same). 726177298Sobrien * PORTING: Add more details. 726277298Sobrien * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. 726377298Sobrien 726477298SobrienMon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) 726577298Sobrien 726677298Sobrien * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, 726777298Sobrien config/mt-hp300bsd: New port to hp300 running BSD. 726877298Sobrien 726977298SobrienSat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) 727077298Sobrien 727177298Sobrien Major rewrite of how ld is configured. The major idea 727277298Sobrien is to use shell scripts to generate everything. 727377298Sobrien * generic.em replaces ldtemplate. 727477298Sobrien * Other *.em files replace various *.c files. 727577298Sobrien A *.em file is a shell script that generates the corresponding 727677298Sobrien ld__*.c file that implements an emulation. This is usually 727777298Sobrien a straight 'cat' of a here-document, possibly with substitutions. 727877298Sobrien * Script files (*.sc) are places by *.sc-sh scripts. 727977298Sobrien Again, these are simple shell scripts that 'cat' 728077298Sobrien here-documents, usually with some substitutions. 728177298Sobrien The output a *.sc-sh is a script file. 728277298Sobrien * Each emulation is defined by a short shell script with 728377298Sobrien extension *.sh that specifies the emulation-specific 728477298Sobrien parameters (such as the name of the *.sh-sc and *.em 728577298Sobrien files to use). 728677298Sobrien * genscript.sh is the master shell script used to generate 728777298Sobrien an emulation. It is passed various argument, including 728877298Sobrien the name a the emulation-speciic *.sh file that it 728977298Sobrien "sources" to set variables to emulation-specifc parameters. 729077298Sobrien * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME 729177298Sobrien to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) 729277298Sobrien * config/mh-foo: Rename LDEMULATION names as appropriate 729377298Sobrien (usually 'gldfoo' -> plain 'foo'). 729477298Sobrien * ldwrite.c: Fixed a typo in a comment. 729577298Sobrien * Makefile.in: Major changes. Removed some the sed 729677298Sobrien magic to converts scripts, since that is now handled 729777298Sobrien by genscripts.sh and the *.sc-sh scipt generators. 729877298Sobrien * config.h: Remove a bunch of macros defining emulations 729977298Sobrien and targets. This becomes one less file to edit when 730077298Sobrien adding emulations or targets. 730177298Sobrien * ldemul.h (struct ld_emulation_xfer_struct): Add 730277298Sobrien emulation_name and target_name fields. 730377298Sobrien * ldemul.c, ldemul.h: Define some default functions used 730477298Sobrien by most emulations (and remove from the *.em scripts). 730577298Sobrien * ldemul.c (ldemul_choose_target): Search the new 730677298Sobrien ld_emulations array using a loop (instead of a hardwired 730777298Sobrien nested if statement). 730877298Sobrien Define the ld_emulation from the automatically-geenrated 730977298Sobrien ldemul-list.h. This means you no longer have to edit ldemul.c 731077298Sobrien to add a new emulation. 731177298Sobrien * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by 731277298Sobrien their expansions, since the former no longer exist. 731377298Sobrien * PORTING: A very rough first draft of a porting guide. 731477298Sobrien 731577298Sobrien * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment 731677298Sobrien to be terminated by a new-line (instead of requiring a semicolon). 731777298Sobrien 731877298SobrienMon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) 731977298Sobrien 732077298Sobrien * ldexp.c, ldlang.c: added new idea "abs_output_section", removes 732177298Sobrien tests for NULL pointers all over the place. 732277298Sobrien * ldlang.c (lang_process): remember to relocate global symbols 732377298Sobrien *after* relaxing has done it stuff. 732477298Sobrien 732577298SobrienThu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) 732677298Sobrien 732777298Sobrien * config/mt-coff-h8300: use EMUL like everything else 732877298Sobrien * ldlang.c: (print_padding_statement): print the right address. 732977298Sobrien * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms 733077298Sobrien 733177298Sobrien 733277298SobrienTue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) 733377298Sobrien 733477298Sobrien * ldlex.l: Put pack -noinhibit-exec and -sort-common 733577298Sobrien * ldlang.c (print_data_statement): print the right address. 733677298Sobrien 733777298SobrienThu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) 733877298Sobrien 733977298Sobrien * Makefile.in: The rule for testing ld by re-linking itself 734077298Sobrien via an intermediate -r link was moved to the ld1 rule 734177298Sobrien instead of the ld2 rule. This allows ld2 and ld3 to be identical, 734277298Sobrien which allows the bootstrap rule to work. 734377298Sobrien * ldctor.c (find_constructors): Don't create a constructor 734477298Sobrien list if it is already defined (as would happen if ld is 734577298Sobrien invoked by collect). 734677298Sobrien 734777298SobrienWed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) 734877298Sobrien 734977298Sobrien * config/mh-sparc.h: now uses libgcc.a 735077298Sobrien * ldmain.c: quit using exit 735177298Sobrien * *sc: use *(COMMON) rather than [COMMON] 735277298Sobrien * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, 735377298Sobrien to allow preprocessing of .l file. 735477298Sobrien * Makefile.in: New ldlex.l mangling 735577298Sobrien * ldexp.c (fold_binary): perform expressions with % and / in 735677298Sobrien integer. 735777298Sobrien * ldfile.c (open_a): open archives on VMS in a special way 735877298Sobrien 735977298Sobrien 736077298SobrienTue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) 736177298Sobrien 736277298Sobrien * ldgram.y: map -M behave in the same way as -Map (sets file name 736377298Sobrien to be "-". 736477298Sobrien * ldsym.c, ldlang.c: remember that size of a section is dependent on 736577298Sobrien whether or not relaxing has been done. 736677298Sobrien * ldmain.c: don't open a map file if it doesn't have a name 736777298Sobrien * relax.c: all the brains have moved into bfd. 736877298Sobrien * ldwrite.c: ammend comment 736977298Sobrien 737077298SobrienFri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) 737177298Sobrien 737277298Sobrien * Makefile.in: added relax, also made three stage go through a 737377298Sobrien partial link stage. 737477298Sobrien * relax.c : added 737577298Sobrien * config.h: if GNU960 defined, then default emulation mode is 737677298Sobrien GLD960 737777298Sobrien * ldexp.h, ldexp.c: map to file hooks 737877298Sobrien * ldlang.c: map to file hooks 737977298Sobrien * ldgram.y: added -Map -relax 738077298Sobrien * ldlex.l: added -relax, -Map 738177298Sobrien * ldmain.c: open map file 738277298Sobrien * ldmisc.c: support for map file 738377298Sobrien * ldwrite.c: new relax magic 738477298Sobrien 738577298SobrienThu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) 738677298Sobrien 738777298Sobrien * Makefile.in, config/tm-*.h: Clean up make output, only 738877298Sobrien pass DEFAULT_EMULATION to ldmain.c. 738977298Sobrien 739077298SobrienWed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) 739177298Sobrien 739277298Sobrien * ldver.c: Bump to version 1.94. 739377298Sobrien 739477298SobrienTue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) 739577298Sobrien 739677298Sobrien * Makefile.in: infodir belongs in datadir. 739777298Sobrien 739877298SobrienMon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) 739977298Sobrien 740077298Sobrien * Makefile.in: Pass -y to bison. (Again; 740177298Sobrien accidentally deleted by Rich.) 740289857Sobrien * scripttempl/news.sc, scripttempl/ldgld68k.sc: Define __end as 740389857Sobrien well as _end. 740477298Sobrien 740577298SobrienSat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) 740677298Sobrien 740777298Sobrien * ldindr.h: added to contain prototypes of ldindr.c 740877298Sobrien * ldfile.c: include ctype.h 740977298Sobrien * ldmain.c: include the requried prototype headers 741077298Sobrien * ldwrite.c: get_reloc_upper_bound has been renamed 741177298Sobrien bfd_get_reloc_upper_bound 741277298Sobrien 741377298SobrienFri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) 741477298Sobrien 741577298Sobrien * Makefile.in: punt "fundamental" mode because it breaks my emacs 741677298Sobrien macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove 741777298Sobrien spaces following hyphens, bsd make can't cope. added 741877298Sobrien standards.text support and made it look like all the other 741977298Sobrien makefiles. 742077298Sobrien 742177298Sobrien * configure.in: configure now runs entirely in objdir so make file 742277298Sobrien existence checks against ${srcdir}. Mark this directory as 742377298Sobrien target dependent. 742477298Sobrien 742577298SobrienThu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) 742677298Sobrien 742777298Sobrien * Makefile.in: idestdir and ddestdir go away. Added copyrights 742877298Sobrien and shift gpl to v2. Added ChangeLog if it didn't exist. docdir 742977298Sobrien and mandir now keyed off datadir by default. 743077298Sobrien 743177298SobrienWed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) 743277298Sobrien 743377298Sobrien * ldver.c: Bumped version to 1.93. 743477298Sobrien * Makefile.in: Pass -y to bison. 743577298Sobrien 743677298SobrienMon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) 743777298Sobrien 743877298Sobrien * config.h: h8 is now coff, not ieee 743977298Sobrien * h8300hds.sc: reflect the same 744077298Sobrien 744177298SobrienThu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) 744277298Sobrien 744377298Sobrien * ldver.c (ldversion()): Update to 1.92. 744477298Sobrien * ldctor.c: There are two places constructor sets 744577298Sobrien can be defined. One of them checked for an existing 744677298Sobrien duplicate, the other didn't. Unfortunately, the latter 744777298Sobrien was called after the former ... 744877298Sobrien So, factor out code for inserting a new element into 744977298Sobrien constructor_name_list (after checking for a duplicate) 745077298Sobrien into a new function add_constructor_name, and call 745177298Sobrien it from both aforementioned places (ldlang_add_constructor 745277298Sobrien and ldlang_check_for_constructors). 745377298Sobrien 745477298SobrienWed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) 745577298Sobrien 745677298Sobrien * Makefile.in: Rename .c files generated from ldtemplate 745777298Sobrien to have names starting with ld__. This helps 'make clean'. 745877298Sobrien 745977298SobrienTue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) 746077298Sobrien 746177298Sobrien * Makefile.in: Take out the version number for install 746289857Sobrien * scripttempl/m88kbcs.sc: put in contructor blocks. 746377298Sobrien 746477298SobrienMon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) 746577298Sobrien 746677298Sobrien * ldmisc.c, ldmisc.h: Re-write info() to take a filename 746777298Sobrien parameter, a format, and an arg pointer, and rename it to 746877298Sobrien vfinfo(). Write info() in terms of new vfinfo(). 746977298Sobrien New einfo() is the same as info(), except it writes to stderr. 747077298Sobrien * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, 747177298Sobrien ldmisc.c: Replace "error" calls to info() by new einfo(). 747277298Sobrien 747377298SobrienMon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) 747477298Sobrien 747577298Sobrien * ldlex.l ldgram.y: made -V option do same as -v 747677298Sobrien * Makefile.in: Added $(MINUS_G) flag so debugging can be 747777298Sobrien turned off 747877298Sobrien 747977298SobrienSun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) 748077298Sobrien i386 aout changes from Bob Kukura 748177298Sobrien * Makefile.in, config.h: added i386aout support 748277298Sobrien * configure.in: fixed /h-{myhost} typo 748377298Sobrien * ldgram.y: -MM now gives more boring map. 748477298Sobrien * ldlang.c: now does D_PAGED flag the right way. 748577298Sobrien * ldsym.c: -MM flags does the right thing. 748677298Sobrien 748777298SobrienSun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) 748877298Sobrien 748977298Sobrien * configure.in: Fixed typo. Also, a fix for hp300bsd. 749077298Sobrien * ldlang.c (init_os): Compensate for BFD change, 749177298Sobrien where bfd_make_section now returns NULL for a duplicate 749277298Sobrien section request, instead of the old section. 749377298Sobrien 749477298SobrienThu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) 749577298Sobrien 749677298Sobrien * ldver.c: Bump to version 1.91 (consistent with binutils). 749777298Sobrien 749877298SobrienWed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) 749977298Sobrien 750077298Sobrien * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, 750177298Sobrien ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, 750277298Sobrien ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, 750377298Sobrien ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: 750477298Sobrien Add or update copyright notices. 750577298Sobrien 750677298SobrienMon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) 750777298Sobrien 750877298Sobrien * README: New file. 750977298Sobrien * Makefile.in: Changed installation directory name scheme 751077298Sobrien to be consistent with gcc. Also changed 'install'. 751177298Sobrien 751277298SobrienMon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) 751377298Sobrien 751477298Sobrien * Makefile.in: new targets ld.mm, ld.me 751577298Sobrien 751677298SobrienMon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) 751777298Sobrien 751877298Sobrien * Makefile.in, ldtemplate: Need to use separate scripts 751977298Sobrien for -n and -N options. Yet more complication. 752077298Sobrien 752177298SobrienFri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) 752277298Sobrien 752377298Sobrien * Makefile.in: Avoid using $< in explicit Make rules (it doesn't 752477298Sobrien work). Add some lines to avoid Sun Make VPATH bugs. 752577298Sobrien 752677298SobrienFri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) 752777298Sobrien 752889857Sobrien * scripttempl/news.sc: Add alignment for data segment. 752977298Sobrien * ldtemplate: Add (yet another) script to get for -n or -N 753077298Sobrien options. (These need different alignment than ZMAGIC files.) 753177298Sobrien * Makefile.in: Add stuff for new foo.xn scripts. 753277298Sobrien These are generated by replacing "ALIGN(0x...00)" by ".". 753377298Sobrien 753477298SobrienFri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) 753577298Sobrien 753677298Sobrien * Makefile.in: new targets ld.ms, ld-index.ms 753777298Sobrien ld.texinfo: remove tabs, other cleanups for texi2roff 753877298Sobrien 753977298SobrienFri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) 754077298Sobrien 754177298Sobrien * ldmain.c (main): Make config.magic_demand_paged be true 754277298Sobrien by default. Don't set the WP_TEXT and D_PAGED flags of 754377298Sobrien output_bfd here; it's too late, so set it when output_bfd 754477298Sobrien is created (in ldlang.c). Also fix setting of EXEC_P flag 754577298Sobrien * ldlang.c (ldlang_open_output): Set output_bfd->flags here. 754677298Sobrien * ldlang.c: Remove some duplicate extern declarations. 754777298Sobrien * ldgram.y: Fixes to -N and -n options. 754877298Sobrien * Makefile.in: Recognize upper case letters in sed script 754977298Sobrien to remove assignments from script files. 755077298Sobrien * ldtemplate: Don't assukme that -N or -n options 755177298Sobrien imply use of -r script. 755277298Sobrien * mkscript.c: Tweaking to correctly handle \n and \\ in input. 755377298Sobrien 755477298SobrienFri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) 755577298Sobrien 755677298Sobrien * ldtemplate: include bfd.h before sysdep.h. 755777298Sobrien 755877298SobrienFri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) 755977298Sobrien 756077298Sobrien Restructure configuration scheme for bfd, binutils, ld. 756177298Sobrien 756277298Sobrien * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. 756377298Sobrien Change some config names to match other dirs. 756477298Sobrien * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() 756577298Sobrien get defined first. 756677298Sobrien * config/: Rename some config files to match up h-*.h names. 756777298Sobrien Remove all the HOST_SYS definitions from the config files. 756877298Sobrien 756977298SobrienTue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) 757077298Sobrien 757177298Sobrien * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. 757277298Sobrien * ldtemplate: Remove ldfile_add_library_path calls; 757377298Sobrien just use the SEARCH_DIR commands in the script files. 757477298Sobrien * Makefile.in: Add LIB_PATH macro, which if set is used to replace 757577298Sobrien the SEARCH_DIR commands in the scripts (using ugly sed magic). 757677298Sobrien This is primarily intended for cross-linking, where you would 7577130561Sobrien place libraries in a different place than native libraries. 757877298Sobrien Also, emulations made from ldtemplate now use $(srcdir). 757989857Sobrien * scripttempl/ldglda29k.sc: Change SEARCH_DIR commands to a 758089857Sobrien conventional form; people can use the Makefile's LIB_PATH to 758189857Sobrien override. 758277298Sobrien 758377298SobrienTue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) 758477298Sobrien 758577298Sobrien * Makefile.in: fix target ld.dvi, add target ld.info 758677298Sobrien ld.texinfo: make info filename ld.info 758777298Sobrien 758877298SobrienFri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) 758977298Sobrien 759077298Sobrien * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun 759177298Sobrien Make). 759277298Sobrien * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a 759377298Sobrien few BFD types & enums. 759477298Sobrien 759577298Sobrien 759677298SobrienLocal Variables: 759777298Sobrienmode: change-log 759877298Sobrienleft-margin: 8 759977298Sobrienfill-column: 74 760077298Sobrienversion-control: never 760177298SobrienEnd: 7602