15f210c2aSfgschSun Dec 21 12:51:49 1997 Ian Lance Taylor <ian@cygnus.com> 25f210c2aSfgsch 35f210c2aSfgsch * ldexp.c (fold_name): Don't crash if the symbol is defined in a 45f210c2aSfgsch section with no output section, such as a shared library section. 55f210c2aSfgsch 65f210c2aSfgschWed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com> 75f210c2aSfgsch 85f210c2aSfgsch * lexsup.c (parse_args): Keep track of where we are in the option 95f210c2aSfgsch parsing before calling ldemul_parse_args, so that we don't call it 105f210c2aSfgsch multiple times on the same argument and confuse the getopt 115f210c2aSfgsch internals. 125f210c2aSfgsch 135f210c2aSfgschThu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com> 145f210c2aSfgsch 155f210c2aSfgsch * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and 165f210c2aSfgsch d30velf_o to d30v_o to work in DOS environments. 175f210c2aSfgsch * Makefile.{am,in}: Ditto. 185f210c2aSfgsch 19d2201f2fSdrahn * emulparams/d30v_{o,e}.sh: Rename from d30velf_{o,e}. 20d2201f2fSdrahn * emulparams/d30velf_{o,e}.sh: Deleted. 215f210c2aSfgsch 225f210c2aSfgschWed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com> 235f210c2aSfgsch 245f210c2aSfgsch * scripttempl/armcoff.sc: Add glue sections (code taken from Arm 255f210c2aSfgsch branch). 265f210c2aSfgsch 275f210c2aSfgsch * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. 285f210c2aSfgsch 295f210c2aSfgsch * emultempl/armcoff.em: New file, imported from Arm branch. 305f210c2aSfgsch 315f210c2aSfgschWed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com> 325f210c2aSfgsch 335f210c2aSfgsch * scripttempl/elfd30v.sc: Add .rel and .rela sections for all 345f210c2aSfgsch defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and 355f210c2aSfgsch external memory sections for rodata. Delete .string, .rodata1, 365f210c2aSfgsch and .data1 sections. 375f210c2aSfgsch 385f210c2aSfgschTue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com> 395f210c2aSfgsch 405f210c2aSfgsch * Makefile.am: Add Oct 23 changes to Makefile.in here. 415f210c2aSfgsch 425f210c2aSfgsch * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. 435f210c2aSfgsch 445f210c2aSfgsch * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. 455f210c2aSfgsch 465f210c2aSfgsch * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. 475f210c2aSfgsch (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in 485f210c2aSfgsch external memory. 495f210c2aSfgsch (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in 505f210c2aSfgsch onchip memory. 515f210c2aSfgsch 525f210c2aSfgsch * emulparams/d30velf.sh (STACK_START_ADDR): Top of default 535f210c2aSfgsch stack. 545f210c2aSfgsch ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. 555f210c2aSfgsch ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and 565f210c2aSfgsch .bss should go in. 575f210c2aSfgsch 585f210c2aSfgsch * emulparams/d30velf_{e,o}.sh: New files to be explicit whether 595f210c2aSfgsch .text, .data, etc go in external memory or onchip memory. 605f210c2aSfgsch 615f210c2aSfgsch * configure.tgt (d30v-*-*ext*): New configuration to default 625f210c2aSfgsch .text, .data, etc. in external memory. 635f210c2aSfgsch (d30v-*-*onchip*): New configuration to default .text, .data, 645f210c2aSfgsch etc. in onchip memory. 655f210c2aSfgsch (d30v-*-*): Add d30velf_{e,o} emulations. 665f210c2aSfgsch 675f210c2aSfgsch * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in 685f210c2aSfgsch either the onchip text/data areas or the external memory area. 695f210c2aSfgsch (MEMORY): Get sizes from d30velf.sh. 705f210c2aSfgsch (.e{data,text,bss}): Put sections in the external memory region. 715f210c2aSfgsch (.stext): Put section in the onchip text region. 725f210c2aSfgsch (.s{data,bss}): Put sections in the onchip data region. 735f210c2aSfgsch (__stack): Assign from ${STACK_START_ADDR}. 745f210c2aSfgsch (.text): Put in ${TEXT_MEMORY} memory region. 755f210c2aSfgsch (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory 765f210c2aSfgsch region. 775f210c2aSfgsch (.bss): Put in ${BSS_MEMORY} memory region. 785f210c2aSfgsch 795f210c2aSfgschTue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com> 805f210c2aSfgsch 815f210c2aSfgsch * configure.tgt (targ_extra_emuls): Add support for Thumb target. 825f210c2aSfgsch 835f210c2aSfgschSat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com> 845f210c2aSfgsch 855f210c2aSfgsch * ldlex.l: Don't define hex_mode. Correct number regexp to not 865f210c2aSfgsch accept hex digits without a leading $ or 0x. Handle leading $ 875f210c2aSfgsch correctly. Pass 0 rather than hex_mode to bfd_scan_vma. 885f210c2aSfgsch * ldlex.h (hex_mode): Don't declare. 895f210c2aSfgsch 905f210c2aSfgschSun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com> 915f210c2aSfgsch 925f210c2aSfgsch * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start 935f210c2aSfgsch of internal data area and external memory on chip. 945f210c2aSfgsch 955f210c2aSfgsch * scripttempl/elfd30v.sc: Define a MEMORY region that describes 965f210c2aSfgsch the 3 regions of memory on the chip. Put .text/.init/.fini into 975f210c2aSfgsch the text memory region, put other segments into the data memory 985f210c2aSfgsch region. Add more of the standard elf sections. Default __stack 995f210c2aSfgsch to be 0x20008000, which is 1 byte beyond end of the internal data 1005f210c2aSfgsch region. 1015f210c2aSfgsch 1025f210c2aSfgschThu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> 1035f210c2aSfgsch 1045f210c2aSfgsch * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd 1055f210c2aSfgsch variant. 1065f210c2aSfgsch 1075f210c2aSfgschSun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 1085f210c2aSfgsch 1095f210c2aSfgsch * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set 1105f210c2aSfgsch HOSTING_LIBS. 1115f210c2aSfgsch 1125f210c2aSfgschThu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com> 1135f210c2aSfgsch 1145f210c2aSfgsch * ld.h (args_type): Add warn_mismatch field. 1155f210c2aSfgsch * ldmain.c (main): Initialize warn_mismatch field. 1165f210c2aSfgsch * lexsup.c (parse_args): Handle --no-warn-mismatch option. 1175f210c2aSfgsch * ldlang.c (ignore_bfd_error): New static function. 1185f210c2aSfgsch (lang_check): If warn_mismatch is false, don't warn about 1195f210c2aSfgsch mismatched input files. 1205f210c2aSfgsch * ld.texinfo, ld.1: Document new option. 1215f210c2aSfgsch 1225f210c2aSfgschThu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com> 1235f210c2aSfgsch 1245f210c2aSfgsch * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' 1255f210c2aSfgsch to avoid conflicts with C code which is defining a variable called 1265f210c2aSfgsch 'stack'. 1275f210c2aSfgsch 1285f210c2aSfgschThu Oct 23 00:57:45 1997 Richard Henderson <rth@dot.cygnus.com> 1295f210c2aSfgsch 1305f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ... 1315f210c2aSfgsch (ALL_64_EMULATIONS): ... here. 1325f210c2aSfgsch (eelf64_sparc.c): Template should be elf32 not generic. 1335f210c2aSfgsch * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition. 1345f210c2aSfgsch 1355f210c2aSfgschThu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com> 1365f210c2aSfgsch 1375f210c2aSfgsch * configure.tgt: Add sparc64-*-linux*. 1385f210c2aSfgsch * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New. 1395f210c2aSfgsch 1405f210c2aSfgschWed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com> 1415f210c2aSfgsch 1425f210c2aSfgsch * scripttempl/pe.sc: Put .eh_frame in .rdata. 1435f210c2aSfgsch 1445f210c2aSfgschFri Oct 17 00:00:13 1997 Richard Henderson <rth@cygnus.com> 1455f210c2aSfgsch 1465f210c2aSfgsch * ldlang.c (lang_register_vers_node): Only check globals<=>locals, 1475f210c2aSfgsch since we need to be able to export different versions of the same 1485f210c2aSfgsch symbol. 1495f210c2aSfgsch 1505f210c2aSfgschWed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com> 1515f210c2aSfgsch 1525f210c2aSfgsch * scripttempl/pe.sc: Put .stab and .stabstr sections at end. 1535f210c2aSfgsch 1545f210c2aSfgschWed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com> 1555f210c2aSfgsch 1565f210c2aSfgsch * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; 1575f210c2aSfgsch config.guess now recognizes alphaev5 etc. 1585f210c2aSfgsch 1595f210c2aSfgschFri Oct 3 14:23:02 1997 Ian Lance Taylor <ian@cygnus.com> 1605f210c2aSfgsch 1615f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat 1625f210c2aSfgsch -s and -u as -static and -unix. 1635f210c2aSfgsch 1645f210c2aSfgschThu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com> 1655f210c2aSfgsch 1665f210c2aSfgsch * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we 1675f210c2aSfgsch are not adding the first input section, and SEC_READONLY is clear 1685f210c2aSfgsch on the output section, then don't copy it from the input section. 1695f210c2aSfgsch If SEC_READONLY is not set on the input section, then clear it on 1705f210c2aSfgsch the output section. 1715f210c2aSfgsch 1725f210c2aSfgsch * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than 1735f210c2aSfgsch elf32bmip. 1745f210c2aSfgsch (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip 1755f210c2aSfgsch to elf32bsmip. 1765f210c2aSfgsch (mips*-*-linux*): Likewise. 1775f210c2aSfgsch * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but 1785f210c2aSfgsch setting ENTRY to __start. 1795f210c2aSfgsch * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but 1805f210c2aSfgsch setting ENTRY to __start. 1815f210c2aSfgsch * scripttempl/elf.sc: Always set ENTRY to _start if it was not 1825f210c2aSfgsch already set. 1835f210c2aSfgsch 1845f210c2aSfgschWed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com> 1855f210c2aSfgsch 1865f210c2aSfgsch * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New 1875f210c2aSfgsch Variables. 1885f210c2aSfgsch 1895f210c2aSfgsch * scripttempl/v850.sc: Move read only areas out of zero and small 1905f210c2aSfgsch data sections and into their own sections. 1915f210c2aSfgsch 1925f210c2aSfgschWed Sep 24 16:59:15 1997 Joel Sherrill <joel@oarcorp.com> 1935f210c2aSfgsch 1945f210c2aSfgsch * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*. 1955f210c2aSfgsch 1965f210c2aSfgschWed Sep 24 11:33:14 1997 Ian Lance Taylor <ian@cygnus.com> 1975f210c2aSfgsch 1985f210c2aSfgsch * ld.texinfo (Section Options): Improve documentation of NOLOAD 1995f210c2aSfgsch directive. 2005f210c2aSfgsch 2015f210c2aSfgsch * aclocal.m4: Rebuild with new libtool. 2025f210c2aSfgsch * configure: Rebuild. 2035f210c2aSfgsch 2045f210c2aSfgschMon Sep 22 17:24:06 1997 Ian Lance Taylor <ian@cygnus.com> 2055f210c2aSfgsch 2065f210c2aSfgsch * ldlang.c (wild_doit): Revert patch of September 3. 2075f210c2aSfgsch 2085f210c2aSfgschWed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com> 2095f210c2aSfgsch 2105f210c2aSfgsch * Makefile.am, Makefile.in: Add rule for ev850.c 2115f210c2aSfgsch * configure.tgt (targ_extra_emuls): Add v850 target. 2125f210c2aSfgsch 2135f210c2aSfgschWed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com> 2145f210c2aSfgsch 2155f210c2aSfgsch * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. 2165f210c2aSfgsch * scripttempl/v850.sc: Add call table data area 2175f210c2aSfgsch 2185f210c2aSfgschMon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com> 2195f210c2aSfgsch 2205f210c2aSfgsch Merge change from Martin Hunt: 2215f210c2aSfgsch 2225f210c2aSfgsch * scripttempl/elfd30v.sc: Put .rodata in the .text section. 2235f210c2aSfgsch 2245f210c2aSfgschTue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com> 2255f210c2aSfgsch 2265f210c2aSfgsch * ldlang.c (lang_memory_region_lookup): Remove extraneous 2275f210c2aSfgsch initialization of p. 2285f210c2aSfgsch 2295f210c2aSfgschThu Sep 4 09:03:33 1997 Ian Lance Taylor <ian@cygnus.com> 2305f210c2aSfgsch 2315f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In 2325f210c2aSfgsch expression produced for -bpT and -bpD options, align to a 32 byte 2335f210c2aSfgsch boundary rather than an 8 byte boundary. 2345f210c2aSfgsch * scripttempl/aix.sc: Put .tocbss at start of .bss section. 2355f210c2aSfgsch 2365f210c2aSfgsch * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid 2375f210c2aSfgsch function name conflict with AIX 4.2 unistd.h header file. 2385f210c2aSfgsch 2395f210c2aSfgschWed Sep 3 15:12:32 1997 Ian Lance Taylor <ian@cygnus.com> 2405f210c2aSfgsch 2415f210c2aSfgsch * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a 2425f210c2aSfgsch noload_section. 2435f210c2aSfgsch 2445f210c2aSfgschFri Aug 29 00:32:31 1997 Ian Lance Taylor <ian@cygnus.com> 2455f210c2aSfgsch 2465f210c2aSfgsch * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. 2475f210c2aSfgsch * Makefile.in: Rebuild. 2485f210c2aSfgsch 2495f210c2aSfgschThu Aug 28 10:12:10 1997 Doug Evans <dje@canuck.cygnus.com> 2505f210c2aSfgsch 2515f210c2aSfgsch * configure.tgt (arc-*-elf*): Recognize. 2525f210c2aSfgsch * Makefile.am (ALL_EMULATIONS): Add earcelf.o. 2535f210c2aSfgsch * Makefile.in: Regenerate. 2545f210c2aSfgsch * emulparams/arcelf.sh: New file. 2555f210c2aSfgsch 2565f210c2aSfgschWed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com> 2575f210c2aSfgsch 2585f210c2aSfgsch * ldlang.c (wildcardp): Don't let a backslash by itself cause a 2595f210c2aSfgsch pattern to be treated as a wildcard pattern. 2605f210c2aSfgsch 2615f210c2aSfgsch * ldgram.y (atype): Accept parentheses with no type. 2625f210c2aSfgsch 2635f210c2aSfgsch * ld.texinfo (Section Definition): Clarify use of whitespace. 2645f210c2aSfgsch (Section Placement): Likewise. 2655f210c2aSfgsch 2665f210c2aSfgschMon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> 2675f210c2aSfgsch 2685f210c2aSfgsch * configure.tgt (targ_extra_emuls): Add support for v850e target. 2695f210c2aSfgsch 2705f210c2aSfgschMon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> 2715f210c2aSfgsch 2725f210c2aSfgsch * configure.tgt (targ_extra_emuls): Add support for v850e target. 2735f210c2aSfgsch 2745f210c2aSfgschSat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com> 2755f210c2aSfgsch 2765f210c2aSfgsch * Makefile.am (ld.info): Change dependency from 2775f210c2aSfgsch $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi. 2785f210c2aSfgsch (ld.dvi): Likewise. 2795f210c2aSfgsch (bfdsumm.texi): New target. 2805f210c2aSfgsch (CLEANFILES): Add bfdsumm.texi. 2815f210c2aSfgsch * Makefile.in: Rebuild. 2825f210c2aSfgsch 2835f210c2aSfgsch * Makefile.am: New file, based on old Makefile.in. 2845f210c2aSfgsch * acinclude.m4: New file, from old aclocal.m4. 2855f210c2aSfgsch * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove 2865f210c2aSfgsch shared library handling; now handled by libtool. Replace 2875f210c2aSfgsch AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, 2885f210c2aSfgsch AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, 2895f210c2aSfgsch AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. 2905f210c2aSfgsch * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR. 2915f210c2aSfgsch * acconfig.h: Mention PACKAGE and VERSION. 2925f210c2aSfgsch * stamp-h.in: New file. 2935f210c2aSfgsch * ldver.c (ld_program_version): Set ld_program_version from 2945f210c2aSfgsch VERSION. 2955f210c2aSfgsch * ldgram.y, ldlex.l: Replace VERSION with VERSIONK. 2965f210c2aSfgsch * Makefile.in: Now built with automake. 2975f210c2aSfgsch * aclocal.m4: Now built with aclocal. 2985f210c2aSfgsch * configure, config.in: Rebuild. 2995f210c2aSfgsch 3005f210c2aSfgschMon Jul 28 19:04:50 1997 Rob Savoye <rob@chinadoll.cygnus.com> 3015f210c2aSfgsch 3025f210c2aSfgsch * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for 3035f210c2aSfgsch win32 dependencies. 3045f210c2aSfgsch * configure: Regenerated with autoconf 2.12. 3055f210c2aSfgsch * Makefile.in: Add $(EXEEXT) to executable. 3065f210c2aSfgsch 3075f210c2aSfgschTue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> 3085f210c2aSfgsch 3095f210c2aSfgsch * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32". 3105f210c2aSfgsch (SEGMENT_SIZE): Set to 0x200. 3115f210c2aSfgsch * scripttempl/i386go32.sc: Rewrite. 3125f210c2aSfgsch * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. 3135f210c2aSfgsch 3145f210c2aSfgschMon Jul 7 12:39:42 1997 Ian Lance Taylor <ian@cygnus.com> 3155f210c2aSfgsch 3165f210c2aSfgsch From Manfred Hollstein <manfred@s-direktnet.de>: 3175f210c2aSfgsch * configure.host (i[3456]86-*-linux*libc1*): Renamed from 3185f210c2aSfgsch i[3456]86-*-linux*. 3195f210c2aSfgsch (i[3456]86-*-linux*): New host. 3205f210c2aSfgsch 3215f210c2aSfgschThu Jun 26 13:54:03 1997 Ian Lance Taylor <ian@cygnus.com> 3225f210c2aSfgsch 3235f210c2aSfgsch * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc 3245f210c2aSfgsch sections in the output .rsrc section. 3255f210c2aSfgsch 3265f210c2aSfgschWed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 3275f210c2aSfgsch 3285f210c2aSfgsch * configure.host (m68*-*-linux*libc1*): Renamed from 3295f210c2aSfgsch `m68*-*-linux*'. 3305f210c2aSfgsch (m68*-*-linux*): New configuration for use with GNU libc 2. 3315f210c2aSfgsch 3325f210c2aSfgschMon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au> 3335f210c2aSfgsch 3345f210c2aSfgsch * scripttempl/elfppc.sc: Correct .rela.sdata entries. 3355f210c2aSfgsch 3365f210c2aSfgsch * scripttempl/elfppc.sc: Put the PLT between the small and large 3375f210c2aSfgsch BSS segments. 3385f210c2aSfgsch * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A 3395f210c2aSfgsch program base of 0x02000000 is recommended...' because otherwise 3405f210c2aSfgsch shared libraries are less efficient. We use 0x01800000 because 3415f210c2aSfgsch otherwise it's impossible to branch to location 0, for instance if 3425f210c2aSfgsch you have an undefined weak symbol. 3435f210c2aSfgsch 3445f210c2aSfgschMon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 3455f210c2aSfgsch 3465f210c2aSfgsch * ldlang.c (lang_place_undefineds): Add \n in einfo call. 3475f210c2aSfgsch (lang_size_sections): Likewise. 3485f210c2aSfgsch * ldlex.l: Likewise. 3495f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. 3505f210c2aSfgsch * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open): 3515f210c2aSfgsch Likewise. 3525f210c2aSfgsch (check_sections): Likewise. 3535f210c2aSfgsch (gld${EMULATION_NAME}_after_allocation): Likewise. 3545f210c2aSfgsch * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation): 3555f210c2aSfgsch Likewise. 3565f210c2aSfgsch * mpw-eppcmac.c (gldppcmacos_read_file): Likewise. 3575f210c2aSfgsch * mpw-idtmips.c (gldmipsidt_after_open): Likewise. 3585f210c2aSfgsch (check_sections): Likewise. 3595f210c2aSfgsch (gldmipsidt_after_allocation): Likewise. 3605f210c2aSfgsch 3615f210c2aSfgsch * ldemul.c (ldemul_choose_mode): Remove unused einfo argument. 3625f210c2aSfgsch 3635f210c2aSfgschFri Jun 6 23:47:42 1997 Ian Lance Taylor <ian@cygnus.com> 3645f210c2aSfgsch 3655f210c2aSfgsch * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of 3665f210c2aSfgsch the import list. 3675f210c2aSfgsch 3685f210c2aSfgschThu May 29 13:13:22 1997 Ian Lance Taylor <ian@cygnus.com> 3695f210c2aSfgsch 3705f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't 3715f210c2aSfgsch crash if an output section has no BFD section. 3725f210c2aSfgsch 3735f210c2aSfgschFri May 23 15:23:25 1997 Fred Fish <fnf@cygnus.com> 3745f210c2aSfgsch 3755f210c2aSfgsch * lexsup.c (ld_options): Add entry for the new "task-link" option. 3765f210c2aSfgsch (parse_args): Handle the "task-link" option. 3775f210c2aSfgsch (OPTION_TASK_LINK): Add define. 3785f210c2aSfgsch 3795f210c2aSfgschWed May 21 17:44:15 1997 Ian Lance Taylor <ian@cygnus.com> 3805f210c2aSfgsch 3815f210c2aSfgsch * ldmain.c (main): Correct check of fclose return value when 3825f210c2aSfgsch handling --force-exe-suffix. 3835f210c2aSfgsch 3845f210c2aSfgschThu May 15 11:35:29 1997 Nick Clifton <nickc@cygnus.com> 3855f210c2aSfgsch 3865f210c2aSfgsch * ldlang.c (lang_check): Add test of the return value from the 3875f210c2aSfgsch call to bfd_merge_private_bfd_data(). 3885f210c2aSfgsch 3895f210c2aSfgschMon May 12 23:22:58 1997 Ian Lance Taylor <ian@cygnus.com> 3905f210c2aSfgsch 3915f210c2aSfgsch * scripttempl/elfmips.sc: Remove. 3925f210c2aSfgsch * scripttempl/elf.sc: Set ENTRY based on target. Permit 3935f210c2aSfgsch TEXT_DYNAMIC to control .dynamic segment. Permit 3945f210c2aSfgsch SHLIB_TEXT_START_ADDR to set start of shared object. Support 3955f210c2aSfgsch INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put 3965f210c2aSfgsch .gnu.linkonce.t* in .text when relocating. Support 3975f210c2aSfgsch OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as 3985f210c2aSfgsch DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. 3995f210c2aSfgsch * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. 4005f210c2aSfgsch (DATA_ADDR): Don't set. 4015f210c2aSfgsch (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. 4025f210c2aSfgsch (OTHER_TEXT_SECTIONS): Set. 4035f210c2aSfgsch (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. 4045f210c2aSfgsch (MACHINE): Set to empty string. 4055f210c2aSfgsch * emulparams/elf32l4300.sh: Likewise. 4065f210c2aSfgsch * emulparams/elf32ebmip.sh: Likewise. 4075f210c2aSfgsch * emulparams/elf32elmip.sh: Likewise. 4085f210c2aSfgsch * emulparams/elf32bmip.sh: Likewise. Also: 4095f210c2aSfgsch (TEXT_DYNAMIC): Set. 4105f210c2aSfgsch * emulparams/elf32lmips.sh: Likewise. 4115f210c2aSfgsch * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than 4125f210c2aSfgsch elfmips.sc. 4135f210c2aSfgsch (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise. 4145f210c2aSfgsch 4155f210c2aSfgschMon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 4165f210c2aSfgsch 4175f210c2aSfgsch * scripttempl/elf.sc: Don't align the data segment on the next 8 4185f210c2aSfgsch byte boundary, instead let the linker use whatever the individual 4195f210c2aSfgsch sections require. 4205f210c2aSfgsch 4215f210c2aSfgschFri May 9 17:45:46 1997 Ian Lance Taylor <ian@cygnus.com> 4225f210c2aSfgsch 4235f210c2aSfgsch * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. 4245f210c2aSfgsch 4255f210c2aSfgschTue May 6 13:21:19 1997 Ian Lance Taylor <ian@cygnus.com> 4265f210c2aSfgsch 4275f210c2aSfgsch From Sean McNeil <sean@mcneil.com>: 4285f210c2aSfgsch * emultempl/pe.em (sort_by_file_name): Sort by archive name 4295f210c2aSfgsch first. 4305f210c2aSfgsch (sort_sections): Sort all sections, not just sections in the same 4315f210c2aSfgsch archive. 4325f210c2aSfgsch 4335f210c2aSfgschMon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk> 4345f210c2aSfgsch 4355f210c2aSfgsch * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' 4365f210c2aSfgsch targets. 4375f210c2aSfgsch 4385f210c2aSfgschFri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com> 4395f210c2aSfgsch 4405f210c2aSfgsch * scripttempl/tic80coff.sc (.text): Add a leading underscore to 4415f210c2aSfgsch __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items 4425f210c2aSfgsch in the .text section. Move .const, .ctors, .dtors into separate 4435f210c2aSfgsch sections. 4445f210c2aSfgsch 4455f210c2aSfgschWed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de> 4465f210c2aSfgsch 4475f210c2aSfgsch * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace 4485f210c2aSfgsch around assignment of current location pointer. 4495f210c2aSfgsch 4505f210c2aSfgschThu Apr 17 13:07:18 1997 Ian Lance Taylor <ian@cygnus.com> 4515f210c2aSfgsch 4525f210c2aSfgsch * ldctor.c (ldctor_build_sets): Make sure the set is aligned 4535f210c2aSfgsch appropriately. 4545f210c2aSfgsch 4555f210c2aSfgschTue Apr 15 13:19:26 1997 Ian Lance Taylor <ian@cygnus.com> 4565f210c2aSfgsch 4575f210c2aSfgsch * Makefile.in (INSTALL): Set to @INSTALL@. 4585f210c2aSfgsch (INSTALL_XFORM, INSTALL_XFORM1): Remove. 4595f210c2aSfgsch (install): Depend upon ld.new and installdirs. Use 4605f210c2aSfgsch $(program_transform_name) directly, rather than using 4615f210c2aSfgsch $(INSTALL_XFORM) and $(INSTALL_XFORM1). 4625f210c2aSfgsch (installdirs): New target. 4635f210c2aSfgsch (install-info): Run mkinstalldirs. 4645f210c2aSfgsch 4655f210c2aSfgschMon Apr 14 12:06:15 1997 Ian Lance Taylor <ian@cygnus.com> 4665f210c2aSfgsch 4675f210c2aSfgsch * Makefile.in (INSTALL): Change install.sh to install-sh. 4685f210c2aSfgsch 4695f210c2aSfgsch From Thomas Graichen <graichen@rzpd.de>: 4705f210c2aSfgsch * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. 4715f210c2aSfgsch * configure: Rebuild. 4725f210c2aSfgsch 4735f210c2aSfgschFri Apr 4 11:42:41 1997 Ian Lance Taylor <ian@cygnus.com> 4745f210c2aSfgsch 4755f210c2aSfgsch * emultempl/pe.em: Include "libiberty.h". 4765f210c2aSfgsch (sort_sections_1): Use xmalloc rather than alloca. 4775f210c2aSfgsch 4785f210c2aSfgsch * ldlex.l: Recognize SQUAD. 4795f210c2aSfgsch * ldgram.y (length): Add SQUAD. 4805f210c2aSfgsch * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte 4815f210c2aSfgsch reloc. 4825f210c2aSfgsch * ldlang.c (print_data_statement): Handle SQUAD. 4835f210c2aSfgsch (lang_size_sections, lang_do_assignments): Likewise. 4845f210c2aSfgsch * ldexp.c (exp_print_token): Add SQUAD to table. 4855f210c2aSfgsch * ldwrite.c (build_link_order): Handle SQUAD. 4865f210c2aSfgsch * ld.texinfo (Section Data Expressions): Document SQUAD. 4875f210c2aSfgsch 4885f210c2aSfgschThu Apr 3 13:19:40 1997 Ian Lance Taylor <ian@cygnus.com> 4895f210c2aSfgsch 4905f210c2aSfgsch * ldver.c (ld_program_version): Set to 2.8.1. 4915f210c2aSfgsch 4925f210c2aSfgsch * Branched binutils 2.8. 4935f210c2aSfgsch 4945f210c2aSfgschWed Apr 2 11:55:27 1997 Ian Lance Taylor <ian@cygnus.com> 4955f210c2aSfgsch 4965f210c2aSfgsch * mpw-idtmips.c: Rename from mpw-emipsidt.c. 4975f210c2aSfgsch * mpw-elfmips.c: Rename from mpw-emipself.c. 4985f210c2aSfgsch * mpw-config.in: Update accordingly. 4995f210c2aSfgsch 5005f210c2aSfgsch * ldlang.c (lang_process): Call lang_check immediately after 5015f210c2aSfgsch opening the input files, rather than at the end of the link. 5025f210c2aSfgsch 5035f210c2aSfgschMon Mar 31 23:44:00 1997 Ian Lance Taylor <ian@cygnus.com> 5045f210c2aSfgsch 5055f210c2aSfgsch * emultempl/pe.em (init): Fully bracket initializer. 5065f210c2aSfgsch (set_pe_stack_heap): Remove locals begin_commit and end. 5075f210c2aSfgsch (gld_${EMULATION_NAME}_after_open): Remove unused local i. 5085f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr. 5095f210c2aSfgsch 5105f210c2aSfgschMon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com> 5115f210c2aSfgsch 5125f210c2aSfgsch * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*. 5135f210c2aSfgsch 5145f210c2aSfgschFri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 5155f210c2aSfgsch 5165f210c2aSfgsch Contributed by David S. Miller <davem@caip.rutgers.edu>: 5175f210c2aSfgsch * configure.tgt (sparc*-*-linuxaout*): New target. 5185f210c2aSfgsch (sparc*-*-linux*): New target. 5195f210c2aSfgsch * emulparams/sparclinux.sh: New file. 5205f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. 5215f210c2aSfgsch (esparclinux.c): New target. 5225f210c2aSfgsch 5235f210c2aSfgschFri Mar 28 14:30:12 1997 Ian Lance Taylor <ian@cygnus.com> 5245f210c2aSfgsch 5255f210c2aSfgsch From Ralf Baechle <ralf@gnu.ai.mit.edu>: 5265f210c2aSfgsch * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and 5275f210c2aSfgsch mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and 5285f210c2aSfgsch elf32elmip. 5295f210c2aSfgsch 5305f210c2aSfgschThu Mar 27 17:14:32 1997 Ian Lance Taylor <ian@cygnus.com> 5315f210c2aSfgsch 5325f210c2aSfgsch * lexsup.c (parse_args): Update copyright date in version 5335f210c2aSfgsch message. 5345f210c2aSfgsch 5355f210c2aSfgschFri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 5365f210c2aSfgsch 5375f210c2aSfgsch * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv". 5385f210c2aSfgsch 5395f210c2aSfgschTue Mar 18 11:16:23 1997 Ian Lance Taylor <ian@cygnus.com> 5405f210c2aSfgsch 5415f210c2aSfgsch * Makefile.in: Rebuild dependencies. 5425f210c2aSfgsch 5435f210c2aSfgsch * emultempl/aix.em: Include "obstack.h". 5445f210c2aSfgsch 5455f210c2aSfgschMon Mar 17 19:26:06 1997 Ian Lance Taylor <ian@cygnus.com> 5465f210c2aSfgsch 5475f210c2aSfgsch * ldlang.c: Include "obstack.h". 5485f210c2aSfgsch 5495f210c2aSfgschSat Mar 15 23:23:46 1997 Fred Fish <fnf@cygnus.com> 5505f210c2aSfgsch 5515f210c2aSfgsch * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. 5525f210c2aSfgsch 5535f210c2aSfgschSat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org> 5545f210c2aSfgsch 5555f210c2aSfgsch * ldemul.h (ldemul_list_emulations): Use full prototype. 5565f210c2aSfgsch * ldlang.c (print_one_symbol): Add declaration. 5575f210c2aSfgsch * ldlang.h (dprint_statements): Declare. 5585f210c2aSfgsch * ldmain.c (remove_output): Declare. 5595f210c2aSfgsch * ldmisc.c (vfinfo): Declare. 5605f210c2aSfgsch * ldwrite.c (clone_section): Declare. 5615f210c2aSfgsch (split_sections): Make static. Declare. 5625f210c2aSfgsch * mri.c: Include libiberty.h. 5635f210c2aSfgsch (strdup): Don't declare. 5645f210c2aSfgsch (mri_alias): Use xstrdup rather than strdup. 5655f210c2aSfgsch 5665f210c2aSfgschFri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com> 5675f210c2aSfgsch 5685f210c2aSfgsch * scripttempl/elfmips.sc: Change handling of data area when 5695f210c2aSfgsch generating a shared library to not skip a large block of memory. 5705f210c2aSfgsch From Per Fogelstrom <pefo@cvs.openbsd.org>. 5715f210c2aSfgsch 5725f210c2aSfgschWed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com> 5735f210c2aSfgsch 5745f210c2aSfgsch * ldmain.c (multiple_definition): Only skip the warning if the 5755f210c2aSfgsch output section is absolute when the input section is not 5765f210c2aSfgsch absolute. 5775f210c2aSfgsch 5785f210c2aSfgsch * ldlex.l: Accept whitespace in VERS_START state. Warn about 5795f210c2aSfgsch invalid characters in VERS_* states. 5805f210c2aSfgsch 5815f210c2aSfgschTue Mar 11 13:51:31 1997 Ian Lance Taylor <ian@cygnus.com> 5825f210c2aSfgsch 5835f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a 5845f210c2aSfgsch trailing space lead us to think that there is a zero address. 5855f210c2aSfgsch 5865f210c2aSfgschSun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com> 5875f210c2aSfgsch 5885f210c2aSfgsch * ldgram.y (vers_node): Correct typo of '(' for '{'. 5895f210c2aSfgsch 5905f210c2aSfgschFri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com> 5915f210c2aSfgsch 5925f210c2aSfgsch * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start 5935f210c2aSfgsch rather than _start. 5945f210c2aSfgsch (__edata): Define this rather than "edata". 5955f210c2aSfgsch (__end): Define this rather than "end". 5965f210c2aSfgsch 5975f210c2aSfgschTue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com> 5985f210c2aSfgsch 5995f210c2aSfgsch * configure.tgt (tic80-*-*): Allow dropping of -coff. 6005f210c2aSfgsch 6015f210c2aSfgschSun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com> 6025f210c2aSfgsch 6035f210c2aSfgsch * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well 6045f210c2aSfgsch as TEXINPUTS. Needed for building in separate build dir. 6055f210c2aSfgsch * ldint.texinfo (SCRIPT_NAME): Fix typo. 6065f210c2aSfgsch * emulparams/tic80coff.sh: Rewrite to include internal documentation 6075f210c2aSfgsch about each shell variable that is set (or not set). 6085f210c2aSfgsch * scripttempl/tic80coff.sc: Complete rewrite. 6095f210c2aSfgsch 6105f210c2aSfgschFri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com> 6115f210c2aSfgsch 6125f210c2aSfgsch * ldmain.c (main): Call bfd_set_default_target. 6135f210c2aSfgsch * Makefile.in (ldmain.o): Define TARGET when compiling. 6145f210c2aSfgsch 6155f210c2aSfgschThu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com> 6165f210c2aSfgsch 6175f210c2aSfgsch * ldmain.c (main): Don't initialize link_info.lprefix or 6185f210c2aSfgsch link_info.lprefix_len. 6195f210c2aSfgsch * emultempl/hppaelf.em (hppaelf_before_parse): Likewise. 6205f210c2aSfgsch 6215f210c2aSfgsch * emultempl/m88kbcs.em: Remove. 6225f210c2aSfgsch * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. 6235f210c2aSfgsch * Makefile.in (em88kbcs.c): Depend upon generic.em rather than 6245f210c2aSfgsch m88kbcs.em. 6255f210c2aSfgsch 6265f210c2aSfgsch * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD, 6275f210c2aSfgsch to lang_enter_output_section_statement. From Mark Rasin 6285f210c2aSfgsch <mark.rasin@telrad.co.il>. 6295f210c2aSfgsch 6305f210c2aSfgschWed Feb 26 11:51:44 1997 Ian Lance Taylor <ian@cygnus.com> 6315f210c2aSfgsch 6325f210c2aSfgsch * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common 6335f210c2aSfgsch section. 6345f210c2aSfgsch 6355f210c2aSfgschTue Feb 25 20:38:11 1997 Stan Shebs <shebs@andros.cygnus.com> 6365f210c2aSfgsch 6375f210c2aSfgsch * configure.tgt (mips*-*-lnews*): New target. 6385f210c2aSfgsch * Makefile.in (emipslnews.c): New target. 6395f210c2aSfgsch * emulparams/mipslnews.sh: New file. 6405f210c2aSfgsch 6415f210c2aSfgschTue Feb 25 16:04:09 1997 Ian Lance Taylor <ian@cygnus.com> 6425f210c2aSfgsch 6435f210c2aSfgsch * emultempl/elf32.em (hold_interp): New static variable. 6445f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections 6455f210c2aSfgsch after hold_interp. Choose a unique output section name. 6465f210c2aSfgsch (gld${EMULATION_NAME}_place_section): Don't set hold_use if the 6475f210c2aSfgsch SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp. 6485f210c2aSfgsch 6495f210c2aSfgschMon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com> 6505f210c2aSfgsch 6515f210c2aSfgsch From Eric Youngdale <eric@andante.jic.com>: 6525f210c2aSfgsch * ldlex.l (V_TAG, V_IDENTIFIER): New macros. 6535f210c2aSfgsch (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version 6545f210c2aSfgsch information. 6555f210c2aSfgsch (ldlex_version_script, ldlex_version_file): New functions. 6565f210c2aSfgsch * ldlex.h (enum input_enum): Add input_version_script. 6575f210c2aSfgsch (ldlex_version_script): Declare. 6585f210c2aSfgsch (ldlex_version_file): Declare. 6595f210c2aSfgsch * ldgram.y (%union): Add deflist, versyms, and versnode. 6605f210c2aSfgsch (VERS_TAG, VERS_IDENTIFIER): New terminals. 6615f210c2aSfgsch (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. 6625f210c2aSfgsch (file): Accept INPUT_VERSION_SCRIPT. 6635f210c2aSfgsch (ifile_p1): Accept version. 6645f210c2aSfgsch (version_script_file): New nonterminal. 6655f210c2aSfgsch (version, vers_nodes, vers_node): Likewise. 6665f210c2aSfgsch (verdep, vers_tag, ver_defns): Likewise. 6675f210c2aSfgsch * ldlang.c (lang_elf_version_info): New global variable. 6685f210c2aSfgsch (lang_new_vers_regex): New function. 6695f210c2aSfgsch (lang_new_vers_node): New function. 6705f210c2aSfgsch (version_index): New static variable. 6715f210c2aSfgsch (lang_register_vers_node): New function. 6725f210c2aSfgsch (lang_add_vers_depend): New function. 6735f210c2aSfgsch * ldlang.h (lang_elf_version_info): Declare. 6745f210c2aSfgsch (lang_new_vers_regex, lang_new_vers_node): Declare. 6755f210c2aSfgsch (lang_add_vers_depend, lang_register_vers_node): Declare. 6765f210c2aSfgsch * lexsup.c (OPTION_VERSION_SCRIPT): Define. 6775f210c2aSfgsch (ld_options): Add "version-script". 6785f210c2aSfgsch (parse_args): Handle OPTION_VERSION_SCRIPT. 6795f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 6805f210c2aSfgsch Pass lang_elf_version_info to size_dynamic_sections. 6815f210c2aSfgsch * scripttempl/elf.sc: Add .gnu.version sections. 6825f210c2aSfgsch * ld.texinfo: Document symbol versioning. 6835f210c2aSfgsch 6845f210c2aSfgschFri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> 6855f210c2aSfgsch 6865f210c2aSfgsch * Makefile.in (ed30velf.c): New target. 6875f210c2aSfgsch * configure.tgt (d30v-*-*): New target. 6885f210c2aSfgsch * emulparams/d30velf.sh: New file. 6895f210c2aSfgsch * scripttempl/elfd30v.sc: New file. 6905f210c2aSfgsch 6915f210c2aSfgschFri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com> 6925f210c2aSfgsch 6935f210c2aSfgsch * ld.texinfo (Option Commands): Document the INCLUDE command. 6945f210c2aSfgsch 6955f210c2aSfgschThu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 6965f210c2aSfgsch 6975f210c2aSfgsch * configure.in: Call BFD_NEED_DECLARATION on getenv. 6985f210c2aSfgsch * acconfig.h (NEED_DECLARATION_GETENV): New macro. 6995f210c2aSfgsch * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. 7005f210c2aSfgsch * ldemul.c (ld_emul_default_target): Do not cast getenv return 7015f210c2aSfgsch value. 7025f210c2aSfgsch * ldmain.c (get_emulation): Likewise. 7035f210c2aSfgsch * configure, config.in: Rebuild. 7045f210c2aSfgsch 7055f210c2aSfgschTue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com> 7065f210c2aSfgsch 7075f210c2aSfgsch * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and 7085f210c2aSfgsch .mips16.call.* in .text. 7095f210c2aSfgsch 7105f210c2aSfgschSun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com> 7115f210c2aSfgsch 7125f210c2aSfgsch * emulparams/tic80coff.sh: New (dummy) file for TIc80. 7135f210c2aSfgsch * scripttempl/tic80coff.sc: New (dummy) file for TIc80. 7145f210c2aSfgsch * Makefile.in (etic80coff.c): Add target and rule to build it. 7155f210c2aSfgsch * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. 7165f210c2aSfgsch 7175f210c2aSfgschFri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com> 7185f210c2aSfgsch 7195f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for 7205f210c2aSfgsch ".so" in the name, not ".so.". 7215f210c2aSfgsch (gld${EMULATION_NAME}_search_dir): Accept a plain .so file. 7225f210c2aSfgsch 7235f210c2aSfgsch * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra 7245f210c2aSfgsch <alan@spri.levels.unisa.edu.au>. 7255f210c2aSfgsch 7265f210c2aSfgschThu Jan 30 11:31:52 1997 Ian Lance Taylor <ian@cygnus.com> 7275f210c2aSfgsch 7285f210c2aSfgsch * emultempl/sunos.em: Include <ctype.h>. 7295f210c2aSfgsch (gld${EMULATION_NAME}_find_so): Skip the directory name when 7305f210c2aSfgsch searching for ".so.". 7315f210c2aSfgsch (gld${EMULATION_NAME}_search_dir): Make sure that the library name 7325f210c2aSfgsch has a version number, and that only version numbers follow .so. 7335f210c2aSfgsch 7345f210c2aSfgschWed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com> 7355f210c2aSfgsch 7365f210c2aSfgsch * scripttempl/pe.sc: 7375f210c2aSfgsch * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text 7385f210c2aSfgsch section so Win32 executables are valid. 7395f210c2aSfgsch 7405f210c2aSfgschMon Jan 27 12:28:43 1997 Ian Lance Taylor <ian@cygnus.com> 7415f210c2aSfgsch 7425f210c2aSfgsch * scripttempl/elf.sc: Put linkonce reloc section in other 7435f210c2aSfgsch appropriate reloc sections. 7445f210c2aSfgsch * scripttempl/elfmips.sc: Add linkonce support. 7455f210c2aSfgsch * scripttempl/elfppc.sc: Likewise. 7465f210c2aSfgsch 7475f210c2aSfgschFri Jan 24 10:44:09 1997 Jeffrey A Law (law@cygnus.com) 7485f210c2aSfgsch 7495f210c2aSfgsch * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the 7505f210c2aSfgsch stack up to 0x80000. 7515f210c2aSfgsch * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. 7525f210c2aSfgsch 7535f210c2aSfgschTue Jan 21 12:11:10 1997 Doug Evans <dje@seba.cygnus.com> 7545f210c2aSfgsch 7555f210c2aSfgsch * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE 7565f210c2aSfgsch to define `_stack'. 7575f210c2aSfgsch 7585f210c2aSfgschThu Jan 16 17:07:52 1997 Ian Lance Taylor <ian@cygnus.com> 7595f210c2aSfgsch 7605f210c2aSfgsch * ld.h (args_type): Rename auxiliary_filter_shlib to 7615f210c2aSfgsch auxiliary_filters, and make it char **. 7625f210c2aSfgsch * lexsup.c (parse_args): Handle -f by setting up an array. 7635f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use 7645f210c2aSfgsch new name of auxiliary_filters. 7655f210c2aSfgsch 7665f210c2aSfgsch * ld.texinfo (Options): Improve documentation of --filter and 7675f210c2aSfgsch --auxiliary. 7685f210c2aSfgsch 7695f210c2aSfgschTue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com> 7705f210c2aSfgsch 7715f210c2aSfgsch * ld.texinfo (Options): Clarify that the normal usage is -T. 7725f210c2aSfgsch (Commands): Likewise. 7735f210c2aSfgsch 7745f210c2aSfgschThu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> 7755f210c2aSfgsch 7765f210c2aSfgsch * scripttempl/armcoff.sc: Correct mask used for .data address. 7775f210c2aSfgsch 7785f210c2aSfgschWed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com> 7795f210c2aSfgsch 7805f210c2aSfgsch * emultempl/pe.em: make default executable a.exe instead of 7815f210c2aSfgsch a.out 7825f210c2aSfgsch 7835f210c2aSfgschFri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu> 7845f210c2aSfgsch 7855f210c2aSfgsch * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by 7865f210c2aSfgsch shifting .plt back. Rumour has it that the NetBSD ld.so depends 7875f210c2aSfgsch on .dynamic being after .got, so we leave that. 7885f210c2aSfgsch 7895f210c2aSfgschFri Jan 3 14:04:40 1997 Ian Lance Taylor <ian@cygnus.com> 7905f210c2aSfgsch 7915f210c2aSfgsch * Makefile.in (clean): Don't remove configdoc.texi. 7925f210c2aSfgsch (maintainer-clean): Do remove configdoc.texi. 7935f210c2aSfgsch 7945f210c2aSfgsch * ld.texinfo (Operators): Remove '@' from @smallexmple in comment 7955f210c2aSfgsch to avoid confusing texi2roff. 7965f210c2aSfgsch 7975f210c2aSfgschFri Jan 3 11:27:02 1997 Michael Meissner <meissner@tiktok.cygnus.com> 7985f210c2aSfgsch 7995f210c2aSfgsch * scripttempl/v850.sc (.zdata): Add .zcommon section. 8005f210c2aSfgsch (.tdata): Add .tcommon and .tcommon_byte sections. 8015f210c2aSfgsch 8025f210c2aSfgschThu Jan 2 18:14:32 1997 Ian Lance Taylor <ian@cygnus.com> 8035f210c2aSfgsch 8045f210c2aSfgsch * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets. 8055f210c2aSfgsch * scripttempl/elfmips.sc: Use __start as the entry address for 8065f210c2aSfgsch mips*-*-linux*. 8075f210c2aSfgsch 8085f210c2aSfgschTue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com> 8095f210c2aSfgsch 8105f210c2aSfgsch * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. 8115f210c2aSfgsch 8125f210c2aSfgsch * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib 8135f210c2aSfgsch fields. 8145f210c2aSfgsch * lexsup.c (parse_args): Recognize --auxiliary/-f and 8155f210c2aSfgsch --filter/-F. 8165f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 8175f210c2aSfgsch Pass filter_shlib and auxiliary_filter_shlib to 8185f210c2aSfgsch size_dynamic_sections. 8195f210c2aSfgsch * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f. 8205f210c2aSfgsch 8215f210c2aSfgschMon Dec 30 13:55:57 1996 Michael Meissner <meissner@tiktok.cygnus.com> 8225f210c2aSfgsch 8235f210c2aSfgsch * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections. 8245f210c2aSfgsch 8255f210c2aSfgschWed Dec 18 22:57:35 1996 Stan Shebs <shebs@andros.cygnus.com> 8265f210c2aSfgsch 8275f210c2aSfgsch * mpw-make.sed: Use NewFolderRecursive for installation. 8285f210c2aSfgsch 8295f210c2aSfgschFri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> 8305f210c2aSfgsch 8315f210c2aSfgsch * scripttempl/v850.sc: Make sure __{e,g}p start relative to the 8325f210c2aSfgsch {s,t}data sections. Do not emit any linker generated symbols if 8335f210c2aSfgsch -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize 8345f210c2aSfgsch where the different sections go. Change some whitespace. 8355f210c2aSfgsch 8365f210c2aSfgsch * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define 8375f210c2aSfgsch appropriately. Remove crud not used anymore. 8385f210c2aSfgsch 8395f210c2aSfgschFri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com) 8405f210c2aSfgsch 8415f210c2aSfgsch * Makefile.in (emn10200.c): Add dependencies. 8425f210c2aSfgsch * configure.tgt: Handle mn10200. 8435f210c2aSfgsch * emulparms/mn10200.sh: New file. 8445f210c2aSfgsch 8455f210c2aSfgschThu Dec 12 17:04:55 1996 Ian Lance Taylor <ian@cygnus.com> 8465f210c2aSfgsch 8475f210c2aSfgsch * emultempl/gld960c.em: Include <ctype.h>. 8485f210c2aSfgsch (gld960_set_output_arch): Get the machine type from the -A option 8495f210c2aSfgsch if there is one, rather than always using core. 8505f210c2aSfgsch 8515f210c2aSfgschSat Dec 7 10:07:51 1996 Jeffrey A Law (law@cygnus.com) 8525f210c2aSfgsch 8535f210c2aSfgsch * emulparms/mn10300.sh: Handle leading underscores. 8545f210c2aSfgsch 8555f210c2aSfgschThu Dec 5 13:45:58 1996 Ian Lance Taylor <ian@cygnus.com> 8565f210c2aSfgsch 8575f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only 8585f210c2aSfgsch set hold_rel if SEC_ALLOC is set. 8595f210c2aSfgsch 8605f210c2aSfgschTue Dec 3 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> 8615f210c2aSfgsch 8625f210c2aSfgsch * ldlang.c (section_already_linked): Set the output_offset as well 8635f210c2aSfgsch as the output_section when only reading symbols from a file. 8645f210c2aSfgsch 8655f210c2aSfgschMon Dec 2 11:43:50 1996 Ian Lance Taylor <ian@cygnus.com> 8665f210c2aSfgsch 8675f210c2aSfgsch * emulparams/*.sh: Make sure that each set of parameters which 8685f210c2aSfgsch uses the elf.sc script sets MACHINE. 8695f210c2aSfgsch 8705f210c2aSfgschWed Nov 27 03:22:05 1996 Jason Merrill <jason@yorick.cygnus.com> 8715f210c2aSfgsch 8725f210c2aSfgsch * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections. 8735f210c2aSfgsch * scripttempl/elfd10v.sc: Likewise. 8745f210c2aSfgsch * scripttempl/v850.sc: Likewise. 8755f210c2aSfgsch 8765f210c2aSfgschTue Nov 26 16:58:33 1996 Ian Lance Taylor <ian@cygnus.com> 8775f210c2aSfgsch 8785f210c2aSfgsch * configure: Rebuild with autoconf 2.12. 8795f210c2aSfgsch 8805f210c2aSfgschMon Nov 25 12:17:55 1996 Jim Wilson <wilson@cygnus.com> 8815f210c2aSfgsch 8825f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case 8835f210c2aSfgsch for bfd_vma to init loop. 8845f210c2aSfgsch 8855f210c2aSfgschMon Nov 25 09:55:07 1996 Jeffrey A Law (law@cygnus.com) 8865f210c2aSfgsch 8875f210c2aSfgsch * emulparms/mn10300.sh: Remove bogus '_' prefix for 8885f210c2aSfgsch entry symbol and ctor/dtor stuff. 8895f210c2aSfgsch 8905f210c2aSfgschFri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com) 8915f210c2aSfgsch 8925f210c2aSfgsch * Makefile.in (emn10300.c): Add dependencies. 8935f210c2aSfgsch * configure.tgt: Handle mn10300. 8945f210c2aSfgsch * emulparms/mn10300.sh: New file. 8955f210c2aSfgsch 8965f210c2aSfgschTue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 8975f210c2aSfgsch 8985f210c2aSfgsch * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. 8995f210c2aSfgsch (EMBEDDED): Define. 9005f210c2aSfgsch 9015f210c2aSfgschFri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com> 9025f210c2aSfgsch 9035f210c2aSfgsch * ld.texinfo: Add section on reporting bugs. 9045f210c2aSfgsch 9055f210c2aSfgsch * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__ 9065f210c2aSfgsch symbols are correctly aligned. 9075f210c2aSfgsch 9085f210c2aSfgschThu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com) 9095f210c2aSfgsch 910d2201f2fSdrahn * scripttempl/v850.sc (zdata): Handle reszdata, romzdata and 9115f210c2aSfgsch romzbss too. 9125f210c2aSfgsch 9135f210c2aSfgschTue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 9145f210c2aSfgsch 9155f210c2aSfgsch * emulparams/d10velf.sh: Changes needed for D10V-EVA board. 9165f210c2aSfgsch Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to 9175f210c2aSfgsch 0x2000000. 9185f210c2aSfgsch 9195f210c2aSfgsch * scripttempl/elfd10v.sc: Fix calculation of .text. Change 9205f210c2aSfgsch .stack to start at 0x2007ffe. 9215f210c2aSfgsch 9225f210c2aSfgschMon Oct 28 15:37:00 1996 Doug Evans <dje@canuck.cygnus.com> 9235f210c2aSfgsch 9245f210c2aSfgsch * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. 9255f210c2aSfgsch 9265f210c2aSfgschWed Oct 23 16:17:22 1996 Jeffrey A Law (law@cygnus.com) 9275f210c2aSfgsch 928d2201f2fSdrahn * scripttempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata". 9295f210c2aSfgsch 930d2201f2fSdrahn * scripttempl/v850.sc (zdata): Make sure this stays 9315f210c2aSfgsch in lo-memory. 9325f210c2aSfgsch 9335f210c2aSfgschTue Oct 22 11:36:47 1996 Jeffrey A Law (law@cygnus.com) 9345f210c2aSfgsch 9355f210c2aSfgsch * scripttempl/v850.sc (__ep): Put it at the start 9365f210c2aSfgsch of the tda section. 9375f210c2aSfgsch 938d2201f2fSdrahn * scripttempl/v850.sc: Move all "normal" sections into 9395f210c2aSfgsch the external memory region (0x100000 - 0x200000). 9405f210c2aSfgsch 9415f210c2aSfgschMon Oct 21 17:16:59 1996 Michael Meissner <meissner@wogglebug.tiac.net> 9425f210c2aSfgsch 9435f210c2aSfgsch * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to 9445f210c2aSfgsch 0x10000, so that is more room for data. 9455f210c2aSfgsch 9465f210c2aSfgsch * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000. 9475f210c2aSfgsch (READONLY_START_ADDR): Now 0x0. 9485f210c2aSfgsch (SCRIPT_NAME): Now elfd10v. 9495f210c2aSfgsch 9505f210c2aSfgsch * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc. 9515f210c2aSfgsch 9525f210c2aSfgschFri Oct 18 22:12:49 1996 Doug Evans <dje@canuck.cygnus.com> 9535f210c2aSfgsch 9545f210c2aSfgsch * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. 9555f210c2aSfgsch 9565f210c2aSfgschFri Oct 18 15:43:38 1996 Ian Lance Taylor <ian@cygnus.com> 9575f210c2aSfgsch 9585f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o. 9595f210c2aSfgsch (ALL_64_EMULATIONS): New variable. 9605f210c2aSfgsch * configure.in: Accept --enable-64-bit-bfd option. If it is set 9615f210c2aSfgsch with --enable-targets=all, include ALL_64_EMULATIONS in 9625f210c2aSfgsch EMULATION_OFILES. 9635f210c2aSfgsch * configure: Rebuild. 9645f210c2aSfgsch 9655f210c2aSfgschFri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com) 9665f210c2aSfgsch 9675f210c2aSfgsch * scripttempl/v850.sc (__gp, __ep): Define. 9685f210c2aSfgsch 9695f210c2aSfgschThu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com> 9705f210c2aSfgsch 9715f210c2aSfgsch * ld.texinfo: Try to consistently use a single or a double dash 9725f210c2aSfgsch for each option. 9735f210c2aSfgsch 9745f210c2aSfgschThu Oct 17 10:17:20 1996 Doug Evans <dje@canuck.cygnus.com> 9755f210c2aSfgsch 9765f210c2aSfgsch * emulparams/m32relf.sh (EMBEDDED): Define. 9775f210c2aSfgsch 9785f210c2aSfgschThu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com) 9795f210c2aSfgsch 9805f210c2aSfgsch * scripttempl/v850.sc (.zdata): Add this before .text. 9815f210c2aSfgsch (.sdata): Also include .rosdata as part of the .sdata. 9825f210c2aSfgsch (.tdata): Include this just before .sdata. 9835f210c2aSfgsch 9845f210c2aSfgsch * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf". 9855f210c2aSfgsch * scripttempl/v850.sc: Wrap script with a "cat << EOF". 9865f210c2aSfgsch 9875f210c2aSfgschWed Oct 16 23:10:01 1996 Jeffrey A Law (law@cygnus.com) 9885f210c2aSfgsch 9895f210c2aSfgsch * scripttempl/v850.sc: New linker script for the V850. 9905f210c2aSfgsch * Makefile.in: Use it. 9915f210c2aSfgsch 9925f210c2aSfgschThu Oct 10 17:57:00 1996 Ian Lance Taylor <ian@cygnus.com> 9935f210c2aSfgsch 9945f210c2aSfgsch * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not 9955f210c2aSfgsch OTHER_READWRITE_SECTIONS. 9965f210c2aSfgsch * emulparams/elf32l4300.sh: Likewise. 9975f210c2aSfgsch 9985f210c2aSfgschWed Oct 9 14:36:18 1996 Ian Lance Taylor <ian@cygnus.com> 9995f210c2aSfgsch 10005f210c2aSfgsch * ld.h (ld_config_type): Add warn_section_align field. 10015f210c2aSfgsch * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. 10025f210c2aSfgsch (ld_options): Add --warn-section-align. 10035f210c2aSfgsch (parse_args): Handle --warn-section-align. 10045f210c2aSfgsch * ldlang.c (lang_size_sections): If warn_section_align, warn if 10055f210c2aSfgsch the start of a section changes due to alignment. 10065f210c2aSfgsch * ld.texinfo, ld.1: Document --warn-section-align. 10075f210c2aSfgsch * ld.texinfo: Change some single dashes to double dashes. 10085f210c2aSfgsch 10095f210c2aSfgsch * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each 10105f210c2aSfgsch subsystem type. Ifdef out os2 type. Recognize a version number. 10115f210c2aSfgsch 10125f210c2aSfgschTue Oct 8 12:07:13 1996 Ian Lance Taylor <ian@cygnus.com> 10135f210c2aSfgsch 10145f210c2aSfgsch * emultempl/pe.em (set_pe_subsystem): When setting the subsystem 10155f210c2aSfgsch to windows, set the entry point. 10165f210c2aSfgsch 10175f210c2aSfgsch * Makefile.in (ldlex.c): Don't pass any options to $(LEX). 10185f210c2aSfgsch 10195f210c2aSfgschMon Oct 7 17:29:05 1996 Ian Lance Taylor <ian@cygnus.com> 10205f210c2aSfgsch 10215f210c2aSfgsch * ld.texinfo (Options): Mention .so extensions for shared 10225f210c2aSfgsch libraries. 10235f210c2aSfgsch 10245f210c2aSfgschSun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com> 10255f210c2aSfgsch 10265f210c2aSfgsch * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. 10275f210c2aSfgsch 10285f210c2aSfgschFri Oct 4 18:49:31 1996 Ian Lance Taylor <ian@cygnus.com> 10295f210c2aSfgsch 10305f210c2aSfgsch * scripttempl/m68kcoff.sc: Only set the address of .text if 10315f210c2aSfgsch RELOCATING. 10325f210c2aSfgsch 10335f210c2aSfgschFri Oct 4 10:59:52 1996 Doug Evans <dje@canuck.cygnus.com> 10345f210c2aSfgsch 10355f210c2aSfgsch * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define. 10365f210c2aSfgsch * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default. 10375f210c2aSfgsch (OUTPUT_FORMAT): Support bi-endian targets. 10385f210c2aSfgsch 10395f210c2aSfgschThu Oct 3 13:52:03 1996 Ian Lance Taylor <ian@cygnus.com> 10405f210c2aSfgsch 10415f210c2aSfgsch * fnmatch.h, fnmatch.c: Remove (now in libiberty). 10425f210c2aSfgsch * Makefile.in: Rebuild dependencies. 10435f210c2aSfgsch (CFILES): Remove fnmatch.c. 10445f210c2aSfgsch (HFILES): Remove fnmatch.h. 10455f210c2aSfgsch (OFILES): Remove fnmatch.o. 10465f210c2aSfgsch 10475f210c2aSfgschThu Oct 3 15:41:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 10485f210c2aSfgsch 10495f210c2aSfgsch * Makefile.in (mostlyclean): Move config.log to distclean. 10505f210c2aSfgsch 10515f210c2aSfgschWed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com> 10525f210c2aSfgsch 1053d2201f2fSdrahn * emultempl/pe.em: increase size of stack reserve to 0x2000000 10545f210c2aSfgsch (necessary in order to compile parse.c in gcc sources under NT) 10555f210c2aSfgsch 10565f210c2aSfgschWed Oct 2 14:49:10 1996 Ian Lance Taylor <ian@cygnus.com> 10575f210c2aSfgsch 10585f210c2aSfgsch * lexsup.c (ld_options): Fix typo in --rpath-link description. 10595f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest 10605f210c2aSfgsch --rpath if a needed library is not found. 10615f210c2aSfgsch 10625f210c2aSfgschTue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com> 10635f210c2aSfgsch 10645f210c2aSfgsch * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*. 10655f210c2aSfgsch 10665f210c2aSfgschTue Oct 1 15:50:34 1996 Ian Lance Taylor <ian@cygnus.com> 10675f210c2aSfgsch 10685f210c2aSfgsch * ld.texinfo (Options): Give more detail on -l option. 10695f210c2aSfgsch 10705f210c2aSfgsch * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that 10715f210c2aSfgsch elf.sc does, so that glibc works better. 10725f210c2aSfgsch 10735f210c2aSfgsch * ldver.c (ld_program_version): New variable. 10745f210c2aSfgsch (ldversion): Use it. 10755f210c2aSfgsch * ldver.h (ld_program_version): Declare. 10765f210c2aSfgsch * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not 10775f210c2aSfgsch --version. Change --version handling to match current GNU 10785f210c2aSfgsch standards. 10795f210c2aSfgsch (help): Print bug report address. 10805f210c2aSfgsch 10815f210c2aSfgschMon Sep 30 12:14:43 1996 Doug Evans <dje@canuck.cygnus.com> 10825f210c2aSfgsch 10835f210c2aSfgsch * Makefile.in (em32relf.c): Add rule for. 10845f210c2aSfgsch * configure.tgt (m32r-*-*): Recognize. 10855f210c2aSfgsch * emulparams/m32relf.sh: New file. 10865f210c2aSfgsch 10875f210c2aSfgschThu Sep 26 13:58:47 1996 Stan Shebs <shebs@andros.cygnus.com> 10885f210c2aSfgsch 10895f210c2aSfgsch * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit. 10905f210c2aSfgsch * mpw-config.in: Add mips-*-* case as mips-elf, and use more 10915f210c2aSfgsch wildcards in matching. 10925f210c2aSfgsch * mpw-emipself.c: New file, pregenerated mips elf emulation. 10935f210c2aSfgsch 10945f210c2aSfgschTue Sep 17 12:18:21 1996 Ian Lance Taylor <ian@cygnus.com> 10955f210c2aSfgsch 10965f210c2aSfgsch * ldint.texinfo: Rewrote. 10975f210c2aSfgsch 10985f210c2aSfgsch * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. 10995f210c2aSfgsch 11005f210c2aSfgschMon Sep 16 17:55:21 1996 Ian Lance Taylor <ian@cygnus.com> 11015f210c2aSfgsch 11025f210c2aSfgsch * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix 11035f210c2aSfgsch syntax error on __end__ line. 11045f210c2aSfgsch 11055f210c2aSfgsch * scripttempl/armcoff.sc: For -N or -n, don't align .data. From 11065f210c2aSfgsch Chris Hadley <Christopher.Hadley@cl.cam.ac.uk> 11075f210c2aSfgsch 11085f210c2aSfgschSun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com) 11095f210c2aSfgsch 11105f210c2aSfgsch * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS. 11115f210c2aSfgsch 11125f210c2aSfgschSun Sep 15 10:38:16 1996 Mark Alexander <marka@cygnus.com> 11135f210c2aSfgsch 11145f210c2aSfgsch * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put 11155f210c2aSfgsch stack at top of simulator memory. 11165f210c2aSfgsch 11175f210c2aSfgschFri Sep 13 15:49:45 1996 Ian Lance Taylor <ian@cygnus.com> 11185f210c2aSfgsch 11195f210c2aSfgsch * ldlex.l (SYMBOLCHARN): Add $, _, and ~. 11205f210c2aSfgsch 11215f210c2aSfgschWed Sep 11 23:30:42 1996 Ian Lance Taylor <ian@cygnus.com> 11225f210c2aSfgsch 11235f210c2aSfgsch * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. 11245f210c2aSfgsch 11255f210c2aSfgschThu Sep 5 15:24:12 1996 Ian Lance Taylor <ian@cygnus.com> 11265f210c2aSfgsch 11275f210c2aSfgsch * ldlang.c (section_already_linked): Accept a lang_input_statement 11285f210c2aSfgsch as the PTR argument. If the file is symbols only, discard all 11295f210c2aSfgsch input sections. 11305f210c2aSfgsch (ldlang_add_file): Pass entry to bfd_map_over_sections. 11315f210c2aSfgsch 11325f210c2aSfgschWed Sep 4 15:53:43 1996 Ian Lance Taylor <ian@cygnus.com> 11335f210c2aSfgsch 11345f210c2aSfgsch * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny 11355f210c2aSfgsch <fila@ibi.com>. 11365f210c2aSfgsch 11375f210c2aSfgschTue Sep 3 00:52:54 1996 Jeffrey A Law (law@cygnus.com) 11385f210c2aSfgsch 11395f210c2aSfgsch * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS 11405f210c2aSfgsch 11415f210c2aSfgschSun Sep 1 21:48:58 1996 Jeffrey A Law (law@cygnus.com) 11425f210c2aSfgsch 11435f210c2aSfgsch * emulparms/v850.sh: Set EMBEDDED. 11445f210c2aSfgsch 11455f210c2aSfgschFri Aug 30 22:30:30 1996 Jeffrey A Law (law@cygnus.com) 11465f210c2aSfgsch 11475f210c2aSfgsch * emulparms/v850.sh: Entry symbol is "_start", tweak 11485f210c2aSfgsch ctor/dtor support. 11495f210c2aSfgsch 11505f210c2aSfgschFri Aug 30 18:32:31 1996 Ian Lance Taylor <ian@cygnus.com> 11515f210c2aSfgsch 11525f210c2aSfgsch * configure.tgt (sh-*-elf*): New target. 11535f210c2aSfgsch * emulparams/shelf.sh: New file. 11545f210c2aSfgsch * emulparams/shlelf.sh: New file. 11555f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o. 11565f210c2aSfgsch (eshelf.c, eshlelf.c): New targets. 11575f210c2aSfgsch * scripttempl/elf.sc: If EMBEDDED is defined, then don't add 11585f210c2aSfgsch SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END 11595f210c2aSfgsch around .ctors, and DTOR_START and DTOR_END around .dtors. Expand 11605f210c2aSfgsch OTHER_RELOCATING_SECTIONS if RELOCATING. 11615f210c2aSfgsch 11625f210c2aSfgschThu Aug 29 16:57:46 1996 Michael Meissner <meissner@tiktok.cygnus.com> 11635f210c2aSfgsch 11645f210c2aSfgsch * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium 11655f210c2aSfgsch pro. 11665f210c2aSfgsch 11675f210c2aSfgschMon Aug 26 12:58:11 1996 Ian Lance Taylor <ian@cygnus.com> 11685f210c2aSfgsch 11695f210c2aSfgsch * ldgram.y (section): Add opt_nocrossrefs; pass value to 11705f210c2aSfgsch lang_enter_overlay. 11715f210c2aSfgsch (opt_nocrossrefs): New nonterminal. 11725f210c2aSfgsch * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode. 11735f210c2aSfgsch * ldlang.c (overlay_nocrossrefs): New static variable. 11745f210c2aSfgsch (lang_enter_overlay): Add nocrossrefs parameter. 11755f210c2aSfgsch (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs 11765f210c2aSfgsch is set. Initialize overlay_nocrossrefs. 11775f210c2aSfgsch * ldlang.h (lang_enter_overlay): Update declaration. 11785f210c2aSfgsch * ld.texinfo (Overlays): Update documentation. 11795f210c2aSfgsch 11805f210c2aSfgsch * ldver.c (ldversion): Print GNU ld in the version message. 11815f210c2aSfgsch 11825f210c2aSfgschThu Aug 22 17:10:40 1996 Ian Lance Taylor <ian@cygnus.com> 11835f210c2aSfgsch 11845f210c2aSfgsch * configure.host: Set HLDENV. 11855f210c2aSfgsch * configure.in: Substitute HLDENV. 11865f210c2aSfgsch * configure: Rebuild. 11875f210c2aSfgsch * Makefile.in (HLDENV): New variable. 11885f210c2aSfgsch ($(LD_PROG)): Use $(HLDENV). 11895f210c2aSfgsch 11905f210c2aSfgschThu Aug 22 16:29:28 1996 Jeffrey A Law (law@cygnus.com) 11915f210c2aSfgsch 11925f210c2aSfgsch * Makefile.in (ev850.c): New target. 11935f210c2aSfgsch * configure.tgt (v850-*-*): New target. 11945f210c2aSfgsch * emulparams/v850.sh: New file. 11955f210c2aSfgsch 11965f210c2aSfgschThu Aug 22 11:16:02 1996 Stan Shebs <shebs@andros.cygnus.com> 11975f210c2aSfgsch 11985f210c2aSfgsch * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit. 11995f210c2aSfgsch 12005f210c2aSfgschWed Aug 21 11:26:37 1996 Ian Lance Taylor <ian@cygnus.com> 12015f210c2aSfgsch 12025f210c2aSfgsch * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate 12035f210c2aSfgsch containing sections. 12045f210c2aSfgsch 12055f210c2aSfgschMon Aug 19 13:01:42 1996 Ian Lance Taylor <ian@cygnus.com> 12065f210c2aSfgsch 12075f210c2aSfgsch * fnmatch.c: Include sysdep.h. 12085f210c2aSfgsch 12095f210c2aSfgschMon Aug 19 11:28:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> 12105f210c2aSfgsch 12115f210c2aSfgsch * genscripts.sh: Undo 8/16 change. 12125f210c2aSfgsch 12135f210c2aSfgsch * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing. 12145f210c2aSfgsch 12155f210c2aSfgschFri Aug 16 19:18:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> 12165f210c2aSfgsch 12175f210c2aSfgsch * genscripts.sh: Explicitly reset any shell variables set or used 12185f210c2aSfgsch by the various .sc scripts to allow inadvertant use of these 12195f210c2aSfgsch names as normal environment variables by the person running 12205f210c2aSfgsch configure. 12215f210c2aSfgsch 12225f210c2aSfgsch * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf. 12235f210c2aSfgsch 12245f210c2aSfgschFri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk> 12255f210c2aSfgsch 12265f210c2aSfgsch * scripttempl/armcoff.sc (__bss_start__, __bss_end__, 12275f210c2aSfgsch __data_start__, __data_end__): Added to keep in sync. with the 12285f210c2aSfgsch default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support. 12295f210c2aSfgsch 12305f210c2aSfgschThu Aug 8 14:24:56 1996 Ian Lance Taylor <ian@cygnus.com> 12315f210c2aSfgsch 12325f210c2aSfgsch * ldcref.c (check_reloc_refs): If info->same, look for any symbol 12335f210c2aSfgsch defined in info->defsec, not just the section symbol. 12345f210c2aSfgsch 12355f210c2aSfgschWed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be> 12365f210c2aSfgsch 12375f210c2aSfgsch * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. 12385f210c2aSfgsch * acconfig.h (NEED_DECLARATION_STRSTR): New macro. 12395f210c2aSfgsch (NEED_DECLARATION_SBRK): New macro. 12405f210c2aSfgsch * configure, config.in: Rebuild. 12415f210c2aSfgsch * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. 12425f210c2aSfgsch * ldmain.c (sbrk): Declare if HAVE_SBRK and 12435f210c2aSfgsch NEED_DECLARATION_SBRK. 12445f210c2aSfgsch 12455f210c2aSfgsch * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return. 12465f210c2aSfgsch 12475f210c2aSfgschMon Aug 5 16:26:14 1996 Ian Lance Taylor <ian@cygnus.com> 12485f210c2aSfgsch 12495f210c2aSfgsch * ldlex.l: Recognize OVERLAY. 12505f210c2aSfgsch * ldgram.y: Add section_phdr field to %union. 12515f210c2aSfgsch (section): Handle phdr_opt result. Add OVERLAY case. 12525f210c2aSfgsch (opt_exp_without_type): New nonterminal. 12535f210c2aSfgsch (phdr_opt): Return list of phdrs. 12545f210c2aSfgsch (overlay_section): New nonterminal. 12555f210c2aSfgsch * ldlang.c: Include <ctype.h>. 12565f210c2aSfgsch (lang_leave_output_section_statement): Add phdrs parameter. 12575f210c2aSfgsch Change all callers. 12585f210c2aSfgsch (lang_section_in_phdr): Remove. 12595f210c2aSfgsch (overlay_vma, overlay_lmn, overlay_max): New static variables. 12605f210c2aSfgsch (struct overlay_list): Define. 12615f210c2aSfgsch (overlay_list): New static variable. 12625f210c2aSfgsch (lang_enter_overlay, lang_enter_overlay_section): New functions. 12635f210c2aSfgsch (lang_leave_overlay_section, lang_leave_overlay): New functions. 12645f210c2aSfgsch * ldlang.h (lang_leave_output_section_statement): Update 12655f210c2aSfgsch declaration for new parameter. 12665f210c2aSfgsch (lang_section_in_phdr): Don't declare. 12675f210c2aSfgsch (lang_enter_overlay, lang_enter_overlay_section): Declare. 12685f210c2aSfgsch (lang_leave_overlay_section, lang_leave_overlay): Declare. 12695f210c2aSfgsch * ld.texinfo (Overlays): New node under SECTIONS, documenting 12705f210c2aSfgsch overlays. 12715f210c2aSfgsch 12725f210c2aSfgsch * ldlex.l: Recognize MAX and MIN. 12735f210c2aSfgsch * ldgram.y (MAX, MIN): New terminals. 12745f210c2aSfgsch (exp): Recognize MAX and MIN. 12755f210c2aSfgsch * ldexp.c (fold_binary): Handle MAX and MIN. 12765f210c2aSfgsch * ld.texinfo (Arithmetic Functions): Document MAX and MIN. 12775f210c2aSfgsch 12785f210c2aSfgsch * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header 12795f210c2aSfgsch index entries. 12805f210c2aSfgsch 12815f210c2aSfgsch * ldgram.y (SIZEOF, ADDR): Do not specify type. 12825f210c2aSfgsch 12835f210c2aSfgsch * ldcref.c (check_nocrossref): Skip symbols with no output 12845f210c2aSfgsch sections. 12855f210c2aSfgsch 12865f210c2aSfgschFri Aug 2 14:57:49 1996 Ian Lance Taylor <ian@cygnus.com> 12875f210c2aSfgsch 12885f210c2aSfgsch * ldgram.y (LOADADDR): New terminal. 12895f210c2aSfgsch (exp): Handle LOADADDR. 12905f210c2aSfgsch * ldlex.l: Recognize LOADADDR. 12915f210c2aSfgsch * ldexp.c (exp_print_token): Add LOADADDR. 12925f210c2aSfgsch (fold_name): Implement LOADADDR. 12935f210c2aSfgsch * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. 12945f210c2aSfgsch * ld.texinfo (Arithmetic Functions): Document LOADADDR. 12955f210c2aSfgsch 12965f210c2aSfgschThu Aug 1 12:52:19 1996 Ian Lance Taylor <ian@cygnus.com> 12975f210c2aSfgsch 12985f210c2aSfgsch * ld.h (check_nocrossrefs): Declare. 12995f210c2aSfgsch * ldlang.h (struct lang_nocrossref): Define. 13005f210c2aSfgsch (struct lang_nocrossrefs): Define. 13015f210c2aSfgsch (nocrossref_list): Declare. 13025f210c2aSfgsch (lang_add_nocrossref): Declare. 13035f210c2aSfgsch * ldlex.l: Recognize NOCROSSREFS keyword. 13045f210c2aSfgsch * ldgram.y (%union): Add nocrossref field. 13055f210c2aSfgsch (NOCROSSREFS): New terminal. 13065f210c2aSfgsch (ifile_p1): Recognize NOCROSSREFS. 13075f210c2aSfgsch (nocrossref_list): New nonterminal. 13085f210c2aSfgsch * ldlang.c (nocrossref_list): Define. 13095f210c2aSfgsch (lang_add_nocrossref): New function. 13105f210c2aSfgsch * ldmain.c (main): If nocrossref_list is not NULL, call 13115f210c2aSfgsch check_nocrossrefs. 13125f210c2aSfgsch (warning_callback): Free symbols if there is no place to store 13135f210c2aSfgsch them. 13145f210c2aSfgsch (notice): Call add_cref if nocrossref_list is not NULL. 13155f210c2aSfgsch * ldcref.c: Include "ldexp.h" and "ldlang.h". 13165f210c2aSfgsch (check_nocrossrefs): New function. 13175f210c2aSfgsch (check_nocrossref): New static function. 13185f210c2aSfgsch (struct check_refs_info): Define. 13195f210c2aSfgsch (check_refs, check_reloc_refs): New static functions. 13205f210c2aSfgsch * Makefile.in: Rebuild dependencies. 13215f210c2aSfgsch * ld.texinfo (Option Commands): Document NOCROSSREFS. 13225f210c2aSfgsch 13235f210c2aSfgsch * ld.texinfo (Section Placement): Improve the wording of the 13245f210c2aSfgsch wildcard documentation. Mention that wildcards are only searched 13255f210c2aSfgsch for on the command line, not in the file system. 13265f210c2aSfgsch 13275f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move 13285f210c2aSfgsch definition of lib_path inside condition where it is used. 13295f210c2aSfgsch 13305f210c2aSfgschWed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 13315f210c2aSfgsch 13325f210c2aSfgsch * emulparams/d10velf.sh: Now works with elf.sc. 13335f210c2aSfgsch 13345f210c2aSfgschWed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 13355f210c2aSfgsch 13365f210c2aSfgsch * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla. 13375f210c2aSfgsch 13385f210c2aSfgschTue Jul 30 14:46:42 1996 Ian Lance Taylor <ian@cygnus.com> 13395f210c2aSfgsch 13405f210c2aSfgsch * ldlang.c (lang_size_sections): Add the section VMA to the result 13415f210c2aSfgsch value when computing the address of a section. 13425f210c2aSfgsch 13435f210c2aSfgsch * ld.h (args_type): Add cref field. 13445f210c2aSfgsch * lexsup.c (parse_args): Set command_line.cref. 13455f210c2aSfgsch * ldmain.c (main): Check command_line.cref rather than 13465f210c2aSfgsch link_info.notice_all. 13475f210c2aSfgsch (notice): Likewise. 13485f210c2aSfgsch 13495f210c2aSfgsch * ldcref.c (output_one_cref): Don't crash if a symbol is defined 13505f210c2aSfgsch in a section without an owner. 13515f210c2aSfgsch 13525f210c2aSfgschMon Jul 29 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com> 13535f210c2aSfgsch 13545f210c2aSfgsch * fnmatch.h, fnmatch.c: New files. 13555f210c2aSfgsch * ldlex.l: Remove unused definition of FILENAME. Add definition 13565f210c2aSfgsch of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a 13575f210c2aSfgsch NAME. 13585f210c2aSfgsch * ldgram.y (file_NAME_list): Accept '*' and '?' specially. 13595f210c2aSfgsch (input_section_spec): Accept '?' specially. 13605f210c2aSfgsch (statement): Change exp to mustbe_exp in length and FILL cases. 13615f210c2aSfgsch (section): Call ldlex_script before section statements, and call 13625f210c2aSfgsch ldlex_popstate after them. 13635f210c2aSfgsch * ldlang.c: Include "fnmatch.h". 13645f210c2aSfgsch (wildcardp): New static function. 13655f210c2aSfgsch (wild_section): Permit the section name to be a wildcard. 13665f210c2aSfgsch (wild_file): New static function, broken out of wild. 13675f210c2aSfgsch (wild): Call wild_file. Permit the file name to be a wildcard. 13685f210c2aSfgsch (open_input_bfds): Don't call lookup_name for a wildcard pattern. 13695f210c2aSfgsch * Makefile.in: Rebuild dependencies. 13705f210c2aSfgsch (CFILES): Add fnmatch.c. 13715f210c2aSfgsch (HFILES): Add fnmatch.h. 13725f210c2aSfgsch (OFILES): Add fnmatch.o. 13735f210c2aSfgsch * ld.texinfo: Document that file and section names can now be 13745f210c2aSfgsch wildcard patterns. 13755f210c2aSfgsch 13765f210c2aSfgsch * ldlang.c (lang_place_orphans): Correct condition: place a common 13775f210c2aSfgsch section if not relocateable or if common definitions are forced. 13785f210c2aSfgsch 13795f210c2aSfgschWed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 13805f210c2aSfgsch 13815f210c2aSfgsch * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. 13825f210c2aSfgsch 13835f210c2aSfgschWed Jul 24 13:38:22 1996 Michael Meissner <meissner@wogglebug.tiac.net> 13845f210c2aSfgsch 13855f210c2aSfgsch * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v. 13865f210c2aSfgsch 13875f210c2aSfgschTue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 13885f210c2aSfgsch 13895f210c2aSfgsch * Makefile.in (ed10velf.c): New target. 13905f210c2aSfgsch * configure.tgt (d10v-*-elf*): New target. 13915f210c2aSfgsch * emulparams/d10velf.sh: New file. 13925f210c2aSfgsch 13935f210c2aSfgschThu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com> 13945f210c2aSfgsch 13955f210c2aSfgsch * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth 13965f210c2aSfgsch <ANDREWG@microlise.co.uk>. 13975f210c2aSfgsch 13985f210c2aSfgsch * configure.host: Change irix5 to irix[56]*. 13995f210c2aSfgsch * configure.tgt: Likewise. 14005f210c2aSfgsch 14015f210c2aSfgschWed Jul 17 10:52:46 1996 Kim Knuttila <krk@cygnus.com> 14025f210c2aSfgsch 14035f210c2aSfgsch * emultempl/pe.em (sort_sections): Pay attention to return code. 14045f210c2aSfgsch 14055f210c2aSfgsch * ldmisc.c (demangle): Remove all prefix '.'s from a name. 14065f210c2aSfgsch 14075f210c2aSfgschMon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 14085f210c2aSfgsch 14095f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round 14105f210c2aSfgsch the value of __start_SECNAME to the alignment required by the 14115f210c2aSfgsch section to be placed. 14125f210c2aSfgsch 14135f210c2aSfgschTue Jul 9 12:09:02 1996 Ian Lance Taylor <ian@cygnus.com> 14145f210c2aSfgsch 14155f210c2aSfgsch * configure.tgt (mips*el-*-elf*): Use elf32elmip. 14165f210c2aSfgsch (mips*-*-elf*): Use elf32ebmip. 14175f210c2aSfgsch * emulparams/elf32bmip.sh (EMBEDDED): Don't define. 14185f210c2aSfgsch * emulparams/elf32lmip.sh (EMBEDDED): Don't define. 14195f210c2aSfgsch * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with 14205f210c2aSfgsch EMBEDDED defined. 14215f210c2aSfgsch * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with 14225f210c2aSfgsch EMBEDDED defined. 14235f210c2aSfgsch * emulparams/elf32b4300.sh (EMBEDDED): Define. 14245f210c2aSfgsch * emulparams/elf32l4300.sh (EMBEDDED): Define. 14255f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. 14265f210c2aSfgsch (eelf32ebmip.c, eelf32elmip.c): New targets. 14275f210c2aSfgsch 14285f210c2aSfgschThu Jul 4 12:01:03 1996 Ian Lance Taylor <ian@cygnus.com> 14295f210c2aSfgsch 14305f210c2aSfgsch * ldver.c (ldversion): Set version to cygnus-2.7.1. 14315f210c2aSfgsch 14325f210c2aSfgsch * Released binutils 2.7. 14335f210c2aSfgsch 14345f210c2aSfgsch * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid 14355f210c2aSfgsch System V file name limitations. 14365f210c2aSfgsch * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use 14375f210c2aSfgsch pc532macha rather than pc532machaout. 14385f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to 14395f210c2aSfgsch epc532macha.o. 14405f210c2aSfgsch (epc532macha.c): Rename target from epc532machaout.c. 14415f210c2aSfgsch 14425f210c2aSfgschWed Jul 3 11:40:10 1996 Ian Lance Taylor <ian@cygnus.com> 14435f210c2aSfgsch 14445f210c2aSfgsch * ldlang.c (print_padding_statement): Use %u, not %x, to print 14455f210c2aSfgsch fill value. 14465f210c2aSfgsch 14475f210c2aSfgschSun Jun 30 11:16:43 1996 Stan Shebs <shebs@andros.cygnus.com> 14485f210c2aSfgsch 14495f210c2aSfgsch * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. 14505f210c2aSfgsch 14515f210c2aSfgschThu Jun 27 14:03:42 1996 Ian Lance Taylor <ian@cygnus.com> 14525f210c2aSfgsch 14535f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa 14545f210c2aSfgsch file just before the .so file, rather than just after. 14555f210c2aSfgsch 14565f210c2aSfgsch * configure.host: Use -print-file-name=FILE rather than piping 14575f210c2aSfgsch -print-libgcc-file-name through sed. 14585f210c2aSfgsch (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and 14595f210c2aSfgsch crtend.o files, in case gcc doesn't use them. 14605f210c2aSfgsch * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o. 14615f210c2aSfgsch 14625f210c2aSfgschWed Jun 26 15:57:21 1996 Ian Lance Taylor <ian@cygnus.com> 14635f210c2aSfgsch 14645f210c2aSfgsch * configure.tgt (mips*-dec-osf*): New target. 14655f210c2aSfgsch 14665f210c2aSfgschTue Jun 25 22:15:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) 14675f210c2aSfgsch 14685f210c2aSfgsch * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, 14695f210c2aSfgsch INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. 14705f210c2aSfgsch (docdir): Removed. 14715f210c2aSfgsch * configure.in (AC_PREREQ): autoconf 2.5 or higher. 14725f210c2aSfgsch (AC_PROG_INSTALL): Added. 14735f210c2aSfgsch * configure: Rebuilt. 14745f210c2aSfgsch 14755f210c2aSfgschMon Jun 24 18:48:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> 14765f210c2aSfgsch 14775f210c2aSfgsch * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a 14785f210c2aSfgsch PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a 14795f210c2aSfgsch non-fixed location. 14805f210c2aSfgsch 14815f210c2aSfgschMon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl> 14825f210c2aSfgsch 14835f210c2aSfgsch * ldlang.h (enum section_type): Define. 14845f210c2aSfgsch (lang_output_section_statement_type): Remove loadable field. Add 14855f210c2aSfgsch sectype field. 14865f210c2aSfgsch (lang_enter_output_section_statement): Change flags parameter in 14875f210c2aSfgsch prototype to sectype. 14885f210c2aSfgsch * ldgram.y (typebits): Remove. 14895f210c2aSfgsch (sectype): New static variable. 14905f210c2aSfgsch (opt_at): Use sectype rather than typebits. 14915f210c2aSfgsch (type): Set sectype rather than typebits. 14925f210c2aSfgsch (atype): Likewise. 14935f210c2aSfgsch * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in 14945f210c2aSfgsch EXPRESSION mode. 14955f210c2aSfgsch * ldlang.c (lang_output_section_statement_lookup): Set sectype 14965f210c2aSfgsch field rather than loadable field. 14975f210c2aSfgsch (wild_doit): Check sectype rather than loadable. 14985f210c2aSfgsch (lang_record_phdrs): Likewise. 14995f210c2aSfgsch (lang_enter_output_section_statement): Rename flags parameter to 15005f210c2aSfgsch sectype. Set sectype field rather than loadable field. Set flags 15015f210c2aSfgsch field based on sectype. 15025f210c2aSfgsch 15035f210c2aSfgschMon Jun 24 12:00:32 1996 Ian Lance Taylor <ian@cygnus.com> 15045f210c2aSfgsch 15055f210c2aSfgsch * scripttempl/elf.sc: Force .stab* and .comment sections to start 15065f210c2aSfgsch at 0. 15075f210c2aSfgsch 15085f210c2aSfgsch * configure.in: On alpha*-*-osf*, link against libbfd.a if not 15095f210c2aSfgsch using shared libraries. 15105f210c2aSfgsch * configure: Rebuild with autoconf 2.10. 15115f210c2aSfgsch 15125f210c2aSfgschFri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> 15135f210c2aSfgsch 15145f210c2aSfgsch * configure.tgt: Add support for *-*-rtems* configurations. 15155f210c2aSfgsch 15165f210c2aSfgschFri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu> 15175f210c2aSfgsch 15185f210c2aSfgsch * configure.tgt (alpha-*-linuxecoff*): New target. 15195f210c2aSfgsch (alpha-*-linux*): Use elf64alpha. 15205f210c2aSfgsch * emulparams/elf64alpha.sh: New file. 15215f210c2aSfgsch * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use 15225f210c2aSfgsch ${ELFSIZE} rather than 32 when calling BFD routines. 15235f210c2aSfgsch (hold_rodata): New static variable. 15245f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a 15255f210c2aSfgsch readonly section that is not code. 15265f210c2aSfgsch (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use 15275f210c2aSfgsch a .rel section unless its bfd_section field is not NULL. 15285f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. 15295f210c2aSfgsch (eelf64alpha.c): New target. 15305f210c2aSfgsch 15315f210c2aSfgschFri Jun 21 12:45:46 1996 Ian Lance Taylor <ian@cygnus.com> 15325f210c2aSfgsch 15335f210c2aSfgsch * ldmisc.c (vfinfo): Correct handling of 0 in %W case. 15345f210c2aSfgsch 15355f210c2aSfgschThu Jun 20 13:55:28 1996 Ian Lance Taylor <ian@cygnus.com> 15365f210c2aSfgsch 15375f210c2aSfgsch Add enough support to understand the gcc svr3.ifile script: 15385f210c2aSfgsch * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add 15395f210c2aSfgsch BIND keyword. 15405f210c2aSfgsch * ldgram.y: Add BIND token. 15415f210c2aSfgsch (section): Recognize GROUP. 15425f210c2aSfgsch (opt_ext_with_type): Recognize a couple of cases of BIND. 15435f210c2aSfgsch * ldlang.c (init_os): Don't do anything if section is already 15445f210c2aSfgsch initialized. Call exp_init_os on addr_tree field. 15455f210c2aSfgsch (exp_init_os): New static function. 15465f210c2aSfgsch (map_input_to_output_sections): Call exp_init_os on assignment 15475f210c2aSfgsch expression. 15485f210c2aSfgsch (lang_place_orphans): Check for common sections by name COMMON 15495f210c2aSfgsch rather than by common_section field. Don't warn about absence of 15505f210c2aSfgsch [COMMON] command. 15515f210c2aSfgsch 15525f210c2aSfgsch * ldlang.h (lang_input_statement_type): Remove useless fields 15535f210c2aSfgsch common_section, common_output_section, and complained, as well as 15545f210c2aSfgsch all references to them. 15555f210c2aSfgsch 15565f210c2aSfgsch * ldexp.c: Reindent a lot of code. 15575f210c2aSfgsch (exp_fold_tree): Call FAIL rather than einfo in default case. 15585f210c2aSfgsch 15595f210c2aSfgschWed Jun 19 11:40:14 1996 Ian Lance Taylor <ian@cygnus.com> 15605f210c2aSfgsch 15615f210c2aSfgsch * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From 15625f210c2aSfgsch <randall.hron@medaphis.com>. 15635f210c2aSfgsch 15645f210c2aSfgschTue Jun 18 15:53:09 1996 Jeffrey A. Law <law@rtl.cygnus.com> 15655f210c2aSfgsch 15665f210c2aSfgsch * scripttempl/h8300s.sc: New file for H8/S. 15675f210c2aSfgsch * emulpararms/h8300s.sh: New file for H8/S. 15685f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add H8/S. 15695f210c2aSfgsch (e_h8300s.c): Add dependencies. 15705f210c2aSfgsch * configure.tgt: Add H8/S to targ_extra_emuls. 15715f210c2aSfgsch 15725f210c2aSfgschTue Jun 18 17:55:39 1996 Ian Lance Taylor <ian@cygnus.com> 15735f210c2aSfgsch 15745f210c2aSfgsch * configure.tgt (i[345]86*-*-isc*): New target. From 15755f210c2aSfgsch <uddeborg@carmen.se>. 15765f210c2aSfgsch 15775f210c2aSfgschWed Jun 12 12:46:21 1996 Ian Lance Taylor <ian@cygnus.com> 15785f210c2aSfgsch 15795f210c2aSfgsch * lexsup.c: Include "libiberty.h". 15805f210c2aSfgsch (parse_args): Copy the -Y argument into memory. 15815f210c2aSfgsch (set_default_dirlist): Don't put the ':' back into the directory 15825f210c2aSfgsch list. 15835f210c2aSfgsch 15845f210c2aSfgschFri Jun 7 11:27:42 1996 Ian Lance Taylor <ian@cygnus.com> 15855f210c2aSfgsch 15865f210c2aSfgsch * emultempl/sunos.em: Include libiberty.h. 15875f210c2aSfgsch (gld${EMULATION_NAME}_set_symbols): New static function to add 15885f210c2aSfgsch LD_LIBRARY_PATH to the list of search directories. 15895f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. 15905f210c2aSfgsch 15915f210c2aSfgschThu Jun 6 11:50:31 1996 Ian Lance Taylor <ian@cygnus.com> 15925f210c2aSfgsch 15935f210c2aSfgsch * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) 15945f210c2aSfgsch rather than . when computing _gp value. From Per Fogelstrom. 15955f210c2aSfgsch * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. 15965f210c2aSfgsch 15975f210c2aSfgsch * ldmain.c (main): Don't close and unlink the file on error, since 15985f210c2aSfgsch remove_output will do it anyhow. 15995f210c2aSfgsch * ldlang.c (open_output): Set boolean variable to true, not 1. 16005f210c2aSfgsch 16015f210c2aSfgschWed Jun 5 18:34:14 1996 James G. Smith <jsmith@cygnus.co.uk> 16025f210c2aSfgsch 16035f210c2aSfgsch * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use 16045f210c2aSfgsch elfmips instead of elf. 16055f210c2aSfgsch 16065f210c2aSfgschTue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com> 16075f210c2aSfgsch 16085f210c2aSfgsch * ldcref.c: New file. 16095f210c2aSfgsch * ld.h (add_cref, output_cref): Declare. 16105f210c2aSfgsch * ldmain.c (main): Initialize notice_all field. If it is set at 16115f210c2aSfgsch end of link, call output_cref. 16125f210c2aSfgsch (notice): Rename from notice_ysym. Check notice_all. 16135f210c2aSfgsch * ldmisc.c (finfo): Make globally visible. 16145f210c2aSfgsch * ldmisc.h (finfo): Declare. 16155f210c2aSfgsch * lexsup.c (OPTION_CREF): Define. 16165f210c2aSfgsch (ld_options): Add "cref". 16175f210c2aSfgsch (parse_args): Handle OPTION_CREF. 16185f210c2aSfgsch * Makefile.in: Rebuild dependencies. 16195f210c2aSfgsch (CFILES): Add ldcref.c. 16205f210c2aSfgsch (OFILES): Add ldcref.o. 16215f210c2aSfgsch * ld.texinfo, ld.1: Document --cref. 16225f210c2aSfgsch 16235f210c2aSfgschTue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com> 16245f210c2aSfgsch 16255f210c2aSfgsch * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. 16265f210c2aSfgsch 16275f210c2aSfgschFri May 31 12:40:55 1996 Ian Lance Taylor <ian@cygnus.com> 16285f210c2aSfgsch 16295f210c2aSfgsch * emultempl/pe.em (sort_sections): Don't assume that a 16305f210c2aSfgsch wild_statement has a section name. 16315f210c2aSfgsch 16325f210c2aSfgschWed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com> 16335f210c2aSfgsch 16345f210c2aSfgsch * scripttempl/elfmips.sc: Quote test -z argument. 16355f210c2aSfgsch 16365f210c2aSfgsch * ld.texinfo: Clarify the CONSTRUCTORS command. 16375f210c2aSfgsch 16385f210c2aSfgschThu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com> 16395f210c2aSfgsch 16405f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize 16415f210c2aSfgsch file, not impfile. 16425f210c2aSfgsch 16435f210c2aSfgschWed May 22 11:31:30 1996 Doug Evans <dje@seba.cygnus.com> 16445f210c2aSfgsch 16455f210c2aSfgsch * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} 16465f210c2aSfgsch if final link. 16475f210c2aSfgsch * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. 16485f210c2aSfgsch (sort_by_section_name, sort_sections_1): New functions. 16495f210c2aSfgsch (sort_sections): Only sort by file name sections in .idata. 16505f210c2aSfgsch Add "Grouped Sections" support. 16515f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped 16525f210c2aSfgsch Sections. 16535f210c2aSfgsch (gld${EMULATION_NAME}_place_section): Delete. 16545f210c2aSfgsch * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). 16555f210c2aSfgsch (.CRT,.rsrc): Rewrite to use Grouped Section support. 16565f210c2aSfgsch 16575f210c2aSfgschTue May 21 14:31:48 1996 Stan Shebs <shebs@andros.cygnus.com> 16585f210c2aSfgsch 16595f210c2aSfgsch * mpw-eppcmac.c: Update to reflect changes to aix.em. 16605f210c2aSfgsch 16615f210c2aSfgschSun May 19 16:59:44 1996 Doug Evans <dje@seba.cygnus.com> 16625f210c2aSfgsch 16635f210c2aSfgsch * ldlang.c (dprint_statement): Stop printing at end of list. 16645f210c2aSfgsch 16655f210c2aSfgschSat May 18 13:12:05 1996 Steve Chamberlain <sac@slash.cygnus.com> 16665f210c2aSfgsch 16675f210c2aSfgsch Support for --force-exe-suffix 16685f210c2aSfgsch * ld.h (args_type): Add force_exe_suffix. 16695f210c2aSfgsch * ld.texinfo: Add documentation. 16705f210c2aSfgsch * ldmain.c (main): Add support for option. 16715f210c2aSfgsch * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. 16725f210c2aSfgsch (ld_options, parse_args): Add support for option. 16735f210c2aSfgsch 16745f210c2aSfgschWed May 15 12:50:25 1996 Jim Wilson <wilson@chestnut.cygnus.com> 16755f210c2aSfgsch 16765f210c2aSfgsch * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. 16775f210c2aSfgsch 16785f210c2aSfgschFri May 10 16:28:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> 16795f210c2aSfgsch 16805f210c2aSfgsch * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was 16815f210c2aSfgsch referenced but not defined. 16825f210c2aSfgsch 16835f210c2aSfgschThu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com> 16845f210c2aSfgsch 16855f210c2aSfgsch * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: 16865f210c2aSfgsch Set a new variable to signify if the final target is an embedded 16875f210c2aSfgsch system. 16885f210c2aSfgsch * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to 16895f210c2aSfgsch .text for an embedded system. 16905f210c2aSfgsch 16915f210c2aSfgschTue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com> 16925f210c2aSfgsch 1693d2201f2fSdrahn * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. 16945f210c2aSfgsch (gld${EMULATION_NAME}_place_section): New function. 16955f210c2aSfgsch (hold_{section,use,text,rdata,data}): New static locals. 16965f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Update orphan field. 16975f210c2aSfgsch * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. 16985f210c2aSfgsch (INIT,FINI): Delete, unused. 16995f210c2aSfgsch (.text): Document orphan .text.foo sections. 17005f210c2aSfgsch (.rdata): Document orphan .rdata.foo sections. 17015f210c2aSfgsch (.data): Document orphan .data.foo sections. 17025f210c2aSfgsch 17035f210c2aSfgschTue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com) 17045f210c2aSfgsch 17055f210c2aSfgsch * scripttempl/h8300.sc: Place ".tiny" sections right 17065f210c2aSfgsch after ".data" sections. 17075f210c2aSfgsch * scripttempl/h8300h.sc: Place ".tiny" sections into 17085f210c2aSfgsch the "tiny" memory region, 0xff8000 through 0xffff00. 17095f210c2aSfgsch 17105f210c2aSfgsch * scripttempl/h8300.sc: Set the entry point to the value of 17115f210c2aSfgsch "_start" rather than the start of the text segment. 17125f210c2aSfgsch * scripttempl/h8300h.sc: Likewise. 17135f210c2aSfgsch 17145f210c2aSfgsch * scripttempl/h8300.sc: Place .rodata sections before .text 17155f210c2aSfgsch sections in main ram. 17165f210c2aSfgsch * scripttempl/h8300h.sc: Likewise. 17175f210c2aSfgsch 17185f210c2aSfgschMon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com) 17195f210c2aSfgsch 17205f210c2aSfgsch * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the 17215f210c2aSfgsch 8-bit region and 8-bit sections. 17225f210c2aSfgsch 17235f210c2aSfgschWed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com> 17245f210c2aSfgsch 17255f210c2aSfgsch * ldlang.c (section_already_linked): Fix typos. 17265f210c2aSfgsch 17275f210c2aSfgschMon Apr 29 20:31:06 1996 Doug Evans <dje@canuck.cygnus.com> 17285f210c2aSfgsch 17295f210c2aSfgsch * scripttempl/pe.sc (.endjunk): Define __end__. 17305f210c2aSfgsch 17315f210c2aSfgschMon Apr 29 17:05:13 1996 Ian Lance Taylor <ian@cygnus.com> 17325f210c2aSfgsch 17335f210c2aSfgsch * ldlang.c (longest_section_name): Remove. 17345f210c2aSfgsch (SECTION_NAME_MAP_LENGTH): Define. 17355f210c2aSfgsch (print_size, print_alignment, print_fill, print_section): Remove. 17365f210c2aSfgsch (print_flags): Remove. 17375f210c2aSfgsch (lang_map): Rewrite. 17385f210c2aSfgsch (print_output_section_statement): Rewrite. 17395f210c2aSfgsch (print_assignment): Rewrite. 17405f210c2aSfgsch (print_one_symbol): Rewrite. 17415f210c2aSfgsch (print_input_section): Rewrite. 17425f210c2aSfgsch (print_fill_statement): Rewrite. 17435f210c2aSfgsch (print_data_statement): Rewrite. 17445f210c2aSfgsch (print_address_statement): New static function. 17455f210c2aSfgsch (print_reloc_statement): Rewrite. 17465f210c2aSfgsch (print_padding_statement): Rewrite. 17475f210c2aSfgsch (print_wild_statement): Rewrite. 17485f210c2aSfgsch (print_statement_list): Clean up. 17495f210c2aSfgsch (print_statement): Clean up. Some minor output changes. 17505f210c2aSfgsch (print_statements): Clean up. 17515f210c2aSfgsch (load_symbols): Put another - before -whole-archive. 17525f210c2aSfgsch * ldexp.c (exp_print_tree): Change etree_value and etree_rel to 17535f210c2aSfgsch print 0x and to omit leading zeroes. For etree_rel, use %B to 17545f210c2aSfgsch print the BFD. For etree_assign, remove the space after the 17555f210c2aSfgsch destination name. 17565f210c2aSfgsch * ldwrite.c: Include "libiberty.h". 17575f210c2aSfgsch (clone_section): Call xstrdup, not strdup. 17585f210c2aSfgsch (ldwrite): Don't print any map information. 17595f210c2aSfgsch (print_symbol_table, print_file_stuff, print_symbol): Remove. 17605f210c2aSfgsch * ldmain.c (main): Call lang_map when appropriate. 17615f210c2aSfgsch * ldmisc.c (vfinfo): Add support for %W. 17625f210c2aSfgsch (print_address): Remove. 17635f210c2aSfgsch * ldmisc.h (print_address): Don't declare. 17645f210c2aSfgsch * Makefile.in: Rebuild dependencies. 17655f210c2aSfgsch 17665f210c2aSfgschMon Apr 29 10:29:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 17675f210c2aSfgsch 17685f210c2aSfgsch * configure.host (m68*-*-linux*): Add -dynamic-linker to 17695f210c2aSfgsch HOSTING_CRT0. Search -lgcc both before and after -lc in 17705f210c2aSfgsch HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory 17715f210c2aSfgsch at first. 17725f210c2aSfgsch (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler 17735f210c2aSfgsch directory at first. 17745f210c2aSfgsch 17755f210c2aSfgschFri Apr 26 14:42:27 1996 Ian Lance Taylor <ian@cygnus.com> 17765f210c2aSfgsch 17775f210c2aSfgsch * ldmisc.h (demangle): Declare. 17785f210c2aSfgsch * ldmisc.c: Include "libiberty.h". Include demangle.h with "", 17795f210c2aSfgsch not <>. 17805f210c2aSfgsch (demangle): Make non-static. Remove remove_underscore paramter. 17815f210c2aSfgsch Always return an allocated string. 17825f210c2aSfgsch (vfinfo): Free result of demangle. Add case 'G'. Use %T to print 17835f210c2aSfgsch functionname, rather than calling demangle. Print a colon between 17845f210c2aSfgsch the BFD(section+offset) and the line number. 17855f210c2aSfgsch * ldmain.c (add_archive_element): Improve format of archive 17865f210c2aSfgsch information in map file. 17875f210c2aSfgsch (constructor_callback): Don't print anything to the map file. 17885f210c2aSfgsch * ldlang.c (lang_one_common): Improve format of common symbol 17895f210c2aSfgsch information in map file. 17905f210c2aSfgsch * ldctor.c (ldctor_build_sets): If producing a map file, print set 17915f210c2aSfgsch information. 17925f210c2aSfgsch * ldwrite.c (print_symbol_table): Print a newline before the 17935f210c2aSfgsch header in the map file. 17945f210c2aSfgsch * Makefile.in: Rebuild dependencies. 17955f210c2aSfgsch 17965f210c2aSfgsch * ldmisc.c (vfinfo): Reindent. 17975f210c2aSfgsch 17985f210c2aSfgschMon Apr 22 12:07:32 1996 Ian Lance Taylor <ian@cygnus.com> 17995f210c2aSfgsch 18005f210c2aSfgsch * ldlang.c (lang_size_sections): If _cooked_size is not 0, then 18015f210c2aSfgsch don't clobber it when not relaxing. 18025f210c2aSfgsch 18035f210c2aSfgsch * ld.h (ld_config_type): Remove traditional_format field. 18045f210c2aSfgsch * ldmain.c (main): Use link_info.traditional_format rather than 18055f210c2aSfgsch config.traditional_format. 18065f210c2aSfgsch * ldlang.c (ldlang_open_output): Likewise. 18075f210c2aSfgsch * lexsup.c (parse_args): Likewise. 18085f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. 18095f210c2aSfgsch * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. 18105f210c2aSfgsch 18115f210c2aSfgsch * ldlang.c (wild_doit): Discard debugging sections if we are 18125f210c2aSfgsch stripping debugging information. 18135f210c2aSfgsch 18145f210c2aSfgsch * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. 18155f210c2aSfgsch 18165f210c2aSfgschTue Apr 16 16:38:32 1996 Ian Lance Taylor <ian@cygnus.com> 18175f210c2aSfgsch 18185f210c2aSfgsch * ldexp.c (fold_binary): Correct handling of subtraction with 18195f210c2aSfgsch absolute values. 18205f210c2aSfgsch (fold_name): Permit symbols in lang_allocating_phase_enum. 18215f210c2aSfgsch 18225f210c2aSfgsch * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo 18235f210c2aSfgsch accidental changes in last patch. 18245f210c2aSfgsch 18255f210c2aSfgschTue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> 18265f210c2aSfgsch 18275f210c2aSfgsch * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. 18285f210c2aSfgsch (powerpcle*-*-{sysv,solaris}): Ditto. 18295f210c2aSfgsch 18305f210c2aSfgschMon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> 18315f210c2aSfgsch 18325f210c2aSfgsch * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it 18335f210c2aSfgsch in m68k/crt0.S without things blowing up. 18345f210c2aSfgsch 18355f210c2aSfgschFri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> 18365f210c2aSfgsch 18375f210c2aSfgsch * scripttempl/m68kcoff.sc: Remove default address for .data so 18385f210c2aSfgsch .text, .data, and .bss are all sequential. 18395f210c2aSfgsch 18405f210c2aSfgschThu Apr 11 12:05:35 1996 Ian Lance Taylor <ian@cygnus.com> 18415f210c2aSfgsch 18425f210c2aSfgsch * scripttempl/m68kcoff.sc: Remove regions and simplify. 18435f210c2aSfgsch 18445f210c2aSfgschWed Apr 10 14:41:53 1996 Jeffrey A Law (law@cygnus.com) 18455f210c2aSfgsch 18465f210c2aSfgsch * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 18475f210c2aSfgsch bytes of the address space. Put data from the ".eight" sections 18485f210c2aSfgsch into the 8-bit area. 18495f210c2aSfgsch * scripttempl/h8300h.sc: Likewise. 18505f210c2aSfgsch 18515f210c2aSfgschTue Apr 9 14:10:42 1996 Doug Evans <dje@canuck.cygnus.com> 18525f210c2aSfgsch 18535f210c2aSfgsch * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): 18545f210c2aSfgsch Pass $ARCH to ldfile_set_output_arch instead of setting 18555f210c2aSfgsch ldfile_output_architecture directly. 18565f210c2aSfgsch 18575f210c2aSfgschTue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> 18585f210c2aSfgsch 18595f210c2aSfgsch * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section 18605f210c2aSfgsch next to .text. Put _etext after .text, .init, .fini, and 18615f210c2aSfgsch .rodata{,2} sections. 18625f210c2aSfgsch 18635f210c2aSfgschTue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com> 18645f210c2aSfgsch 18655f210c2aSfgsch * ld.texinfo: Rearrange option documentation. 18665f210c2aSfgsch 18675f210c2aSfgsch * lexsup.c (ld_options): New static array. 18685f210c2aSfgsch (parse_args): Build shortopts and longopts from ld_options array. 18695f210c2aSfgsch (help): New static function. 18705f210c2aSfgsch * ldver.h (help): Don't declare. 18715f210c2aSfgsch * ldver.c (ldversion): Reindent. 18725f210c2aSfgsch (help): Remove. 18735f210c2aSfgsch 18745f210c2aSfgsch * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. 18755f210c2aSfgsch 18765f210c2aSfgschMon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com> 18775f210c2aSfgsch 18785f210c2aSfgsch * emultempl/elf32.em: When checking for a native emulation, check 18795f210c2aSfgsch that the current emulation is the default emulation. 18805f210c2aSfgsch * emultempl/sunos.em: Likewise. 18815f210c2aSfgsch 18825f210c2aSfgsch * configure.in: Permit --enable-shared to specify a list of 18835f210c2aSfgsch directories. 18845f210c2aSfgsch * configure: Rebuild. 18855f210c2aSfgsch 18865f210c2aSfgsch * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, 18875f210c2aSfgsch for HP/UX compatibility. 18885f210c2aSfgsch 18895f210c2aSfgschFri Apr 5 14:30:14 1996 Ian Lance Taylor <ian@cygnus.com> 18905f210c2aSfgsch 18915f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New 18925f210c2aSfgsch static function, if ${host} = ${target}. 18935f210c2aSfgsch (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a 18945f210c2aSfgsch needed shared library if ${host} = $[target}. 18955f210c2aSfgsch 18965f210c2aSfgsch * configure.host (i[345]86-*-linux*): Add -dynamic-linker to 18975f210c2aSfgsch HOSTING_CRT0. Search -lgcc both before and after -lc in 18985f210c2aSfgsch HOSTING_LIBS. 18995f210c2aSfgsch 19005f210c2aSfgsch * configure.tgt: Add i[345]86-*-freebsdelf* target; from John 19015f210c2aSfgsch Polstra <jdp@polstra.com>. 19025f210c2aSfgsch 19035f210c2aSfgschFri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk> 19045f210c2aSfgsch 19055f210c2aSfgsch * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit 19065f210c2aSfgsch architecture number. 19075f210c2aSfgsch * scripttempl/elf.sc: Use $MACHINE definition if present. 19085f210c2aSfgsch * configure.tgt (targ_extra_emuls): Force 4100 build to use same 19095f210c2aSfgsch template as 4300. 19105f210c2aSfgsch 19115f210c2aSfgschMon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com> 19125f210c2aSfgsch 19135f210c2aSfgsch * ldlang.c (lang_size_sections): Change region check to handle 19145f210c2aSfgsch regions which end at the highest possible address correctly. 19155f210c2aSfgsch From Roland Weber <roweber@ira.uka.de>. 19165f210c2aSfgsch 19175f210c2aSfgsch * ldlang.c (section_already_linked): New static function. 19185f210c2aSfgsch (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a 19195f210c2aSfgsch relocateable link. Don't worry about section being NULL, since it 19205f210c2aSfgsch never should be. Don't call init_os unless the section is going 19215f210c2aSfgsch to be added. 19225f210c2aSfgsch (ldlang_add_file): Call section_already_linked for each section. 19235f210c2aSfgsch * ldmain.c (multiple_definition): Don't warn about multiple 19245f210c2aSfgsch definitions in sections which are being discarded. 19255f210c2aSfgsch 19265f210c2aSfgschSun Mar 31 00:30:47 1996 steve chamberlain <sac@slash.cygnus.com> 19275f210c2aSfgsch 19285f210c2aSfgsch * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. 19295f210c2aSfgsch * emultempl/pe.em (init): Remove special case PPC code. 19305f210c2aSfgsch 19315f210c2aSfgschFri Mar 29 00:01:29 1996 Jeffrey A Law (law@cygnus.com) 19325f210c2aSfgsch 19335f210c2aSfgsch * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long 19345f210c2aSfgsch so as not to overwrite the magic syscall entry at 0xc4. 19355f210c2aSfgsch * scripttempl/h8300h.sc: Likewise. 19365f210c2aSfgsch 19375f210c2aSfgschThu Mar 28 11:05:47 1996 Doug Evans <dje@canuck.cygnus.com> 19385f210c2aSfgsch 19395f210c2aSfgsch * configure.tgt (sparc64-*-solaris2*): Delete. 19405f210c2aSfgsch Stick with sparc-*-solaris2*. 19415f210c2aSfgsch 19425f210c2aSfgschWed Mar 27 12:33:24 1996 Ian Lance Taylor <ian@cygnus.com> 19435f210c2aSfgsch 19445f210c2aSfgsch * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". 19455f210c2aSfgsch * ldlang.c (init_os): Fail on an attempt to initialize any section 19465f210c2aSfgsch named DISCARD_SECTION_NAME. 19475f210c2aSfgsch (wild_doit): Discard input sections assigned to an output section 19485f210c2aSfgsch named DISCARD_SECTION_NAME. 19495f210c2aSfgsch * ld.texinfo: Document use of /DISCARD/. 19505f210c2aSfgsch 19515f210c2aSfgsch * ldlang.c: Fix some indentation and comments. 19525f210c2aSfgsch 19535f210c2aSfgschTue Mar 26 18:14:49 1996 Ian Lance Taylor <ian@cygnus.com> 19545f210c2aSfgsch 19555f210c2aSfgsch * ldmain.c (main): Call bfd_set_error_program_name. 19565f210c2aSfgsch 19575f210c2aSfgschThu Mar 21 13:17:34 1996 Ian Lance Taylor <ian@cygnus.com> 19585f210c2aSfgsch 19595f210c2aSfgsch * ld.texinfo: Fix a couple of indexing entries. Mention that 19605f210c2aSfgsch --verbose displays builtin linker scripts. 19615f210c2aSfgsch 19625f210c2aSfgsch * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, 19635f210c2aSfgsch and the local symbol name does not match the filename, print the 19645f210c2aSfgsch filename as well. 19655f210c2aSfgsch 19665f210c2aSfgsch Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF: 19675f210c2aSfgsch * lexsup.c (parse_args): -Bshareable is a synonym for -shared. 19685f210c2aSfgsch * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same 19695f210c2aSfgsch as TEXT_START_ADDR. 19705f210c2aSfgsch 19715f210c2aSfgschWed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 19725f210c2aSfgsch 19735f210c2aSfgsch * ld.texinfo: Fix typos. Use @pxref only inside parentheses. 19745f210c2aSfgsch 19755f210c2aSfgschWed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com> 19765f210c2aSfgsch 19775f210c2aSfgsch * ldmain.c (add_wrap): New function. 19785f210c2aSfgsch * ldmain.h (add_wrap): Declare. 19795f210c2aSfgsch * lexsup.c (parse_args): Call add_wrap. 19805f210c2aSfgsch 19815f210c2aSfgschTue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com> 19825f210c2aSfgsch 19835f210c2aSfgsch * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. 19845f210c2aSfgsch 19855f210c2aSfgschWed Mar 13 17:47:31 1996 Jeffrey A Law (law@cygnus.com) 19865f210c2aSfgsch 19875f210c2aSfgsch * scripttempl/h8300.sc: Change name of page zero memory 19885f210c2aSfgsch from "null" to "vectors". Create an output section for 19895f210c2aSfgsch vectors. Add comments on how to explicitly place items 19905f210c2aSfgsch in the vector table. 19915f210c2aSfgsch * scripttempl/h8300h.sc: Likewise. 19925f210c2aSfgsch 19935f210c2aSfgschWed Mar 13 12:40:18 1996 Ian Lance Taylor <ian@cygnus.com> 19945f210c2aSfgsch 19955f210c2aSfgsch * emultempl/lnk960.em (machine_table): Add jx and hx. 19965f210c2aSfgsch 19975f210c2aSfgsch * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't 19985f210c2aSfgsch support it. 19995f210c2aSfgsch 20005f210c2aSfgschTue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com> 20015f210c2aSfgsch 20025f210c2aSfgsch * ld.h (ld_config_type): Add warn_multiple_gp field. 20035f210c2aSfgsch * lexsup.c (parse_args): Handle --warn-multiple-gp. 20045f210c2aSfgsch * ldmain.c (warning_callback): Suppress multiple gp values warning 20055f210c2aSfgsch if --warn_multiple_gp was not used. 20065f210c2aSfgsch * ld.texinfo, ld.1: Document --warn-multiple-gp. 20075f210c2aSfgsch 20085f210c2aSfgschTue Mar 12 12:02:21 1996 Ian Lance Taylor <ian@cygnus.com> 20095f210c2aSfgsch 20105f210c2aSfgsch * lexsup.c (parse_args): Handle --wrap. 20115f210c2aSfgsch * ldmain.c (main): Initialize link_info.wrap_hash. 20125f210c2aSfgsch * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED 20135f210c2aSfgsch and NAME cases. 20145f210c2aSfgsch * ld.texinfo, ld.1: Document --wrap. 20155f210c2aSfgsch 20165f210c2aSfgsch * configure: Rebuild with autoconf 2.8. 20175f210c2aSfgsch 20185f210c2aSfgsch Don't do SunOS style dynamic linking for sparc-aout: 20195f210c2aSfgsch * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. 20205f210c2aSfgsch (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. 20215f210c2aSfgsch (sparc*-wrs-vxworks*): Likewise. 20225f210c2aSfgsch * emulparams/sparcaout.sh: New file. 20235f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. 20245f210c2aSfgsch (esparcaout.c): New target. 20255f210c2aSfgsch 20265f210c2aSfgschWed Mar 6 16:06:52 1996 J.T. Conklin <jtc@rtl.cygnus.com> 20275f210c2aSfgsch 20285f210c2aSfgsch * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change 20295f210c2aSfgsch in a different manner to work around differences in shell variable 20305f210c2aSfgsch expansion. 20315f210c2aSfgsch 20325f210c2aSfgschWed Mar 6 18:08:18 1996 Ian Lance Taylor <ian@cygnus.com> 20335f210c2aSfgsch 20345f210c2aSfgsch * ldemul.h (ldemul_unrecognized_file): Declare. 20355f210c2aSfgsch (ldemulation_xfer_type): Add unrecognized_file field. 20365f210c2aSfgsch * ldemul.c (ldemul_unrecognized_file): New function. 20375f210c2aSfgsch * ldlang.c (load_symbols): If a file can not be recognized, call 20385f210c2aSfgsch ldemul_unrecognized_file before trying it as a linker script. 2039d2201f2fSdrahn * emultempl/aix.em (gld${EMULATION_NAME}_unrecognized_file): New 2040d2201f2fSdrahn static function. 20415f210c2aSfgsch (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". 20425f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. 20435f210c2aSfgsch 20445f210c2aSfgschMon Mar 4 14:11:17 1996 Ian Lance Taylor <ian@cygnus.com> 20455f210c2aSfgsch 20465f210c2aSfgsch * ldlang.c (wild): Handle foo.a(.text) by mapping each included 20475f210c2aSfgsch member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>. 20485f210c2aSfgsch 20495f210c2aSfgschFri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 20505f210c2aSfgsch 20515f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): 20525f210c2aSfgsch Search trinary.cond rather than searching trinary.lhs twice. 20535f210c2aSfgsch 20545f210c2aSfgschTue Feb 27 15:08:43 1996 Stan Shebs <shebs@andros.cygnus.com> 20555f210c2aSfgsch 20565f210c2aSfgsch * mpw-make.sed: Edit out shared library support. 20575f210c2aSfgsch (@TDIRS@): Edit out, can't use genscripts. 20585f210c2aSfgsch 20595f210c2aSfgschTue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 20605f210c2aSfgsch 20615f210c2aSfgsch * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. 20625f210c2aSfgsch * emulparams/m68klinux.sh: New file. 20635f210c2aSfgsch * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): 20645f210c2aSfgsch Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of 20655f210c2aSfgsch bfd_linux_size_dynamic_sections. 20665f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. 20675f210c2aSfgsch (em68klinux.c): New target. 20685f210c2aSfgsch * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. 20695f210c2aSfgsch 20705f210c2aSfgschTue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com> 20715f210c2aSfgsch 20725f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. 20735f210c2aSfgsch Fill in missing entries. 20745f210c2aSfgsch 20755f210c2aSfgsch * lexsup.c (parse_args): Recognize --no-whole-archive. 20765f210c2aSfgsch * ldlang.h (lang_input_statement_type): Add whole_archive field. 20775f210c2aSfgsch * ldlang.c (new_afile): Set whole_archive field. 20785f210c2aSfgsch (load_symbols): Check input file specific whole_archive field 20795f210c2aSfgsch rather than global variable. 20805f210c2aSfgsch * ld.texinfo, ld.1: Document --no-whole-archive. 20815f210c2aSfgsch 20825f210c2aSfgschTue Feb 20 16:07:00 1996 Ian Lance Taylor <ian@cygnus.com> 20835f210c2aSfgsch 20845f210c2aSfgsch * configure.tgt: Correct gldi960 to gld960. 20855f210c2aSfgsch 20865f210c2aSfgschMon Feb 19 11:16:44 1996 Ian Lance Taylor <ian@cygnus.com> 20875f210c2aSfgsch 20885f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check 20895f210c2aSfgsch the SONAME if it is available. 20905f210c2aSfgsch (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the 20915f210c2aSfgsch filename, when checking for conflicting library versions. Don't 20925f210c2aSfgsch assume that the suffix is only numbers and dots. 20935f210c2aSfgsch 20945f210c2aSfgsch * ld.texinfo: Mention that -R can be used for -rpath. 20955f210c2aSfgsch 20965f210c2aSfgschSun Feb 18 15:05:17 1996 Ian Lance Taylor <ian@cygnus.com> 20975f210c2aSfgsch 20985f210c2aSfgsch * configure.host: Check for 'do not mix' from native linker before 20995f210c2aSfgsch trying to use -rpath. 21005f210c2aSfgsch 21015f210c2aSfgschThu Feb 15 13:58:06 1996 Ian Lance Taylor <ian@cygnus.com> 21025f210c2aSfgsch 21035f210c2aSfgsch * configure.in: Remove explicit substitution of CFLAGS; autoconf 21045f210c2aSfgsch does it anyhow. 21055f210c2aSfgsch * configure: Rebuild. 21065f210c2aSfgsch * Makefile.in (LDFLAGS): Set to @LDFLAGS@. 21075f210c2aSfgsch 21085f210c2aSfgsch * configure.in: Call AC_PROG_CC before configure.host. 21095f210c2aSfgsch * configure: Rebuild. 21105f210c2aSfgsch * configure.host: Remove go32 host, since it should no longer be 21115f210c2aSfgsch necessary. Don't set CC for romp host. 21125f210c2aSfgsch 21135f210c2aSfgsch * scripttempl/elf.sc: Don't skip a page in virtual memory space if 21145f210c2aSfgsch the text segment ends exactly on a page boundary. 21155f210c2aSfgsch 21165f210c2aSfgsch * configure.in: Substitute RPATH_ENVVAR. 21175f210c2aSfgsch * configure: Rebuild. 21185f210c2aSfgsch * configure.host: Set RPATH_ENVVAR. 21195f210c2aSfgsch * Makefile.in (RPATH_ENVVAR): New variable. 21205f210c2aSfgsch (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. 21215f210c2aSfgsch 21225f210c2aSfgschWed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> 21235f210c2aSfgsch 21245f210c2aSfgsch * configure.in: Redo emulation handling so that each emulation 21255f210c2aSfgsch searches the correct tool directory, based on the target alias. 21265f210c2aSfgsch For example, "configure --enable-targets=m68k-coff i386-linux" 21275f210c2aSfgsch will search /usr/local/i386-linux/lib for linux and 21285f210c2aSfgsch /usr/local/m68k-coff/lib for m68k-coff. 21295f210c2aSfgsch * configure: Rebuild. 21305f210c2aSfgsch * configure.tgt: Add special tdir settings for Linux. 21315f210c2aSfgsch * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} 21325f210c2aSfgsch for each eEMUL.c target. 21335f210c2aSfgsch * genscripts.sh: Accept specific alias as 9th argument, and use it 21345f210c2aSfgsch in LIB_PATH. 21355f210c2aSfgsch 21365f210c2aSfgschWed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> 21375f210c2aSfgsch 21385f210c2aSfgsch * ldlang.c (lang_set_startof): Don't do anything for a 21395f210c2aSfgsch relocateable link. 21405f210c2aSfgsch 21415f210c2aSfgsch * ldgram.y (mri_script_file): Call mri_draw_tree. 21425f210c2aSfgsch * mri.c (mri_draw_tree): Make globally visible. Don't bother to 21435f210c2aSfgsch create memory regions. 21445f210c2aSfgsch (mri_load): Don't call mri_draw_tree. 21455f210c2aSfgsch * mri.h (mri_draw_tree): Declare. 21465f210c2aSfgsch 21475f210c2aSfgsch * configure.tgt (m68*-*-psos): New target. 21485f210c2aSfgsch * emulparams/m68kpsos.sh: New file. 21495f210c2aSfgsch * scripttempl/psos.sc: New file. 21505f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. 21515f210c2aSfgsch (em68kpsos.c): New target. 21525f210c2aSfgsch 21535f210c2aSfgschWed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com> 21545f210c2aSfgsch 21555f210c2aSfgsch * configure.tgt (*-*-ieee*): New target; use vanilla. 21565f210c2aSfgsch 21575f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip 21585f210c2aSfgsch `:foo' from ${ARCH}. 21595f210c2aSfgsch 21605f210c2aSfgschTue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu> 21615f210c2aSfgsch 21625f210c2aSfgsch * scripttempl/i386msdos.sc: Don't pad the .text section. Put 21635f210c2aSfgsch .rodata in .data. 21645f210c2aSfgsch 21655f210c2aSfgschTue Feb 13 14:04:19 1996 Ian Lance Taylor <ian@cygnus.com> 21665f210c2aSfgsch 21675f210c2aSfgsch * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. 21685f210c2aSfgsch 21695f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if 21705f210c2aSfgsch it looks like we might be linking in two different versions of the 21715f210c2aSfgsch same shared library. Based on a patch from H J Lu <hjl@zoom.com>. 21725f210c2aSfgsch 21735f210c2aSfgschThu Feb 8 19:25:54 1996 Ian Lance Taylor <ian@cygnus.com> 21745f210c2aSfgsch 21755f210c2aSfgsch * ldlang.c (lang_size_sections): Increment the section size when a 21765f210c2aSfgsch padding statement is encountered. 21775f210c2aSfgsch 21785f210c2aSfgschWed Feb 7 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com> 21795f210c2aSfgsch 21805f210c2aSfgsch * configure.in: Look for --enable-shared. Change the value of 21815f210c2aSfgsch BFDLIB when linking against a shared library on SunOS. 21825f210c2aSfgsch * configure: Rebuild. 21835f210c2aSfgsch * configure.host: If using a shared BFD library, try to pass a 21845f210c2aSfgsch reasonable -rpath option when linking. 21855f210c2aSfgsch * Makefile.in (BFDLIB): Set to @BFDLIB@. 21865f210c2aSfgsch 21875f210c2aSfgschTue Feb 6 12:29:14 1996 Doug Evans <dje@charmed.cygnus.com> 21885f210c2aSfgsch 21895f210c2aSfgsch * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. 21905f210c2aSfgsch * emultempl/generic.em: Strip `:foo' from ${ARCH}. 21915f210c2aSfgsch 21925f210c2aSfgschMon Feb 5 16:25:30 1996 Ian Lance Taylor <ian@cygnus.com> 21935f210c2aSfgsch 21945f210c2aSfgsch Support for building bfd and opcodes as shared libraries, based on 21955f210c2aSfgsch patches from Alan Modra <alan@spri.levels.unisa.edu.au>: 21965f210c2aSfgsch * configure.in (HLDFLAGS): New substitution. 21975f210c2aSfgsch * configure: Rebuild. 21985f210c2aSfgsch * configure.host: Set HLDFLAGS on SunOS. 21995f210c2aSfgsch * Makefile.in (HLDFLAGS): New variable. 22005f210c2aSfgsch (BFDDEP): New variable. 22015f210c2aSfgsch (BFDLIB): Change to -L../bfd -lbfd. 22025f210c2aSfgsch ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use 22035f210c2aSfgsch $(HLDFLAGS) in link. 22045f210c2aSfgsch (check): Set LD_LIBRARY_PATH in the environment. 22055f210c2aSfgsch 22065f210c2aSfgschFri Feb 2 19:26:25 1996 Michael Meissner <meissner@wogglebug.tiac.net> 22075f210c2aSfgsch 22085f210c2aSfgsch * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss 22095f210c2aSfgsch in the read-only section, not read/write unless we are making a 22105f210c2aSfgsch shared library. 22115f210c2aSfgsch (.debug*): Add dwarf debug sections. 22125f210c2aSfgsch (.rela.{sdata*,sbss*}): Add sections. 22135f210c2aSfgsch 22145f210c2aSfgschFri Feb 2 16:50:21 1996 Ian Lance Taylor <ian@cygnus.com> 22155f210c2aSfgsch 22165f210c2aSfgsch * configure: Regenerate. 22175f210c2aSfgsch 22185f210c2aSfgschThu Feb 1 10:50:46 1996 Ian Lance Taylor <ian@cygnus.com> 22195f210c2aSfgsch 22205f210c2aSfgsch * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, 22215f210c2aSfgsch for SVR4 compatibility. 22225f210c2aSfgsch 22235f210c2aSfgsch * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. 22245f210c2aSfgsch 22255f210c2aSfgschWed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com> 22265f210c2aSfgsch 22275f210c2aSfgsch * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. 22285f210c2aSfgsch * emultempl/pe.em (definfo init): Make the default stack reserve 22295f210c2aSfgsch of a PPC larger. 22305f210c2aSfgsch 22315f210c2aSfgschWed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> 22325f210c2aSfgsch 22335f210c2aSfgsch * configure.tgt (m68*-apple-aux*): New target. 22345f210c2aSfgsch * emulparams/m68kaux.sh: New file. 22355f210c2aSfgsch * scripttempl/m68kaux.sc: New file. 22365f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. 22375f210c2aSfgsch (em68kaux.c): New target. 22385f210c2aSfgsch 22395f210c2aSfgschTue Jan 30 13:18:56 1996 Ian Lance Taylor <ian@cygnus.com> 22405f210c2aSfgsch 22415f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore 22425f210c2aSfgsch -bnoentry, since the right thing tends to happen anyhow. 22435f210c2aSfgsch 22445f210c2aSfgschMon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com> 22455f210c2aSfgsch 22465f210c2aSfgsch * ld.texinfo, ld.1: Document -export-dynamic. 22475f210c2aSfgsch 22485f210c2aSfgschFri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 22495f210c2aSfgsch 22505f210c2aSfgsch * emultempl/sunos.em: Check for native compile by comparing 22515f210c2aSfgsch ${target} and ${host}. 22525f210c2aSfgsch 22535f210c2aSfgschThu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk> 22545f210c2aSfgsch 22555f210c2aSfgsch * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed 22565f210c2aSfgsch TEXT_START_ADDR to allow use on IDT and PMON systems. 22575f210c2aSfgsch 22585f210c2aSfgschWed Jan 24 20:59:40 1996 Steve Chamberlain <sac@slash.cygnus.com> 22595f210c2aSfgsch 22605f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): 22615f210c2aSfgsch correct spelling. 22625f210c2aSfgsch 22635f210c2aSfgschWed Jan 24 16:59:19 1996 Doug Evans <dje@charmed.cygnus.com> 22645f210c2aSfgsch 22655f210c2aSfgsch * configure.tgt (sparc64-*-solaris2*): New configuration. 22665f210c2aSfgsch (sparc64-*-aout*): Renamed from sparc64*. 22675f210c2aSfgsch 22685f210c2aSfgschMon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 22695f210c2aSfgsch 22705f210c2aSfgsch * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. 22715f210c2aSfgsch * genscripts.sh: Set host, target and target_alias variables. 22725f210c2aSfgsch Check for native compile by comparing ${target} and ${host}. 22735f210c2aSfgsch * emultempl/elf32.em: Likewise. 22745f210c2aSfgsch * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. 22755f210c2aSfgsch 22765f210c2aSfgschMon Jan 22 11:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> 22775f210c2aSfgsch 22785f210c2aSfgsch * scripttempl/elfppc.sc: Refine eabi support to better support 22795f210c2aSfgsch .sdata, .sdata2, .sbss, etc. sections. 22805f210c2aSfgsch 22815f210c2aSfgschTue Jan 16 15:16:58 1996 Ian Lance Taylor <ian@cygnus.com> 22825f210c2aSfgsch 22835f210c2aSfgsch * ldgram.y (%union): Add phdr field. 22845f210c2aSfgsch (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. 22855f210c2aSfgsch (phdr_qualifiers): New nonterminal. Add support for FLAGS. 22865f210c2aSfgsch (opt_hdrs, hdr): Remove. 22875f210c2aSfgsch (phdr_val): New nonterminal. 22885f210c2aSfgsch * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr 22895f210c2aSfgsch and phdrs parameters. Add flags parameter. 22905f210c2aSfgsch (lang_record_phdrs): Update for changes to lang_phdr. Pass flags 22915f210c2aSfgsch to bfd_record_phdr. 22925f210c2aSfgsch * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and 22935f210c2aSfgsch phdrs fields. Add flags field. 22945f210c2aSfgsch (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. 22955f210c2aSfgsch (lang_new_phdr): Update declaration. 22965f210c2aSfgsch * ld.texinfo: Document FLAGS. 22975f210c2aSfgsch 22985f210c2aSfgschMon Jan 15 15:07:19 1996 Ian Lance Taylor <ian@cygnus.com> 22995f210c2aSfgsch 23005f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): 23015f210c2aSfgsch Don't make a shared library because of an undefined reference to 23025f210c2aSfgsch __GLOBAL_OFFSET_TABLE_. 23035f210c2aSfgsch 23045f210c2aSfgsch Add some Irix 5 support, mostly from Kazumoto Kojima 23055f210c2aSfgsch <kkojima@info.kanagawa-u.ac.jp>: 23065f210c2aSfgsch * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. 23075f210c2aSfgsch (SHLIB_TEXT_START_ADDR): Define. 23085f210c2aSfgsch (OTHER_GOT_SYMBOLS): Define. 23095f210c2aSfgsch (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. 23105f210c2aSfgsch (EXECUTABLE_SYMBOLS): Don't define. 23115f210c2aSfgsch (DYNAMIC_LINK): Don't define. 23125f210c2aSfgsch * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. 23135f210c2aSfgsch * scripttempl/elfmips.sc: New file. 23145f210c2aSfgsch * configure.host (mips*-dec-bsd*): Change mips to mips*. 23155f210c2aSfgsch (mips*-sgi-irix4*): Likewise. 23165f210c2aSfgsch (mips*-sgi-irix5*): New entry. 23175f210c2aSfgsch * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than 23185f210c2aSfgsch elf.sc. 23195f210c2aSfgsch (eelf32lmip.c): Likewise. 23205f210c2aSfgsch 23215f210c2aSfgschSat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> 23225f210c2aSfgsch 23235f210c2aSfgsch * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add 23245f210c2aSfgsch .rela.got.neg section. 23255f210c2aSfgsch 23265f210c2aSfgschFri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com> 23275f210c2aSfgsch 23285f210c2aSfgsch * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. 23295f210c2aSfgsch 23305f210c2aSfgsch * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if 23315f210c2aSfgsch ANSI_PROTOTYPES is defined. Remove special handling of 23325f210c2aSfgsch WINDOWS_NT. Various indendation fixes. 23335f210c2aSfgsch (vfinfo): Change fmt parameter to const char *. 23345f210c2aSfgsch (info_msg): Write <stdarg.h> version. 23355f210c2aSfgsch (einfo, minfo, finfo): Likewise. 23365f210c2aSfgsch (info_assert): Change file parameter to const char *. 23375f210c2aSfgsch * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is 23385f210c2aSfgsch defined, use a real prototype. 23395f210c2aSfgsch (info_assert): Change first parameter to be const char *. 23405f210c2aSfgsch 23415f210c2aSfgschFri Jan 12 13:29:55 1996 Michael Meissner <meissner@tiktok.cygnus.com> 23425f210c2aSfgsch 23435f210c2aSfgsch * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add 23445f210c2aSfgsch in old support that 2.7.2 needs, but the current compiler does 23455f210c2aSfgsch not. 23465f210c2aSfgsch 23475f210c2aSfgsch * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the 23485f210c2aSfgsch correct Linker script template. 23495f210c2aSfgsch 23505f210c2aSfgsch * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, 23515f210c2aSfgsch not 0x400000. 23525f210c2aSfgsch (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. 23535f210c2aSfgsch 23545f210c2aSfgschTue Jan 9 15:53:02 1996 Ian Lance Taylor <ian@cygnus.com> 23555f210c2aSfgsch 23565f210c2aSfgsch * scripttempl/alpha.sc: Put .rconst right after .rdata. 23575f210c2aSfgsch 23585f210c2aSfgschFri Jan 5 14:07:45 1996 Steve Chamberlain <sac@slash.cygnus.com> 23595f210c2aSfgsch 23605f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): 23615f210c2aSfgsch sort using right pointer. 23625f210c2aSfgsch 23635f210c2aSfgschFri Jan 5 12:25:47 1996 Michael Meissner <meissner@tiktok.cygnus.com> 23645f210c2aSfgsch 23655f210c2aSfgsch * scripttempl/elfppc.sc: Remove support for creating special 23665f210c2aSfgsch labels for eabi section begin/end here. The compiler now uses 23675f210c2aSfgsch crt{i,n}.o to create these symbols. 23685f210c2aSfgsch 23695f210c2aSfgschThu Jan 4 17:08:58 1996 Ian Lance Taylor <ian@cygnus.com> 23705f210c2aSfgsch 23715f210c2aSfgsch * configure.host: Change existing Linux HOSTING_CRT0 to be used 23725f210c2aSfgsch for a.out only, and put in appropriate HOSTING_CRT0 and 23735f210c2aSfgsch HOSTING_LIBS values for Linux ELF. 23745f210c2aSfgsch 23755f210c2aSfgschThu Jan 4 12:02:05 1996 Doug Evans <dje@canuck.cygnus.com> 23765f210c2aSfgsch 23775f210c2aSfgsch * scripttempl/h8300.sc: Use all 64K for ram. 23785f210c2aSfgsch * scripttempl/h8300h.sc: Define 256K ram size. 23795f210c2aSfgsch 23805f210c2aSfgschThu Dec 21 15:57:18 1995 Ian Lance Taylor <ian@cygnus.com> 23815f210c2aSfgsch 23825f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass 23835f210c2aSfgsch export_defines as true to bfd_xcoff_size_dynamic_sections if -unix 23845f210c2aSfgsch was used, regardless of whether -bE was used. 23855f210c2aSfgsch 23865f210c2aSfgschTue Dec 19 17:35:38 1995 Ian Lance Taylor <ian@cygnus.com> 23875f210c2aSfgsch 23885f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set 23895f210c2aSfgsch relocateable before calling ldctor_build_sets if the output file 23905f210c2aSfgsch is in an XCOFF format. 23915f210c2aSfgsch 23925f210c2aSfgschFri Dec 15 16:34:36 1995 Ian Lance Taylor <ian@cygnus.com> 23935f210c2aSfgsch 23945f210c2aSfgsch * ldwrite.c (build_link_order): When handling a data statement, if 23955f210c2aSfgsch the endianness of the output file is unknown, use the endianness 23965f210c2aSfgsch of the input file. 23975f210c2aSfgsch 23985f210c2aSfgschTue Dec 12 13:55:41 1995 Stan Shebs <shebs@andros.cygnus.com> 23995f210c2aSfgsch 24005f210c2aSfgsch * mpw-config.in: Recognize mips-*-* as equivalent to 24015f210c2aSfgsch mips-idt-ecoff. 24025f210c2aSfgsch * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. 24035f210c2aSfgsch * mpw-ld.r: Add version resources. 24045f210c2aSfgsch (cfrg): Use symbolic instead of literal name for executable. 24055f210c2aSfgsch 24065f210c2aSfgschMon Dec 11 15:13:41 1995 Kim Knuttila <krk@cygnus.com> 24075f210c2aSfgsch 24085f210c2aSfgsch * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. 24095f210c2aSfgsch 24105f210c2aSfgschWed Dec 6 14:33:50 1995 Doug Evans <dje@canuck.cygnus.com> 24115f210c2aSfgsch 24125f210c2aSfgsch * ldlang.c (print_statement{,s}): Delete duplicate prototype. 24135f210c2aSfgsch (print_statement_list): Renamed from print_statement. All callers 24145f210c2aSfgsch updated. 24155f210c2aSfgsch (print_statement): New function to print just one statement. 24165f210c2aSfgsch (print_{data,reloc,padding}_statement): Don't crash if 24175f210c2aSfgsch output_section == NULL. 24185f210c2aSfgsch (dprint_statement): New function. 24195f210c2aSfgsch 24205f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix 24215f210c2aSfgsch call to sort_sections. 24225f210c2aSfgsch 24235f210c2aSfgschWed Dec 6 14:59:06 1995 Ian Lance Taylor <ian@cygnus.com> 24245f210c2aSfgsch 24255f210c2aSfgsch * emultempl/aix.em (unix_ld): New static variable. 24265f210c2aSfgsch (gld${EMULATION_NAME}_parse_args): Handle -unix. 24275f210c2aSfgsch (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass 24285f210c2aSfgsch gc as false and export_defineds as true to size_dynamic_sections. 24295f210c2aSfgsch 24305f210c2aSfgsch * ldexp.c (exp_fold_tree): Permit assignments to dot in the final 24315f210c2aSfgsch phase if the current section is abs_output_section. 24325f210c2aSfgsch 24335f210c2aSfgsch 24345f210c2aSfgschTue Dec 5 09:49:39 1995 Doug Evans <dje@canuck.cygnus.com> 24355f210c2aSfgsch 24365f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call 24375f210c2aSfgsch to sort_sections. 24385f210c2aSfgsch 24395f210c2aSfgschFri Dec 1 16:48:36 1995 Ian Lance Taylor <ian@cygnus.com> 24405f210c2aSfgsch 24415f210c2aSfgsch * ldgram.y (PHDRS): New token. 24425f210c2aSfgsch (ifile_p1): Accept phdrs. 24435f210c2aSfgsch (section): Accept phdr_opt at the end of the section definition. 24445f210c2aSfgsch (phdr_op): New nonterminal. 24455f210c2aSfgsch (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. 24465f210c2aSfgsch * ldlex.l: Accept PHDRS. 24475f210c2aSfgsch * ldlang.h (struct lang_output_section_phdr_list): Define. 24485f210c2aSfgsch (lang_output_section_statement_type): Add phdrs field. 24495f210c2aSfgsch (struct lang_phdr): Define. 24505f210c2aSfgsch (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. 24515f210c2aSfgsch (lang_new_phdr): Declare. 24525f210c2aSfgsch * ldlang.c (lang_phdr_list): New static variable. 24535f210c2aSfgsch (lang_output_section_statement_lookup): Initialize phdrs field. 24545f210c2aSfgsch (lang_process): Call lang_record_phdrs. 24555f210c2aSfgsch (lang_new_phdr): New function. 24565f210c2aSfgsch (lang_section_in_phdr): New function. 24575f210c2aSfgsch (lang_record_phdrs): New static function. 24585f210c2aSfgsch * ld.texinfo: Document PHDRS. 24595f210c2aSfgsch 24605f210c2aSfgschThu Nov 30 13:14:30 1995 Kim Knuttila <krk@cygnus.com> 24615f210c2aSfgsch 24625f210c2aSfgsch * scripttempl/ppcpe.sc: Moved .edata into its own section to 24635f210c2aSfgsch expose it. 24645f210c2aSfgsch 24655f210c2aSfgschThu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 24665f210c2aSfgsch 24675f210c2aSfgsch * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and 24685f210c2aSfgsch HOSTING_LIBS for testing. 24695f210c2aSfgsch (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for 24705f210c2aSfgsch testing. 24715f210c2aSfgsch 24725f210c2aSfgschTue Nov 28 12:14:53 1995 Ian Lance Taylor <ian@cygnus.com> 24735f210c2aSfgsch 24745f210c2aSfgsch * lexsup.c (parse_args): Set config.dynamic_link to false for -N 24755f210c2aSfgsch and -n. 24765f210c2aSfgsch 24775f210c2aSfgschMon Nov 27 13:12:09 1995 Ian Lance Taylor <ian@cygnus.com> 24785f210c2aSfgsch 24795f210c2aSfgsch * configure: Rebuild with autoconf 2.7. 24805f210c2aSfgsch 24815f210c2aSfgschFri Nov 24 18:35:35 1995 Doug Evans <dje@canuck.cygnus.com> 24825f210c2aSfgsch 24835f210c2aSfgsch * scripttempl/pe.sc: Two .junk's is too much junk. 24845f210c2aSfgsch 24855f210c2aSfgschTue Nov 21 16:14:32 1995 Ian Lance Taylor <ian@cygnus.com> 24865f210c2aSfgsch 24875f210c2aSfgsch * configure.in: Use BFD_NEED_DECLARATION. 24885f210c2aSfgsch * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. 24895f210c2aSfgsch * configure, config.in: Rebuild with autoconf 2.6. 24905f210c2aSfgsch 24915f210c2aSfgsch * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR 24925f210c2aSfgsch being unsupported if this is not a relocateable link and the input 24935f210c2aSfgsch BFD supports it, since ldctor_build_sets can cope with that case. 24945f210c2aSfgsch 24955f210c2aSfgschFri Nov 17 16:23:15 1995 Stan Shebs <shebs@andros.cygnus.com> 24965f210c2aSfgsch 24975f210c2aSfgsch * configure.tgt (powerpc-*-macos*): New target. 24985f210c2aSfgsch * emulparams/ppcmacos.sh: New file, PowerMac emulation. 24995f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. 25005f210c2aSfgsch (eppcmacos.c): New target. 25015f210c2aSfgsch * mpw-eppcmacos.c: Update. 25025f210c2aSfgsch * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. 25035f210c2aSfgsch 25045f210c2aSfgschFri Nov 17 10:37:27 1995 Ian Lance Taylor <ian@cygnus.com> 25055f210c2aSfgsch 25065f210c2aSfgsch * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not 25075f210c2aSfgsch $(host_canonical) and $(target_canonical). 25085f210c2aSfgsch (CXX_FOR_TARGET): Likewise. 25095f210c2aSfgsch 25105f210c2aSfgschThu Nov 16 11:23:42 1995 Doug Evans <dje@canuck.cygnus.com> 25115f210c2aSfgsch 25125f210c2aSfgsch * scripttempl/pe.sc (.endjunk): Move definition of `end' to here 25135f210c2aSfgsch so the malloc heap begins at a sane place. 25145f210c2aSfgsch 25155f210c2aSfgschThu Nov 16 03:09:32 1995 Ken Raeburn <raeburn@cygnus.com> 25165f210c2aSfgsch 25175f210c2aSfgsch Version 2.6 released. 25185f210c2aSfgsch * ldver.c (ldversion): Update to 2.6. 25195f210c2aSfgsch 25205f210c2aSfgsch * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not 25215f210c2aSfgsch $(GENERATED_*FILES), since they need to be retained by distclean. 25225f210c2aSfgsch (maintainer-clean, realclean): Delete them here. 25235f210c2aSfgsch 25245f210c2aSfgschTue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com> 25255f210c2aSfgsch 25265f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the 25275f210c2aSfgsch base file with FOPEN_WB, not "w". 25285f210c2aSfgsch 25295f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the 25305f210c2aSfgsch environment variable LD_RUN_PATH if neither -rpath nor -rpath-link 25315f210c2aSfgsch were used. 25325f210c2aSfgsch (gld${EMULATION_NAME}_before_allocation): Use the environment 25335f210c2aSfgsch variable LD_RUN_PATH if -rpath was not used. 25345f210c2aSfgsch * ld.texinfo, ld.1: Document LD_RUN_PATH. 25355f210c2aSfgsch 25365f210c2aSfgschThu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com> 25375f210c2aSfgsch 25385f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize 25395f210c2aSfgsch -bl and -bloadmap options. 25405f210c2aSfgsch 25415f210c2aSfgsch * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, 25425f210c2aSfgsch report a better error. 25435f210c2aSfgsch 25445f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add 25455f210c2aSfgsch new local variable special_sections, and pass it to 25465f210c2aSfgsch size_dynamic_sections. Look through the results, and move the 25475f210c2aSfgsch sections around in the mapping so that they are defined correctly. 25485f210c2aSfgsch 25495f210c2aSfgschWed Nov 8 11:40:59 1995 Ian Lance Taylor <ian@cygnus.com> 25505f210c2aSfgsch 25515f210c2aSfgsch * ldemul.c (ldemul_default_target): Cast getenv return value. 25525f210c2aSfgsch 25535f210c2aSfgschTue Nov 7 11:15:36 1995 Kim Knuttila <krk@cygnus.com> 25545f210c2aSfgsch 25555f210c2aSfgsch * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable 25565f210c2aSfgsch Executable support. 25575f210c2aSfgsch * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable 25585f210c2aSfgsch support. 25595f210c2aSfgsch 25605f210c2aSfgsch * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. 25615f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. 25625f210c2aSfgsch 25635f210c2aSfgsch * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro 25645f210c2aSfgsch (gld_$_before_allocation): added hooks for toc construction based 25655f210c2aSfgsch on the above macro. 25665f210c2aSfgsch 25675f210c2aSfgschTue Nov 7 11:47:23 1995 Ian Lance Taylor <ian@cygnus.com> 25685f210c2aSfgsch 25695f210c2aSfgsch * ld.texinfo: The linker does not use _main as an entry point. 25705f210c2aSfgsch 25715f210c2aSfgschTue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 25725f210c2aSfgsch 25735f210c2aSfgsch * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo 25745f210c2aSfgsch 0x2000 not 0x200. 25755f210c2aSfgsch 25765f210c2aSfgschMon Nov 6 10:59:21 1995 Ian Lance Taylor <ian@cygnus.com> 25775f210c2aSfgsch 25785f210c2aSfgsch * configure.in: Add test for whether free must be declared. 25795f210c2aSfgsch * sysdep.h: Declare free if necessary. Include "ansidecl.h". 25805f210c2aSfgsch * acconfig.h: Explain NEED_DECLARATION_FREE. 25815f210c2aSfgsch * configure, config.in: Rebuild. 25825f210c2aSfgsch 25835f210c2aSfgsch * lexsup.c (parse_args): Take B:: out of shortopts. 25845f210c2aSfgsch 25855f210c2aSfgschSun Nov 5 03:08:28 1995 Ken Raeburn <raeburn@cygnus.com> 25865f210c2aSfgsch 25875f210c2aSfgsch * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 25885f210c2aSfgsch for now, as with m68k4kbsd, until shared library support gets 25895f210c2aSfgsch done. 25905f210c2aSfgsch 25915f210c2aSfgsch * configure.host: For i386 BSD variants, crt0.o lives in 25925f210c2aSfgsch /usr/lib. (True for NetBSD at least, unconfirmed for others.) 25935f210c2aSfgsch 25945f210c2aSfgschWed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 25955f210c2aSfgsch 25965f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add edelta68.o. 25975f210c2aSfgsch (edelta68.c): New target. 25985f210c2aSfgsch * configure.tgt (m68*-motorola-sysv*): New target. 25995f210c2aSfgsch * emulparams/delta68.sh: New file. 26005f210c2aSfgsch * scripttempl/delta68.sc: New file. 26015f210c2aSfgsch 26025f210c2aSfgsch * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section 26035f210c2aSfgsch addresses. 26045f210c2aSfgsch 26055f210c2aSfgschWed Nov 1 11:41:56 1995 Ian Lance Taylor <ian@cygnus.com> 26065f210c2aSfgsch 26075f210c2aSfgsch * ldgram.y (mri_script_command): Accept ',' as well as '=' in 26085f210c2aSfgsch ALIGN and ALIGNMOD statements. 26095f210c2aSfgsch 26105f210c2aSfgsch * emultempl/aix.em: Include ldgram.h. 26115f210c2aSfgsch (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on 26125f210c2aSfgsch AIX 4.1. 26135f210c2aSfgsch * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. 26145f210c2aSfgsch 26155f210c2aSfgschTue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com> 26165f210c2aSfgsch 26175f210c2aSfgsch * configure.host (alpha-*-linux*): New host. 26185f210c2aSfgsch * configure.tgt (alpha-*-linux*): New target. 26195f210c2aSfgsch 26205f210c2aSfgschTue Oct 31 12:36:52 1995 Ian Lance Taylor <ian@cygnus.com> 26215f210c2aSfgsch 26225f210c2aSfgsch * emultempl/aix.em (export_files): Remove. 26235f210c2aSfgsch (import_files): Make static. 26245f210c2aSfgsch (struct export_symbol_list): Define. 26255f210c2aSfgsch (export_symbols): New static variable. 26265f210c2aSfgsch (gld${EMULATION_NAME}_parse_args): Handle an initial -b option 26275f210c2aSfgsch correctly. Call read_file for an export file. 26285f210c2aSfgsch (gld${EMULATION_NAME}_before_allocation): Call 26295f210c2aSfgsch bfd_xcoff_export_symbol for each export symbol, rather than 26305f210c2aSfgsch calling read_file for each export file. 26315f210c2aSfgsch (gld${EMULATION_NAME}_read_file): For an export file, make the 26325f210c2aSfgsch exported symbols undefined, and store them on the export_symbols 26335f210c2aSfgsch list. 26345f210c2aSfgsch 26355f210c2aSfgschSat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com> 26365f210c2aSfgsch 26375f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): 26385f210c2aSfgsch Don't hang if last option is unrecognised. 26395f210c2aSfgsch (gld_${EMULATION_NAME}_set_symbols): Insert created 26405f210c2aSfgsch symbols into ABS output section. 26415f210c2aSfgsch 26425f210c2aSfgschFri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> 26435f210c2aSfgsch 26445f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD 26455f210c2aSfgsch m68k4k arch. 26465f210c2aSfgsch (em68k4knbsd.c): New rule. 26475f210c2aSfgsch 26485f210c2aSfgsch * configure.tgt: Added support for the NetBSD m68k4k arch. 26495f210c2aSfgsch 26505f210c2aSfgsch * genscripts.sh, ldint.texinfo, 26515f210c2aSfgsch emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, 26525f210c2aSfgsch gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, 26535f210c2aSfgsch hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, 26545f210c2aSfgsch i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, 26555f210c2aSfgsch m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, 26565f210c2aSfgsch pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, 26575f210c2aSfgsch st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed 26585f210c2aSfgsch PAGE_SIZE to TARGET_PAGE_SIZE. 26595f210c2aSfgsch 26605f210c2aSfgsch * emulparams/m68knbsd.h: Ditto. 26615f210c2aSfgsch (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. 26625f210c2aSfgsch (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time 26635f210c2aSfgsch being. 26645f210c2aSfgsch 26655f210c2aSfgsch * emulparams/m68k4knbsd.sh: New file. 26665f210c2aSfgsch 26675f210c2aSfgsch * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. 26685f210c2aSfgsch 26695f210c2aSfgschFri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> 26705f210c2aSfgsch 26715f210c2aSfgsch * emultempl/aix.em: Include ldctor.h. 26725f210c2aSfgsch (gld${EMULATION_NAME}_after_open): New static function. 26735f210c2aSfgsch (gld${EMULATION_NAME}_before_allocation): Call find_relocs. 26745f210c2aSfgsch (gld${EMULATION_NAME}_find_relocs): New static function. 26755f210c2aSfgsch (gld${EMULATION_NAME}_find_exp_assignment): New static function. 26765f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Use new after_open function. 26775f210c2aSfgsch * scripttempl/aix.sc: Use CONSTRUCTORS in .data. 26785f210c2aSfgsch * ldctor.c (struct set_info): Move definition into ldctor.h. 26795f210c2aSfgsch (struct set_element): Likewise. 26805f210c2aSfgsch (sets): Make non-static. 26815f210c2aSfgsch (ldctor_add_set_entry): Add name parameter. Save it in the new 26825f210c2aSfgsch set element. 26835f210c2aSfgsch (ldctor_build_sets): Avoid being called twice. Pass set element 26845f210c2aSfgsch name to lang_add_reloc. 26855f210c2aSfgsch * ldctor.h (struct set_info): Move definition here from ldctor.c. 26865f210c2aSfgsch (struct set_element): Likewise. Add new field name. 26875f210c2aSfgsch (sets): Declare. 26885f210c2aSfgsch (ldctor_add_set_entry): Declare new name parameter. 26895f210c2aSfgsch * ldwrite.c (build_link_order): Don't insist that either name or 26905f210c2aSfgsch section be NULL in a lang_reloc_statement. 26915f210c2aSfgsch * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for 26925f210c2aSfgsch new name parameter. 26935f210c2aSfgsch (constructor_callback): Pass name to ldctor_add_new_set_entry for 26945f210c2aSfgsch new name parameter. 26955f210c2aSfgsch 26965f210c2aSfgsch * ldmisc.c (demangle): Fix indentation. Remove a leading period. 26975f210c2aSfgsch 26985f210c2aSfgschThu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com> 26995f210c2aSfgsch 27005f210c2aSfgsch * mpw-config.in: Add PowerMac target support, generate config.h. 27015f210c2aSfgsch * mac-ld.r: New file, Mac resources. 27025f210c2aSfgsch * mpw-make.sed: New file, edits Makefile.in into MPW syntax. 27035f210c2aSfgsch * mpw-make.in: Remove. 27045f210c2aSfgsch * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. 27055f210c2aSfgsch 27065f210c2aSfgschThu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com> 27075f210c2aSfgsch 27085f210c2aSfgsch * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat 27095f210c2aSfgsch -static as a synonym for -bnso. 27105f210c2aSfgsch 27115f210c2aSfgsch * scripttempl/aix.sc: Move special symbols inside sections. 27125f210c2aSfgsch Always start .data at 0. 27135f210c2aSfgsch 27145f210c2aSfgschWed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com> 27155f210c2aSfgsch 27165f210c2aSfgsch * Makefile.in (diststuff): Also make info. 27175f210c2aSfgsch (maintainer-clean realclean): Also delete *.info*. 27185f210c2aSfgsch 27195f210c2aSfgschWed Oct 25 11:27:25 1995 Ian Lance Taylor <ian@cygnus.com> 27205f210c2aSfgsch 27215f210c2aSfgsch * emultempl/aix.em: Add support for various AIX linker options, 27225f210c2aSfgsch for AIX import and export files, and for AIX shared objects. 27235f210c2aSfgsch * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. 27245f210c2aSfgsch 27255f210c2aSfgsch * ldmain.c (main): Initialize new field link_info.static_link. 27265f210c2aSfgsch 27275f210c2aSfgsch * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. 27285f210c2aSfgsch (constructor_callback): Likewise. 27295f210c2aSfgsch * ldmisc.c (vfinfo): Likewise. 27305f210c2aSfgsch * ldwrite.c (build_link_order): Likewise. 27315f210c2aSfgsch 27325f210c2aSfgsch * ld.texinfo: The MRI ALIGN directive is supported. 27335f210c2aSfgsch 27345f210c2aSfgschMon Oct 23 11:46:43 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> 27355f210c2aSfgsch 27365f210c2aSfgsch * emulparams/elf32vr4300.sh: Deleted. 27375f210c2aSfgsch * emulparams/elf32vr4300el.sh: Deleted. 27385f210c2aSfgsch * emulparams/elf32b4300.sh: Added. 27395f210c2aSfgsch * emulparams/elf32l4300.sh: Added. 27405f210c2aSfgsch * configure.tgt, Makefile.in: Updated the build to use the 27415f210c2aSfgsch new 8.3 unique names. 27425f210c2aSfgsch 27435f210c2aSfgschThu Oct 19 17:41:46 1995 Ian Lance Taylor <ian@cygnus.com> 27445f210c2aSfgsch 27455f210c2aSfgsch * ldlang.c (entry_symbol): Make non-static. 27465f210c2aSfgsch * ldlang.h (entry_symbol): Declare. 27475f210c2aSfgsch 27485f210c2aSfgsch * ldlex.l: Treat PROVIDE as a keyword in expression state. 27495f210c2aSfgsch 27505f210c2aSfgschWed Oct 18 17:34:06 1995 steve chamberlain <sac@slash.cygnus.com> 27515f210c2aSfgsch 27525f210c2aSfgsch * scripttempl/pe.sc (.bss): Move to be after .text 27535f210c2aSfgsch 27545f210c2aSfgschTue Oct 17 12:22:05 1995 Ian Lance Taylor <ian@cygnus.com> 27555f210c2aSfgsch 27565f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): 27575f210c2aSfgsch Search trinary.cond rather than searching trinary.lhs twice. From 27585f210c2aSfgsch linli@ihp.PHys.ethz.CH. 27595f210c2aSfgsch 27605f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move 27615f210c2aSfgsch directory searching code into gld${EMULATION_NAME}_search_dir. 27625f210c2aSfgsch (gld${EMULATION_NAME}_search_dir): New static function, extracted 27635f210c2aSfgsch from gld${EMULATION_NAME}_find_so. 27645f210c2aSfgsch (global_needed, global_found): New static variables. 27655f210c2aSfgsch (gld${EMULATION_NAME}_after_open): New static function. 27665f210c2aSfgsch (gld${EMULATION_NAME}_search_needed): New static function. 27675f210c2aSfgsch (gld${EMULATION_NAME}_try_needed): New static function. 27685f210c2aSfgsch (gld${EMULATION_NAME}_check_needed): New static function. 27695f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Use new after_open function. 27705f210c2aSfgsch * ld.texinfo, ld.1: Mention -rpath-link on SunOS. 27715f210c2aSfgsch 27725f210c2aSfgsch * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. 27735f210c2aSfgsch (eelf32lppc.c): Likewise. 27745f210c2aSfgsch * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. 27755f210c2aSfgsch (GENERATE_SHLIB_SCRIPT): Define as yes. 27765f210c2aSfgsch 27775f210c2aSfgschMon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com> 27785f210c2aSfgsch 27795f210c2aSfgsch * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named 27805f210c2aSfgsch bfd_link_needed-list; make appropriate changes. 27815f210c2aSfgsch 27825f210c2aSfgsch * configure.tgt (powerpc-*-aix*): New target; use aixppc. 27835f210c2aSfgsch (rs6000-*-aix*): New target; use aixrs6. 27845f210c2aSfgsch * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. 27855f210c2aSfgsch * emultempl/aix.em: New file. 27865f210c2aSfgsch * scripttempl/aix.sc: New file. 27875f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. 27885f210c2aSfgsch (eaixppc.c, eaixrs6.c): New targets. 27895f210c2aSfgsch 2790d2201f2fSdrahnFri Oct 13 14:00:37 1995 Steve Chamberlain <sac@slash.cygnus.com> 27915f210c2aSfgsch 2792d2201f2fSdrahn * scripttempl/pe.sc (.reloc): Move to the end. 27935f210c2aSfgsch 27945f210c2aSfgschTue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com> 27955f210c2aSfgsch 27965f210c2aSfgsch * ldlang.c (lang_finish): Don't try to use an entry_symbol from a 27975f210c2aSfgsch section which was not linked into the final output. 27985f210c2aSfgsch 27995f210c2aSfgschTue Oct 10 10:17:22 1995 steve chamberlain <sac@slash.cygnus.com> 28005f210c2aSfgsch 28015f210c2aSfgsch * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix 28025f210c2aSfgsch fatal typos. 28035f210c2aSfgsch 28045f210c2aSfgschTue Oct 10 01:01:51 1995 Ian Lance Taylor <ian@cygnus.com> 28055f210c2aSfgsch 28065f210c2aSfgsch * ld.h (args_type): Add rpath_link field. 28075f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for 28085f210c2aSfgsch required dependencies in rpath_link path. Only search 28095f210c2aSfgsch LD_LIBRARY_PATH when configured native. 28105f210c2aSfgsch * lexsup.c (parse_args): Recognize -rpath-link. 28115f210c2aSfgsch * ld.1, ld.texinfo: Document -rpath-link. 28125f210c2aSfgsch 28135f210c2aSfgschSat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com> 28145f210c2aSfgsch 28155f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't 28165f210c2aSfgsch bother searching for needed libraries unless doing a final link. 28175f210c2aSfgsch 28185f210c2aSfgschFri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com> 28195f210c2aSfgsch 28205f210c2aSfgsch Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 28215f210c2aSfgsch 2822d2201f2fSdrahn * ld.1: Fix formatting bugs. 28235f210c2aSfgsch 28245f210c2aSfgschWed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com> 28255f210c2aSfgsch 28265f210c2aSfgsch * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. 28275f210c2aSfgsch * ldexp.h (exp_get_abs_int): Update declaration. 28285f210c2aSfgsch * ldlang.c (print_output_section_statement): Use fprintf_vma to 28295f210c2aSfgsch print return value of exp_get_abs_int. 28305f210c2aSfgsch 28315f210c2aSfgschMon Oct 2 13:56:09 1995 Ian Lance Taylor <ian@cygnus.com> 28325f210c2aSfgsch 28335f210c2aSfgsch * emultempl/elf32.em (global_stat): New file static variable. 28345f210c2aSfgsch (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure 28355f210c2aSfgsch that the file has not already been included under another name. 28365f210c2aSfgsch (gld${EMULATION_NAME}_stat_needed): New static function. 28375f210c2aSfgsch 28385f210c2aSfgschFri Sep 29 12:00:18 1995 Doug Evans <dje@deneb.cygnus.com> 28395f210c2aSfgsch 28405f210c2aSfgsch * scripttempl/armcoff.sc: Start .text at 0x8000. 28415f210c2aSfgsch Start .data at 0x40000. 28425f210c2aSfgsch 28435f210c2aSfgschFri Sep 29 11:09:46 1995 Ian Lance Taylor <ian@cygnus.com> 28445f210c2aSfgsch 28455f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If 28465f210c2aSfgsch command_line.rpath is set, use it, rather than the -L options, to 28475f210c2aSfgsch build the rules section. 28485f210c2aSfgsch * ld.texinfo: Document this use of -rpath. 28495f210c2aSfgsch 28505f210c2aSfgsch * lexsup.c (parse_args): Don't set link_info.shared for -assert 28515f210c2aSfgsch pure-text. Pass true, not 1, to lang_add_entry. 28525f210c2aSfgsch * emultempl/sunos.em (find_assign): New static variable. 28535f210c2aSfgsch (found_assign): New static variable. 28545f210c2aSfgsch (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. 28555f210c2aSfgsch If not a relocateable link, and no start symbol was specified on 28565f210c2aSfgsch the command line, and there are any undefined symbols, set 28575f210c2aSfgsch link_info.shared. If link_info.shared is set, set the address of 28585f210c2aSfgsch the .text section to 0x20. 28595f210c2aSfgsch (gld${EMULATION_NAME}_find_assignment): Rename from 28605f210c2aSfgsch gld${EMULATION_NAME}_find_statement_assignment. If find_assign is 28615f210c2aSfgsch set, then just set found_assign based on whether an assignment is 28625f210c2aSfgsch found to find_assign. 28635f210c2aSfgsch (gld${EMULATION_NAME}_get_script): Don't use a special script when 28645f210c2aSfgsch producing a shared library. 28655f210c2aSfgsch * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. 28665f210c2aSfgsch * scripttempl/aout.sc: Remove CREATE_SHLIB tests. 28675f210c2aSfgsch * ldlang.c (entry_from_cmdline): New global variable. 28685f210c2aSfgsch (lang_add_entry): Change cmdline parameter from int to boolean. 28695f210c2aSfgsch Use global entry_from_cmdline rather than function static 28705f210c2aSfgsch from_cmdline. 28715f210c2aSfgsch * ldlang.h (entry_from_cmdline): Declare. 28725f210c2aSfgsch (lang_add_entry): Change declaration of second parameter from int 28735f210c2aSfgsch to boolean. 28745f210c2aSfgsch * ldgram.y: Pass false, not 0, to lang_add_entry. 28755f210c2aSfgsch 28765f210c2aSfgschThu Sep 28 12:34:13 1995 Ian Lance Taylor <ian@cygnus.com> 28775f210c2aSfgsch 28785f210c2aSfgsch * ld.h (parsing_defsym): Declare. 28795f210c2aSfgsch * ldlex.h (lex_string): Declare. 28805f210c2aSfgsch * ldlex.l (lex_string): Define. 28815f210c2aSfgsch * lexsup.c (parsing_defsym): Define. 28825f210c2aSfgsch (parse_args): In OPTION_DEFSYM case, set lex_string before calling 28835f210c2aSfgsch lex_redirect, and clear it after calling yyparse. Set 28845f210c2aSfgsch parsing_defsym around call to yyparse. 28855f210c2aSfgsch * ldmain.c (main): Set lex_string before calling lex_redirect, and 28865f210c2aSfgsch clear it after calling yyparse. 28875f210c2aSfgsch * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built 28885f210c2aSfgsch in linker scripts correctly. 28895f210c2aSfgsch 28905f210c2aSfgsch * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other 28915f210c2aSfgsch COFF targets, allowing for the leading underscore used on SPARC 28925f210c2aSfgsch COFF. 28935f210c2aSfgsch 28945f210c2aSfgsch * lexsup.c (parse_args): Handle -assert. 28955f210c2aSfgsch * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. 28965f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the 28975f210c2aSfgsch shared library script when appropriate. 28985f210c2aSfgsch * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text 28995f210c2aSfgsch section at SIZEOF_HEADERS. 29005f210c2aSfgsch 29015f210c2aSfgschThu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com> 29025f210c2aSfgsch 29035f210c2aSfgsch * Makefile.in (earmcoff.c): Build. 29045f210c2aSfgsch * configure.tgt (arm-*-coff): New target 29055f210c2aSfgsch * emulparms/armcoff.sh: New file. 29065f210c2aSfgsch * scripttempl/armcoff.sc: New file. 29075f210c2aSfgsch 29085f210c2aSfgschTue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com> 29095f210c2aSfgsch 29105f210c2aSfgsch * scripttempl/i386coff.sc: Remove .data2; no longer needed. 29115f210c2aSfgsch 29125f210c2aSfgschFri Sep 22 18:09:02 1995 Ian Lance Taylor <ian@cygnus.com> 29135f210c2aSfgsch 29145f210c2aSfgsch * ldfile.c (ldfile_set_output_arch): Make arch const. 29155f210c2aSfgsch 29165f210c2aSfgschThu Sep 21 17:55:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> 29175f210c2aSfgsch 29185f210c2aSfgsch * scripttempl/elfppc.sc: Correctly locate __bss_start at the 29195f210c2aSfgsch beginning of the .bss area, not at the end of data. Add 29205f210c2aSfgsch __sbss_{start,end} symbols. 29215f210c2aSfgsch 29225f210c2aSfgschWed Sep 20 12:29:36 1995 Ian Lance Taylor <ian@cygnus.com> 29235f210c2aSfgsch 29245f210c2aSfgsch * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). 29255f210c2aSfgsch (CXX_FOR_TARGET, install): Likewise. 29265f210c2aSfgsch 29275f210c2aSfgschMon Sep 18 14:53:22 1995 Ian Lance Taylor <ian@cygnus.com> 29285f210c2aSfgsch 29295f210c2aSfgsch Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>: 29305f210c2aSfgsch * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. 29315f210c2aSfgsch (CXX_FOR_TARGET): Likewise. 29325f210c2aSfgsch (install): Likewise. 29335f210c2aSfgsch (GENERATED_HFILES): Remove config.h. 29345f210c2aSfgsch (.dep): Depend upon config.h. 29355f210c2aSfgsch 29365f210c2aSfgschMon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no> 29375f210c2aSfgsch 29385f210c2aSfgsch * configure.tgt (mips*-dec-netbsd*): New target. 29395f210c2aSfgsch 29405f210c2aSfgschFri Sep 15 20:01:52 1995 Ken Raeburn <raeburn@cygnus.com> 29415f210c2aSfgsch 29425f210c2aSfgsch * configure.host (m88*-*-dgux*): Fix another shell syntax error. 29435f210c2aSfgsch 29445f210c2aSfgschFri Sep 15 23:28:05 1995 Andrew Cagney <cagney@highland.com.au> 29455f210c2aSfgsch 29465f210c2aSfgsch * configure.host (i[345]86-*-bsd*): Fix shell syntax error. 29475f210c2aSfgsch 29485f210c2aSfgschThu Sep 12 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com> 29495f210c2aSfgsch 2950d2201f2fSdrahn * scripttempl/pe.sc: Allow both spellings of .ctors/.dtors. 29515f210c2aSfgsch Start .text section on the right boundary. Always align 29525f210c2aSfgsch stabs. 29535f210c2aSfgsch 29545f210c2aSfgschTue Sep 12 12:24:17 1995 Ian Lance Taylor <ian@cygnus.com> 29555f210c2aSfgsch 29565f210c2aSfgsch * Makefile.in (maintainer-clean): New target. 29575f210c2aSfgsch 29585f210c2aSfgsch * ldmain.c (struct warning_callback_info): Define. 29595f210c2aSfgsch (warning_callback): Add new parameter symbol. Call 29605f210c2aSfgsch warning_find_reloc to try to find the section and VMA. 29615f210c2aSfgsch (warning_find_reloc): New static function. 29625f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 29635f210c2aSfgsch Pass NULL as symbol parameter to warning callback. 29645f210c2aSfgsch 29655f210c2aSfgsch * ld.texinfo: Clarify -L option. 29665f210c2aSfgsch 29675f210c2aSfgsch * ldlang.c (lang_one_common): Add cast to avoid warning. 29685f210c2aSfgsch (topower): Likewise. Also, reindent. 29695f210c2aSfgsch * ldwrite.c (clone_section): Change i to unsigned int. 29705f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add 29715f210c2aSfgsch cast to avoid warning. 29725f210c2aSfgsch 29735f210c2aSfgschFri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com> 29745f210c2aSfgsch 29755f210c2aSfgsch * Makefile.in (config.status): Depend upon configure.tgt. 29765f210c2aSfgsch 29775f210c2aSfgsch * ldemul.h (ldemul_set_symbols): Declare. 29785f210c2aSfgsch (ldemul_parse_args): Declare. 29795f210c2aSfgsch * ldemul.c (ldemul_parse_args): Fix indentation. 29805f210c2aSfgsch 29815f210c2aSfgsch * configure.in: Call AC_HEADER_DIRENT. 29825f210c2aSfgsch * configure, config.in: Rebuild. 29835f210c2aSfgsch * emultempl/sunos.em: Use autoconf recommend mechanism to define 29845f210c2aSfgsch DIR and struct dirent. 29855f210c2aSfgsch 29865f210c2aSfgsch * configure.tgt (mips*-*-bsd*): New case. 29875f210c2aSfgsch 29885f210c2aSfgsch * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) 29895f210c2aSfgsch New case. 29905f210c2aSfgsch * configure.tgt (i[345]86-*-ptx*): New case. 29915f210c2aSfgsch 29925f210c2aSfgschThu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com> 29935f210c2aSfgsch 29945f210c2aSfgsch * config.in: Rename from config.h.in. 29955f210c2aSfgsch * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. 29965f210c2aSfgsch Check for config.h:config.in when creating stamp-h. 29975f210c2aSfgsch * configure: Rebuild. 29985f210c2aSfgsch * Makefile.in (stamp-h): Depend upon config.in rather than 29995f210c2aSfgsch config.h.in. Set CONFIG_HEADERS to config.h:config.in when 30005f210c2aSfgsch calling config.status. 30015f210c2aSfgsch 30025f210c2aSfgsch * Makefile.in (distclean): Remove config.h and stamp-h. 30035f210c2aSfgsch 30045f210c2aSfgsch * configure.host (sparc-*-sunos64*): Remove. 30055f210c2aSfgsch * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. 30065f210c2aSfgsch 30075f210c2aSfgsch * ldexp.c (exp_fold_tree): Don't warn about moving the location 30085f210c2aSfgsch counter backward in the absolute section. 30095f210c2aSfgsch 30105f210c2aSfgschWed Sep 6 14:42:11 1995 Ian Lance Taylor <ian@cygnus.com> 30115f210c2aSfgsch 30125f210c2aSfgsch * configure.in: Rewrite to use autoconf. 30135f210c2aSfgsch * configure.host: New file. 30145f210c2aSfgsch * configure.tgt: New file. 30155f210c2aSfgsch * aclocal.m4: New file. 30165f210c2aSfgsch * configure: New file, built by autoconf. 30175f210c2aSfgsch * acconfig.h: New file. 30185f210c2aSfgsch * config.h.in: New file, built by autoheader. 30195f210c2aSfgsch * sysdep.h: New file. 30205f210c2aSfgsch * ld.h: Incorporate old contents of config.h. 30215f210c2aSfgsch * config.h: Remove. 30225f210c2aSfgsch * Makefile.in: Various changes for new configure script. Also: 30235f210c2aSfgsch (CC_FOR_BUILD): Remove. 30245f210c2aSfgsch (ldmain.o): Don't bother to ensure that EMUL is non-empty. 30255f210c2aSfgsch (dep.sed): Use @SRCDIR@, not @srcdir@. 30265f210c2aSfgsch * dep-in.sed: Use @SRCDIR@, not @srcdir@. 30275f210c2aSfgsch * genscripts.sh: Create ldscripts if it does not exist. 30285f210c2aSfgsch * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". 3029d2201f2fSdrahn * mpw-esh.c, emultempl/*.em: Likewise. 30305f210c2aSfgsch * ldmain.c: Likewise. Include <ctype.h>. Don't try to set 30315f210c2aSfgsch HAVE_SBRK here. 30325f210c2aSfgsch * config/*.mt, config/*.mh: Remove. 30335f210c2aSfgsch 30345f210c2aSfgschTue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com> 30355f210c2aSfgsch 30365f210c2aSfgsch * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and 30375f210c2aSfgsch ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. 30385f210c2aSfgsch 30395f210c2aSfgschFri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com> 30405f210c2aSfgsch 30415f210c2aSfgsch * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. 30425f210c2aSfgsch 30435f210c2aSfgschFri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com> 30445f210c2aSfgsch 30455f210c2aSfgsch * ldmain.c (warning_callback): Add abfd, section, and address 30465f210c2aSfgsch parameters. 30475f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 30485f210c2aSfgsch Change call to warning accordingly. 30495f210c2aSfgsch 30505f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not 30515f210c2aSfgsch relocateable and not shared, put .gnu.warning.SYMBOL sections into 30525f210c2aSfgsch the .text section. 30535f210c2aSfgsch 30545f210c2aSfgschFri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> 30555f210c2aSfgsch 30565f210c2aSfgsch * configure.in: Added mips*vr4300-idt-elf* and 30575f210c2aSfgsch mips*vr4300el-idt-elf* targets. 30585f210c2aSfgsch * Makefile.in: Added eelf32vr4300* targets. 30595f210c2aSfgsch * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. 30605f210c2aSfgsch * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. 30615f210c2aSfgsch 30625f210c2aSfgschFri Sep 1 10:51:45 1995 Ian Lance Taylor <ian@cygnus.com> 30635f210c2aSfgsch 30645f210c2aSfgsch * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe 30655f210c2aSfgsch <brendan@cygnus.com>. 30665f210c2aSfgsch 30675f210c2aSfgschThu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com> 30685f210c2aSfgsch 30695f210c2aSfgsch * ldemul.c (ldemul_parse_args): New. 30705f210c2aSfgsch * ldemul.h (ld_emulation_xfer_struct): Add parse_args. 30715f210c2aSfgsch * lexsup.c (all pe stuff): Moved into pe.em 30725f210c2aSfgsch (parse_args): Call emulation arg parser. 30735f210c2aSfgsch * emultempl/pe.em (parse_args): handle PE specfic args. 30745f210c2aSfgsch 30755f210c2aSfgschThu Aug 31 17:01:37 1995 Ian Lance Taylor <ian@cygnus.com> 30765f210c2aSfgsch 30775f210c2aSfgsch * ldlang.c (lang_memory_region_lookup): Don't use the first region 30785f210c2aSfgsch as the default region. Create a new region instead. 30795f210c2aSfgsch 30805f210c2aSfgschTue Aug 29 14:21:41 1995 steve chamberlain <sac@slash.cygnus.com> 30815f210c2aSfgsch 30825f210c2aSfgsch * ldemul.c (ldemul_set_symbols): New function. 30835f210c2aSfgsch * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. 30845f210c2aSfgsch * ldmain.c (main): Add call to ldemul_set_symbols. 30855f210c2aSfgsch * lexsup.c (set_pe_value): New args. 30865f210c2aSfgsch (set_pe_name): New. 30875f210c2aSfgsch (parse_args): Cope with new set_pe_value args. 30885f210c2aSfgsch * emultempl/pe.em (set_symbols): New function. 30895f210c2aSfgsch (ld_emulation_xfer_struct): Add set_symbols. 30905f210c2aSfgsch * scripttempl/pe.sc: Use new symbols. 30915f210c2aSfgsch 30925f210c2aSfgschThu Aug 24 18:12:18 1995 Ian Lance Taylor (ian@cygnus.com) 30935f210c2aSfgsch 30945f210c2aSfgsch * lexsup.c (parse_args): Don't call set_default_dirlist for -O. 30955f210c2aSfgsch For -Y, ignore a leading `P,', and only call set_default_dirlist 30965f210c2aSfgsch after processing all the other arguments. 30975f210c2aSfgsch 30985f210c2aSfgschTue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com> 30995f210c2aSfgsch 31005f210c2aSfgsch * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. 31015f210c2aSfgsch * emulparams/armpe.sh: Run PE script. 31025f210c2aSfgsch 31035f210c2aSfgschMon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com> 31045f210c2aSfgsch 31055f210c2aSfgsch * ldmain.c (main): Remove PE stuff. 31065f210c2aSfgsch * lexsup.c (options): Load more PE options. 31075f210c2aSfgsch (set_pe_value): New function. 31085f210c2aSfgsch 31095f210c2aSfgschThu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com> 31105f210c2aSfgsch 31115f210c2aSfgsch 31125f210c2aSfgsch * emultempl/{armpe.sc, i386pe.sc}: Deleted. 31135f210c2aSfgsch * emultempl/pe.sc: New file performs generic PE support and sorts 31145f210c2aSfgsch archive members. 31155f210c2aSfgsch * emulparams/{armpe.sh,i386pe.sh}: Use new file. 31165f210c2aSfgsch * scripttempl/{armpe.sc, i386pe.sc}: Deleted 31175f210c2aSfgsch * scripttempl/pe.sc: New. 31185f210c2aSfgsch * Makefile.in: Use new files. 31195f210c2aSfgsch 31205f210c2aSfgschThu Aug 17 14:46:34 1995 Doug Evans <dje@canuck.cygnus.com> 31215f210c2aSfgsch 31225f210c2aSfgsch * scripttempl/h8500s.sc (.rdata): All data must go in data segment. 31235f210c2aSfgsch (.strings,.ctors,.dtors): Likewise. 31245f210c2aSfgsch 31255f210c2aSfgschWed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com> 31265f210c2aSfgsch 31275f210c2aSfgsch * scripttempl/armpe.sc: Always start code at 0x401000, even 31285f210c2aSfgsch if -r. 31295f210c2aSfgsch * ldwrite.c (strdup): New extern declaration. 31305f210c2aSfgsch * ldgram.y (atype): New rule to clarify type parsing. 31315f210c2aSfgsch * ldlang.c (init_os): Remove commented out code. 31325f210c2aSfgsch (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits 31335f210c2aSfgsch unless told not to by the link script. 31345f210c2aSfgsch 31355f210c2aSfgschWed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com> 31365f210c2aSfgsch 31375f210c2aSfgsch * ldlang.c (lang_set_startof): New static function. 31385f210c2aSfgsch (lang_process): Call it. 31395f210c2aSfgsch 31405f210c2aSfgsch * ldgram.y: Tweak casesymlist to avoid bison errors. 31415f210c2aSfgsch 31425f210c2aSfgsch * lexsup.c (parse_args): Accept -h as a synonym for --soname, for 31435f210c2aSfgsch Solaris compatibility. 31445f210c2aSfgsch 31455f210c2aSfgschTue Aug 15 17:31:16 1995 Ian Lance Taylor <ian@cygnus.com> 31465f210c2aSfgsch 31475f210c2aSfgsch * ldgram.y (YYDEBUG): If not defined, define as 1. 31485f210c2aSfgsch (CASE, EXTERN, START): New tokens. 31495f210c2aSfgsch (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. 31505f210c2aSfgsch (casesymlist): New nonterminal. 31515f210c2aSfgsch (extern_name_list): New nonterminal. 31525f210c2aSfgsch * ldlex.l: Accept lower case trailing base specifiers. Don't 31535f210c2aSfgsch ignore the first digit when the base is a suffix. Accept many 31545f210c2aSfgsch EXPRESSION state tokens in MRI state. Support MRI continuation 31555f210c2aSfgsch lines and MRI semicolon comments. Accept all MRI keywords in 31565f210c2aSfgsch lower case. Add CASE, EXTERN, and START MRI keywords. 31575f210c2aSfgsch 31585f210c2aSfgschTue Aug 8 19:14:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 31595f210c2aSfgsch 31605f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc 31615f210c2aSfgsch instead of alloca. 31625f210c2aSfgsch 31635f210c2aSfgschTue Aug 8 15:24:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> 31645f210c2aSfgsch 31655f210c2aSfgsch * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use 31665f210c2aSfgsch $r/../gcc/xgcc unless it is present. 31675f210c2aSfgsch 31685f210c2aSfgschThu Aug 3 11:56:22 1995 Ian Lance Taylor <ian@cygnus.com> 31695f210c2aSfgsch 31705f210c2aSfgsch * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text 31715f210c2aSfgsch when CONSTRUCTING. 31725f210c2aSfgsch * scripttempl/m68klynx.sc: Likewise. 31735f210c2aSfgsch * scripttempl/nw.sc: Likewise. 31745f210c2aSfgsch * scripttempl/sa29200.sc: Likewise. 31755f210c2aSfgsch * scripttempl/sparclynx.sc: Likewise. 31765f210c2aSfgsch 31775f210c2aSfgschFri Jul 28 12:02:23 1995 steve chamberlain <sac@slash.cygnus.com> 31785f210c2aSfgsch 31795f210c2aSfgsch * emulparams/{z8001.sh, z8002.sh}: Fix typo. 31805f210c2aSfgsch 31815f210c2aSfgschThu Jul 27 21:06:21 1995 Ken Raeburn <raeburn@cygnus.com> 31825f210c2aSfgsch 31835f210c2aSfgsch * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. 31845f210c2aSfgsch 31855f210c2aSfgschThu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com> 31865f210c2aSfgsch 31875f210c2aSfgsch * scripttempl/i386pe.sc: Cope with constructors. 31885f210c2aSfgsch * scripttempl/z8ksim.sc: Deleted. 31895f210c2aSfgsch * scripttempl/z8000.sc: Resurrected as this, but 31905f210c2aSfgsch can handle z8001 and z8002 formats. 31915f210c2aSfgsch * emulparams/z8ksim.sh: Deleted. 31925f210c2aSfgsch * emulparams/{z8001.sh, z8002.sh}: New files. 31935f210c2aSfgsch * config/z8ksim.mt: Deleted 31945f210c2aSfgsch * config/z8k-coff.mt: New, generates both emulations. 31955f210c2aSfgsch 31965f210c2aSfgschTue Jul 25 14:53:02 1995 Ian Lance Taylor <ian@cygnus.com> 31975f210c2aSfgsch 31985f210c2aSfgsch * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using 31995f210c2aSfgsch %B, in case it is in an archive. 32005f210c2aSfgsch 32015f210c2aSfgschMon Jul 24 15:23:39 1995 Ian Lance Taylor <ian@cygnus.com> 32025f210c2aSfgsch 32035f210c2aSfgsch * ldlang.c (lang_process): Call reset_memory_regions for each 32045f210c2aSfgsch relaxation pass. 32055f210c2aSfgsch 32065f210c2aSfgschFri Jul 21 22:49:44 1995 Michael Meissner <meissner@cygnus.com> 32075f210c2aSfgsch 32085f210c2aSfgsch * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and 32095f210c2aSfgsch _SDA_BASE. 32105f210c2aSfgsch 32115f210c2aSfgschThu Jul 20 16:26:55 1995 Ken Raeburn <raeburn@cygnus.com> 32125f210c2aSfgsch 32135f210c2aSfgsch * ldmain.c (constructor_callback): Allocate set_name in stack 32145f210c2aSfgsch frame, rather than always calling alloca with a fixed size. 32155f210c2aSfgsch 32165f210c2aSfgschWed Jul 19 16:21:43 1995 Doug Evans <dje@canuck.cygnus.com> 32175f210c2aSfgsch 32185f210c2aSfgsch * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. 32195f210c2aSfgsch (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. 32205f210c2aSfgsch 32215f210c2aSfgschMon Jul 17 13:57:00 1995 Ian Lance Taylor <ian@cygnus.com> 32225f210c2aSfgsch 32235f210c2aSfgsch * ldwrite.c (clone_section): Set the alignment of the clone 32245f210c2aSfgsch section to that of the section being cloned. 32255f210c2aSfgsch 32265f210c2aSfgsch * ldwrite.c (split_sections): Don't split the first input section 32275f210c2aSfgsch into a new output section. 32285f210c2aSfgsch 32295f210c2aSfgschSat Jul 15 00:26:35 1995 Michael Meissner <meissner@cygnus.com> 32305f210c2aSfgsch 32315f210c2aSfgsch * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. 32325f210c2aSfgsch (GENERATE_SHLIB_SCRIPT): Define as yes. 32335f210c2aSfgsch 32345f210c2aSfgschFri Jul 14 12:11:46 1995 Ian Lance Taylor <ian@cygnus.com> 32355f210c2aSfgsch 32365f210c2aSfgsch * emultempl/mipsecoff.em (check_sections): Use %P, not %F. 32375f210c2aSfgsch 32385f210c2aSfgsch * ldver.c (help): Update list of options to match currently 32395f210c2aSfgsch supported list. 32405f210c2aSfgsch 32415f210c2aSfgschThu Jul 13 13:52:10 1995 Ian Lance Taylor <ian@cygnus.com> 32425f210c2aSfgsch 32435f210c2aSfgsch * emultempl/lnk960.em (ld_lnk960_emulation): Initialize 32445f210c2aSfgsch after_open field. 32455f210c2aSfgsch 32465f210c2aSfgsch * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; 32475f210c2aSfgsch it takes a size_t anyhow. 32485f210c2aSfgsch (exp_binop): Likewise. 32495f210c2aSfgsch (exp_trinop): Likewise. 32505f210c2aSfgsch (exp_unop): Likewise. 32515f210c2aSfgsch (exp_nameop): Likewise. 32525f210c2aSfgsch (exp_assop): Likewise. 32535f210c2aSfgsch * ldlang.c (lang_memory_region_lookup): Likewise. 32545f210c2aSfgsch (init_os): Likewise. 32555f210c2aSfgsch (ldlang_add_undef): Likewise. 32565f210c2aSfgsch (insert_pad): Likewise. 32575f210c2aSfgsch * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to 32585f210c2aSfgsch bfd_size_type. 32595f210c2aSfgsch 32605f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. 32615f210c2aSfgsch 32625f210c2aSfgschWed Jul 12 11:32:22 1995 Ian Lance Taylor <ian@cygnus.com> 32635f210c2aSfgsch 32645f210c2aSfgsch * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to 32655f210c2aSfgsch declaration. 32665f210c2aSfgsch (ld_emulation_xfer_type): Add search parameter to 32675f210c2aSfgsch open_dynamic_archive entry point. 32685f210c2aSfgsch * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. 32695f210c2aSfgsch * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and 32705f210c2aSfgsch make non-static. Change all callers to use new name. 32715f210c2aSfgsch (ldfile_open_file_search): Make static. If entry is dynamic, call 32725f210c2aSfgsch ldemul_open_dynamic_archive. 32735f210c2aSfgsch (ldfile_open_file): Don't call ldemul_open_dynamic_archive. 32745f210c2aSfgsch * ldfile.h (ldfile_open_file_search): Don't declare. 32755f210c2aSfgsch (ldfile_try_open_bfd): Declare. 32765f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): 32775f210c2aSfgsch Accept search parameter. Don't search for a library, just look in 32785f210c2aSfgsch a single place. 32795f210c2aSfgsch * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): 32805f210c2aSfgsch Likewise. 32815f210c2aSfgsch 32825f210c2aSfgschTue Jul 11 16:44:21 1995 Ian Lance Taylor <ian@cygnus.com> 32835f210c2aSfgsch 32845f210c2aSfgsch * ldmain.c (set_scripts_dir): Don't base script directory on 32855f210c2aSfgsch current directory. 32865f210c2aSfgsch 32875f210c2aSfgschTue Jul 11 12:29:02 1995 Rick Sladkey <jrs@world.std.com> 32885f210c2aSfgsch 32895f210c2aSfgsch * ldmisc.c (vfinfo): Don't print the line number if it isn't 32905f210c2aSfgsch meaningful. 32915f210c2aSfgsch 32925f210c2aSfgschMon Jul 10 13:38:28 1995 Ian Lance Taylor <ian@cygnus.com> 32935f210c2aSfgsch 32945f210c2aSfgsch * ld.h (ld_config_type): Add field warn_constructors. 32955f210c2aSfgsch * ldmain.c (add_to_set): Warn if config.warn_constructors. 32965f210c2aSfgsch (constructor_callback): Likewise. 32975f210c2aSfgsch * lexsup.c (parse_args): Handle -warn-constructors. 32985f210c2aSfgsch * ld.texinfo, ld.1: Document -warn-constructors. 32995f210c2aSfgsch 33005f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't 33015f210c2aSfgsch get confused by directory names if we searched for the file. 33025f210c2aSfgsch 33035f210c2aSfgsch Based on patches from H.J. Lu <hjl@nynexst.com>: 33045f210c2aSfgsch * ldlang.h (lang_input_statement_type): Add new field dynamic. 33055f210c2aSfgsch * ldlang.c (new_afile): Set dynamic from config.dynamic_link. 33065f210c2aSfgsch * ldfile.c: Include bfdlink.h. 33075f210c2aSfgsch (ldfile_open_file): Check dynamic field of entry, not global 33085f210c2aSfgsch dynamic_link field. Don't do a dynamic search when doing a 33095f210c2aSfgsch relocateable link. 33105f210c2aSfgsch * ldmain.c (main): Don't warn about dynamic_link for a 33115f210c2aSfgsch relocateable link. 33125f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if 33135f210c2aSfgsch dynamic is false. 33145f210c2aSfgsch (gld${EMULATION_NAME}_create_output_section_statements): Always 33155f210c2aSfgsch loop over input files. 33165f210c2aSfgsch * Makefile.in: Rebuild dependencies. 33175f210c2aSfgsch 33185f210c2aSfgsch * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and 33195f210c2aSfgsch -shared. 33205f210c2aSfgsch 33215f210c2aSfgschMon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> 33225f210c2aSfgsch 33235f210c2aSfgsch * ldmain.c (main): Set link_info.symbolic to false. 33245f210c2aSfgsch * lexsup.c (parse_args): Handle -Bsymbolic. 33255f210c2aSfgsch 33265f210c2aSfgschWed Jul 5 00:12:11 1995 Fred Fish (fnf@cygnus.com) 33275f210c2aSfgsch 33285f210c2aSfgsch * ldmain.c (HAVE_SBRK): Define for everything except 33295f210c2aSfgsch specific systems that are known to not support sbrk. 33305f210c2aSfgsch (main): Use HAVE_SBRK to decide whether or not to use sbrk. 33315f210c2aSfgsch 33325f210c2aSfgschTue Jul 4 12:55:48 1995 Ian Lance Taylor <ian@cygnus.com> 33335f210c2aSfgsch 33345f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): 33355f210c2aSfgsch Handle etree_provide. 33365f210c2aSfgsch 33375f210c2aSfgsch * emultempl/elf32.em (global_needed): New static variable. 33385f210c2aSfgsch (global_found): Likewise. 33395f210c2aSfgsch (gld${EMULATION_NAME}_after_open): New static function. 33405f210c2aSfgsch (gld${EMULATION_NAME}_search_needed): Likewise. 33415f210c2aSfgsch (gld${EMULATION_NAME}_try_needed): Likewise. 33425f210c2aSfgsch (gld${EMULATION_NAME}_check_needed): Likewise. 33435f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Replace after_open_default with 33445f210c2aSfgsch gld${EMULATION_NAME}_after_open. 33455f210c2aSfgsch 33465f210c2aSfgschMon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> 33475f210c2aSfgsch 33485f210c2aSfgsch * configure.in (i386-*-win32): New target. 33495f210c2aSfgsch 33505f210c2aSfgschMon Jul 3 14:39:22 1995 Ian Lance Taylor <ian@cygnus.com> 33515f210c2aSfgsch 33525f210c2aSfgsch * lexsup.c (parse_args): Let -G either set the small data size or 33535f210c2aSfgsch be equivalent to --shared, depending on the next argument. Accept 33545f210c2aSfgsch and ignore -z for Solaris compatibility. 33555f210c2aSfgsch 33565f210c2aSfgschSun Jul 2 17:52:34 1995 Ian Lance Taylor <ian@cygnus.com> 33575f210c2aSfgsch 33585f210c2aSfgsch * lexsup.c (parse_args): Cast fopen result to PTR before storing 33595f210c2aSfgsch it in link_info.base_file. Fix indentation. 33605f210c2aSfgsch 33615f210c2aSfgschWed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com> 33625f210c2aSfgsch 33635f210c2aSfgsch * ldmain.c (main): Always initialize PE info in link_info. 33645f210c2aSfgsch * lexsup.c (OPTION_BASE_FILE): New option. 33655f210c2aSfgsch (parse_args): Handle new option. 33665f210c2aSfgsch * emulparams/armpe.sh: Output pei. 33675f210c2aSfgsch * emultempl/i386pe.em: Add newline to end. 33685f210c2aSfgsch * scripttempl/armpe.sc: Change output and quote the $s. 33695f210c2aSfgsch * scripttempl/i386pe.sc: Change output and quote the $s. 33705f210c2aSfgsch 33715f210c2aSfgschThu Jun 22 19:55:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 33725f210c2aSfgsch 33735f210c2aSfgsch Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu> 33745f210c2aSfgsch 33755f210c2aSfgsch * configure.in (i386-*-msdos*, i386-*-moss*): New targets. 33765f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. 33775f210c2aSfgsch (i386msdos.o): New target. 33785f210c2aSfgsch * config/i386-msdos.mt: Created. 33795f210c2aSfgsch * emulparams/i386msdos.sh: Created. 33805f210c2aSfgsch * scripttempl/i386msdos.sc: Created. 33815f210c2aSfgsch 33825f210c2aSfgschThu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> 33835f210c2aSfgsch 33845f210c2aSfgsch * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section 33855f210c2aSfgsch that contains pointers to be relocated. 33865f210c2aSfgsch 33875f210c2aSfgschTue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> 33885f210c2aSfgsch 33895f210c2aSfgsch * mpw-esh.c: New file, modified for MPW from esh.c. 33905f210c2aSfgsch * scripttempl/sh.sc: Reformatted to simplify MPWification, 33915f210c2aSfgsch use *() to concat stab sections instead of []. 33925f210c2aSfgsch 33935f210c2aSfgschThu Jun 15 08:48:16 1995 Steve Chamberlain <sac@slash.cygnus.com> 33945f210c2aSfgsch 33955f210c2aSfgsch * scripttempl/armpe.sc: Add constructor support. 33965f210c2aSfgsch 33975f210c2aSfgschTue Jun 13 09:11:20 1995 Steve Chamberlain <sac@slash.cygnus.com> 33985f210c2aSfgsch 33995f210c2aSfgsch * ldlang.c (lang_size_sections): Any section with a DATA 34005f210c2aSfgsch statement has contents. 34015f210c2aSfgsch 34025f210c2aSfgschSun Jun 11 15:20:46 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 34035f210c2aSfgsch 34045f210c2aSfgsch * emulparams/m68kelf.sh (NOP): Define. 34055f210c2aSfgsch (DYNAMIC_LINK): Don't define. 34065f210c2aSfgsch (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers 34075f210c2aSfgsch will come from the linker script. 34085f210c2aSfgsch 34095f210c2aSfgschThu Jun 8 14:17:33 1995 Steve Chamberlain <sac@slash.cygnus.com> 34105f210c2aSfgsch 3411d2201f2fSdrahn * emulparams/armpe.sh, scripttempl/armpe.sc: Add end and stack. 34125f210c2aSfgsch 34135f210c2aSfgschMon Jun 5 02:16:24 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 34145f210c2aSfgsch 34155f210c2aSfgsch * configure.in (i[345]86-*-gnu*): Use GNU elf config. 34165f210c2aSfgsch 34175f210c2aSfgschThu May 25 11:49:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> 34185f210c2aSfgsch 34195f210c2aSfgsch From Andrew Cagney <cagney@highland.com.au> 34205f210c2aSfgsch * Makefile.in: Fixup more gotchas from renaming elf32ppcle to 34215f210c2aSfgsch elf32lppc. 34225f210c2aSfgsch 34235f210c2aSfgschWed May 24 11:23:21 1995 Steve Chamberlain <sac@slash.cygnus.com> 34245f210c2aSfgsch 34255f210c2aSfgsch Add support for ARM-PE. 34265f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add armpe.o 34275f210c2aSfgsch * configure.in: Recognize armpe. 34285f210c2aSfgsch * config/arm-pe.mt: New file. 34295f210c2aSfgsch * emulparams/armpe.sh: New file. 34305f210c2aSfgsch * scripttempl/armpe.sc: New file. 34315f210c2aSfgsch 34325f210c2aSfgsch 34335f210c2aSfgschMon May 22 15:19:26 1995 Doug Evans <dje@chestnut.cygnus.com> 34345f210c2aSfgsch 34355f210c2aSfgsch * configure.in (h8300h-*-hms): Deleted 34365f210c2aSfgsch * config/cf-h8300h.mt: Deleted. 34375f210c2aSfgsch 34385f210c2aSfgschThu May 18 04:26:10 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> 34395f210c2aSfgsch 34405f210c2aSfgsch Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) 34415f210c2aSfgsch 34425f210c2aSfgsch From David Taylor (dtaylor@armltd.co.uk) 34435f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o 34445f210c2aSfgsch * configure.in: Recognize arm{,e[lb]-*-aout. 34455f210c2aSfgsch * config/arm[lb]-aout.mt: New files. 34465f210c2aSfgsch * emulparams/armaout[lb].sh: New files. 34475f210c2aSfgsch * scripttempl/armaout.sc: New file. 34485f210c2aSfgsch 34495f210c2aSfgschTue May 16 18:27:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> 34505f210c2aSfgsch 34515f210c2aSfgsch * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to 34525f210c2aSfgsch be unique in 8 characters for DOS. 34535f210c2aSfgsch 34545f210c2aSfgsch * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. 34555f210c2aSfgsch * emulparams/elf32ppcle.sh: Deleted. 34565f210c2aSfgsch 34575f210c2aSfgschFri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com> 34585f210c2aSfgsch Tom Griest <griest@cs.yale.edu> 34595f210c2aSfgsch 34605f210c2aSfgsch Initial support for PE executables (eg NT, win32) 34615f210c2aSfgsch 34625f210c2aSfgsch * Makefile.in (configure.in, ei386pe): Add support. 34635f210c2aSfgsch * ldmain.c (main): Initialize PE argument info. 34645f210c2aSfgsch * ldwrite.c (print_file_stuff): Don't print out .drectve 34655f210c2aSfgsch and .debug section info. 34665f210c2aSfgsch * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, 34675f210c2aSfgsch OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): 34685f210c2aSfgsch Handle new arguments. 34695f210c2aSfgsch * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: 34705f210c2aSfgsch New files 34715f210c2aSfgsch 34725f210c2aSfgschWed May 10 18:37:59 1995 Stu Grossman (grossman@andros.cygnus.com) 34735f210c2aSfgsch 34745f210c2aSfgsch * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text 34755f210c2aSfgsch segment. This allows ld -r to preserve unwind sections. 34765f210c2aSfgsch 34775f210c2aSfgschTue May 9 17:19:57 1995 Michael Meissner <meissner@tiktok.cygnus.com> 34785f210c2aSfgsch 34795f210c2aSfgsch * configure.in: Add little endian PowerPC support. 34805f210c2aSfgsch 34815f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. 34825f210c2aSfgsch (eelf32ppcle.c): Support for little endian PowerPC. 34835f210c2aSfgsch 34845f210c2aSfgsch * config/ppcle-elf32.mt: New file for little endian PowerPC. 34855f210c2aSfgsch * emulparams/elf32ppcle.sh: Ditto. 34865f210c2aSfgsch 34875f210c2aSfgschWed May 3 12:56:32 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 34885f210c2aSfgsch 34895f210c2aSfgsch * ldlang.c (print_output_section_statement): Check 34905f210c2aSfgsch subsection_alignment, instead of checking section_alignment twice. 34915f210c2aSfgsch Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>. 34925f210c2aSfgsch 34935f210c2aSfgschTue May 2 16:36:07 1995 Jeff Law (law@snake.cs.utah.edu) 34945f210c2aSfgsch 34955f210c2aSfgsch * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. 34965f210c2aSfgsch 34975f210c2aSfgschMon Apr 24 19:21:02 1995 Michael Meissner <meissner@cygnus.com> 34985f210c2aSfgsch 34995f210c2aSfgsch * ldwrite.c (ldwrite): Before doing anything, reset the error 35005f210c2aSfgsch code. If bfd_final_link returns an error, but the error code is 35015f210c2aSfgsch unset, don't issue an extra message. Assume a correct error 35025f210c2aSfgsch message was already set. 35035f210c2aSfgsch 35045f210c2aSfgschFri Apr 14 16:31:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 35055f210c2aSfgsch 35065f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. 35075f210c2aSfgsch (em68kelf.o): New target. 35085f210c2aSfgsch * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. 35095f210c2aSfgsch * configure.in: Use them for m68*-*-elf. 35105f210c2aSfgsch 35115f210c2aSfgschTue Apr 11 12:02:03 1995 Stan Shebs <shebs@andros.cygnus.com> 35125f210c2aSfgsch 35135f210c2aSfgsch Merge in support for Mac MPW as a host. 35145f210c2aSfgsch (Old change descriptions retained for informational value.) 35155f210c2aSfgsch 35165f210c2aSfgsch * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. 35175f210c2aSfgsch (i386-unknown-coff): Remove. 35185f210c2aSfgsch (sh-hitachi-hms): New target. 35195f210c2aSfgsch (emulation_ofiles): Set correctly for each target. 35205f210c2aSfgsch (version, TDEFINES): Add to makefile fragment. 35215f210c2aSfgsch * mpw-make.in (BISON): Use byacc instead of bison. 35225f210c2aSfgsch (em_*.c): Replace with e*.c everywhere. 35235f210c2aSfgsch (ldgram.h): Separate action from ldgram.c generation. 35245f210c2aSfgsch (LD_PROG): Depend on Version.r. 35255f210c2aSfgsch (Version.r): generate from version info. 35265f210c2aSfgsch * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. 35275f210c2aSfgsch 35285f210c2aSfgsch * mpw-config.in (m68k-apple-macos, ppc-apple-macos, 35295f210c2aSfgsch i386-unknown-aout, i386-unknown-coff): New targets. 35305f210c2aSfgsch (m68k-aout, m68k-coff): Remove targets. 35315f210c2aSfgsch (mk.tmp): Add definition of EMUL. 35325f210c2aSfgsch 35335f210c2aSfgsch * mpw-config.in (emulname): Set based on target. 35345f210c2aSfgsch (ldemul-list.h): Construct. 35355f210c2aSfgsch * mpw-make.in (install-only): New target. 35365f210c2aSfgsch (install): Depend on install-only. 35375f210c2aSfgsch 35385f210c2aSfgsch * mpw-make.in (bindir): Fix pathname. 35395f210c2aSfgsch (install): Move here from mpw-build.in. 35405f210c2aSfgsch 35415f210c2aSfgsch * mpw-config.in: New file, MPW configuration fragment. 35425f210c2aSfgsch * mpw-make.in: New file, MPW makefile fragment. 35435f210c2aSfgsch (This file is semi-automatically generated from Makefile.in.) 35445f210c2aSfgsch * ldfile.c (slash): If MPW, set to `:'. 35455f210c2aSfgsch * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to 35465f210c2aSfgsch prevent redefinition errors. 35475f210c2aSfgsch 35485f210c2aSfgschTue Apr 4 17:55:18 1995 Steve Chamberlain <sac@bang.hack.com> 35495f210c2aSfgsch 35505f210c2aSfgsch * ldwrite.c (clone_section): Align clone sections on even 35515f210c2aSfgsch boundaries. 35525f210c2aSfgsch 35535f210c2aSfgschThu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com) 35545f210c2aSfgsch 35555f210c2aSfgsch * configure.in: Change linux to default to elf. Using 35565f210c2aSfgsch i[345]86-*-linuxaout will build a linker which defaults to a.out. 35575f210c2aSfgsch * config/i386-laout.mt: Rename from old config/i386-linux.mt. 35585f210c2aSfgsch * config/i386-linux.mt: Rename from old config/i386-lelf.mt. 35595f210c2aSfgsch * config/i386-lelf.mt: Remove. 35605f210c2aSfgsch 35615f210c2aSfgschThu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com> 35625f210c2aSfgsch 35635f210c2aSfgsch * ldmain.c (main): If opening the map file fails, call 35645f210c2aSfgsch bfd_set_error before calling einfo. 35655f210c2aSfgsch 35665f210c2aSfgsch * ld.texinfo, ld.1: Document the -no-keep-memory option. 35675f210c2aSfgsch 35685f210c2aSfgschMon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com> 35695f210c2aSfgsch 35705f210c2aSfgsch * ldmain.c (main): Revert patch of March 10, since the SVR4 linker 35715f210c2aSfgsch does mark shared libraries as executable. 35725f210c2aSfgsch 35735f210c2aSfgschTue Mar 21 15:15:38 1995 Ian Lance Taylor <ian@cygnus.com> 35745f210c2aSfgsch 35755f210c2aSfgsch * ldlang.c (lang_common): Change power to int. Pass larger values 35765f210c2aSfgsch before smaller values. 35775f210c2aSfgsch (lang_one_common): Treat info as int *. Don't bother to check for 35785f210c2aSfgsch last value, since it is now zero. 35795f210c2aSfgsch 35805f210c2aSfgschSat Mar 18 01:49:14 1995 Ian Lance Taylor <ian@cygnus.com> 35815f210c2aSfgsch 35825f210c2aSfgsch * ldlang.c (load_symbols): An empty archive is OK. 35835f210c2aSfgsch 35845f210c2aSfgschFri Mar 17 16:15:31 1995 Stan Shebs <shebs@andros.cygnus.com> 35855f210c2aSfgsch 35865f210c2aSfgsch * ldmain.c (progress.h): Include. 35875f210c2aSfgsch (main): Call START_PROGRESS and END_PROGRESS. 35885f210c2aSfgsch 35895f210c2aSfgschThu Mar 16 17:17:33 1995 Michael Meissner <meissner@cygnus.com> 35905f210c2aSfgsch 35915f210c2aSfgsch * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and 35925f210c2aSfgsch .dtors sections, so that these pointers get relocated also. 35935f210c2aSfgsch Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning 35945f210c2aSfgsch and end of the constructors/destructors. 35955f210c2aSfgsch 35965f210c2aSfgschThu Mar 16 13:59:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 35975f210c2aSfgsch 35985f210c2aSfgsch * ldlang.c (load_symbols): If whole_archive is true and ENTRY 35995f210c2aSfgsch describes an archive, call bfd_link_add_symbols on each member. 36005f210c2aSfgsch * ldmain.c (whole_archive): New variable. 36015f210c2aSfgsch (main): Initialize it to false. 36025f210c2aSfgsch * ldmain.h: Declare whole_archive. 36035f210c2aSfgsch * lexsup.c (parse_args): Grok --whole-archive switch. 36045f210c2aSfgsch * ld.texinfo, ld.1: Document --whole-archive. 36055f210c2aSfgsch 36065f210c2aSfgschThu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com> 36075f210c2aSfgsch 36085f210c2aSfgsch * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not 36095f210c2aSfgsch using the default emulation. 36105f210c2aSfgsch 36115f210c2aSfgsch * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set 36125f210c2aSfgsch LDEMULATION. 36135f210c2aSfgsch * config/hppaelf.mh (HOSTING_EMU): Likewise. 36145f210c2aSfgsch 36155f210c2aSfgschTue Mar 14 12:28:03 1995 Ian Lance Taylor <ian@cygnus.com> 36165f210c2aSfgsch 36175f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj 36185f210c2aSfgsch for -lc.N. From H.J. Lu <hjl@nynexst.com>. 36195f210c2aSfgsch 36205f210c2aSfgschFri Mar 10 14:43:48 1995 Ian Lance Taylor <ian@cygnus.com> 36215f210c2aSfgsch 36225f210c2aSfgsch * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. 36235f210c2aSfgsch 36245f210c2aSfgsch * ldlex.l: Return -lFILENAME as the token LNAME. 36255f210c2aSfgsch * ldgram.y: Add token LNAME. 36265f210c2aSfgsch (input_list): Treat LNAME like NAME, but pass it to 36275f210c2aSfgsch lang_add_input_file as lang_input_file_is_l_enum. 36285f210c2aSfgsch * ld.texinfo: Document using -lFILENAME in INPUT. 36295f210c2aSfgsch 36305f210c2aSfgschThu Mar 9 12:21:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> 36315f210c2aSfgsch 36325f210c2aSfgsch * ldlang.c (lang_check): If the architectures are compatible call 36335f210c2aSfgsch bfd_merge_private_bfd_data to let the backend do additional 36345f210c2aSfgsch checks. 36355f210c2aSfgsch 36365f210c2aSfgschTue Mar 7 00:53:08 1995 Ian Lance Taylor <ian@cygnus.com> 36375f210c2aSfgsch 36385f210c2aSfgsch * ldemul.c (ldemul_choose_mode): If emulation not recognized, list 36395f210c2aSfgsch all supported emulations. 36405f210c2aSfgsch 36415f210c2aSfgschMon Mar 6 14:03:50 1995 Ian Lance Taylor <ian@cygnus.com> 36425f210c2aSfgsch 36435f210c2aSfgsch * ldemul.c (ldemul_list_emulations): New function. 36445f210c2aSfgsch * ldemul.h (ldemul_list_emulations): Declare. 36455f210c2aSfgsch * ldver.c (help): List supported targets and emulations. 36465f210c2aSfgsch 36475f210c2aSfgschFri Mar 3 15:40:36 1995 Doug Evans <dje@canuck.cygnus.com> 36485f210c2aSfgsch 36495f210c2aSfgsch * scripttempl/elf.sc (.debug): Relocate to address 0. 36505f210c2aSfgsch (.debug_srcinfo, .debug_aranges, .debug_pubnames, 36515f210c2aSfgsch .debug_sfnames, .line): Likewise. 36525f210c2aSfgsch 36535f210c2aSfgschFri Mar 3 17:07:14 1995 Ian Lance Taylor <ian@cygnus.com> 36545f210c2aSfgsch 36555f210c2aSfgsch * emultempl/elf32.em (hold_rel): New static variable. 36565f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): Place readonly sections with 36575f210c2aSfgsch contents whose names begin with ".rel" after hold_rel. Remove the 36585f210c2aSfgsch assertion which checked for unplaced .rel sections. Don't try to 36595f210c2aSfgsch sort the section into place if place->bfd_section is NULL. 36605f210c2aSfgsch (gld${EMULATION_NAME}_place_section): Set hold_rel to the first 36615f210c2aSfgsch section beginning with ".rel". 36625f210c2aSfgsch 36635f210c2aSfgschThu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com> 36645f210c2aSfgsch 36655f210c2aSfgsch Doc note from pierre@phi.la.tce.com (Pierre Willard): 36665f210c2aSfgsch * ld.texinfo: -X and -x work even if -s or -S are not specified. 36675f210c2aSfgsch * ld.1: Similar change. 36685f210c2aSfgsch 36695f210c2aSfgschWed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com> 36705f210c2aSfgsch 36715f210c2aSfgsch * emulparams/gld960coff.sh (COFF_CTORS): Define. 36725f210c2aSfgsch * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. 36735f210c2aSfgsch 36745f210c2aSfgschTue Feb 28 12:42:56 1995 Ian Lance Taylor <ian@cygnus.com> 36755f210c2aSfgsch 36765f210c2aSfgsch * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. 36775f210c2aSfgsch (i[345]86-*-gnuelf*): New target. Use i386-gelf. 36785f210c2aSfgsch * config/i386-lelf.mt: New file. 36795f210c2aSfgsch * config/i386-gelf.mt: New file. 36805f210c2aSfgsch 36815f210c2aSfgschTue Feb 28 10:27:54 1995 Rob Savoye <rob@darkstar.cygnus.com> 36825f210c2aSfgsch 36835f210c2aSfgsch * configure.in: Match on mips-ecoff, and default to the IDT 36845f210c2aSfgsch configuration. 36855f210c2aSfgsch 36865f210c2aSfgschFri Feb 17 13:06:47 1995 Michael Meissner <meissner@cygnus.com> 36875f210c2aSfgsch 36885f210c2aSfgsch * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. 36895f210c2aSfgsch Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area 36905f210c2aSfgsch to double the size of the table. 36915f210c2aSfgsch 36925f210c2aSfgschThu Feb 9 18:29:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 36935f210c2aSfgsch 36945f210c2aSfgsch * Makefile.in (distclean): Do recursive deletion, since ldscripts 36955f210c2aSfgsch is a directory. 36965f210c2aSfgsch 36975f210c2aSfgschThu Feb 9 11:38:22 1995 Ian Lance Taylor <ian@cygnus.com> 36985f210c2aSfgsch 36995f210c2aSfgsch * ldmain.c (main): If trace_file_tries is true, and we are using 37005f210c2aSfgsch an internal linker script, print out the script. 37015f210c2aSfgsch * ldfile.c (try_open): Reindent function. Make the messages about 37025f210c2aSfgsch opening script files more informative. 37035f210c2aSfgsch 37045f210c2aSfgsch * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. 37055f210c2aSfgsch * ld.texinfo, ld.1: Update accordingly. 37065f210c2aSfgsch 37075f210c2aSfgschWed Feb 8 17:34:45 1995 Ian Lance Taylor <ian@cygnus.com> 37085f210c2aSfgsch 37095f210c2aSfgsch * ldlang.c (lang_one_common): Adjust references to common symbol 37105f210c2aSfgsch information for new structure. 37115f210c2aSfgsch 37125f210c2aSfgschMon Feb 6 12:17:24 1995 Ian Lance Taylor <ian@cygnus.com> 37135f210c2aSfgsch 37145f210c2aSfgsch * ldmain.c (undefined_symbol): Handle section being NULL. 37155f210c2aSfgsch 37165f210c2aSfgsch * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. 37175f210c2aSfgsch * ldexp.c (fold_name): Likewise. 37185f210c2aSfgsch * ldlang.c (print_one_symbol): Likewise. 37195f210c2aSfgsch (lang_finish): Likewise. 37205f210c2aSfgsch * ldmain.c (multiple_common): Likewise. 37215f210c2aSfgsch * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak 37225f210c2aSfgsch renamed to bfd_link_hash_undefweak. 37235f210c2aSfgsch 37245f210c2aSfgsch * scripttempl/alpha.sc: Set address of .data section correctly 37255f210c2aSfgsch when -n or -N is used. Patch from Chris G Demetriou 37265f210c2aSfgsch <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>. 37275f210c2aSfgsch * scripttempl/mips.sc: Similar change. 37285f210c2aSfgsch 37295f210c2aSfgschTue Jan 31 16:20:52 1995 Doug Evans <dje@canuck.cygnus.com> 37305f210c2aSfgsch 37315f210c2aSfgsch * ldlang.c (lang_size_sections): Clarify error message when user 37325f210c2aSfgsch specified start addr conflicts with region. Fix resetting of 37335f210c2aSfgsch region pointer. 37345f210c2aSfgsch 37355f210c2aSfgschTue Jan 31 12:37:09 1995 Ian Lance Taylor <ian@cygnus.com> 37365f210c2aSfgsch 37375f210c2aSfgsch * ldexp.c (fold_name): In case NAME, permit an absolute symbol 37385f210c2aSfgsch in lang_allocating_phase_enum. 37395f210c2aSfgsch 37405f210c2aSfgschMon Jan 30 11:33:25 1995 Ian Lance Taylor <ian@cygnus.com> 37415f210c2aSfgsch 37425f210c2aSfgsch * Makefile.in (distclean): Depend upon clean. Don't bother to 37435f210c2aSfgsch remove files which will be removed by clean. From patch by 37445f210c2aSfgsch alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra). 37455f210c2aSfgsch 37465f210c2aSfgschFri Jan 27 16:27:34 1995 Ian Lance Taylor <ian@cygnus.com> 37475f210c2aSfgsch 37485f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For 37495f210c2aSfgsch a MIPS target, clobber the size of all but the first input 37505f210c2aSfgsch .reginfo section to be 0, so that lang_size_sections sets the 37515f210c2aSfgsch correct size for the output .reginfo section. 37525f210c2aSfgsch 37535f210c2aSfgschThu Jan 26 19:53:37 1995 Ian Lance Taylor <ian@cygnus.com> 37545f210c2aSfgsch 37555f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 37565f210c2aSfgsch Remove unused variable is. 37575f210c2aSfgsch 37585f210c2aSfgschThu Jan 26 12:33:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> 37595f210c2aSfgsch 37605f210c2aSfgsch * configure.in: Add support for powerpc-*-eabi. 37615f210c2aSfgsch 37625f210c2aSfgsch * scripttempl/elfppc.sc: New file for PowerPC embedded ABI 37635f210c2aSfgsch support. 37645f210c2aSfgsch 37655f210c2aSfgsch * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of 37665f210c2aSfgsch elf.sc, which defines some new symbols PowerPC elf needs. 37675f210c2aSfgsch 37685f210c2aSfgschTue Jan 24 10:32:15 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 37695f210c2aSfgsch 37705f210c2aSfgsch * ldctor.c (ldctor_add_set_entry): Don't dump core if a 37715f210c2aSfgsch constructor entry is in the absolute section. 37725f210c2aSfgsch 37735f210c2aSfgschMon Jan 23 13:58:13 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 37745f210c2aSfgsch 37755f210c2aSfgsch * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. 37765f210c2aSfgsch * config/i386-gnu.mt: New file. Include ELF support. 37775f210c2aSfgsch 37785f210c2aSfgschThu Jan 19 16:22:11 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 37795f210c2aSfgsch 37805f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If 37815f210c2aSfgsch there are any input sections named .gnu.warning, treat them as 37825f210c2aSfgsch containing a warning message to be printed by the linker, and 37835f210c2aSfgsch clobber the size so that the message is not copied into the output 37845f210c2aSfgsch file. 37855f210c2aSfgsch * scripttempl/elf.sc: Put .gnu.warning sections into the .text 37865f210c2aSfgsch section. 37875f210c2aSfgsch 37885f210c2aSfgschSun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> 37895f210c2aSfgsch 37905f210c2aSfgsch * configure.in (w65-*-*): New target. 37915f210c2aSfgsch * Makefile.in: Update. 37925f210c2aSfgsch * scripttempl/w65.sc: New. 37935f210c2aSfgsch * config/coff-w65.mt: New. 37945f210c2aSfgsch 37955f210c2aSfgschThu Jan 12 01:32:25 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com> 37965f210c2aSfgsch 37975f210c2aSfgsch * ldlang.c (lang_place_orphans): Don't ignore files with 37985f210c2aSfgsch just_syms_flag set. Instead, put all their sections in 37995f210c2aSfgsch bfd_abs_section_ptr, using the section VMA as the output_offset. 38005f210c2aSfgsch 38015f210c2aSfgschWed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com> 38025f210c2aSfgsch 38035f210c2aSfgsch * ldctor.c (ldctor_build_sets): Don't use `const' with typedef 38045f210c2aSfgsch name `reloc_howto_type', since it's now defined to be const. 38055f210c2aSfgsch * ldlang.c (lang_add_reloc): Ditto. 38065f210c2aSfgsch * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. 38075f210c2aSfgsch 38085f210c2aSfgschWed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> 38095f210c2aSfgsch 38105f210c2aSfgsch * ldexp.c (fold_binary): Adding or subtracting an absolute value 38115f210c2aSfgsch to a relative value does not require forcing the relative value to 38125f210c2aSfgsch be absolute. Also, reindent function. 38135f210c2aSfgsch 38145f210c2aSfgschWed Dec 28 22:05:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) 38155f210c2aSfgsch 38165f210c2aSfgsch * ldwrite.c (clone_section): Create a symbol with the 38175f210c2aSfgsch same name as the section. 38185f210c2aSfgsch 38195f210c2aSfgschMon Dec 19 14:02:13 1994 Steve Chamberlain (sac@jonny.cygnus.com) 38205f210c2aSfgsch 38215f210c2aSfgsch * ld.h (split_by_reloc, split_by_file): New flags. 38225f210c2aSfgsch * ldwrite.c (clone_section, split_sections): New functions. 38235f210c2aSfgsch * lexsup.c (parse_args): Understand new split options. 38245f210c2aSfgsch 38255f210c2aSfgschFri Dec 9 17:22:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 38265f210c2aSfgsch 38275f210c2aSfgsch * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to 38285f210c2aSfgsch .data segment. They must be writable when creating a shared 38295f210c2aSfgsch library. From H.J. Lu <hjl@nynexst.com>. 38305f210c2aSfgsch 38315f210c2aSfgschFri Dec 2 14:09:00 1994 Ian Lance Taylor <ian@rtl.cygnus.com> 38325f210c2aSfgsch 38335f210c2aSfgsch * emultempl/miposecoff.em: New file. 38345f210c2aSfgsch * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. 38355f210c2aSfgsch * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. 38365f210c2aSfgsch * scripttempl/mips.sc: Put .rel.sdata sections in .text, and 38375f210c2aSfgsch provide __runtime_reloc_start and __runtime_reloc_stop if they are 38385f210c2aSfgsch used. Align _fdata to a 16 byte boundary. 38395f210c2aSfgsch * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than 38405f210c2aSfgsch generic.em. 38415f210c2aSfgsch (emipsidtl.c): Likewise. 38425f210c2aSfgsch (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. 38435f210c2aSfgsch 38445f210c2aSfgsch * ld.h (args_type): Add new field embedded_relocs. 38455f210c2aSfgsch * ldemul.h (ldemul_after_open, after_open_default): Declare. 38465f210c2aSfgsch (ld_emulation_xfer_struct): Add new field after_open. 38475f210c2aSfgsch * ldemul.c (ldemul_after_open): New function. 38485f210c2aSfgsch (after_open_default): New function. 38495f210c2aSfgsch * ldlang.c (lang_process): Call ldemul_after_open. 38505f210c2aSfgsch * lexsup.c (parse_args): Handle --embedded-relocs. 38515f210c2aSfgsch * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize 38525f210c2aSfgsch new after_open field to after_open_default. 38535f210c2aSfgsch * emultempl/generic.em, emultempl/gld960.em: Likewise. 38545f210c2aSfgsch * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. 38555f210c2aSfgsch * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. 38565f210c2aSfgsch * emultempl/sunos.em, emultempl/vanilla.em: Likewise. 38575f210c2aSfgsch * ld.texinfo, ld.1: Mention -embedded-relocs. 38585f210c2aSfgsch 38595f210c2aSfgschWed Nov 23 22:04:47 1994 Steve Chamberlain (sac@jonny.cygnus.com) 38605f210c2aSfgsch 38615f210c2aSfgsch * Makefile.in: Add eshl.o. 38625f210c2aSfgsch * config/coff-sh.mt: Add shl emulation. 38635f210c2aSfgsch 38645f210c2aSfgschTue Nov 22 11:55:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 38655f210c2aSfgsch 38665f210c2aSfgsch * scripttempl/elf.sc: Fill .text section with NOPS. From Eric 38675f210c2aSfgsch Youngdale <eric@aib.com>. 38685f210c2aSfgsch 38695f210c2aSfgschThu Nov 17 14:39:48 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 38705f210c2aSfgsch 38715f210c2aSfgsch Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker). 38725f210c2aSfgsch * config/i386linux.mh: New file; set HOSTING_CRT0. 38735f210c2aSfgsch * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is 38745f210c2aSfgsch /usr/lib, since that is already in LIB_PATH. 38755f210c2aSfgsch 38765f210c2aSfgschWed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu) 38775f210c2aSfgsch 38785f210c2aSfgsch * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start 38795f210c2aSfgsch address. 38805f210c2aSfgsch (.data, .bss): If "-N", then place the data/bss just after the end 38815f210c2aSfgsch of the .text section rather than at the default 0x40000000. 38825f210c2aSfgsch 38835f210c2aSfgsch * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the 38845f210c2aSfgsch text segment. 38855f210c2aSfgsch 38865f210c2aSfgschSat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 38875f210c2aSfgsch 38885f210c2aSfgsch Patches from Eric Youngdale <eric@aib.com>: 38895f210c2aSfgsch * ldlang.c (lang_finish): Don't warn if entry symbol not found 38905f210c2aSfgsch when generating a shared library. 38915f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if 38925f210c2aSfgsch attempting to place an orphaned relocation section when generating 38935f210c2aSfgsch a dynamically linked object. 38945f210c2aSfgsch 38955f210c2aSfgsch * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to 38965f210c2aSfgsch _start. 38975f210c2aSfgsch 38985f210c2aSfgschFri Nov 11 14:27:23 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 38995f210c2aSfgsch 39005f210c2aSfgsch * ld.h (args_type): Add field export_dynamic. 39015f210c2aSfgsch * lexsup.c (parse_args): Recognize --export-dynamic. 39025f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 39035f210c2aSfgsch Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. 39045f210c2aSfgsch 39055f210c2aSfgschWed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 39065f210c2aSfgsch 39075f210c2aSfgsch * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where 39085f210c2aSfgsch we allocate common symbols. 39095f210c2aSfgsch 39105f210c2aSfgschTue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) 39115f210c2aSfgsch 39125f210c2aSfgsch * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and 39135f210c2aSfgsch .rela.fini to the list of .rel* sections. 39145f210c2aSfgsch 39155f210c2aSfgschTue Nov 8 17:47:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 39165f210c2aSfgsch 39175f210c2aSfgsch * ldlang.c (load_symbols): Add new argument place. Only accept 39185f210c2aSfgsch linker scripts if place is not NULL. Put commands found in an 39195f210c2aSfgsch assumed linker script into place. 39205f210c2aSfgsch (lookup_name): Pass NULL as place argument to load_symbols. 39215f210c2aSfgsch (open_input_bfds): In lang_input_statement_enum case, pass a place 39225f210c2aSfgsch argument to load_symbols, and store any new statements after the 39235f210c2aSfgsch current one. 39245f210c2aSfgsch 39255f210c2aSfgschMon Nov 7 15:53:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 39265f210c2aSfgsch 39275f210c2aSfgsch * ldver.c (ldversion): Bump to 2.5.3. 39285f210c2aSfgsch 39295f210c2aSfgschFri Nov 4 15:11:26 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 39305f210c2aSfgsch 39315f210c2aSfgsch * Makefile.in (e*nbsd.c): Fix typo in dependencies. 39325f210c2aSfgsch 39335f210c2aSfgschThu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 39345f210c2aSfgsch 39355f210c2aSfgsch * Makefile.in (check): Add missing "else true" clause. 39365f210c2aSfgsch 39375f210c2aSfgsch * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". 39385f210c2aSfgsch 39395f210c2aSfgsch * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default 39405f210c2aSfgsch entry point to "start". Align at end of each section to 0x200. 39415f210c2aSfgsch Start .text section 0x1000 later. Add _etext, _edata, _end 39425f210c2aSfgsch symbols. 39435f210c2aSfgsch 39445f210c2aSfgschWed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 39455f210c2aSfgsch 39465f210c2aSfgsch * ldctor.c (ldctor_add_set_entry): Don't permit a set to be 39475f210c2aSfgsch composed of different object file formats. 39485f210c2aSfgsch (ldctor_build_sets): If the output format does not support the 39495f210c2aSfgsch reloc, and we are not generating a relocateable link, try getting 39505f210c2aSfgsch the reloc from the input format. 39515f210c2aSfgsch 39525f210c2aSfgschTue Nov 1 10:30:19 1994 J.T. Conklin (jtc@rtl.cygnus.com) 39535f210c2aSfgsch 39545f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. 39555f210c2aSfgsch (em68knbsd.c): New target. 39565f210c2aSfgsch 39575f210c2aSfgsch * config/m68k-nbsd.mt: New file. 39585f210c2aSfgsch * emulparams/m68knbsd.sh: New file. 39595f210c2aSfgsch * configure.in (m68*-*-netbsd*): Use above configs. 39605f210c2aSfgsch 39615f210c2aSfgschMon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 39625f210c2aSfgsch 39635f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an 39645f210c2aSfgsch appropriately named static library, stop the search at that 39655f210c2aSfgsch directory. 39665f210c2aSfgsch 39675f210c2aSfgschWed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) 39685f210c2aSfgsch 39695f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o 39705f210c2aSfgsch and esparcnbsd.o; sorted entries. 39715f210c2aSfgsch (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. 39725f210c2aSfgsch 39735f210c2aSfgsch * config/netbsd532.mt: Removed. 39745f210c2aSfgsch * emulparams/netbsd532.sh: Removed. 39755f210c2aSfgsch 39765f210c2aSfgsch * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. 39775f210c2aSfgsch * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. 39785f210c2aSfgsch * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, 39795f210c2aSfgsch sparc*-*-netbsd*): Use above configs. 39805f210c2aSfgsch 39815f210c2aSfgschTue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 39825f210c2aSfgsch 39835f210c2aSfgsch * ldmain.c (multiple_common): One of the types may now be 39845f210c2aSfgsch bfd_link_hash_indirect. The old BFD argument may be NULL. 39855f210c2aSfgsch 39865f210c2aSfgschThu Oct 20 22:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 39875f210c2aSfgsch 39885f210c2aSfgsch * configure.in: Add * at the end of m68k-hp-hpux. 39895f210c2aSfgsch 39905f210c2aSfgschTue Oct 18 15:58:39 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 39915f210c2aSfgsch 39925f210c2aSfgsch * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to 39935f210c2aSfgsch YY_CHAR *. 39945f210c2aSfgsch 39955f210c2aSfgschMon Oct 17 14:53:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com) 39965f210c2aSfgsch 39975f210c2aSfgsch * scripttempl/nw.sc: Gather constructors and destructors and 39985f210c2aSfgsch define __CTOR__LIST__ and __DTOR_LIST__ appropriately. 39995f210c2aSfgsch 40005f210c2aSfgschFri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com) 40015f210c2aSfgsch 40025f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. 40035f210c2aSfgsch (ei386nw.c, eppcnw.c): New targets. 40045f210c2aSfgsch 40055f210c2aSfgsch * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, 40065f210c2aSfgsch scripttempl/nw.sc: New files, for i386 and powerpc netware. 40075f210c2aSfgsch 40085f210c2aSfgsch * configure.in: Changed netware ld_target name to be {i386,ppc}-nw 40095f210c2aSfgsch instead of {i386,ppc}-elf. 40105f210c2aSfgsch 40115f210c2aSfgsch * configure.in (sparc*-*-netware): Removed. There is no such 40125f210c2aSfgsch thing anymore. 40135f210c2aSfgsch 40145f210c2aSfgsch * ldint.texinfo: Move misplaced `@end iftex'. 40155f210c2aSfgsch 40165f210c2aSfgschFri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com) 40175f210c2aSfgsch 40185f210c2aSfgsch * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and 40195f210c2aSfgsch .rela.dtors to the list of .rel* sections. 40205f210c2aSfgsch 40215f210c2aSfgschThu Oct 13 14:16:27 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 40225f210c2aSfgsch 40235f210c2aSfgsch * ldver.c (ldversion): Update to version 2.5. 40245f210c2aSfgsch * Version 2.5 released. 40255f210c2aSfgsch 40265f210c2aSfgsch * configure.in (all_targets): Handle i386-linux*. 40275f210c2aSfgsch 40285f210c2aSfgschThu Oct 13 11:24:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 40295f210c2aSfgsch 40305f210c2aSfgsch * scripttempl/aout.sc: Set _etext and __etext to ., not 40315f210c2aSfgsch ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, 40325f210c2aSfgsch will not break any other system. From Eric Valette 40335f210c2aSfgsch <ev@chorus.fr>. 40345f210c2aSfgsch 40355f210c2aSfgschWed Oct 12 16:22:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> 40365f210c2aSfgsch 40375f210c2aSfgsch * lexsup.c (parse_args): Change -V to be a synonym for -v. Add 40385f210c2aSfgsch --verbose to get the old -V behaviour. 40395f210c2aSfgsch * ld.1, ld.texinfo: Document this change. 40405f210c2aSfgsch 40415f210c2aSfgschTue Sep 27 14:56:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 40425f210c2aSfgsch 40435f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove 40445f210c2aSfgsch assertion, since it could fail with a user defined linker script. 40455f210c2aSfgsch 40465f210c2aSfgsch * ldexp.c (fold_name): For DEFINED case, don't try to look up the 40475f210c2aSfgsch name in the hash table during the first phase--the hash table does 40485f210c2aSfgsch not even exist at that point, much less have the right value. 40495f210c2aSfgsch 40505f210c2aSfgsch * Makefile.in (CC): Define. 40515f210c2aSfgsch (CXX): Move definition, change from g++ to gcc. 40525f210c2aSfgsch (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. 40535f210c2aSfgsch (RUNTEST_CC, RUNTEST_CFLAGS): Remove. 40545f210c2aSfgsch (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. 40555f210c2aSfgsch (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. 40565f210c2aSfgsch (.cc.o): Comment out. 40575f210c2aSfgsch (testdir): Remove. 40585f210c2aSfgsch (site.exp): Don't create testdir or set tmpdir. 40595f210c2aSfgsch (check): Run checks even if not running native. Use CC_FOR_TARGET 40605f210c2aSfgsch instead of RUNTEST_CC, and likewise for CXX. 40615f210c2aSfgsch (cdtest targets): Comment out. 40625f210c2aSfgsch * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. 4063d2201f2fSdrahn * testsuite/ld-cdtest/cdtest-bar.cc, 4064d2201f2fSdrahn testsuite/ld-cdtest/cdtest-foo.cc, 4065d2201f2fSdrahn testsuite/ld-cdtest/cdtest-foo.h, 4066d2201f2fSdrahn testsuite/ld-cdtest/cdtest-main.cc, 4067d2201f2fSdrahn testsuite/ld-cdtest/cdtest.exp: Remove. 40685f210c2aSfgsch 40695f210c2aSfgschMon Sep 26 11:40:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 40705f210c2aSfgsch 40715f210c2aSfgsch * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS 40725f210c2aSfgsch file naming problems. 40735f210c2aSfgsch * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. 40745f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to 40755f210c2aSfgsch eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. 40765f210c2aSfgsch (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. 40775f210c2aSfgsch (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. 40785f210c2aSfgsch * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. 40795f210c2aSfgsch * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. 40805f210c2aSfgsch 40815f210c2aSfgsch * genscripts.sh: Always search /usr/local/TARGET/lib. 40825f210c2aSfgsch 40835f210c2aSfgsch * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". 40845f210c2aSfgsch 40855f210c2aSfgschFri Sep 23 15:05:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com> 40865f210c2aSfgsch 40875f210c2aSfgsch * configure.in: Handle i386-bsdi* targets like i386-bsd. 40885f210c2aSfgsch 40895f210c2aSfgschFri Sep 23 00:06:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 40905f210c2aSfgsch 40915f210c2aSfgsch * lexsup.c (parse_args): Add support for -a for HP/UX 40925f210c2aSfgsch compatibility. 40935f210c2aSfgsch 40945f210c2aSfgsch * lexsup.c (parse_args): -c takes an argument. 40955f210c2aSfgsch 40965f210c2aSfgschTue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 40975f210c2aSfgsch 40985f210c2aSfgsch * ld.h (args_type): Add new field endian. 40995f210c2aSfgsch * lexsup.c (parse_args): Handle -EB and -EL by setting 41005f210c2aSfgsch command_line.endian. 41015f210c2aSfgsch * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. 41025f210c2aSfgsch * ldlang.c (lang_add_output_format): Add arguments big and little. 41035f210c2aSfgsch If command_line.endian is set, use it to select big or little 41045f210c2aSfgsch rather than the default. Changed all callers. 41055f210c2aSfgsch * ldlang.h (lang_add_output_format): Update declaration. 41065f210c2aSfgsch * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and 41075f210c2aSfgsch LITTLE_OUTPUT_FORMAT. 41085f210c2aSfgsch * emulparams/elf32mipl.sh: Likewise. 41095f210c2aSfgsch * emulparams/mipsbig.sh: Likewise. 41105f210c2aSfgsch * emulparams/mipsbsd.sh: Likewise. 41115f210c2aSfgsch * emulparams/mipsidt.sh: Likewise. 41125f210c2aSfgsch * emulparams/mipsidtl.sh: Likewise. 41135f210c2aSfgsch * emulparams/mipslit.sh: Likewise. 41145f210c2aSfgsch * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and 41155f210c2aSfgsch LITTLE_OUTPUT_FORMAT if not already defined. Pass them to 41165f210c2aSfgsch OUTPUT_FORMAT. 41175f210c2aSfgsch * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and 41185f210c2aSfgsch LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. 41195f210c2aSfgsch * scripttempl/mipsbsd.sc: Likewise. 41205f210c2aSfgsch 41215f210c2aSfgsch * Makefile.in (ldgram.h): Make separate target from ldgram.c, 41225f210c2aSfgsch depending upon ldgram.c, so that a parallel make does not try to 41235f210c2aSfgsch build both at once. 41245f210c2aSfgsch 41255f210c2aSfgsch * configure.in (mips*el-elf*): New target. 41265f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. 41275f210c2aSfgsch (eelf32mipl.c): New target. 41285f210c2aSfgsch 41295f210c2aSfgsch * config/mipsl-elf32.mt: New file. 41305f210c2aSfgsch * emulparams/elf32mipl.sh: New file. 41315f210c2aSfgsch 41325f210c2aSfgschFri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 41335f210c2aSfgsch 41345f210c2aSfgsch * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as 41355f210c2aSfgsch ld -r -S -x. 41365f210c2aSfgsch 41375f210c2aSfgschThu Sep 15 13:05:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 41385f210c2aSfgsch 41395f210c2aSfgsch * ldmisc.c (vfinfo): Print BFD file name as well as file name 41405f210c2aSfgsch returned by find_nearest_line, in case the file name is something 41415f210c2aSfgsch unhelpful such as a .h file. Handle %u. 41425f210c2aSfgsch 41435f210c2aSfgschWed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com) 41445f210c2aSfgsch 41455f210c2aSfgsch * ldlang.c (lang_do_assignments): Make sure output statement 41465f210c2aSfgsch has an attached bfd_section before trying to dereference it. 41475f210c2aSfgsch 41485f210c2aSfgschWed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 41495f210c2aSfgsch 41505f210c2aSfgsch * ld.h (ld_config_type): Add new field warn_once. 41515f210c2aSfgsch * ldmain.c (undefined_symbol): Handle -warn-once. 41525f210c2aSfgsch * lexsup.c (parse_args): Recognize -warn-once. 41535f210c2aSfgsch * ld.texinfo (Options): Document -warn-once. 41545f210c2aSfgsch * ld.1: Likewise. 41555f210c2aSfgsch 41565f210c2aSfgsch * ldmisc.c (vfinfo): Handle %D as %C, but never print the function 41575f210c2aSfgsch name. For %C, print the function name on a separate line, to keep 41585f210c2aSfgsch the length of error messages under control. 41595f210c2aSfgsch * ldmain.c (multiple_definition): Use %D for ``first defined 41605f210c2aSfgsch here.'' 41615f210c2aSfgsch (undefined_symbol): Use %D for ``more undefined references 41625f210c2aSfgsch follow''. 41635f210c2aSfgsch 41645f210c2aSfgsch * ldmisc.c (multiple_warn): Remove; no longer used. 41655f210c2aSfgsch * ldmisc.h (multiple_warn): Don't declare. 41665f210c2aSfgsch 41675f210c2aSfgschTue Sep 13 20:47:58 1994 Steve Chamberlain (sac@jonny.cygnus.com) 41685f210c2aSfgsch 41695f210c2aSfgsch * ldlang.c (print_output_section_statement): Print all lines 41705f210c2aSfgsch to the map file. 41715f210c2aSfgsch 41725f210c2aSfgschTue Sep 13 16:30:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 41735f210c2aSfgsch 41745f210c2aSfgsch * ldlang.c (load_symbols): Check for archive before object. Use 41755f210c2aSfgsch bfd_check_format_matches, and, if ambiguous, print a list of 41765f210c2aSfgsch matching formats. If file format is not recognized, treat file as 41775f210c2aSfgsch a linker script. 41785f210c2aSfgsch * ldgram.y (yyerror): If assuming an object file is a script, 41795f210c2aSfgsch mention that. Tweak the format of the error messages. 41805f210c2aSfgsch * ldlex.l (lex_warn_invalid): If assuming an object is a script, 41815f210c2aSfgsch guess that this is not actually a script, and just report that the 41825f210c2aSfgsch file format was not recognized. 41835f210c2aSfgsch * ld.texinfo (Options): Admit that -( may be used more than once. 41845f210c2aSfgsch Add note that unrecognized object files are now treated as linker 41855f210c2aSfgsch scripts. 41865f210c2aSfgsch 41875f210c2aSfgsch * ldfile.c (ldfile_input_filename): Make const. 41885f210c2aSfgsch (ldfile_assumed_script): New variable. 41895f210c2aSfgsch (try_open): Change arguments types to const. 41905f210c2aSfgsch (ldfile_find_command_file): Likewise. 41915f210c2aSfgsch (ldfile_open_command_file): Likewise. Also, set lineno to 1. 41925f210c2aSfgsch * ldfile.h: Update declarations for ldfile.c changes. 41935f210c2aSfgsch * ldlex.l: Include <ctype.h>. 41945f210c2aSfgsch (file_name_stack): Change to be const char *. 41955f210c2aSfgsch (lineno_stack): New static variable. 41965f210c2aSfgsch (<<EOF>>): Set lineno as well as ldfile_input_filename. 41975f210c2aSfgsch (lex_push_file): Make name argument const. Initialize 41985f210c2aSfgsch lineno_stack entry. 41995f210c2aSfgsch (lex_redirect): Initialize lineno_stack entry. 42005f210c2aSfgsch (lex_warn_invalid): Handle non printable characters nicely. 42015f210c2aSfgsch * ldlex.h (lex_push_file): Declare second argument as const. 42025f210c2aSfgsch 42035f210c2aSfgsch * ldgram.y (ifile_p1): Recognize GROUP. 42045f210c2aSfgsch * ldlex.l: Recognize GROUP. 42055f210c2aSfgsch * ld.texinfo (Option Commands): Document GROUP. 42065f210c2aSfgsch 42075f210c2aSfgschMon Sep 12 17:04:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42085f210c2aSfgsch 42095f210c2aSfgsch * config/m68klynx.mh: New file. 42105f210c2aSfgsch 42115f210c2aSfgschMon Sep 12 01:50:03 1994 Jeff Law (law@snake.cs.utah.edu) 42125f210c2aSfgsch 42135f210c2aSfgsch * emultempl/hppaelf.em: Add newlines to the error messages. 42145f210c2aSfgsch 42155f210c2aSfgschSat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 42165f210c2aSfgsch 42175f210c2aSfgsch * config/i386lynx.mh: New file. 42185f210c2aSfgsch * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text 42195f210c2aSfgsch unless CONSTRUCTING. 42205f210c2aSfgsch 42215f210c2aSfgschThu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42225f210c2aSfgsch 42235f210c2aSfgsch * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. 42245f210c2aSfgsch (GENERATE_SHLIB_SCRIPT): Define as yes. 42255f210c2aSfgsch (DYNAMIC_LINK): Define as false. 42265f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): 42275f210c2aSfgsch Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. 42285f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. 42295f210c2aSfgsch * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than 42305f210c2aSfgsch generic.em. 42315f210c2aSfgsch 42325f210c2aSfgschThu Sep 8 16:30:37 1994 Steve Chamberlain (sac@jonny.cygnus.com) 42335f210c2aSfgsch 42345f210c2aSfgsch * scripttempl/h8500b.sc: Put rdata stuff into own segment. 42355f210c2aSfgsch 42365f210c2aSfgschThu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42375f210c2aSfgsch 42385f210c2aSfgsch * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; 42395f210c2aSfgsch .got section is now explicitly handled in elf.sc. 42405f210c2aSfgsch 42415f210c2aSfgschWed Sep 7 13:08:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42425f210c2aSfgsch 42435f210c2aSfgsch * scripttempl/alpha.sc: Redo script to set . outside of sections 42445f210c2aSfgsch and not bother to explicitly specify section addresses. 42455f210c2aSfgsch Explicitly place .sdata section. 42465f210c2aSfgsch 42475f210c2aSfgschTue Sep 6 23:51:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 42485f210c2aSfgsch 42495f210c2aSfgsch * scripttempl/m68kcoff.sc: Put .bss in data segment. 42505f210c2aSfgsch 42515f210c2aSfgsch * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of 42525f210c2aSfgsch 0, and to only be marked as NOLOAD if relocating. 42535f210c2aSfgsch * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. 42545f210c2aSfgsch * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. 42555f210c2aSfgsch * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. 42565f210c2aSfgsch * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. 42575f210c2aSfgsch * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. 42585f210c2aSfgsch * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. 42595f210c2aSfgsch * scripttempl/sparclynx.sc: Likewise. 42605f210c2aSfgsch 42615f210c2aSfgschSun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) 42625f210c2aSfgsch 42635f210c2aSfgsch * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. 42645f210c2aSfgsch * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: 42655f210c2aSfgsch New files. 42665f210c2aSfgsch 42675f210c2aSfgschTue Aug 30 11:48:08 1994 Eric Youngdale (ericy@cais.cais.com) 42685f210c2aSfgsch 42695f210c2aSfgsch * ld.h (args_type): Add field soname. 42705f210c2aSfgsch * lexsup.c (parse_args): Handle -soname argument. 42715f210c2aSfgsch * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, 42725f210c2aSfgsch pass soname. 42735f210c2aSfgsch * ld.texinfo: Document -soname. 42745f210c2aSfgsch 42755f210c2aSfgschMon Aug 29 15:21:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42765f210c2aSfgsch 42775f210c2aSfgsch * ldlang.c (lang_check): Don't try to set the architecture if the 42785f210c2aSfgsch input and output files are incompatible. Just warn. 42795f210c2aSfgsch 42805f210c2aSfgschWed Aug 24 12:52:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42815f210c2aSfgsch 42825f210c2aSfgsch * configure.in: Change i[34]86 to i[345]86. 42835f210c2aSfgsch 42845f210c2aSfgschSun Aug 21 16:17:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 42855f210c2aSfgsch 42865f210c2aSfgsch * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. 42875f210c2aSfgsch 42885f210c2aSfgschThu Aug 18 15:37:45 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 42895f210c2aSfgsch 42905f210c2aSfgsch Make the ELF linker handle orphaned sections reasonably. Also, 42915f210c2aSfgsch define __start_SECNAME and __stop_SECNAME around sections whose 42925f210c2aSfgsch names can be represented in C, for the benefit of symbol sets in 42935f210c2aSfgsch glibc. 42945f210c2aSfgsch * ldemul.h (ldemul_place_orphan): Declare. 42955f210c2aSfgsch (ld_emulation_xfer_type): Add place_orphan field. 42965f210c2aSfgsch * ldemul.c (ldemul_place_orphan): New function. 42975f210c2aSfgsch * ldlang.h (wild_doit): Declare. 42985f210c2aSfgsch * ldlang.c (wild_doit): Make nonstatic. 42995f210c2aSfgsch (lang_place_orphans): Call ldemul_place_orphan. 43005f210c2aSfgsch * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". 43015f210c2aSfgsch (hold_section, hold_use, hold_text, hold_data, hold_bss): New 43025f210c2aSfgsch static variables. 43035f210c2aSfgsch (gld${EMULATION_NAME}_place_orphan): New static function. 43045f210c2aSfgsch (gld${EMULATION_NAME}_place_section): New static function. 43055f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. 43065f210c2aSfgsch 43075f210c2aSfgschTue Aug 16 00:17:20 1994 Eric Youngdale (ericy@cais.cais.com) 43085f210c2aSfgsch 43095f210c2aSfgsch * scripttempl/aout.sc: Add .linux-dynamic after .data. 43105f210c2aSfgsch 43115f210c2aSfgschTue Aug 16 00:08:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 43125f210c2aSfgsch 43135f210c2aSfgsch * lexsup.c (parse_args) Treat --dll-verbose as --version, for 43145f210c2aSfgsch Linux compatibility. From hjl@nynexst.com (H.J. Lu). 43155f210c2aSfgsch 43165f210c2aSfgschMon Aug 15 17:17:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 43175f210c2aSfgsch 43185f210c2aSfgsch * ldexp.h (exp_get_abs_int): Declare. 43195f210c2aSfgsch 43205f210c2aSfgschSat Aug 6 01:45:39 1994 Steve Chamberlain (sac@jonny.cygnus.com) 43215f210c2aSfgsch 43225f210c2aSfgsch * ldlang.c (lang_do_assignments): Handle complex AT's better. 43235f210c2aSfgsch * ldexp.c (exp_get_abs_int): New function. 43245f210c2aSfgsch 43255f210c2aSfgschFri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com) 43265f210c2aSfgsch 43275f210c2aSfgsch * configure.in: add i960-nindy-coff support. 43285f210c2aSfgsch 43295f210c2aSfgschThu Aug 4 14:45:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 43305f210c2aSfgsch 43315f210c2aSfgsch * ldlex.l (yy_create_string_buffer): Handle change to internal 43325f210c2aSfgsch interface in flex 2.4.7. 43335f210c2aSfgsch 43345f210c2aSfgschTue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com) 43355f210c2aSfgsch 43365f210c2aSfgsch * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): 43375f210c2aSfgsch New function; add 0x20 to any use of -Ttext. 43385f210c2aSfgsch (gld${EMULATION_NAME}_create_output_section_statements): New 43395f210c2aSfgsch function. 43405f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Use the new function 43415f210c2aSfgsch gld${EMULATION_NAME}_create_output_section_statements. 43425f210c2aSfgsch 43435f210c2aSfgschMon Aug 1 15:50:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 43445f210c2aSfgsch 43455f210c2aSfgsch * scripttempl/mips.sc: Redo script to set . outside of sections 43465f210c2aSfgsch and not bother to explicitly specify section addresses. 43475f210c2aSfgsch 43485f210c2aSfgschTue Jul 26 11:02:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 43495f210c2aSfgsch 43505f210c2aSfgsch * scripttempl/elf.sc: Copy several more relocation sections into 43515f210c2aSfgsch the output. Put .got.plt sections into .got. 43525f210c2aSfgsch 43535f210c2aSfgschFri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 43545f210c2aSfgsch 43555f210c2aSfgsch * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. 43565f210c2aSfgsch 43575f210c2aSfgsch Add a new script operator, PROVIDE, to define a symbol only if it 43585f210c2aSfgsch is needed. 43595f210c2aSfgsch * ldgram.y (PROVIDE): New token. 43605f210c2aSfgsch (assignment): Accept PROVIDE. 43615f210c2aSfgsch * ldlex.l (PROVIDE): New token. 43625f210c2aSfgsch * ldexp.h (node_type): Add etree_provide to node_class enum. 43635f210c2aSfgsch (exp_provide): Declare. 43645f210c2aSfgsch * ldexp.c (exp_fold_tree): Handle etree_provide. 43655f210c2aSfgsch (exp_provide): New function. 43665f210c2aSfgsch (exp_print_tree): Handle etree_provide. 43675f210c2aSfgsch * ld.texinfo: Document PROVIDE. 43685f210c2aSfgsch 43695f210c2aSfgsch * ldlang.c (lang_common): Pass desired alignment to 43705f210c2aSfgsch lang_one_common as power of two. 43715f210c2aSfgsch (lang_one_common): Get common symbol alignment from linker hash 43725f210c2aSfgsch table entry. Treat desired alignment as a power of two. 43735f210c2aSfgsch 43745f210c2aSfgsch * ldlang.c (wild_section): Attach all section with the given name, 43755f210c2aSfgsch not just the first one. If there is no name, attach all sections 43765f210c2aSfgsch even if the SEC_IS_COMMON flag is set. 43775f210c2aSfgsch 43785f210c2aSfgschWed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 43795f210c2aSfgsch 43805f210c2aSfgsch * ld.h (args_type): Add field rpath. 43815f210c2aSfgsch * lexsup.c (S_ISDIR): Define if not already defined. 43825f210c2aSfgsch (parse_args): Add support for -rpath. If -R is used to name a 43835f210c2aSfgsch directory, treat it as -rpath for Solaris compatibility. 43845f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 43855f210c2aSfgsch Pass command_line.rpath to bfd_elf32_size_dynamic_sections. 43865f210c2aSfgsch * ldmain.c (main): Initialize command_line.rpath to NULL. 43875f210c2aSfgsch * ld.texinfo: Document -rpath option. 43885f210c2aSfgsch 43895f210c2aSfgschSun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au) 43905f210c2aSfgsch 43915f210c2aSfgsch * emulparams/pc532machaout.sh: New file. Pc532 mach script 43925f210c2aSfgsch parameters. 43935f210c2aSfgsch 43945f210c2aSfgsch * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. 43955f210c2aSfgsch 43965f210c2aSfgsch * config/pc532mach.mt: New file. Pc532 mach target support. 43975f210c2aSfgsch 43985f210c2aSfgsch * config/pc532mach.mh: New file. Pc532 mach host support. 43995f210c2aSfgsch 44005f210c2aSfgsch * config/netbsd532.mt: New file. Netbsd 532 target support. 44015f210c2aSfgsch 44025f210c2aSfgsch * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. 44035f210c2aSfgsch 44045f210c2aSfgsch * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c 44055f210c2aSfgsch dependency. 44065f210c2aSfgsch 44075f210c2aSfgschFri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 44085f210c2aSfgsch 44095f210c2aSfgsch * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use 44105f210c2aSfgsch bfd_abs_section_ptr, not &bfd_abs_section. 44115f210c2aSfgsch 44125f210c2aSfgsch * lexsup.c (parse_args): Changed "retain-symbols-file" from 44135f210c2aSfgsch no_argument to required_argument. From djm. 44145f210c2aSfgsch 44155f210c2aSfgschThu Jul 7 12:29:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 44165f210c2aSfgsch 44175f210c2aSfgsch * scripttempl/elf.sc: Explicitly mention .stab and .stabstr 44185f210c2aSfgsch sections to force a VMA of 0; needed for ELF backends which have 44195f210c2aSfgsch not been converted to the new linker style. 44205f210c2aSfgsch 44215f210c2aSfgschMon Jul 4 19:35:45 1994 Jeff Law (law@snake.cs.utah.edu) 44225f210c2aSfgsch 44235f210c2aSfgsch * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, 44245f210c2aSfgsch it was for the HPUX dynamic loader's use and it creates problems 44255f210c2aSfgsch with ELF GDB. 44265f210c2aSfgsch 44275f210c2aSfgschFri Jul 1 12:53:47 1994 Jeff Law (law@snake.cs.utah.edu) 44285f210c2aSfgsch 44295f210c2aSfgsch * ldlang.c (lang_do_assignments): No longer static. Delete decl. 44305f210c2aSfgsch * ldlang.h (lang_do_assignments): Put external decl here. 44315f210c2aSfgsch * emultempl/hppaelf.em: Minor cleanups throughout file. 44325f210c2aSfgsch (hppa_elf_create_output_section_statements): Rewrite. 44335f210c2aSfgsch (hppaelf_finish): Rewrite. 44345f210c2aSfgsch 44355f210c2aSfgschWed Jun 29 16:50:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 44365f210c2aSfgsch 44375f210c2aSfgsch * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. 44385f210c2aSfgsch 44395f210c2aSfgsch * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not 44405f210c2aSfgsch accept plain -B. 44415f210c2aSfgsch * ld.texinfo: -Bstatic is not ignored. 44425f210c2aSfgsch 44435f210c2aSfgschTue Jun 28 12:13:34 1994 Stan Shebs (shebs@andros.cygnus.com) 44445f210c2aSfgsch 44455f210c2aSfgsch * ldlex.l: Recognize \r the same as \n. 44465f210c2aSfgsch 44475f210c2aSfgschThu Jun 23 17:53:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 44485f210c2aSfgsch 44495f210c2aSfgsch Preliminary support for generating shared libraries, from Eric 44505f210c2aSfgsch Youngdale <ericy@cais.cais.com>. 44515f210c2aSfgsch * genscripts.sh: If the emulation parameter file sets 44525f210c2aSfgsch GENERATE_SHLIB_SCRIPT, generate a .xs script file with 44535f210c2aSfgsch CREATE_SHLIB defined. 44545f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If 44555f210c2aSfgsch link_info.shared is set, use the .xs script file. 44565f210c2aSfgsch * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a 44575f210c2aSfgsch .interp section, and don't include TEXT_START_ADDR in the starting 44585f210c2aSfgsch address of the first section. 44595f210c2aSfgsch * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. 44605f210c2aSfgsch * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. 44615f210c2aSfgsch 44625f210c2aSfgschThu Jun 23 12:52:22 1994 David J. Mackenzie (djm@rtl.cygnus.com) 44635f210c2aSfgsch 44645f210c2aSfgsch * configure.in: Change --with-targets to --enable-targets. 44655f210c2aSfgsch 44665f210c2aSfgschWed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 44675f210c2aSfgsch 44685f210c2aSfgsch * lexsup.c (parse_args): Add support for new options -( -) with 44695f210c2aSfgsch synonyms --start-group --end-group. 44705f210c2aSfgsch * ldlang.h (enum statement_enum): Add lang_group_statement_enum. 44715f210c2aSfgsch (lang_group_statement_type): Define new struct. 44725f210c2aSfgsch (lang_statement_union_type): Add group_statement field. 44735f210c2aSfgsch (lang_enter_group, lang_leave_group): Declare. 44745f210c2aSfgsch * ldlang.c (lang_for_each_statement_worker): Handle 44755f210c2aSfgsch lang_group_statement_enum. 44765f210c2aSfgsch (map_input_to_output_sections, print_statement): Likewise. 44775f210c2aSfgsch (lang_size_sections, lang_do_assignments): Likewise. 44785f210c2aSfgsch (open_input_bfds): Completely rewrite. Now does its own looping, 44795f210c2aSfgsch rather than using lang_for_each_statement. Handle groups. 44805f210c2aSfgsch (lang_process): Update call to open_input_bfds. 44815f210c2aSfgsch (print_group): New static function. 44825f210c2aSfgsch (lang_enter_group, lang_leave_group): New static functions. 44835f210c2aSfgsch * ldfile.c (ldfile_open_file): If the file has already been 44845f210c2aSfgsch opened, just return rather than taking an assertion failure. 44855f210c2aSfgsch * ldver.c (help): Mention new options. 44865f210c2aSfgsch * ld.texinfo: Document new options. 44875f210c2aSfgsch 44885f210c2aSfgsch * ldlang.c (end_of_data_section_statement_list): Don't define. 44895f210c2aSfgsch (lang_leave_output_section_statement): Don't set obsolete variable 44905f210c2aSfgsch end_of_data_section_statement_list. 44915f210c2aSfgsch 44925f210c2aSfgsch * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an 44935f210c2aSfgsch ALIGN. 44945f210c2aSfgsch 44955f210c2aSfgsch * ldlang.c (lang_size_sections): Adjust current region address 44965f210c2aSfgsch even for sections with an explicit address. From 44975f210c2aSfgsch ralphc@pyramid.com (Ralph Campbell). 44985f210c2aSfgsch 44995f210c2aSfgsch * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. 45005f210c2aSfgsch From jrs@world.std.com (Rick Sladkey). 45015f210c2aSfgsch 45025f210c2aSfgsch * scripttempl/mipsbsd.sc: Let sections align to their natural 45035f210c2aSfgsch boundaries. 45045f210c2aSfgsch 45055f210c2aSfgschTue Jun 21 11:27:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) 45065f210c2aSfgsch 45075f210c2aSfgsch * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not 45085f210c2aSfgsch &bfd_abs_section. 45095f210c2aSfgsch (lang_abs_symbol_at_beginning_of): Likewise. 45105f210c2aSfgsch (lang_abs_symbol_at_end_of): Likewise. 45115f210c2aSfgsch (lang_size_sections): Use bfd_is_abs_section to check for the 45125f210c2aSfgsch absolute section. Don't try to set the VMA or output_offset or 45135f210c2aSfgsch size of the absolute section. 45145f210c2aSfgsch * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the 45155f210c2aSfgsch undefined section. 45165f210c2aSfgsch 45175f210c2aSfgschThu Jun 16 22:48:41 1994 Jeff Law (law@snake.cs.utah.edu) 45185f210c2aSfgsch 45195f210c2aSfgsch * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 45205f210c2aSfgsch when generating relocatable objects. 45215f210c2aSfgsch 45225f210c2aSfgschThu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com) 45235f210c2aSfgsch 45245f210c2aSfgsch * emultempl/linux.em: New file providing support for linking 45255f210c2aSfgsch against Linux shared libraries. 45265f210c2aSfgsch * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. 45275f210c2aSfgsch * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. 45285f210c2aSfgsch 45295f210c2aSfgschThu Jun 16 12:22:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 45305f210c2aSfgsch 45315f210c2aSfgsch * lexsup.c (parse_args): Add -shared to longopts, and handle it. 45325f210c2aSfgsch * ldmain.c (main): Initialize link_info.shared to false. Give 45335f210c2aSfgsch error if link_info.relocateable and link_info.shared are both set. 45345f210c2aSfgsch 45355f210c2aSfgsch * configure.in: If EMUL_EXTRA* is defined in a config file, treat 45365f210c2aSfgsch it as naming an emulation to be added to EMULATION_OFILES. 45375f210c2aSfgsch * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. 45385f210c2aSfgsch 45395f210c2aSfgsch * Makefile.in: Rebuilt dependencies. 45405f210c2aSfgsch (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, 45415f210c2aSfgsch eelf64_sparc.o. Remove $(OTHER_EMULATIONS). 45425f210c2aSfgsch (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. 45435f210c2aSfgsch * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. 45445f210c2aSfgsch (ei386linux.c): Remove; now in Makefile.in. 45455f210c2aSfgsch * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. 45465f210c2aSfgsch * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. 45475f210c2aSfgsch * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. 45485f210c2aSfgsch * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. 45495f210c2aSfgsch (eelf64_sparc.c): Remove; now in Makefile.in. 45505f210c2aSfgsch * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. 45515f210c2aSfgsch (eelf32_sparc.c): Remove; now in Makefile.in. 45525f210c2aSfgsch 45535f210c2aSfgsch * ldexp.c (exp_print_tree): Don't crash if etree_rel section has 45545f210c2aSfgsch no owner--it might be bfd_abs_section. From Eric Youngdale 45555f210c2aSfgsch <ericy@cais.cais.com>. 45565f210c2aSfgsch 45575f210c2aSfgsch * scripttempl/aout.sc: Let sections align to their natural 45585f210c2aSfgsch boundaries. 45595f210c2aSfgsch 45605f210c2aSfgschWed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 45615f210c2aSfgsch 45625f210c2aSfgsch * ldemul.h (ldemul_open_dynamic_archive): Declare. 45635f210c2aSfgsch (ld_emulation_xfer_type): Add new field open_dynamic_archive. 45645f210c2aSfgsch * ldemul.c: Include ldexp.h and ldlang.h. 45655f210c2aSfgsch (ldemul_open_dynamic_archive): New function. 45665f210c2aSfgsch * ldfile.h (ldfile_open_file_search): Declare. 45675f210c2aSfgsch * ldfile.c: Include ldemul.h. 45685f210c2aSfgsch (try_open_bfd): Rename from cache_bfd_openr. Return boolean 45695f210c2aSfgsch argument, not bfd *. Change all callers. 45705f210c2aSfgsch (ldfile_open_file_search): Rename from open_a. Return boolean 45715f210c2aSfgsch argument, not bfd *. Clean up. Change all callers. 45725f210c2aSfgsch (ldfile_open_file): If doing a dynamic link, call 45735f210c2aSfgsch ldemul_open_dynamic_archive rather than assuming the extension of 45745f210c2aSfgsch a dynamic object is ".so". 45755f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): 45765f210c2aSfgsch New function. 45775f210c2aSfgsch (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive 45785f210c2aSfgsch field. 45795f210c2aSfgsch * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. 45805f210c2aSfgsch 45815f210c2aSfgsch * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. 45825f210c2aSfgsch * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. 45835f210c2aSfgsch Accept -static as a synonym for -non_shared. 45845f210c2aSfgsch 45855f210c2aSfgsch Let the user change the dynamic linker used by ELF code. 45865f210c2aSfgsch * ld.h (args_type): Add new field interpreter. 45875f210c2aSfgsch * lexsup.c (parse_args): Add dynamic-linker to longopts, and 45885f210c2aSfgsch handle it. 45895f210c2aSfgsch * ldmain.c (main): Initialize command_line.interpreter to NULL. 45905f210c2aSfgsch * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get 45915f210c2aSfgsch the ELF backend to return the .interp section. If 45925f210c2aSfgsch command_line.interpreter is not NULL, set the contents of .interp 45935f210c2aSfgsch to it. 45945f210c2aSfgsch * ld.texinfo: Mention -dynamic-linker. 45955f210c2aSfgsch 45965f210c2aSfgsch * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not 45975f210c2aSfgsch generic.em. 45985f210c2aSfgsch 45995f210c2aSfgsch * lexsup.c (parse_args): Sort out the option macros and change the 46005f210c2aSfgsch definitions to make it easier to add a new option. 46015f210c2aSfgsch 46025f210c2aSfgsch * scripttempl/aout.sc: Define __etext and __edata to go along with 46035f210c2aSfgsch _etext and _edata. 46045f210c2aSfgsch 46055f210c2aSfgsch * ld.h (ld_config_type): Add new field traditional_format. 46065f210c2aSfgsch * lexsup.c (parse_args): Add traditional-format to longopts, and 46075f210c2aSfgsch handle it. 46085f210c2aSfgsch * ldmain.c (main): Initialize config.traditional_format to false. 46095f210c2aSfgsch * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD 46105f210c2aSfgsch flags of output_bfd according to config.traditional_format. 46115f210c2aSfgsch * ldver.c (help): Mention -traditional-format. 46125f210c2aSfgsch * ld.texinfo: Document -traditional-format. 46135f210c2aSfgsch 46145f210c2aSfgschTue Jun 14 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 46155f210c2aSfgsch 46165f210c2aSfgsch * ldctor.c (ldctor_add_entry): Add entries to a set in the order 46175f210c2aSfgsch they are encountered. 46185f210c2aSfgsch 46195f210c2aSfgschTue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com) 46205f210c2aSfgsch 46215f210c2aSfgsch * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. 46225f210c2aSfgsch (NONPAGED_TEXT_START_ADDR): Define as 0x20. 46235f210c2aSfgsch 46245f210c2aSfgschMon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 46255f210c2aSfgsch 46265f210c2aSfgsch * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of 46275f210c2aSfgsch _FTEXT, _ETEXT and _FDATA. Dont define _END. 46285f210c2aSfgsch 46295f210c2aSfgsch * ldfile.c (open_a): If this is not an archive, try to open it in 46305f210c2aSfgsch the current directory before searching for it. 46315f210c2aSfgsch 46325f210c2aSfgsch * lexsup.c (parse_args): Treat -i as a synonym for -r. 46335f210c2aSfgsch 46345f210c2aSfgsch * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that 46355f210c2aSfgsch BLOCK works in a section address as documented. 46365f210c2aSfgsch 46375f210c2aSfgsch * ldgram.y (YYDEBUG): Don't define. 46385f210c2aSfgsch 46395f210c2aSfgschFri Jun 10 16:45:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 46405f210c2aSfgsch 46415f210c2aSfgsch * emultempl/gld960.em: Pass false for new argument to 46425f210c2aSfgsch ldfile_add_library_path. 46435f210c2aSfgsch * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. 46445f210c2aSfgsch 46455f210c2aSfgsch * emultempl/sunos.em: Only look for .so files if doing a dynamic 46465f210c2aSfgsch link. 46475f210c2aSfgsch 46485f210c2aSfgschThu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com) 46495f210c2aSfgsch 46505f210c2aSfgsch * scripttempl/i960.sc: Add CONSTRUCTORS to .data. 46515f210c2aSfgsch 46525f210c2aSfgschThu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com) 46535f210c2aSfgsch 46545f210c2aSfgsch * Makefile.in (check): Delete ld.new dependency so that a regression 46555f210c2aSfgsch test doesn't trigger a rebuild of the linker. 46565f210c2aSfgsch 46575f210c2aSfgschThu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 46585f210c2aSfgsch 46595f210c2aSfgsch * ldlang.c (map_input_to_output_sections): For lang_address, call 46605f210c2aSfgsch init_os if it hasn't already been called. 46615f210c2aSfgsch 46625f210c2aSfgschThu Jun 2 17:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 46635f210c2aSfgsch 46645f210c2aSfgsch Add support for SunOS shared libraries. 4665d2201f2fSdrahn * scripttempl/aout.sc: Don't define __DYNAMIC here. Add new 4666d2201f2fSdrahn sections used by shared library support code. 46675f210c2aSfgsch * emultempl/sunos.em: New file. 46685f210c2aSfgsch * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. 46695f210c2aSfgsch * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. 46705f210c2aSfgsch * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. 46715f210c2aSfgsch (esun3.c): Likewise. 46725f210c2aSfgsch 46735f210c2aSfgsch * ldlang.c: Minor formatting cleanups. 46745f210c2aSfgsch (lang_for_each_input_file): New function. 46755f210c2aSfgsch * ldlang.h (lang_for_each_input_file): Declare. 46765f210c2aSfgsch 46775f210c2aSfgsch * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline 46785f210c2aSfgsch field. 46795f210c2aSfgsch (search_head): Declare. 46805f210c2aSfgsch (ldfile_add_library_path): Add new cmdline argument in prototype. 46815f210c2aSfgsch * ldfile.c (search_head): Make non-static. 46825f210c2aSfgsch (search_dirs_type): Move to ldfile.h. 46835f210c2aSfgsch (ldfile_add_library_path): Accept cmdline argument, and save it. 46845f210c2aSfgsch * lexsup.c (parse_args): Pass true for new cmdline argument of 46855f210c2aSfgsch ldfile_add_library_path. 46865f210c2aSfgsch (set_default_dirlist): Likewise. 46875f210c2aSfgsch * ldmain.c (check_for_scripts_dir): Pass false for new cmdline 46885f210c2aSfgsch argument of ldfile_add_library_path. 46895f210c2aSfgsch * ldgram.y (ifile_p1): Likewise. 46905f210c2aSfgsch 46915f210c2aSfgschWed Jun 1 14:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 46925f210c2aSfgsch 46935f210c2aSfgsch * ldlang.h (lang_input_statement_type): Remove fields subfiles, 46945f210c2aSfgsch total_size, superfile and chain. 46955f210c2aSfgsch * ldfile.c (open_a): Don't clear search_dirs_flag. 46965f210c2aSfgsch (ldfile_open_file): Don't try to open superfile. Assert that file 46975f210c2aSfgsch has not already been opened. 46985f210c2aSfgsch * ldlang.c (new_afile): Don't initialize superfile. 46995f210c2aSfgsch * ldmain.c (add_archive_element): Don't initialize subfiles or 47005f210c2aSfgsch chain or superfile. Initialize search_dirs_flag to false. 47015f210c2aSfgsch 47025f210c2aSfgschFri May 27 12:25:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 47035f210c2aSfgsch 47045f210c2aSfgsch * ldver.c (ldversion): Changed version to "cygnus-2.4.1". 47055f210c2aSfgsch 47065f210c2aSfgsch Changes from binutils-2.4 release: 47075f210c2aSfgsch 47085f210c2aSfgsch * genscripts.sh (RELOCATING, CONSTRUCTING): When setting 47095f210c2aSfgsch variables, use whitespace, so scripts don't break. 47105f210c2aSfgsch 47115f210c2aSfgsch * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. 47125f210c2aSfgsch 47135f210c2aSfgsch * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. 47145f210c2aSfgsch 4715d2201f2fSdrahn * testsuite/ld-cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. 47165f210c2aSfgsch * Makefile.in: Noted change. 47175f210c2aSfgsch 47185f210c2aSfgsch * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I 47195f210c2aSfgsch don't know where that's supposed to come from, or why it's 47205f210c2aSfgsch necessary. 47215f210c2aSfgsch 47225f210c2aSfgsch Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) 47235f210c2aSfgsch 4724d2201f2fSdrahn * configure.bat: update to latest Makefile.in 4725d2201f2fSdrahn * emulparams/go32.sh: set to coff-go32 not aout 4726d2201f2fSdrahn * emultempl/generic.em: strength-reduce the structure of 47275f210c2aSfgsch this shell script, since the only available shell for 47285f210c2aSfgsch DOS can't handle complex syntax. 4729d2201f2fSdrahn * emultempl/stringify.sed: for "sed -f" instead of inline. 4730d2201f2fSdrahn * Makefile.in: depend on stringify.sed as well as genscripts.sh 4731d2201f2fSdrahn * scripttempl/go32coff.sc: correct for djgpp 1.11's COFF format 47325f210c2aSfgsch * genscripts.sh: empty variables aren't always considered "set", 47335f210c2aSfgsch so set them to "y" instead. 47345f210c2aSfgsch 47355f210c2aSfgschFri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 47365f210c2aSfgsch 47375f210c2aSfgsch * ldlang.c (entry_symbol): Make static. 47385f210c2aSfgsch (lang_add_entry): Add cmdline argument. 47395f210c2aSfgsch * ldlang.h (lang_add_entry): Change prototype. 47405f210c2aSfgsch * ldgram.y (statement_anywhere): Change lang_add_entry call. 47415f210c2aSfgsch * lexsup.c (parse_args): Likewise. 47425f210c2aSfgsch 47435f210c2aSfgschTue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 47445f210c2aSfgsch 47455f210c2aSfgsch * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give 47465f210c2aSfgsch .reginfo an address. 47475f210c2aSfgsch (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. 47485f210c2aSfgsch (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. 47495f210c2aSfgsch * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. 47505f210c2aSfgsch 47515f210c2aSfgschThu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 47525f210c2aSfgsch 47535f210c2aSfgsch Add support for ELF shared libraries. 47545f210c2aSfgsch * ld.h (ld_config_type): Add field dynamic_link. 47555f210c2aSfgsch * ldmain.c (main): Initialize config.dynamic_link to false. Warn 47565f210c2aSfgsch on attempts to use -r with -relax, -call_shared or -s. 47575f210c2aSfgsch * lexsup.c (longopts): Separate OPTION_CALL_SHARED from 47585f210c2aSfgsch OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values 47595f210c2aSfgsch accordingly. Add "dy" and "non_shared" options. Change "Qy" to 47605f210c2aSfgsch OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and 47615f210c2aSfgsch OPTION_NON_SHARED by setting dynamic_link field accordingly. 47625f210c2aSfgsch Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for 47635f210c2aSfgsch -r and -Ur. 47645f210c2aSfgsch * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try 47655f210c2aSfgsch opening a file with a .so extension first. 47665f210c2aSfgsch * emultempl/elf32.em: New file. 47675f210c2aSfgsch * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. 47685f210c2aSfgsch (NONPAGED_TEXT_START_ADDR): Likewise. 47695f210c2aSfgsch (TEMPLATE_NAME): Define as elf32. 47705f210c2aSfgsch (DATA_PLT): Define. 47715f210c2aSfgsch * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. 47725f210c2aSfgsch * scripttempl/elf.sc: Add placement for new dynamic sections. 47735f210c2aSfgsch Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end 47745f210c2aSfgsch outside of any section. Don't use ALIGN(8); just let one section 47755f210c2aSfgsch VMA follow another. Put .dynbss in .bss. Don't mention debugging 47765f210c2aSfgsch sections; they'll be handled correctly anyhow. 47775f210c2aSfgsch * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. 47785f210c2aSfgsch 47795f210c2aSfgschWed May 18 10:15:39 1994 Ian Lance Taylor (ian@cygnus.com) 47805f210c2aSfgsch 47815f210c2aSfgsch * Makefile.in (install): Redirect output of ln to /dev/null. 47825f210c2aSfgsch 47835f210c2aSfgschMon May 16 13:35:08 1994 Jeff Law (law@snake.cs.utah.edu) 47845f210c2aSfgsch 47855f210c2aSfgsch * emultempl/hppaelf.em: Change all references of 47865f210c2aSfgsch .hppa_linker_stubs to .PARISC.stubs. 47875f210c2aSfgsch * scripttempl/hppaelf.sc: Likewise. 47885f210c2aSfgsch 47895f210c2aSfgschFri May 13 13:00:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 47905f210c2aSfgsch 47915f210c2aSfgsch * ldlang.c (print_output_section_statement): Change ``no attached 47925f210c2aSfgsch output section'' message slightly. 47935f210c2aSfgsch (lang_do_assignments): Don't recurse down if there is no real 47945f210c2aSfgsch section. 47955f210c2aSfgsch 47965f210c2aSfgsch * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to 47975f210c2aSfgsch match corresponding change in emulation templates. 47985f210c2aSfgsch * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. 47995f210c2aSfgsch * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. 48005f210c2aSfgsch 48015f210c2aSfgschWed May 11 18:16:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 48025f210c2aSfgsch 48035f210c2aSfgsch * ldver.c (ldversion): Updated version number. 48045f210c2aSfgsch 4805d2201f2fSdrahn * testsuite/ld-cdtest/cdtest-foo.cc: Use explicit "#pragma 4806d2201f2fSdrahn implementation". 4807d2201f2fSdrahn * testsuite/ld-cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. 48085f210c2aSfgsch * Makefile.in: References to cdtest-func.o changed to 48095f210c2aSfgsch cdtest-bar.o. 48105f210c2aSfgsch 48115f210c2aSfgschWed May 11 16:24:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 48125f210c2aSfgsch 48135f210c2aSfgsch Don't create unnecessary output sections. 48145f210c2aSfgsch * ldlang.c (out_bfd_get_section_by_name): Remove. 48155f210c2aSfgsch (wild_section): Call bfd_get_section_by_name rather than 48165f210c2aSfgsch our_bfd_get_section_by_name. Don't call wild_doit if there is no 48175f210c2aSfgsch section. 48185f210c2aSfgsch (lang_create_output_section_statements): Remove. 48195f210c2aSfgsch (map_input_to_output_sections): For several cases, call init_os if 48205f210c2aSfgsch it has not already been called. 48215f210c2aSfgsch (lang_size_sections): If output section was not created, skip it. 48225f210c2aSfgsch (lang_process): Don't call lan_create_output_section_statements. 48235f210c2aSfgsch (lang_place_orphans): Skip files with just_syms_flags set to true. 48245f210c2aSfgsch * ld.texinfo: Document change. 48255f210c2aSfgsch 48265f210c2aSfgschTue May 10 14:31:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 48275f210c2aSfgsch 48285f210c2aSfgsch * ldlang.c (wild_doit): Don't bother initializing the vma and 48295f210c2aSfgsch section size. Don't special case SEC_SHARED_LIBRARY. 48305f210c2aSfgsch (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections 48315f210c2aSfgsch specially. 48325f210c2aSfgsch 48335f210c2aSfgschFri May 6 12:24:27 1994 Steve Chamberlain (sac@cygnus.com) 48345f210c2aSfgsch 48355f210c2aSfgsch * config/go32.mh : New file for Xgo32X. 48365f210c2aSfgsch 48375f210c2aSfgschFri May 6 15:15:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 48385f210c2aSfgsch 48395f210c2aSfgsch * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call 48405f210c2aSfgsch before calling einfo, since we are reporting an fopen failure. 48415f210c2aSfgsch From jrs@world.std.com (Rick Sladkey). 48425f210c2aSfgsch 48435f210c2aSfgsch * configure.in: Use "e" rather than "em_" as prefix for 48445f210c2aSfgsch emulations. 48455f210c2aSfgsch 48465f210c2aSfgschFri May 6 01:08:14 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) 48475f210c2aSfgsch 48485f210c2aSfgsch * emultempl/generic.em: Use "e" rather than "em_" as prefix for 48495f210c2aSfgsch filename. 48505f210c2aSfgsch * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, 48515f210c2aSfgsch emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: 48525f210c2aSfgsch Ditto. 48535f210c2aSfgsch * Makefile.in: Changed all generated file names. 48545f210c2aSfgsch (ldemul-list.h): Depend on Makefile, not config.status. Changed 48555f210c2aSfgsch sed patterns to handle new filenames. 48565f210c2aSfgsch 48575f210c2aSfgsch * config/mipsl-idt.mt: Renamed from mips-idtl.mt. 48585f210c2aSfgsch * configure.in: Adjusted. 48595f210c2aSfgsch 48605f210c2aSfgschThu May 5 15:07:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 48615f210c2aSfgsch 48625f210c2aSfgsch * Makefile.in (install-info): Don't use "$<*", it doesn't always 48635f210c2aSfgsch work. Instead, check build dir and $srcdir explicitly, and use 48645f210c2aSfgsch `echo' to get all the filenames. 48655f210c2aSfgsch 48665f210c2aSfgsch * configure.in (h8300h-*-hms): Changed ld_target name to 48675f210c2aSfgsch cf-h8300h. 48685f210c2aSfgsch * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it 48695f210c2aSfgsch unique in 8.3. 48705f210c2aSfgsch 48715f210c2aSfgsch * config/i960coff.mt: New file. 48725f210c2aSfgsch * emulparams/gld960coff.sh: New file. 48735f210c2aSfgsch * emultempl/gld960c.em: New file. 48745f210c2aSfgsch * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use 48755f210c2aSfgsch i960coff configuration. 48765f210c2aSfgsch * Makefile.in (em_gld960coff.c): Added dependencies, build rule. 48775f210c2aSfgsch 48785f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the 48795f210c2aSfgsch code isn't included in FSF releases, and it can still be 48805f210c2aSfgsch explicitly selected. 48815f210c2aSfgsch (distclean): Remove site.bak and tmpdir. 48825f210c2aSfgsch (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). 48835f210c2aSfgsch (mostlyclean): Delete them explicitly here. Also remove tmpdir. 48845f210c2aSfgsch 48855f210c2aSfgsch Patches from Ralph Campbell: 48865f210c2aSfgsch * config/mipsbsd.mh: New file. 48875f210c2aSfgsch * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. 48885f210c2aSfgsch * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. 48895f210c2aSfgsch * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' 48905f210c2aSfgsch instead of `aout'. 48915f210c2aSfgsch 48925f210c2aSfgsch * configure.in (i386-*-gnu*): Treat like i386-*-mach*. 48935f210c2aSfgsch 48945f210c2aSfgschWed May 4 11:59:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 48955f210c2aSfgsch 48965f210c2aSfgsch * config/m68k.mt (EMUL): Set to m68kaout. 48975f210c2aSfgsch * emulparams/m68kaout.sh: New file. 48985f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. 48995f210c2aSfgsch (em_m68kaout.c): New target. 49005f210c2aSfgsch 49015f210c2aSfgsch * ldlang.c (lang_size_sections): If dot moves because of an 49025f210c2aSfgsch assignment, don't try to insert a pad into the absolute output 49035f210c2aSfgsch section, just change the address of the default memory region 49045f210c2aSfgsch instead. 49055f210c2aSfgsch 49065f210c2aSfgsch * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, 49075f210c2aSfgsch cdtest-ur.out, and cdtest-ur.tmp. 49085f210c2aSfgsch 49095f210c2aSfgschWed Apr 27 16:03:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49105f210c2aSfgsch 49115f210c2aSfgsch * scripttempl/sa29200.sc: Align all sections to four byte 49125f210c2aSfgsch boundaries. 49135f210c2aSfgsch 49145f210c2aSfgschWed Apr 27 10:48:03 1994 Steve Chamberlain (sac@cygnus.com) 49155f210c2aSfgsch 49165f210c2aSfgsch * Makefile.in, configure.in: Support for go32 coff. 49175f210c2aSfgsch * config/i386-go32.mt: New file 49185f210c2aSfgsch * emulparams/i386go32.sh: New file 49195f210c2aSfgsch * scripttempl/i386go32.sc: New file 49205f210c2aSfgsch 49215f210c2aSfgschTue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com) 49225f210c2aSfgsch 49235f210c2aSfgsch * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use 49245f210c2aSfgsch Lynx-specific script templates. 49255f210c2aSfgsch * configure.in (sparclite*-*-coff): Use coff-sparc. 49265f210c2aSfgsch * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. 49275f210c2aSfgsch * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. 49285f210c2aSfgsch (ENTRY): Set to __main. 49295f210c2aSfgsch * scripttempl/i386lynx.sc: New file, script for I386 Lynx. 49305f210c2aSfgsch * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. 49315f210c2aSfgsch * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. 49325f210c2aSfgsch 49335f210c2aSfgschTue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49345f210c2aSfgsch 49355f210c2aSfgsch * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 49365f210c2aSfgsch byte boundary, in case the global constructors do not take up an 49375f210c2aSfgsch even 16 bytes. 49385f210c2aSfgsch 49395f210c2aSfgsch * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not 49405f210c2aSfgsch exist, get crtbegin based on gcc -print-libgcc-file-name. 49415f210c2aSfgsch (HOSTING_LIBS): Similar change for ../gcc/crtend.o. 49425f210c2aSfgsch 49435f210c2aSfgschMon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49445f210c2aSfgsch 49455f210c2aSfgsch * ldlang.c (lang_size_sections): When no address is given for a 49465f210c2aSfgsch section, align it according to its requirements. 49475f210c2aSfgsch 49485f210c2aSfgschThu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49495f210c2aSfgsch 49505f210c2aSfgsch * Makefile.in (clean, distclean): Remove configdoc.texi. 49515f210c2aSfgsch 49525f210c2aSfgschTue Apr 19 12:12:15 1994 Bill Cox (bill@rtl.cygnus.com) 49535f210c2aSfgsch 49545f210c2aSfgsch * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. 49555f210c2aSfgsch 49565f210c2aSfgschFri Apr 15 14:35:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49575f210c2aSfgsch 49585f210c2aSfgsch * ldlang.c (lang_size_sections): When relaxing, adjust the 49595f210c2aSfgsch position of a padding statement, and adjust dot accordingly. 49605f210c2aSfgsch 49615f210c2aSfgschMon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com) 49625f210c2aSfgsch 49635f210c2aSfgsch * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. 49645f210c2aSfgsch 49655f210c2aSfgschMon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49665f210c2aSfgsch 49675f210c2aSfgsch * scripttempl/i386coff.sc: If relocating, don't put .init and 49685f210c2aSfgsch .fini sections into .text; keep them separate. 49695f210c2aSfgsch * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not 49705f210c2aSfgsch exist, get crtbegin based on gcc -print-libgcc-file-name. 49715f210c2aSfgsch (HOSTING_LIBS): Similar change for ../gcc/crtend.o. 49725f210c2aSfgsch 49735f210c2aSfgschMon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) 49745f210c2aSfgsch 49755f210c2aSfgsch * Makefile.in (check): Set TCL_LIBRARY for runtest. 49765f210c2aSfgsch 49775f210c2aSfgschWed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 49785f210c2aSfgsch 49795f210c2aSfgsch * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the 49805f210c2aSfgsch manufacturer. 49815f210c2aSfgsch 49825f210c2aSfgsch * emultempl/hppaelf.em (hppaelf_finish): Only resize sections 49835f210c2aSfgsch if building a final executable. 49845f210c2aSfgsch 49855f210c2aSfgschTue Apr 5 12:17:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49865f210c2aSfgsch 49875f210c2aSfgsch * ldmain.c (main): Check the return value of bfd_close. 49885f210c2aSfgsch 49895f210c2aSfgschThu Mar 31 18:07:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49905f210c2aSfgsch 49915f210c2aSfgsch * scripttempl/alpha.sc: Clean up section alignment to ensure that 49925f210c2aSfgsch sections never overlap when using -r. 49935f210c2aSfgsch 49945f210c2aSfgschWed Mar 30 15:51:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 49955f210c2aSfgsch 49965f210c2aSfgsch * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD 49975f210c2aSfgsch changes: get_symtab_upper_bound renamed and returns long, 49985f210c2aSfgsch bfd_canonicalize_symtab returns long, check for error indications. 49995f210c2aSfgsch 50005f210c2aSfgschFri Mar 25 17:20:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50015f210c2aSfgsch 50025f210c2aSfgsch * ldlang.c (print_input_section): For section size, use 50035f210c2aSfgsch _cooked_size if it is non-zero, size otherwise. 50045f210c2aSfgsch (size_input_section): Likewise. 50055f210c2aSfgsch (lang_do_assignments): Likewise (case lang_input_section_enum). 50065f210c2aSfgsch 50075f210c2aSfgschThu Mar 24 15:20:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50085f210c2aSfgsch 50095f210c2aSfgsch * ldlang.c (new_afile): Add new argument add_to_list. Don't set 50105f210c2aSfgsch real to true for lang_input_file_is_marker_enum. Clear the_bfd. 50115f210c2aSfgsch (lang_add_input_file): Pass true to new_afile for add_to_list. 50125f210c2aSfgsch (lookup_name): Remove force_load argument. Changed all callers. 50135f210c2aSfgsch Pass false to new_afile for add_to_list. Split loading of symbols 50145f210c2aSfgsch out into separate function. 50155f210c2aSfgsch (load_symbols): New function split out of lookup_name. Don't load 50165f210c2aSfgsch the symbols if they are already loaded. 50175f210c2aSfgsch (open_input_bfds): For lang_input_statement_enum call load_symbols 50185f210c2aSfgsch rather than lookup_name. 50195f210c2aSfgsch (lang_process): Pass abs_output_section rather than NULL to 50205f210c2aSfgsch lang_size_sections. 50215f210c2aSfgsch (lang_startup): Set real field of first_file to true. 50225f210c2aSfgsch 50235f210c2aSfgschWed Mar 23 14:15:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50245f210c2aSfgsch 50255f210c2aSfgsch * ldlang.c (had_relax): Removed. 50265f210c2aSfgsch (relax_again): New static variable. 50275f210c2aSfgsch (lang_size_sections): Change call to bfd_relax_section to 50285f210c2aSfgsch correspond to BFD changes. Set relax_again appropriately. 50295f210c2aSfgsch (lang_process): Remove #if 0 code. When relaxing, keep calling 50305f210c2aSfgsch lang_do_assignments and lang_size_sections until relax_again 50315f210c2aSfgsch becomes false. 50325f210c2aSfgsch 5033d2201f2fSdrahn * emultempl/gld960.em: Include libiberty.h 50345f210c2aSfgsch (gld960_before_parse): Pass NULL as final argument to concat. 50355f210c2aSfgsch 50365f210c2aSfgschTue Mar 22 13:08:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50375f210c2aSfgsch 50385f210c2aSfgsch * scripttempl/aout.sc: Force _end and __end to be aligned to a 50395f210c2aSfgsch four byte boundary. 50405f210c2aSfgsch 50415f210c2aSfgsch * ldwrite.c (build_link_order): Handle lang_data_statement_enum by 50425f210c2aSfgsch building a bfd_data_link_order, rather than by setting the section 50435f210c2aSfgsch contents immediately. 50445f210c2aSfgsch 50455f210c2aSfgschMon Mar 21 18:28:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50465f210c2aSfgsch 50475f210c2aSfgsch Changes to make -Ur work again. 50485f210c2aSfgsch * ldmain.c (add_to_set): Now takes reloc argument rather than 50495f210c2aSfgsch bitsize. Check config.build_constructors here. If an new hash 50505f210c2aSfgsch table entry is created, mark it as undefined. 50515f210c2aSfgsch (constructor_callback): No longer takes bitsize argument. Pass 50525f210c2aSfgsch BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the 50535f210c2aSfgsch BFD backend supports it. 50545f210c2aSfgsch (reloc_overflow): Handle a NULL abfd argument. 50555f210c2aSfgsch (reloc_dangerous, unattached_reloc): Likewise. 50565f210c2aSfgsch * ldctor.c: Include ldmain.h. 50575f210c2aSfgsch (struct set_info): Change bitsize field to reloc. 50585f210c2aSfgsch (ldctor_add_set_entry): Now takes reloc argument rather than 50595f210c2aSfgsch bitsize. Don't bother to check config.build_constructors here. 50605f210c2aSfgsch (ldctor_build_sets): Get the size from the reloc howto. If 50615f210c2aSfgsch generating relocateable output, call lang_add_reloc rather than 50625f210c2aSfgsch lang_add_data. 50635f210c2aSfgsch * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc 50645f210c2aSfgsch instead of bitsize. 50655f210c2aSfgsch * ldlang.h (statement_enum): Add lang_reloc_statement_enum. 50665f210c2aSfgsch (lang_reloc_statement_type): New structure. 50675f210c2aSfgsch (lang_statement_union_type): Add reloc_statement field. 50685f210c2aSfgsch (lang_add_reloc): Declare new function. 50695f210c2aSfgsch * ldlang.c (lang_for_each_statement_worker): Handle 50705f210c2aSfgsch lang_reloc_statement_enum. 50715f210c2aSfgsch (map_input_to_output_sections, print_statement): Likewise. 50725f210c2aSfgsch (lang_size_sections, lang_do_assignments): Likewise. 50735f210c2aSfgsch (print_reloc_statement): New function. 50745f210c2aSfgsch (lang_add_reloc): New function. 50755f210c2aSfgsch * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. 50765f210c2aSfgsch 50775f210c2aSfgsch * Makefile.in (cdtest.out, cdtest-ur.o): New targets. 50785f210c2aSfgsch (cdtest-ur, cdtest-ur.out): New targets. 50795f210c2aSfgsch (check-cdtest): Now also check that -Ur works correctly. 50805f210c2aSfgsch 5081d2201f2fSdrahn * scripttempl/alpha.sc: Align all sections to 16 byte boundaries. 50825f210c2aSfgsch 50835f210c2aSfgschThu Mar 17 12:45:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50845f210c2aSfgsch 50855f210c2aSfgsch * ldlang.c (lang_process): Move lang_common call before 50865f210c2aSfgsch map_input_to_output_sections, to ensure that any alignment 50875f210c2aSfgsch constraints set by common symbols are copied over to the output 50885f210c2aSfgsch sections. 50895f210c2aSfgsch 50905f210c2aSfgschFri Mar 11 22:17:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 50915f210c2aSfgsch 50925f210c2aSfgsch * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. 50935f210c2aSfgsch (OTHER_READWRITE_SECTIONS): Rename .toc to .got. 50945f210c2aSfgsch * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. 50955f210c2aSfgsch * emultempl/ppc.em: Remove ugly stub code; turns out not to be 50965f210c2aSfgsch needed for ELF. 50975f210c2aSfgsch 50985f210c2aSfgschTue Mar 8 04:22:27 1994 David J. Mackenzie (djm@rtl.cygnus.com) 50995f210c2aSfgsch 51005f210c2aSfgsch * config/i386bsd.mh: New file. 51015f210c2aSfgsch 51025f210c2aSfgschMon Mar 7 15:23:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 51035f210c2aSfgsch 5104d2201f2fSdrahn * scripttempl/elf.sc: Permit TEXT_START_SYMBOLS and 5105d2201f2fSdrahn DATA_START_SYMBOLS to be defined. 51065f210c2aSfgsch * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. 51075f210c2aSfgsch (DATA_START_SYMBOLS): Define _fdata. 51085f210c2aSfgsch 51095f210c2aSfgschMon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com) 51105f210c2aSfgsch 51115f210c2aSfgsch * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. 51125f210c2aSfgsch 51135f210c2aSfgschSun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 51145f210c2aSfgsch 51155f210c2aSfgsch * emultempl/hppaelf.em (hppaelf_finish): Update comments. This 51165f210c2aSfgsch works again. Attach some output symbols to the stub file bfd. 51175f210c2aSfgsch 51185f210c2aSfgsch * emultempl/hppaelf.em: Include elf32-hppa.h. 51195f210c2aSfgsch (file_chain): Add decl. 51205f210c2aSfgsch (hppa_look_for_stubs_in_section): Delete decl. 51215f210c2aSfgsch (hppaelf_finish): Reenable code. Do not pass symbols 51225f210c2aSfgsch down to hppa_look_for_stubs_in_section. 51235f210c2aSfgsch 51245f210c2aSfgschSat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com) 51255f210c2aSfgsch 51265f210c2aSfgsch * ldmain.c (write_map): Don't define. Removed all references. 51275f210c2aSfgsch Just use map_file or map_filename instead. 51285f210c2aSfgsch (add_archive_element): Use minfo to write map information, not 51295f210c2aSfgsch info_msg. 51305f210c2aSfgsch (constructor_callback): Use fprintf to write map information, not 51315f210c2aSfgsch info_msg. 51325f210c2aSfgsch * ldmain.h (write_map): Don't declare. 51335f210c2aSfgsch * ldgram.y (mri_script_command): Removed reference to write_map. 51345f210c2aSfgsch * ldlang.c (lang_one_common): Likewise. 51355f210c2aSfgsch * lexsup.c (parse_args): Likewise. 51365f210c2aSfgsch 51375f210c2aSfgschFri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com) 51385f210c2aSfgsch 51395f210c2aSfgsch * scripttempl/elf.sc: Force all sections to be aligned. 51405f210c2aSfgsch 51415f210c2aSfgsch * ldgram.y (section): Reverse the order of memspec_opt and 51425f210c2aSfgsch fill_opt to avoid an ambiguity when both are used. 51435f210c2aSfgsch * ld.texinfo: Changed accordingly. 51445f210c2aSfgsch 51455f210c2aSfgsch * ldgram.y: Move include of ldlex.h back with other includes. 51465f210c2aSfgsch * ldlex.h (input_type): Don't initialize enum constants to 51475f210c2aSfgsch particular values. 51485f210c2aSfgsch * ldlex.l: Use a switch to return the right token based on 51495f210c2aSfgsch input_type, rather than knowing that input_type has a value based 51505f210c2aSfgsch on a token type. 51515f210c2aSfgsch 51525f210c2aSfgsch * ldgram.y (dirlist_ptr): Removed; not used. 51535f210c2aSfgsch * lexsup.c: Include ldver.h. 51545f210c2aSfgsch * Makefile.in: Rebuilt dependencies. 51555f210c2aSfgsch 51565f210c2aSfgschFri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com) 51575f210c2aSfgsch 51585f210c2aSfgsch * ldlang.c (lookup_name): don't call bfd_set_gp_size. 51595f210c2aSfgsch (ldlang_add_file): call it here instead. 51605f210c2aSfgsch 51615f210c2aSfgschFri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) 51625f210c2aSfgsch 51635f210c2aSfgsch * ldgram.y: Include ldlex.h after %token decls, for byacc. 51645f210c2aSfgsch 51655f210c2aSfgschFri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 51665f210c2aSfgsch 51675f210c2aSfgsch * emultempl/hppaelf.em: First attempt to clean this file up. 51685f210c2aSfgsch Add comments in several functions as to their purpose and 51695f210c2aSfgsch how they function (or my current best guess). Clean up horrible 51705f210c2aSfgsch spacing and indention that never should have been accepted in the 51715f210c2aSfgsch first place. Add FIXMEs for issues which need to be resolved. 51725f210c2aSfgsch Disable linker-stub generation until it gets fixed. This allows 51735f210c2aSfgsch the linker to at least work on simple code for testing purposes. 51745f210c2aSfgsch 51755f210c2aSfgsch * ldlang.c (lang_size_sections): No longer static (PA ELF calls 51765f210c2aSfgsch it via hppaelf_finish). Prototype moved into ldlang.h. 51775f210c2aSfgsch (lang_process): Move problematic extra call to lang_size_sections 51785f210c2aSfgsch into the PA ELF specific code. 51795f210c2aSfgsch * emultempl/hppaelf.em (hppaelf_finish): Extra call to 51805f210c2aSfgsch lang_size_sections moved here. 51815f210c2aSfgsch 51825f210c2aSfgschThu Feb 24 16:47:33 1994 Ian Lance Taylor (ian@cygnus.com) 51835f210c2aSfgsch 51845f210c2aSfgsch * configure.in (powerpc-*-elf*): New target; use ppc-elf32. 51855f210c2aSfgsch * config/ppc-elf32.mt: New file. 51865f210c2aSfgsch * emulparams/elf32ppc.sh: New file. 51875f210c2aSfgsch * emultempl/ppc.em: New file. 51885f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. 51895f210c2aSfgsch (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. 51905f210c2aSfgsch (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. 51915f210c2aSfgsch 51925f210c2aSfgschThu Feb 24 12:27:07 1994 David J. Mackenzie (djm@rtl.cygnus.com) 51935f210c2aSfgsch 51945f210c2aSfgsch * lexsup.c (parse_args): Use symbolic numbers for long options. 51955f210c2aSfgsch Fix misunderstanding in -Y and -call_shared et al. 51965f210c2aSfgsch 51975f210c2aSfgsch Use getopt instead of lex and yacc to parse the command line. 51985f210c2aSfgsch 51995f210c2aSfgsch * ld.texinfo (Options): Document changes to option syntax. 52005f210c2aSfgsch * Makefile.in: Update dependencies. 52015f210c2aSfgsch * ldver.c (help): Tweak dashes in usage message. 52025f210c2aSfgsch * ldgram.y (%union): Remove unused members. 52035f210c2aSfgsch Remove %tokens for command line options; add ones for input types. 52045f210c2aSfgsch (command_line): Rules removed. 52055f210c2aSfgsch (file): Instead of command line, recognize an 52065f210c2aSfgsch input type indicator, then use the nonterminal for that type. 52075f210c2aSfgsch (defsym_expr): New nonterminal from code formerly in command_line. 52085f210c2aSfgsch * ldlex.h: Declare parser input type enum and variable. 52095f210c2aSfgsch Don't declare parse_line. 52105f210c2aSfgsch * ldlex.l: Remove unused variables. Make some used ones static 52115f210c2aSfgsch and comment them. 52125f210c2aSfgsch (COMMAND): Start state and its rules removed. 52135f210c2aSfgsch At start of yylex, return input state token if at start of input. 52145f210c2aSfgsch (lex_redirect): Don't need to set yyout. 52155f210c2aSfgsch (ldlex_command): Function removed. 52165f210c2aSfgsch * ldmain.c (main): Instead of calling parse_line, set up the 52175f210c2aSfgsch redirections and call yyparse directly. 52185f210c2aSfgsch * ldmisc.c (vfinfo): If there's no input filename, print nothing, not 52195f210c2aSfgsch "command line". 52205f210c2aSfgsch * lexsup.c: Remove #if 0'd code. 52215f210c2aSfgsch (parse_line): Function removed. 52225f210c2aSfgsch (parse_args): Rewrite to use getopt_long_only. 52235f210c2aSfgsch (set_default_dirlist): New function from code formerly in 52245f210c2aSfgsch ldgram.y:command_line. 52255f210c2aSfgsch (set_section_start): New function. 52265f210c2aSfgsch * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, 52275f210c2aSfgsch emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose 52285f210c2aSfgsch compiled-in link scripts in "{" and "}", as the grammar no longer 52295f210c2aSfgsch wants them to be. 52305f210c2aSfgsch 52315f210c2aSfgschThu Feb 24 08:43:26 1994 Ken Raeburn (raeburn@rtl.cygnus.com) 52325f210c2aSfgsch 52335f210c2aSfgsch * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't 52345f210c2aSfgsch require that it be in $(srcdir). 52355f210c2aSfgsch 52365f210c2aSfgschTue Feb 22 09:21:18 1994 Ian Lance Taylor (ian@cygnus.com) 52375f210c2aSfgsch 52385f210c2aSfgsch * ldlang.c (lang_size_sections): Only align section to alignment 52395f210c2aSfgsch required by linker script, not to maximum alignment of input 52405f210c2aSfgsch sections. 52415f210c2aSfgsch 52425f210c2aSfgsch * ldlang.h (largest_section): Don't declare. 52435f210c2aSfgsch * ldlang.c (largest_section): Don't define. 52445f210c2aSfgsch (size_input_section): Don't set largest_section; not used. 52455f210c2aSfgsch 52465f210c2aSfgschMon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com) 52475f210c2aSfgsch 52485f210c2aSfgsch * ldlang.c (new_afile): Pass NULL as last argument to concat. 52495f210c2aSfgsch 52505f210c2aSfgschThu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 52515f210c2aSfgsch 52525f210c2aSfgsch * ldlang.c, ldmain.c: Include libiberty.h. 52535f210c2aSfgsch 52545f210c2aSfgsch * ldmisc.h (concat): Don't declare. 52555f210c2aSfgsch * ldmisc.c (concat): Don't define; just use the one in libiberty. 52565f210c2aSfgsch 52575f210c2aSfgsch * ld.h (as_output_section_statement): Removed; not used. 52585f210c2aSfgsch 52595f210c2aSfgschThu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com) 52605f210c2aSfgsch 52615f210c2aSfgsch * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and 52625f210c2aSfgsch bfd_set_error and new error names. 52635f210c2aSfgsch 52645f210c2aSfgschTue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 52655f210c2aSfgsch 52665f210c2aSfgsch * ldwrite.c (build_link_order): If the cooked size of the section 52675f210c2aSfgsch has been set, use it, for determining link_order size. 52685f210c2aSfgsch (ldwrite): In the error message displayed if bfd_final_link fails, 52695f210c2aSfgsch indicate that it was in fact the final link step that failed. 52705f210c2aSfgsch 52715f210c2aSfgsch * ldlang.c (lang_size_sections): Clear bfd_error before calling 52725f210c2aSfgsch bfd_relax_section, in case it returns false but doesn't flag an 52735f210c2aSfgsch error. If an error is returned, indicate which one it is in the 52745f210c2aSfgsch error message. 52755f210c2aSfgsch 52765f210c2aSfgsch * Makefile.in (install-info): Depend on ld.info, and use "$<*" so 52775f210c2aSfgsch it'll get picked up from $(srcdir) if appropriate. 52785f210c2aSfgsch 52795f210c2aSfgschTue Feb 15 16:32:04 1994 David J. Mackenzie (djm@rtl.cygnus.com) 52805f210c2aSfgsch 52815f210c2aSfgsch * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. 52825f210c2aSfgsch * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. 52835f210c2aSfgsch 52845f210c2aSfgschFri Feb 11 17:02:49 1994 David J. Mackenzie (djm@thepub.cygnus.com) 52855f210c2aSfgsch 52865f210c2aSfgsch * ldlex.l (comment): Increment line number when newline is read. 52875f210c2aSfgsch 52885f210c2aSfgschFri Feb 11 17:36:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 52895f210c2aSfgsch 52905f210c2aSfgsch * ldlang.c (lookup_name): Take new argument, force_load. If true, 52915f210c2aSfgsch reload the file even if it is already loaded. 52925f210c2aSfgsch (wild): Call lookup_name with force_load argument of 0. 52935f210c2aSfgsch (open_input_bfds): Call lookup_name with force_load argument of 1. 52945f210c2aSfgsch (print_symbol): Remove declaration of non-existent function. 52955f210c2aSfgsch (print_one_symbol): Return true rather than falling off end. 52965f210c2aSfgsch 52975f210c2aSfgschThu Feb 10 11:52:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 52985f210c2aSfgsch 52995f210c2aSfgsch * ldmain.c (main): Use %ld when printing long values. 53005f210c2aSfgsch 53015f210c2aSfgsch * scripttempl/elf.sc: Move _edata after the .sdata section. 53025f210c2aSfgsch Permit OTHER_BSS_SYMBOLS to be defined. 53035f210c2aSfgsch * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. 53045f210c2aSfgsch 53055f210c2aSfgschMon Feb 7 16:31:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 53065f210c2aSfgsch 53075f210c2aSfgsch * Rename all "hppaosf" files to "hppaelf". 53085f210c2aSfgsch * Change all "osf" references to "elf" in hppaelf files. 53095f210c2aSfgsch * Makefile.in: Likewise. 53105f210c2aSfgsch * configure.in: Likewise. 53115f210c2aSfgsch 53125f210c2aSfgschSun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) 53135f210c2aSfgsch 53145f210c2aSfgsch * ldmain.c (main): Call xatexit, not atexit. 53155f210c2aSfgsch Call xmalloc_set_program_name. 53165f210c2aSfgsch 53175f210c2aSfgsch * ldlang.c (lang_size_sections): Check if bfd_relax_section set 53185f210c2aSfgsch bfd_errno. 53195f210c2aSfgsch 53205f210c2aSfgschSat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com) 53215f210c2aSfgsch 53225f210c2aSfgsch * emultempl/lnk960.em (append), emultempl/hppaosf.em 53235f210c2aSfgsch (hppaosf_finish): Call xmalloc, not ldmalloc. 53245f210c2aSfgsch * ldmain.c (preserve_output): Function removed. 53255f210c2aSfgsch (main): Do it here instead. 53265f210c2aSfgsch 53275f210c2aSfgschFri Feb 4 23:02:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 53285f210c2aSfgsch 53295f210c2aSfgsch * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) 53305f210c2aSfgsch GNU C specific macros. 53315f210c2aSfgsch 53325f210c2aSfgsch * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining 53335f210c2aSfgsch call to LANG_FOR_EACH_INPUT_SECTION. 53345f210c2aSfgsch 53355f210c2aSfgschFri Feb 4 16:26:08 1994 David J. Mackenzie (djm@thepub.cygnus.com) 53365f210c2aSfgsch 53375f210c2aSfgsch * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions 53385f210c2aSfgsch deleted; will use libiberty versions instead. 53395f210c2aSfgsch * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c 53405f210c2aSfgsch mri.c Makefile.in: Change callers. 53415f210c2aSfgsch 53425f210c2aSfgsch * ldmisc.c (vfinfo): Remove cleanup code. 53435f210c2aSfgsch * ldmain.c (remove_output): Put it here (new function). 53445f210c2aSfgsch (preserve_output): New function. 53455f210c2aSfgsch (main): Register remove_output and preserve_output with atexit. 53465f210c2aSfgsch * ldmain.c ldgram.y: Call xexit instead of exit. 53475f210c2aSfgsch * ldmisc.h: Declare xexit. 53485f210c2aSfgsch 53495f210c2aSfgschFri Feb 4 15:19:01 1994 Steve Chamberlain (sac@cygnus.com) 53505f210c2aSfgsch 53515f210c2aSfgsch * Makefile.in: Lots of new H8/500 memory models. 53525f210c2aSfgsch 53535f210c2aSfgschSun Jan 30 14:33:40 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 53545f210c2aSfgsch 53555f210c2aSfgsch * ldlex.l: Removed duplicate rules. 53565f210c2aSfgsch (yywrap): Provide default definition, needed with some versions of 53575f210c2aSfgsch flex. 53585f210c2aSfgsch 53595f210c2aSfgschFri Jan 28 09:12:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) 53605f210c2aSfgsch 53615f210c2aSfgsch * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print 53625f210c2aSfgsch the archive filename too. 53635f210c2aSfgsch 53645f210c2aSfgsch * ldlex.l: Add rule to catch invalid input characters instead of 53655f210c2aSfgsch printing them. Include "ldmain.h" for program_name decl. 53665f210c2aSfgsch (lex_warn_invalid): New function. 53675f210c2aSfgsch * Makefile.in: Add dependency. 53685f210c2aSfgsch 53695f210c2aSfgschFri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 53705f210c2aSfgsch 53715f210c2aSfgsch * Makefile.in (check): Don't bother running any tests of 53725f210c2aSfgsch cross-linker until the test suite no longer assumes native mode. 53735f210c2aSfgsch 53745f210c2aSfgschThu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) 53755f210c2aSfgsch 53765f210c2aSfgsch * ldlang.c (print_one_symbol, print_input_section): Print 53775f210c2aSfgsch global symbols in symbol table again. 53785f210c2aSfgsch 53795f210c2aSfgschThu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) 53805f210c2aSfgsch 53815f210c2aSfgsch * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, 53825f210c2aSfgsch exit successfully instead of complaining if no input files are 53835f210c2aSfgsch given. 53845f210c2aSfgsch 53855f210c2aSfgschTue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com) 53865f210c2aSfgsch 53875f210c2aSfgsch * Makefile.in: Format variable definitions consistently. 53885f210c2aSfgsch (LD_PROG): Remove unnecessary variables from link command, 53895f210c2aSfgsch change variable LOADLIBES to EXTRALIBS. 53905f210c2aSfgsch 53915f210c2aSfgsch * ldmain.c (main): Compute and display total execution time. 53925f210c2aSfgsch * ld.texinfo (-stats): Document the option. 53935f210c2aSfgsch 53945f210c2aSfgschMon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 53955f210c2aSfgsch 53965f210c2aSfgsch * ldmain.c (reloc_overflow): Added name, reloc_name and addend 53975f210c2aSfgsch arguments. 53985f210c2aSfgsch 53995f210c2aSfgsch * ldlang.c (lookup_name): Set BFD GP size to -G argument value 54005f210c2aSfgsch after opening BFD. 54015f210c2aSfgsch 54025f210c2aSfgsch * ldlang.c (relaxing): Removed global variable. 54035f210c2aSfgsch (lang_size_sections): If the canonical symbols have not already 54045f210c2aSfgsch been read in, read them in before relaxing. 54055f210c2aSfgsch * ldlang.h (relaxing): Removed declaration. 54065f210c2aSfgsch 54075f210c2aSfgschFri Jan 21 00:44:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 54085f210c2aSfgsch 54095f210c2aSfgsch * ldlang.c (new_afile): Initialize loaded field to false. 54105f210c2aSfgsch (lookup_name): If file was already loaded, don't call the 54115f210c2aSfgsch add_symbols entry point again. 54125f210c2aSfgsch 54135f210c2aSfgschWed Jan 19 13:57:00 1994 David J. Mackenzie (djm@thepub.cygnus.com) 54145f210c2aSfgsch 54155f210c2aSfgsch * ld.texinfo: Clarify what -T option does. 54165f210c2aSfgsch 54175f210c2aSfgschTue Jan 18 16:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) 54185f210c2aSfgsch 54195f210c2aSfgsch * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's 54205f210c2aSfgsch for a.out. 54215f210c2aSfgsch 54225f210c2aSfgschTue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 54235f210c2aSfgsch 54245f210c2aSfgsch * ldmain.c (add_archive_element): If trace_files or 54255f210c2aSfgsch trace_file_tries, print file name. 54265f210c2aSfgsch * ldlang.c (lookup_name): Likewise. 54275f210c2aSfgsch (ldlang_add_file): Don't put files on input_bfds list in reverse 54285f210c2aSfgsch order. 54295f210c2aSfgsch 54305f210c2aSfgsch * scripttempl/elf.sc: Correct typo. 54315f210c2aSfgsch 54325f210c2aSfgschMon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) 54335f210c2aSfgsch 54345f210c2aSfgsch * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and 54355f210c2aSfgsch their arguments optional, for compatibility with the old GNU ld. 54365f210c2aSfgsch 54375f210c2aSfgschFri Jan 7 20:00:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 54385f210c2aSfgsch 5439d2201f2fSdrahn * scripttempl/elf.sc: Define __bss_start before the .sbss section. 54405f210c2aSfgsch 54415f210c2aSfgschThu Jan 6 00:13:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 54425f210c2aSfgsch 54435f210c2aSfgsch * ldmain.c (add_to_set): Add bitsize argument. 54445f210c2aSfgsch (constructor_callback): New function. 54455f210c2aSfgsch (link_callbacks): Add constructor_callback. 54465f210c2aSfgsch * ldctor.c (struct set_info): Add bitsize field. 54475f210c2aSfgsch (ldctor_add_set_entry): Add bitsize argument. 54485f210c2aSfgsch (ldctor_build_sets): Base the size of the elements of the set on 54495f210c2aSfgsch the bitsize, rather than always using LONG. 54505f210c2aSfgsch * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. 54515f210c2aSfgsch 54525f210c2aSfgsch * ld.h (QUAD_SIZE): Define. 54535f210c2aSfgsch * ldgram.y (QUAD): New token. 54545f210c2aSfgsch (length): Handle it. 54555f210c2aSfgsch * ldlex.l: Return QUAD. 54565f210c2aSfgsch * lexsup.c (keywords): Add QUAD. 54575f210c2aSfgsch * ldwrite.c (build_link_order): Handle QUAD. 54585f210c2aSfgsch * ldlang.c (print_data_statement): Handle QUAD. 54595f210c2aSfgsch (lang_size_sections): Likewise. 54605f210c2aSfgsch (lang_do_assignments): Likewise. 54615f210c2aSfgsch * ldexp.c (exp_print_token): Add QUAD to table. 54625f210c2aSfgsch * ld.texinfo: Describe QUAD. 54635f210c2aSfgsch 54645f210c2aSfgsch * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, 54655f210c2aSfgsch since the Alpha doesn't use them. 54665f210c2aSfgsch 54675f210c2aSfgschWed Jan 5 17:42:16 1994 David J. Mackenzie (djm@thepub.cygnus.com) 54685f210c2aSfgsch 54695f210c2aSfgsch * ldemul.h (ld_emulation_xfer_struct): Comment the members. 54705f210c2aSfgsch 54715f210c2aSfgschSat Jan 1 13:39:31 1994 Rob Savoye (rob@darkstar.cygnus.com) 54725f210c2aSfgsch 54735f210c2aSfgsch * Makefile.in, configure.in: Add support for VSTa micro-kernel. 54745f210c2aSfgsch * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. 54755f210c2aSfgsch 54765f210c2aSfgschSat Jan 1 10:53:35 1994 David J. Mackenzie (djm@thepub.cygnus.com) 54775f210c2aSfgsch 54785f210c2aSfgsch * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; 54795f210c2aSfgsch needed for i386mach. (Should be a no-op on other systems.) 54805f210c2aSfgsch 54815f210c2aSfgsch * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. 54825f210c2aSfgsch (PAGE_SIZE): Don't define; not used. 54835f210c2aSfgsch 54845f210c2aSfgschFri Dec 31 16:12:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 54855f210c2aSfgsch 54865f210c2aSfgsch * ldgram.y (yyerror): Make argument const char *, and actually 54875f210c2aSfgsch print it out rather than assuming it is a syntax error. 54885f210c2aSfgsch * ldmisc.h: Change declaration of yyerror. 54895f210c2aSfgsch * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. 54905f210c2aSfgsch 54915f210c2aSfgschFri Dec 31 11:37:28 1993 David J. Mackenzie (djm@thepub.cygnus.com) 54925f210c2aSfgsch 54935f210c2aSfgsch * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include 54945f210c2aSfgsch exec header offset, since the exec header isn't loaded. 54955f210c2aSfgsch (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. 54965f210c2aSfgsch 54975f210c2aSfgschThu Dec 30 13:01:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 54985f210c2aSfgsch 54995f210c2aSfgsch A major rewrite to move the bulk of the linker into BFD so that 55005f210c2aSfgsch more efficient backend code can be written for specific object 55015f210c2aSfgsch files. 55025f210c2aSfgsch * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, 55035f210c2aSfgsch ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. 55045f210c2aSfgsch * ldctor.c, ldctor.h: Complete rewrite. 55055f210c2aSfgsch * ldwrite.c, ldwrite.h: Complete rewrite. 55065f210c2aSfgsch * ld.h (strip_symbols_type, strip_symbols): Removed. Use 55075f210c2aSfgsch link_info.strip instead. Changed all uses. 55085f210c2aSfgsch (discard_locals_type, discard_locals): Removed. Use 55095f210c2aSfgsch link_info.discard instead. Changed all uses. 55105f210c2aSfgsch (ld_config_type): Removed relocateable_output field; use 55115f210c2aSfgsch link_info.relocateable instead; changed all uses. Added stats 55125f210c2aSfgsch field. 55135f210c2aSfgsch (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, 55145f210c2aSfgsch set_loader_symbol): Removed. 55155f210c2aSfgsch * ldexp.h (node_class): Added etree_rel. 55165f210c2aSfgsch (etree_type): Added rel field. 55175f210c2aSfgsch * ldexp.c (exp_print_token): Bracketed table initialization. 55185f210c2aSfgsch (exp_relop): New function. 55195f210c2aSfgsch (fold_name): Use linker hash table rather than ldsym functions. 55205f210c2aSfgsch (exp_fold_tree): Likewise. Also, handle etree_rel case. 55215f210c2aSfgsch (exp_print_tree): Handle etree_rel. 55225f210c2aSfgsch * ldgram.y (strip_symbols, discard_locals): Removed. 55235f210c2aSfgsch (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. 55245f210c2aSfgsch (REL): New token. Does not appear in grammar, but needed for 55255f210c2aSfgsch expression code. 55265f210c2aSfgsch (file): Don't call lang_final; it's called by main anyhow. 55275f210c2aSfgsch * ldlex.l: Accept -stats and -no-keep-memory options. 55285f210c2aSfgsch * ldlang.h (fill_type): Make unsigned int, not unsigned short. 55295f210c2aSfgsch * ldlang.c: Consistently use fill_type for fill argument. 55305f210c2aSfgsch (lang_init_script_file, script_file): Removed. 55315f210c2aSfgsch (create_object_symbols): Removed. Use 55325f210c2aSfgsch link_info.create_object_symbols_section instead. Changed all 55335f210c2aSfgsch uses. 55345f210c2aSfgsch (lang_add_keepsyms_file): Removed. 55355f210c2aSfgsch (lookup_name): Call bfd_link_add_symbols instead of 55365f210c2aSfgsch ldmain_open_file_read_symbol. 55375f210c2aSfgsch (wild): Don't iterate over script_file. 55385f210c2aSfgsch (open_output): Create link hash table. 55395f210c2aSfgsch (lang_place_undefineds): Rewrote. 55405f210c2aSfgsch (lang_size_sections): Handle relaxing (doesn't work yet). 55415f210c2aSfgsch (lang_relocate_globals): Removed. 55425f210c2aSfgsch (lang_finish): Use link hash table rather than ldsym functions. 55435f210c2aSfgsch (lang_common): Rewrote. 55445f210c2aSfgsch (lang_one_common): New function. 55455f210c2aSfgsch (ldlang_add_file): Add file to link_info.input_bfds list. Set 55465f210c2aSfgsch usrdata. 55475f210c2aSfgsch (create_symbol): Removed. 55485f210c2aSfgsch (lang_process): Don't call lang_init_script_file. Call 55495f210c2aSfgsch ldctor_build_sets rather than find_constructors. Don't call 55505f210c2aSfgsch lang_relocate_globals. 55515f210c2aSfgsch (lang_abs_symbol_at_beginning_of): Rewrote. 55525f210c2aSfgsch (lang_abs_symbol_at_end_of): Rewrote. 55535f210c2aSfgsch * ldmain.c (had_y): Removed. 55545f210c2aSfgsch (lprefix, lprefix_len): Removed; use link_info fields instead. 55555f210c2aSfgsch Changed all uses. 55565f210c2aSfgsch (multiple_def_count, commons_pending, undefined_global_sym_count, 55575f210c2aSfgsch total_symbols_seen, total_files_seen): Removed. 55585f210c2aSfgsch (link_callbacks, link_info): New variables. 55595f210c2aSfgsch (main): Initialize link_info. Don't call init_bfd_error_vector or 55605f210c2aSfgsch ldsym_init. Don't set now unused variables. Handle -stats. 55615f210c2aSfgsch (get_emulation): Removed obsolete and nonfunctional GNU960 code. 55625f210c2aSfgsch (add_ysym): Rewrote. 55635f210c2aSfgsch (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, 55645f210c2aSfgsch search_library, gnu960_check_format, decode_library_subfile, 55655f210c2aSfgsch linear_library, symdef_library, clear_syms, subfile_wanted_p): 55665f210c2aSfgsch Removed. 55675f210c2aSfgsch (add_keepsyms_file, add_archive_element, multiple_definition, 55685f210c2aSfgsch multiple_common, add_to_set, warning_callback, undefined_symbol, 55695f210c2aSfgsch reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): 55705f210c2aSfgsch New functions. 55715f210c2aSfgsch * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't 55725f210c2aSfgsch require symbols for %C; look them up instead. 55735f210c2aSfgsch * emultempl/hppaosf.em: Pass link_info to 55745f210c2aSfgsch hppa_look_for_stubs_in_section. 55755f210c2aSfgsch * Makefile.in: Rebuilt dependencies. 55765f210c2aSfgsch (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and 55775f210c2aSfgsch relax.c. 55785f210c2aSfgsch (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and 55795f210c2aSfgsch relax.h. 55805f210c2aSfgsch (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, 55815f210c2aSfgsch ldlang.h and ldctor.h. 55825f210c2aSfgsch 55835f210c2aSfgsch * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove 55845f210c2aSfgsch declarations of free and malloc from flex output. Change malloc 55855f210c2aSfgsch to ldmalloc in flex output. 55865f210c2aSfgsch 55875f210c2aSfgschThu Dec 16 21:19:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) 55885f210c2aSfgsch 55895f210c2aSfgsch * ldmain.c (lprefix): Change default from a char to a string 55905f210c2aSfgsch with only one character. 55915f210c2aSfgsch (lprefix_len): Set default to one. 55925f210c2aSfgsch 55935f210c2aSfgsch * ldmain.h (lprefix_len): Declare. 55945f210c2aSfgsch 55955f210c2aSfgsch * ldsym.c (write_file_locals): Use strncmp rather than a character 55965f210c2aSfgsch comparison for lprefix. 55975f210c2aSfgsch 5598d2201f2fSdrahn * emultempl/m88kbcs.em (before_parse): Set lprefix and lprefix_len 55995f210c2aSfgsch correctly. 56005f210c2aSfgsch 5601d2201f2fSdrahn * emultempl/hppaosf.em: Include ldexp.h. 56025f210c2aSfgsch (before_parse): Set lprefix and lprefix_len correctly. 56035f210c2aSfgsch 56045f210c2aSfgschTue Dec 14 17:19:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 56055f210c2aSfgsch 56065f210c2aSfgsch * ldlex.h: Don't declare yywrap if it is a macro. 56075f210c2aSfgsch * ldlex.l: Include sysdep.h. 56085f210c2aSfgsch * ldlang.c (lang_for_each_statement_worker, 56095f210c2aSfgsch lang_for_each_statement): Forgot to use PARAMS. 56105f210c2aSfgsch 56115f210c2aSfgschMon Dec 13 14:30:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 56125f210c2aSfgsch 56135f210c2aSfgsch * Makefile.in: Added .PHONY targets where appropriate. Added some 56145f210c2aSfgsch comments. Also: 56155f210c2aSfgsch (gcclibdir, version): Removed unused variables. 56165f210c2aSfgsch (DEP): New variable, set to mkdep. 56175f210c2aSfgsch (ALL_CFLAGS): New variable. Used in .c.o target. 56185f210c2aSfgsch (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New 56195f210c2aSfgsch variables. 56205f210c2aSfgsch (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, 56215f210c2aSfgsch GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed 56225f210c2aSfgsch mostly obsolete variables. Adjusted remaining uses. 56235f210c2aSfgsch (DEF_EMUL): Removed variable. 56245f210c2aSfgsch (ldmain.o): Handle undefined EMUL error correctly. 56255f210c2aSfgsch (ldemul-list.h): Depend on config.status rather than Makefile. 56265f210c2aSfgsch Create via temporary file. 56275f210c2aSfgsch (ver960.c, roll, make): Removed obsolete targets. 56285f210c2aSfgsch (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild 56295f210c2aSfgsch dependencies. 56305f210c2aSfgsch * dep-in.sed: New file, used when rebuilding dependencies. 56315f210c2aSfgsch 56325f210c2aSfgschSat Dec 11 14:43:44 1993 Ian Lance Taylor (ian@deneb.cygnus.com) 56335f210c2aSfgsch 56345f210c2aSfgsch Made many changes to eliminate gcc warnings. Made various 56355f210c2aSfgsch cosmetic changes, declared various things in header files, removed 56365f210c2aSfgsch various extern declarations from .c files. No substantive 56375f210c2aSfgsch changes. 56385f210c2aSfgsch 56395f210c2aSfgsch * ldlang.c (lang_process): Ifdef out final call to 56405f210c2aSfgsch lang_size_sections again (reverting change of Nove 2), since it 56415f210c2aSfgsch breaks the Sun4 linker. 56425f210c2aSfgsch 56435f210c2aSfgschThu Dec 2 16:31:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 56445f210c2aSfgsch 56455f210c2aSfgsch * configure.in (alpha-*-netware*): New target; use alpha. 56465f210c2aSfgsch 56475f210c2aSfgschWed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com) 56485f210c2aSfgsch 56495f210c2aSfgsch * configure.in: Group targets by CPU. Merge some m68k target 56505f210c2aSfgsch entries with different CPU specs that use the same ld_target 56515f210c2aSfgsch values. 56525f210c2aSfgsch 56535f210c2aSfgsch * configure.in: Add sparc*-*-coff. 56545f210c2aSfgsch * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. 56555f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. 56565f210c2aSfgsch (em_coff_sparc.c): Add dependencies and build rules. 56575f210c2aSfgsch 56585f210c2aSfgsch * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. 56595f210c2aSfgsch 56605f210c2aSfgschWed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 56615f210c2aSfgsch 56625f210c2aSfgsch * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): 56635f210c2aSfgsch New tokens. 56645f210c2aSfgsch (command_line_option): Accept and ignore them (for now). 56655f210c2aSfgsch * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On 56665f210c2aSfgsch where n is a number. 56675f210c2aSfgsch 56685f210c2aSfgschMon Nov 22 14:14:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 56695f210c2aSfgsch 56705f210c2aSfgsch * ldmain.c (subfile_wanted_p): If merging a common symbol which is 56715f210c2aSfgsch not in bfd_com_section, create the section in the BFD so that it 56725f210c2aSfgsch can be placed in the right output section. 56735f210c2aSfgsch 56745f210c2aSfgschFri Nov 19 14:12:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 56755f210c2aSfgsch 56765f210c2aSfgsch * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. 56775f210c2aSfgsch * emulparams/elf32mipsb.sh (DATA_ADDR): Define. 56785f210c2aSfgsch (OTHER_READONLY_SECTIONS): Define for .reginfo. 56795f210c2aSfgsch (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. 56805f210c2aSfgsch * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. 56815f210c2aSfgsch Move OTHER_READONLY_SECTIONS after all the other readonly 56825f210c2aSfgsch sections. Don't use DATA_ADDR twice. 56835f210c2aSfgsch 56845f210c2aSfgsch * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If 56855f210c2aSfgsch p is in a common section, make sure the BFD has a section of that 56865f210c2aSfgsch name. 56875f210c2aSfgsch 56885f210c2aSfgsch * ldlang.c (lang_common): Add newline to error message. 56895f210c2aSfgsch 56905f210c2aSfgschThu Nov 11 15:54:41 1993 Stan Shebs (shebs@rtl.cygnus.com) 56915f210c2aSfgsch 56925f210c2aSfgsch * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a 56935f210c2aSfgsch Lynx-specific script instead of m68kcoff. 56945f210c2aSfgsch (OUTPUT_FORMAT): Define as "coff-m68k-lynx". 56955f210c2aSfgsch (ENTRY): Define as __main. 56965f210c2aSfgsch (TEXT_START_ADDR): Define as 0. 56975f210c2aSfgsch (PAGE_SIZE): Define as 0x1000. 56985f210c2aSfgsch * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. 56995f210c2aSfgsch * scripttempl/m68klynx.sc: New file. 57005f210c2aSfgsch 57015f210c2aSfgschMon Nov 8 12:00:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 57025f210c2aSfgsch 57035f210c2aSfgsch * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 57045f210c2aSfgsch arguments rather than treating them as emulation names. 57055f210c2aSfgsch 57065f210c2aSfgschFri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) 57075f210c2aSfgsch 57085f210c2aSfgsch * configure.in: Support x86 unixware and netware plus generic netware. 57095f210c2aSfgsch 57105f210c2aSfgschFri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) 57115f210c2aSfgsch 57125f210c2aSfgsch * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): 57135f210c2aSfgsch Correct values (?). 57145f210c2aSfgsch 57155f210c2aSfgschWed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) 57165f210c2aSfgsch 57175f210c2aSfgsch * Makefile.in (distclean): Don't delete dvi or info files. 57185f210c2aSfgsch (ld.info): Update dependency list. 57195f210c2aSfgsch (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. 57205f210c2aSfgsch 57215f210c2aSfgschWed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) 57225f210c2aSfgsch 57235f210c2aSfgsch * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. 57245f210c2aSfgsch Set output_filename instead of creating a new node. 57255f210c2aSfgsch (open_output): Don't set output_filename. 57265f210c2aSfgsch (lang_final): Create the new node here. 57275f210c2aSfgsch * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. 57285f210c2aSfgsch 57295f210c2aSfgschTue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu) 57305f210c2aSfgsch 57315f210c2aSfgsch From Pete Hoogenboom (hoogen@cs.utah.edu): 57325f210c2aSfgsch 57335f210c2aSfgsch * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, 57345f210c2aSfgsch edata, _edata, end): Add definitions of these symbols. 57355f210c2aSfgsch (__end): Remove definition of this symbol. 57365f210c2aSfgsch (__data_start): Move definition of this symbol. 57375f210c2aSfgsch 57385f210c2aSfgsch * emultempl/hppaosf.em: Various fixes and support for linker stub 57395f210c2aSfgsch generation. 57405f210c2aSfgsch (hppaosf_finish, hppaosf_search_for_padding_statements, 57415f210c2aSfgsch hppaosf_create_output_section_statements): New functions in 57425f210c2aSfgsch support of linker stub generation. 57435f210c2aSfgsch (ld_hppaosf_emulation): Redefine to include new 57445f210c2aSfgsch emulation-specific routines. 57455f210c2aSfgsch 57465f210c2aSfgsch * ldlang.c (lang_process): Re-enable last call lang_size_sections. 57475f210c2aSfgsch Pass abs_output_section rather than NULL to avoid invalidating 57485f210c2aSfgsch absolute symbols. 57495f210c2aSfgsch 57505f210c2aSfgschThu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) 57515f210c2aSfgsch 57525f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. 57535f210c2aSfgsch (em_i386mach.c): New rule. 57545f210c2aSfgsch * configure.in (i[34]86-*-mach*): New case. 57555f210c2aSfgsch * config/i386-mach.mt: New file. 57565f210c2aSfgsch * emulparams/i386mach.sh: New file. 57575f210c2aSfgsch 57585f210c2aSfgschFri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 57595f210c2aSfgsch 57605f210c2aSfgsch * ld.h (flag_is_*): Removed macros. 57615f210c2aSfgsch * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): 57625f210c2aSfgsch Consistently check the BFD symbol flags directly, rather than 57635f210c2aSfgsch using file_is_* macros. 57645f210c2aSfgsch 57655f210c2aSfgschThu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com) 57665f210c2aSfgsch 57675f210c2aSfgsch * configure.in (sparc*-*-lynxos*): New target. 57685f210c2aSfgsch * Makefile.in: Add rule for em_sparclynx.c. 57695f210c2aSfgsch (ALL_EMULATIONS): Add Lynx emulations. 57705f210c2aSfgsch * config/sparc-lynx.mt: New file. 57715f210c2aSfgsch * emulparams/sparclynx.sh: New file. 57725f210c2aSfgsch * scripttempl/sparccoff.sc: New file. 57735f210c2aSfgsch 57745f210c2aSfgschThu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 57755f210c2aSfgsch 57765f210c2aSfgsch * Makefile.in: Add dependency for $(EMULATION_OFILES). 57775f210c2aSfgsch 57785f210c2aSfgschMon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 57795f210c2aSfgsch 57805f210c2aSfgsch * relax.c (write_relax): Check return value of bfd_seclet_link. 57815f210c2aSfgsch 57825f210c2aSfgschMon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com) 57835f210c2aSfgsch 57845f210c2aSfgsch * ldlang.c (delete_output_file_on_failure): New variable. 57855f210c2aSfgsch (open_output): Set it after bfd open succeeds. 57865f210c2aSfgsch * ldmisc.c (vfinfo): Test it. 57875f210c2aSfgsch 57885f210c2aSfgsch Changes from Peter Hoogenboom, hoogen@cs.utah.edu: 57895f210c2aSfgsch 57905f210c2aSfgsch * ldsym.c (write_file_locals): Set the BSF_FILE flag for object 57915f210c2aSfgsch symbols. 57925f210c2aSfgsch 57935f210c2aSfgsch * ldemul.c: Support was added to allow emulation-specific 57945f210c2aSfgsch processing to occur. This support was added primarily for linker 57955f210c2aSfgsch stub generation in the elf32-hppa gld. 57965f210c2aSfgsch (ldemul_finish, ldemul_create_output_section_statements): New 57975f210c2aSfgsch functions. 57985f210c2aSfgsch * ldemul.h: Support was added to allow emulation-specific 57995f210c2aSfgsch processing to occur. (As described above.) Added finish and 58005f210c2aSfgsch create_output_section_statements fields to 58015f210c2aSfgsch ld_emulation_xfer_struct structure. 58025f210c2aSfgsch * ldlang.c: Add calls to emulation-specific routines. 58035f210c2aSfgsch (lang_process): Add call to 58045f210c2aSfgsch ldemul_create_output_section_statements function. 58055f210c2aSfgsch (lang_process): Add call to a emulation-specific routine (and 58065f210c2aSfgsch some processing after the call). 58075f210c2aSfgsch 58085f210c2aSfgschFri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 58095f210c2aSfgsch 58105f210c2aSfgsch * configure.in: mips*- instead of mips-, mips*el changes 58115f210c2aSfgsch 58125f210c2aSfgschTue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 58135f210c2aSfgsch 58145f210c2aSfgsch * configure.in (alpha-*-osf*): New target; use alpha.mt. 58155f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. 58165f210c2aSfgsch (em_alpha.c): New target; use alpha.sh and alpha.sc. 58175f210c2aSfgsch * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. 58185f210c2aSfgsch * config/alpha.mt: New file. 58195f210c2aSfgsch * emulparams/alpha.sh: New file. 58205f210c2aSfgsch * scripttempl/alpha.sc: New file. 58215f210c2aSfgsch 58225f210c2aSfgschFri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com) 58235f210c2aSfgsch 58245f210c2aSfgsch * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle 58255f210c2aSfgsch types of different sizes (eg: 64 and 32 bits), so coerce. 58265f210c2aSfgsch * ld.h (ALIGN_N): Add warning about usage. 58275f210c2aSfgsch 58285f210c2aSfgschWed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 58295f210c2aSfgsch 58305f210c2aSfgsch * ldmain.c (enter_global_ref): Just ignore any weak symbol for 58315f210c2aSfgsch which we already have a definition, rather than checking in 58325f210c2aSfgsch several different places whether the symbol is weak. 58335f210c2aSfgsch 58345f210c2aSfgschTue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 58355f210c2aSfgsch 58365f210c2aSfgsch * configure.in (mips-*-elf*): New target; use mipsb-elf32. 58375f210c2aSfgsch * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and 58385f210c2aSfgsch OTHER_READWRITE_SECTIONS if relocating. Shell variables are not 58395f210c2aSfgsch expanded within them. 58405f210c2aSfgsch * config/mipsb-elf32.mt: New file. 58415f210c2aSfgsch * emulparams/elf32mipb.sh: New file. 58425f210c2aSfgsch * Makefile.in (em_elf32mipb.c): New target. 58435f210c2aSfgsch 58445f210c2aSfgschThu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com) 58455f210c2aSfgsch 58465f210c2aSfgsch * ldgram.y: In input_list, change lang_input_file_is_file_enum to 58475f210c2aSfgsch lang_input_file_is_search_file_enum so objects brought in using 58485f210c2aSfgsch INPUT() do a path lookup. 58495f210c2aSfgsch 58505f210c2aSfgschTue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com) 58515f210c2aSfgsch 58525f210c2aSfgsch * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx 58535f210c2aSfgsch instead of {i386,m68k}-coff. 58545f210c2aSfgsch * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. 58555f210c2aSfgsch * config/i386-lynx.mt: New file. 58565f210c2aSfgsch * config/m68k-lynx.mt: New file. 58575f210c2aSfgsch * emulparams/i386lynx.sh: New file. 58585f210c2aSfgsch * emulparams/m68klynx.sh: New file. 58595f210c2aSfgsch 58605f210c2aSfgsch * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, 58615f210c2aSfgsch but defaulting to _start. 58625f210c2aSfgsch 58635f210c2aSfgsch * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, 58645f210c2aSfgsch ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with 58655f210c2aSfgsch LynxOS libc. 58665f210c2aSfgsch 58675f210c2aSfgschThu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com) 58685f210c2aSfgsch 58695f210c2aSfgsch * config/solaris2.mh: New file. Define HOSTING_CRT0 and 58705f210c2aSfgsch HOSTING_LIBS for testing. 58715f210c2aSfgsch 58725f210c2aSfgschFri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 58735f210c2aSfgsch 58745f210c2aSfgsch Finish up support for i386-sysv4 (without shared libraries): 58755f210c2aSfgsch * ld.h (flag_is_weak): Define. 58765f210c2aSfgsch * ldlang.c (print_symbol): Mention whether symbol is weak. 58775f210c2aSfgsch (print_input_section): Print weak symbols as globals. 58785f210c2aSfgsch * ldmain.c (refize): Do not zero out BSF_WEAK flag. 58795f210c2aSfgsch (enter_global_ref): Do not warn if a weak symbol redefines a 58805f210c2aSfgsch global symbol. Do not let a weak symbol redefine a common symbol. 58815f210c2aSfgsch (enter_file_symbols): Treat weak symbols as global symbols. 58825f210c2aSfgsch (subfile_wanted_p): Do not pull in an object file from a archive 58835f210c2aSfgsch just to resolve an undefined weak symbol. 58845f210c2aSfgsch * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal 58855f210c2aSfgsch error; the error might be that malloc has run out of space. 58865f210c2aSfgsch * ldsym.c (write_file_locals): Treat weak symbols as global. 58875f210c2aSfgsch * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; 58885f210c2aSfgsch use i386-elf. 58895f210c2aSfgsch * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. 58905f210c2aSfgsch * config/i386-elf.mt: New file; set EMUL to elf_i386. 58915f210c2aSfgsch * emulparams/elf_i386.sh: New file. 58925f210c2aSfgsch * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). 58935f210c2aSfgsch * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. 58945f210c2aSfgsch (ALL_EMULATIONS): Add em_elf_i386.o. 58955f210c2aSfgsch (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. 58965f210c2aSfgsch (em_elf_i386.c): New target, like other em_*.c targets. 58975f210c2aSfgsch ($(LD_PROG)): Pass $(CFLAGS) to $(CC). 58985f210c2aSfgsch * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If 58995f210c2aSfgsch nonempty, and configured for native, add it to LIB_PATH. 59005f210c2aSfgsch 59015f210c2aSfgschFri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com) 59025f210c2aSfgsch 59035f210c2aSfgsch * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: 59045f210c2aSfgsch Added statements to pass stab and stabstr sections through and 59055f210c2aSfgsch mark them as NOLOAD, which makes GDB happier. 59065f210c2aSfgsch 59075f210c2aSfgschWed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com) 59085f210c2aSfgsch 59095f210c2aSfgsch * configure.in: Accept m68k-lynx-lynxos config. 59105f210c2aSfgsch 59115f210c2aSfgsch * Makefile.in: Use $(SHELL) to run genscripts.sh. 59125f210c2aSfgsch 59135f210c2aSfgschSun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com) 59145f210c2aSfgsch 59155f210c2aSfgsch * config/coff-h8300.mt: Add EMUL=h8300h. 59165f210c2aSfgsch 59175f210c2aSfgsch * ldmain.c (main): Call set_scripts_dir after argv has been processed. 59185f210c2aSfgsch 59195f210c2aSfgschFri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com) 59205f210c2aSfgsch 59215f210c2aSfgsch * Makefile.in: Changed CXX back to g++. 59225f210c2aSfgsch 59235f210c2aSfgschFri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com) 59245f210c2aSfgsch 59255f210c2aSfgsch * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. 59265f210c2aSfgsch 59275f210c2aSfgschFri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) 59285f210c2aSfgsch 59295f210c2aSfgsch * Makefile.in (TAGS): Use shell wildcards. 59305f210c2aSfgsch 59315f210c2aSfgschTue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com) 59325f210c2aSfgsch 59335f210c2aSfgsch * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target 59345f210c2aSfgsch 59355f210c2aSfgschFri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) 59365f210c2aSfgsch 59375f210c2aSfgsch * ld.texinfo: re-enable included config file; conditionalize doc 59385f210c2aSfgsch for -oformat to interact properly with SingleFormat doc config 59395f210c2aSfgsch var; rename @up/@down to @raisesections/@lowersections. 59405f210c2aSfgsch 59415f210c2aSfgschWed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com) 59425f210c2aSfgsch 59435f210c2aSfgsch * configure.in: recognize m88110. 59445f210c2aSfgsch 59455f210c2aSfgschTue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 59465f210c2aSfgsch 59475f210c2aSfgsch From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: 59485f210c2aSfgsch * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA 59495f210c2aSfgsch ELF emulation is "elf32-hppa" not "elf-big". 59505f210c2aSfgsch (hppaosf_before_parse): Remove unneeded processing of environment 59515f210c2aSfgsch variables. 59525f210c2aSfgsch * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in 59535f210c2aSfgsch .text segment of output file. 59545f210c2aSfgsch * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. 59555f210c2aSfgsch 59565f210c2aSfgschTue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) 59575f210c2aSfgsch 59585f210c2aSfgsch * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no 59595f210c2aSfgsch longer in bfd.h. 59605f210c2aSfgsch 59615f210c2aSfgsch * ldlang.c, ld.h: updated copyright. 59625f210c2aSfgsch 59635f210c2aSfgschTue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 59645f210c2aSfgsch 59655f210c2aSfgsch * ldlang.c (open_output, lang_check): Check return value of 59665f210c2aSfgsch bfd_set_arch_mach. 59675f210c2aSfgsch 59685f210c2aSfgschTue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) 59695f210c2aSfgsch 59705f210c2aSfgsch * scripttempl/h8500.sc: Start all sections in a different segment. 59715f210c2aSfgsch * scripttempl/z8ksim.sc: Handle constructors 59725f210c2aSfgsch 59735f210c2aSfgschThu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) 59745f210c2aSfgsch 59755f210c2aSfgsch * Makefile.in: revert earlier changes back to execute runtest 59765f210c2aSfgsch with make check. cdtest and bootstrap now function as they 59775f210c2aSfgsch did within the Makefile. 59785f210c2aSfgsch 59795f210c2aSfgschThu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) 59805f210c2aSfgsch 59815f210c2aSfgsch * Makefile.in: Update dependencies. 59825f210c2aSfgsch 59835f210c2aSfgsch * configure.in: Set EMULATION_OFILES in Makefile based on 59845f210c2aSfgsch --with-targets option. 59855f210c2aSfgsch 59865f210c2aSfgschThu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com) 59875f210c2aSfgsch 59885f210c2aSfgsch * Makefile.in: check targets reimplemented to old way. 59895f210c2aSfgsch 59905f210c2aSfgschWed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com) 59915f210c2aSfgsch 59925f210c2aSfgsch * config/i386v.mh, config/irix4.mh: Use gcc 59935f210c2aSfgsch -print-libgcc-file-name rather than $(libdir)/libgcc.a. 59945f210c2aSfgsch * config/i386sco.mh: New file; copy of i386v.mh to correspond to 59955f210c2aSfgsch bfd/configure.host change. 59965f210c2aSfgsch 59975f210c2aSfgschMon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 59985f210c2aSfgsch 59995f210c2aSfgsch * scripttempl/elf.sc: Handle .line and .debug* sections. 60005f210c2aSfgsch 60015f210c2aSfgsch * ldlex.l: Use bfd_scan_vma, not strtoul. 60025f210c2aSfgsch 60035f210c2aSfgschFri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) 60045f210c2aSfgsch 60055f210c2aSfgsch * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: 60065f210c2aSfgsch Remove inital caps in some error messages, change "can't" to 60075f210c2aSfgsch "cannot", add missing colons. 60085f210c2aSfgsch * ldmisc.c (vfinfo): Print "%%" as a single %. 60095f210c2aSfgsch For '%' followed by unrecognized character, print them both 60105f210c2aSfgsch verbatim instead of expecting a char * arg. 60115f210c2aSfgsch For '%C', don't put the function name in parens. 60125f210c2aSfgsch 60135f210c2aSfgsch * ldexp.c (invalid): Pass "%%", not "% ". 60145f210c2aSfgsch 60155f210c2aSfgschFri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 60165f210c2aSfgsch 60175f210c2aSfgsch * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. 60185f210c2aSfgsch (BSS_VAR): Removed; now always define _fbss. 60195f210c2aSfgsch * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): 60205f210c2aSfgsch Removed. 60215f210c2aSfgsch 60225f210c2aSfgschThu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) 60235f210c2aSfgsch 60245f210c2aSfgsch * configure.in: z8k-coff is the same as z8k-sim 60255f210c2aSfgsch 60265f210c2aSfgschWed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) 60275f210c2aSfgsch 60285f210c2aSfgsch * testsuite/lib/ld.exp: new file 60295f210c2aSfgsch * testsuite/config/unix-ld.exp: new file 60305f210c2aSfgsch * testsuite/ld.bootstrap/bootstrap.exp: new file 60315f210c2aSfgsch * Makefile.in: add dejagnu support for make check 60325f210c2aSfgsch 60335f210c2aSfgschWed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) 60345f210c2aSfgsch 60355f210c2aSfgsch * ldlex.l (comment): Add missing newline in message. 60365f210c2aSfgsch * ldindr.c (add_indirect): Ditto. 60375f210c2aSfgsch * ldexp.c (exp_fold_tree): Ditto. 60385f210c2aSfgsch 60395f210c2aSfgschTue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com) 60405f210c2aSfgsch 60415f210c2aSfgsch * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons 60425f210c2aSfgsch into externs. 60435f210c2aSfgsch 60445f210c2aSfgsch * ldmisc.c (multiple_warn): New function. 60455f210c2aSfgsch * ldmisc.h: Declare it. 60465f210c2aSfgsch * ldmain.c (enter_global_ref): Call it. 60475f210c2aSfgsch * ld.h (ld_config_type): Add warn_common. 60485f210c2aSfgsch * ldlex.l, ldgram.y: Set it with -warn-common option. 60495f210c2aSfgsch * ldver.c (help): Document it. 60505f210c2aSfgsch 60515f210c2aSfgschMon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 60525f210c2aSfgsch 60535f210c2aSfgsch * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and 60545f210c2aSfgsch target-specific sections, and for changing data section vma. 60555f210c2aSfgsch 60565f210c2aSfgschMon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 60575f210c2aSfgsch 60585f210c2aSfgsch * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New 60595f210c2aSfgsch terminals, for Solaris. 60605f210c2aSfgsch (dirlist_ptr): New static variable. 60615f210c2aSfgsch (command_line_option): Accept new options. 60625f210c2aSfgsch 60635f210c2aSfgsch * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and 60645f210c2aSfgsch "-YP,...". 60655f210c2aSfgsch 60665f210c2aSfgsch * config/sun4sol2.mt: Pass emulation name without ".sh". 60675f210c2aSfgsch 60685f210c2aSfgsch * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. 60695f210c2aSfgsch * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. 60705f210c2aSfgsch 60715f210c2aSfgschFri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 60725f210c2aSfgsch 60735f210c2aSfgsch * scripttempl/elf.sc: Add support for .init, .fini, .ctors, 60745f210c2aSfgsch .dtors, .data1, .rodata1 sections, instead of combining them into 60755f210c2aSfgsch other sections. For `-r', set all section start addresses to 60765f210c2aSfgsch zero. 60775f210c2aSfgsch 60785f210c2aSfgsch * emulparams/elf32-sparc.sh (TEXT_START_ADDR, 60795f210c2aSfgsch NONPAGED_TEXT_START_ADDR): Value should be 0x10100. 60805f210c2aSfgsch (MAXPAGESIZE): Renamed from PAGE_SIZE. 60815f210c2aSfgsch 60825f210c2aSfgschWed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) 60835f210c2aSfgsch 60845f210c2aSfgsch * genscripts.sh: If this is the default emulation, set 60855f210c2aSfgsch COMPILE_IN. 60865f210c2aSfgsch * emultempl/*.em: Use it to determine whether to compile in the 60875f210c2aSfgsch scripts. 60885f210c2aSfgsch 60895f210c2aSfgsch * Makefile.in (GENSCRIPTS): Pass the default emulation name to 60905f210c2aSfgsch genscripts.sh. Pass the current emulation name without ".sh" on 60915f210c2aSfgsch the end. 60925f210c2aSfgsch * genscripts.sh: Take an default emulation arg. 60935f210c2aSfgsch Use the current emulation name as EMULATION_NAME. 60945f210c2aSfgsch Make default lib path for cross-compiling ':', not null. 60955f210c2aSfgsch * emulparams/*.sh: Don't set EMULATION_NAME. 60965f210c2aSfgsch * ldemul.c (ldemul_get_script): Take isfile arg. 60975f210c2aSfgsch Pass it to emulation's get_script function. 60985f210c2aSfgsch * ldemul.h: Adjust get_script prototypes. 60995f210c2aSfgsch * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. 61005f210c2aSfgsch No longer static. 61015f210c2aSfgsch * ldfile.h: Declare it. 61025f210c2aSfgsch * ldgram.y: Accept a script on the command line again, 61035f210c2aSfgsch for parsing compiled-in scripts. 61045f210c2aSfgsch * ldmain.c (main): If ld script is a file, parse it as a -T 61055f210c2aSfgsch option, otherwise parse it directly. 61065f210c2aSfgsch * emultempl/*.em (*get_script): Return the scripts themselves if 61075f210c2aSfgsch this is the default emulation; otherwise return their file names. 61085f210c2aSfgsch * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of 61095f210c2aSfgsch generic.em. 61105f210c2aSfgsch * emulparams/m88kbcs.sh: Use it. 61115f210c2aSfgsch 61125f210c2aSfgsch * ld.h (ld_config_type::unix_relocate): Remove unused element. 61135f210c2aSfgsch 61145f210c2aSfgschTue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 61155f210c2aSfgsch 61165f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which 61175f210c2aSfgsch there's no change log entry yet, tsk tsk) from the list of 61185f210c2aSfgsch emulations compiled in until Mark gets around to checking in 61195f210c2aSfgsch emulparams/i386linux.sh. 61205f210c2aSfgsch (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is 61215f210c2aSfgsch changed, this file gets updated. 61225f210c2aSfgsch 61235f210c2aSfgschFri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com) 61245f210c2aSfgsch 61255f210c2aSfgsch * ldgram.y (OPTION_Lfile): New token. 61265f210c2aSfgsch (command_line_option): Accept OPTION_L NAME (whitespace after -L). 61275f210c2aSfgsch * ldlex.l (<COMMAND>): Accept -L without FILENAME. 61285f210c2aSfgsch 61295f210c2aSfgschFri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com) 61305f210c2aSfgsch 61315f210c2aSfgsch * configure.in: h8/300h support needs own .mt file. 61325f210c2aSfgsch config/coff-h8300h.mt: New file. 61335f210c2aSfgsch 61345f210c2aSfgschThu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 61355f210c2aSfgsch 61365f210c2aSfgsch * ldmain.c: Don't include sys/stat.h; it already got included 61375f210c2aSfgsch somewhere along the way. 61385f210c2aSfgsch 61395f210c2aSfgschThu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com) 61405f210c2aSfgsch 61415f210c2aSfgsch * Makefile.in: Add h8300h support. 61425f210c2aSfgsch emulparams/h8300h.sh: New file. 61435f210c2aSfgsch scripttempl/h8300h.sc: New file. 61445f210c2aSfgsch 61455f210c2aSfgschThu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 61465f210c2aSfgsch 61475f210c2aSfgsch * ldfile.c (ldfile_open_file): In error message, use the name the 61485f210c2aSfgsch user gave (e.g., "-lc"), rather than the base file name. 61495f210c2aSfgsch 61505f210c2aSfgsch * ldexp.c (exp_fold_tree): Don't assign an int to an enum. 61515f210c2aSfgsch 61525f210c2aSfgsch * ldmain.[ch]: Remove initial Q_ from function names. 61535f210c2aSfgsch * ldexp.c, ldindr.c, ldlang.c: Change callers. 61545f210c2aSfgsch 61555f210c2aSfgsch * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. 61565f210c2aSfgsch 61575f210c2aSfgsch * ldlang.c (lang_process): Move loading of default script from 61585f210c2aSfgsch here to main. Add a "/" to start of script name to prevent 61595f210c2aSfgsch finding it in "." first. 61605f210c2aSfgsch 61615f210c2aSfgsch * ldmain.c (set_scripts_dir): Don't look in "." first. 61625f210c2aSfgsch 61635f210c2aSfgsch * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var 61645f210c2aSfgsch option_longmap. 61655f210c2aSfgsch 61665f210c2aSfgschThu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com) 61675f210c2aSfgsch 61685f210c2aSfgsch * Makefile.in (em_m88kbcs.c): Correct dependency. 61695f210c2aSfgsch * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET 61705f210c2aSfgsch statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. 61715f210c2aSfgsch * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. 61725f210c2aSfgsch 61735f210c2aSfgschWed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com) 61745f210c2aSfgsch 61755f210c2aSfgsch * ldfile.c (ldlang_open_file, ldfile_open_command_file), 61765f210c2aSfgsch main.c (main): Print the errno string in the error message. 61775f210c2aSfgsch 61785f210c2aSfgschTue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com) 61795f210c2aSfgsch 61805f210c2aSfgsch * configure.in: Accept h8300h for target cpu. 61815f210c2aSfgsch 61825f210c2aSfgsch * ldmisc.c (vfinfo): Have demangle remove leading underscore if 61835f210c2aSfgsch present (demangle is smart enough to know whether to do it or not). 61845f210c2aSfgsch 61855f210c2aSfgschMon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com) 61865f210c2aSfgsch 61875f210c2aSfgsch * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for 61885f210c2aSfgsch ldscripts, as well as <ld bin dir> and SCRIPTDIR. 61895f210c2aSfgsch 61905f210c2aSfgsch * ldlang.c (lang_process): Use sizeof instead of magic constant. 61915f210c2aSfgsch 61925f210c2aSfgsch * ldmain.c (get_emulation, check_for_scripts_dir, 61935f210c2aSfgsch set_scripts_dir): New functions. 61945f210c2aSfgsch (main): Call them. 61955f210c2aSfgsch 61965f210c2aSfgschMon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 61975f210c2aSfgsch 61985f210c2aSfgsch * scripttempl/elf.sc: Include .init, .fini, .rodata sections. 61995f210c2aSfgsch Create symbol "end" instead of "__end". Comment out some parts 62005f210c2aSfgsch that may not be needed (yet) for elf. 62015f210c2aSfgsch 62025f210c2aSfgsch * configure.in: Accept sparc-elf and sparc-solaris2 configs. 62035f210c2aSfgsch 62045f210c2aSfgschThu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 62055f210c2aSfgsch 62065f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). 62075f210c2aSfgsch 62085f210c2aSfgsch * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro 62095f210c2aSfgsch when no prototype is being supplied. 62105f210c2aSfgsch (ldmalloc, ldrealloc): Size argument is now size_t. 62115f210c2aSfgsch 62125f210c2aSfgsch * ldmisc.c (finfo): New function, accepts FILE* argument. 62135f210c2aSfgsch (vfinfo, case 'v'): New format character; displays bfd_vma in hex 62145f210c2aSfgsch without leading zeros. 62155f210c2aSfgsch (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a 62165f210c2aSfgsch bfd_vma value, instead of fprintf(%x) which won't hold a long long 62175f210c2aSfgsch value. 62185f210c2aSfgsch (concat, buystring): String lengths are size_t. 62195f210c2aSfgsch (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. 62205f210c2aSfgsch 62215f210c2aSfgsch * ldlang.c (new_statement): Size argument is now size_t. Added 62225f210c2aSfgsch forward declaration with prototype. 62235f210c2aSfgsch 62245f210c2aSfgschThu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) 62255f210c2aSfgsch 62265f210c2aSfgsch * ldgram.y (OPTION_v): Don't turn on verbose output. 62275f210c2aSfgsch 62285f210c2aSfgschWed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 62295f210c2aSfgsch 62305f210c2aSfgsch * ldlex.l: Get rid of local typedef for bfd_vma! Get it from 62315f210c2aSfgsch bfd.h instead. 62325f210c2aSfgsch 62335f210c2aSfgschWed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com) 62345f210c2aSfgsch 62355f210c2aSfgsch * Makefile.in (install): Don't install as $(tooldir)/bin/gld; 62365f210c2aSfgsch collect2 doesn't look for gld any more anyhow. 62375f210c2aSfgsch 62385f210c2aSfgschMon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com) 62395f210c2aSfgsch 62405f210c2aSfgsch * ldlang.c (lang_relocate_globals): Skip indirect symbols, which 62415f210c2aSfgsch now have a non NULL srefs_chain. 62425f210c2aSfgsch 62435f210c2aSfgsch * config/hp300hpux.mt: Use emulation hp3hpux rather than 62445f210c2aSfgsch hp300hpux, since the latter does not exist. 62455f210c2aSfgsch 62465f210c2aSfgschFri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) 62475f210c2aSfgsch 62485f210c2aSfgsch * genscripts.sh: Put the scripts in the ldscripts directory, not 62495f210c2aSfgsch emulations. 62505f210c2aSfgsch * configure.in (ldscripts): Make, instead of emulations. 62515f210c2aSfgsch * Makefile.in (scriptdir): Take off the "ld" part. 62525f210c2aSfgsch (install, clean, distclean): Use ldscripts, not emulations. 62535f210c2aSfgsch In tests, don't pass -Lemulations. 62545f210c2aSfgsch Don't pass tooldir/lib to genscripts.sh. 62555f210c2aSfgsch * genscripts.sh: Don't take tooldir/lib arg. 62565f210c2aSfgsch * ldlang.c (lang_process): Add "ldscripts/" to the name of the 62575f210c2aSfgsch default script file. 62585f210c2aSfgsch 62595f210c2aSfgschFri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com) 62605f210c2aSfgsch 62615f210c2aSfgsch * scripttempl/h8300.sc: Add .tors section for constructor/destructors. 62625f210c2aSfgsch 62635f210c2aSfgschThu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com) 62645f210c2aSfgsch 62655f210c2aSfgsch * config/coff-h8300.mt: EMUL=h8300hms -> h8300. 62665f210c2aSfgsch 62675f210c2aSfgschWed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com) 62685f210c2aSfgsch 62695f210c2aSfgsch * Makefile.in (.y.c): skip default .y.c rules. gnu make can now 62705f210c2aSfgsch run in parallel without colliding on yacc's static file names. 62715f210c2aSfgsch Without the stub rule, make will try to start two yacc's 62725f210c2aSfgsch concurrently which fails because of yacc's static file names. 62735f210c2aSfgsch 62745f210c2aSfgschTue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com) 62755f210c2aSfgsch 62765f210c2aSfgsch * ldmain.c (subfile_wanted_p): Don't dump core if there are no 62775f210c2aSfgsch symbols. 62785f210c2aSfgsch 62795f210c2aSfgschMon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com) 62805f210c2aSfgsch 62815f210c2aSfgsch * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's 62825f210c2aSfgsch different from libdir. 62835f210c2aSfgsch 62845f210c2aSfgsch * Makefile.in (scriptdir): Base on tooldir, not datadir. 62855f210c2aSfgsch 62865f210c2aSfgschSat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) 62875f210c2aSfgsch 62885f210c2aSfgsch * ldver.c (help): New function. 62895f210c2aSfgsch * ldver.h: Declare it. 62905f210c2aSfgsch * ldlex.l, ldgram.y: Recognize new options --help and --version. 62915f210c2aSfgsch 62925f210c2aSfgschMon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) 62935f210c2aSfgsch 62945f210c2aSfgsch * Makefile.in (INCLUDES): Don't need ../include any more. 62955f210c2aSfgsch 62965f210c2aSfgschMon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) 62975f210c2aSfgsch 62985f210c2aSfgsch * ldlex.l, ldgram.y: Support new -oformat option. 62995f210c2aSfgsch Remove attempt at supporting script fragments on the command line. 63005f210c2aSfgsch * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. 63015f210c2aSfgsch * mri.c (mri_format), ldgram.y: Change callers. 63025f210c2aSfgsch * ldlang.h: Change prototype. 63035f210c2aSfgsch 63045f210c2aSfgschThu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) 63055f210c2aSfgsch 63065f210c2aSfgsch * Makefile.in: canonicalize install.sh; for use within 63075f210c2aSfgsch this directory (and subdirs) 63085f210c2aSfgsch 63095f210c2aSfgschThu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com) 63105f210c2aSfgsch 63115f210c2aSfgsch * ldgram.y: Tweak grammar to make reporting of invalid options work. 63125f210c2aSfgsch 63135f210c2aSfgsch * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc 63145f210c2aSfgsch and .cc.o rule. 63155f210c2aSfgsch 63165f210c2aSfgschWed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) 63175f210c2aSfgsch 63185f210c2aSfgsch * ldfile.c (ldfile_open_command): Don't try .ld extension. 63195f210c2aSfgsch It wasn't documented (or likely used) and wastes time. 63205f210c2aSfgsch (try_open): If EXTEN is empty, don't try it. 63215f210c2aSfgsch 63225f210c2aSfgsch * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, 63235f210c2aSfgsch ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, 63245f210c2aSfgsch ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls 63255f210c2aSfgsch with normal function declarations. 63265f210c2aSfgsch 63275f210c2aSfgsch * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. 63285f210c2aSfgsch Move *.sc-sh to scripttempl/*.sc. 63295f210c2aSfgsch * {emultempl,emulparams,scripttempl}/README: New files. 6330d2201f2fSdrahn * emultempl/sh.em, emultempl/st2000.em, emultempl/z8ksim.em, 6331d2201f2fSdrahn emultempl/h8300hms.em, emultempl/h8500hms.em: Files removed, 6332d2201f2fSdrahn replaced with generic.em. 6333d2201f2fSdrahn * emulparams/h8300.sh, emulparams/h8500.sh, scripttempl/h8300.sc, 6334d2201f2fSdrahn scripttempl/h8500.sc: Renamed from h8[35]00hms.s[ch]. Change 6335d2201f2fSdrahn their contents to omit the "hms". 63365f210c2aSfgsch 63375f210c2aSfgsch * *.em (*_get_script): Return script name instead of script contents. 63385f210c2aSfgsch * ldlang.c (lang_process): Change caller. 63395f210c2aSfgsch 63405f210c2aSfgsch * ldlex.l, ldgram.y: Recognize -m option. 63415f210c2aSfgsch Check for input files after *all* options in grammar. 63425f210c2aSfgsch * ldmain.c (main): Check for -m options. Add default directory 63435f210c2aSfgsch for -m. 63445f210c2aSfgsch 63455f210c2aSfgsch * mkscript.c: File removed. 63465f210c2aSfgsch * genscripts.sh: Take two more parameters, tooldirlib and libdir, 63475f210c2aSfgsch to add to the default LIB_PATH. 63485f210c2aSfgsch Look for input files in the new subdirectories. 63495f210c2aSfgsch Create the scripts in emulations subdirectory and don't filter 63505f210c2aSfgsch them through mkscript. 63515f210c2aSfgsch * configure.in: Make the emulations subdirectory. 63525f210c2aSfgsch 63535f210c2aSfgsch * Makefile.in: Account for all of the above changes. 63545f210c2aSfgsch Remove unused .SUFFIXES. Get libgcc.a path with gcc 63555f210c2aSfgsch -print-libgcc-file-name instead of $(libdir)/libgcc.a. 63565f210c2aSfgsch Put CFLAGS last in the compilation rules. 63575f210c2aSfgsch Add -I../bfd to INCLUDES so sysdep.h is found. 63585f210c2aSfgsch 63595f210c2aSfgschTue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 63605f210c2aSfgsch 63615f210c2aSfgsch * Makefile.in (INCLUDES): Look in ../include, not ../bfd. 63625f210c2aSfgsch 6363d2201f2fSdrahn * scripttempl/aout.sc, emulparams/aout.sh: Add SHLIB_PATH like 6364d2201f2fSdrahn STACKZERO. Make STACKZERO dependent on RELOCATING, not 6365d2201f2fSdrahn RELOCATION. 6366d2201f2fSdrahn * emulparams/hp3hpux.sh (SHLIB_PATH): Define it. 63675f210c2aSfgsch 63685f210c2aSfgschMon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com) 63695f210c2aSfgsch 63705f210c2aSfgsch * ldfile.c (try_open): If opening without the extension fails, 63715f210c2aSfgsch try with the extension even if -v or -V was given. 63725f210c2aSfgsch had_script is imported (from ldgram.y), not exported. 63735f210c2aSfgsch 63745f210c2aSfgschMon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) 63755f210c2aSfgsch 63765f210c2aSfgsch * Makefile.in: remove parentdir support, use INSTALL_XFORM 63775f210c2aSfgsch 63785f210c2aSfgschThu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com) 63795f210c2aSfgsch 63805f210c2aSfgsch * ldexp.c (exp_fold_tree): Don't lose the old flag bits. 63815f210c2aSfgsch * ldgram.y (statement_list_opt): New nonterminal, either empty or 63825f210c2aSfgsch statement_list. 63835f210c2aSfgsch (section): Use statement_list_opt, not statement_list. 6384d2201f2fSdrahn * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: Gather 6385d2201f2fSdrahn constructors and destructors and define __CTOR_LIST__ and 6386d2201f2fSdrahn __DTOR_LIST__ appropriately. 6387d2201f2fSdrahn * scripttempl/sa29200.sc, emulparams/sa29200.sh: Gather 6388d2201f2fSdrahn constructors and destructors and define ___CTOR_LIST__ and 6389d2201f2fSdrahn ___DTOR_LIST__ appropriately. 63905f210c2aSfgsch 63915f210c2aSfgschMon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) 63925f210c2aSfgsch 63935f210c2aSfgsch * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. 63945f210c2aSfgsch * configure.in: No longer need to configure to get sysdep.h. 63955f210c2aSfgsch 63965f210c2aSfgschFri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 63975f210c2aSfgsch 63985f210c2aSfgsch * Makefile.in: remove install:all and install-info:info 63995f210c2aSfgsch dependencies (these cause some spurious rebuilds at 'make install' 64005f210c2aSfgsch time) 64015f210c2aSfgsch 64025f210c2aSfgschFri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com) 64035f210c2aSfgsch 64045f210c2aSfgsch * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. 64055f210c2aSfgsch (mips-idt-ecoff*): Added trailing '*'. 64065f210c2aSfgsch * config/mips-idtl.mt: New file; use EMUL of mipsidtl. 6407d2201f2fSdrahn * emulparams/mipsidtl.sh: New file; like mipsidt.sh, but little 6408d2201f2fSdrahn endian. 64095f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. 64105f210c2aSfgsch 64115f210c2aSfgsch * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and 64125f210c2aSfgsch incorrect definitions. 64135f210c2aSfgsch 64145f210c2aSfgschTue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com) 64155f210c2aSfgsch 64165f210c2aSfgsch * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR 64175f210c2aSfgsch symbols, unless stripping. 64185f210c2aSfgsch 64195f210c2aSfgschTue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com) 64205f210c2aSfgsch 64215f210c2aSfgsch * Makefile.in: configure looks for ####, so remove lines with many 64225f210c2aSfgsch '#' characters. 64235f210c2aSfgsch * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 64245f210c2aSfgsch and HOSTING_LIBS correctly so that ``make check'' will work. 64255f210c2aSfgsch 64265f210c2aSfgschThu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com) 64275f210c2aSfgsch 6428d2201f2fSdrahn * scripttempl/mips.sc, emulparams/mips.sh: Define _etext, _edata, 6429d2201f2fSdrahn and _end, in addition to etext, edata, and end. Needed for IRIX 6430d2201f2fSdrahn 4.0.5F. Patch from mwp@iconix.oz.au (Michael Paddon). 64315f210c2aSfgsch 64325f210c2aSfgsch * Version 2.2.1 released. 64335f210c2aSfgsch 64345f210c2aSfgschThu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 64355f210c2aSfgsch 6436d2201f2fSdrahn * scripttempl/mipsbsd.sc, emulparams/mipsbsd.sh: Renamed from 6437d2201f2fSdrahn aout-mipsbsd.sc-sh. 6438d2201f2fSdrahn * emulparams/mipsbsd.sh (EMULATION_NAME): Use new file name. 64395f210c2aSfgsch 64405f210c2aSfgschTue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 64415f210c2aSfgsch 64425f210c2aSfgsch * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it 64435f210c2aSfgsch properly right now. 64445f210c2aSfgsch 64455f210c2aSfgsch * Version 2.2 released. 64465f210c2aSfgsch 64475f210c2aSfgschMon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com) 64485f210c2aSfgsch 64495f210c2aSfgsch * ldver.c (ldversion): Bump version number to 2.2. 64505f210c2aSfgsch 64515f210c2aSfgschMon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com) 64525f210c2aSfgsch 64535f210c2aSfgsch * NEWS: New file. 64545f210c2aSfgsch 64555f210c2aSfgschFri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com) 64565f210c2aSfgsch 6457d2201f2fSdrahn * scripttempl/mips.sc, emulparams/mips.sh: Don't define BSS_VAR 6458d2201f2fSdrahn unless relocating. 64595f210c2aSfgsch 64605f210c2aSfgschWed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com) 64615f210c2aSfgsch 64625f210c2aSfgsch * Makefile.in (mkscript.o, mkscript): Build mkscript via 64635f210c2aSfgsch mkscript.o, rather than directly from mkscript.c. 64645f210c2aSfgsch 64655f210c2aSfgschTue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 64665f210c2aSfgsch 64675f210c2aSfgsch * configure.in: Look for ${target_makefile_frag} relative to 64685f210c2aSfgsch ${srcdir}, not relative to build directory. 64695f210c2aSfgsch 6470d2201f2fSdrahn * emultempl/hppaosf.em, scripttempl/hppaosf.sc, 6471d2201f2fSdrahn emulparams/hppaosf.sh: New files. 64725f210c2aSfgsch * configure.in: Recognize hppa*-hp-osf. 64735f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. 64745f210c2aSfgsch (em_hppaosf.c): Build it. 6475d2201f2fSdrahn * config/hppaosf.mh, config/hppaosf.mt: New files. 64765f210c2aSfgsch 64775f210c2aSfgsch * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with 64785f210c2aSfgsch some system header files. All uses changed. 64795f210c2aSfgsch 64805f210c2aSfgsch * configure.in: Recognize i386-aix configurations as i386-coff 64815f210c2aSfgsch targets. 64825f210c2aSfgsch 64835f210c2aSfgsch * configure.in: Recognize m68*-*-hpux. 6484d2201f2fSdrahn * scripttempl/aout.sc: If STACKZERO and RELOCATING are both defined, output 64855f210c2aSfgsch the value of STACKZERO. 64865f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. 64875f210c2aSfgsch (em_hp3hpux.c): Build it. 6488d2201f2fSdrahn * emulparams/hp3hpux.sh, config/hp300hpux.mt: New files. 64895f210c2aSfgsch 64905f210c2aSfgschTue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com) 64915f210c2aSfgsch 6492d2201f2fSdrahn * scripttempl/mips.sc: Put constructors in the .data section. 64935f210c2aSfgsch * Makefile.in (cdtest): Added dependency on ld.new. 64945f210c2aSfgsch 64955f210c2aSfgschMon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com) 64965f210c2aSfgsch 64975f210c2aSfgsch * Makefile.in: Change definition of $(tooldir) to match FSF. 6498d2201f2fSdrahn * emulparams/vax.sh, config/vax.mt, configure.in, Makefile.in: 64995f210c2aSfgsch Support VAX Ultrix and BSD. 65005f210c2aSfgsch 65015f210c2aSfgschMon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) 65025f210c2aSfgsch 6503d2201f2fSdrahn * emultempl/sh.em, emulparams/sh.sh, scripttempl/sh.sc: New 6504d2201f2fSdrahn files supporting Hitachi SH. 65055f210c2aSfgsch 65065f210c2aSfgschWed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com) 65075f210c2aSfgsch 65085f210c2aSfgsch * ldlang.h (struct memory_region): Change `length' and 65095f210c2aSfgsch `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. 65105f210c2aSfgsch * ldlang.c, mri.c: Corresponding changes, plus lint. 65115f210c2aSfgsch 65125f210c2aSfgschThu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com) 65135f210c2aSfgsch 65145f210c2aSfgsch * configure.in: For all i386 targets, accept i486 as well. 65155f210c2aSfgsch 65165f210c2aSfgschMon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com) 65175f210c2aSfgsch 65185f210c2aSfgsch * ldlang.c (wild_doit): Preserve all flags for a 65195f210c2aSfgsch SEC_SHARED_LIBRARY section. 65205f210c2aSfgsch (size_input_section): Consider any SEC_HAS_CONTENTS section when 65215f210c2aSfgsch computing largest_section. 65225f210c2aSfgsch 65235f210c2aSfgschFri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com) 65245f210c2aSfgsch 65255f210c2aSfgsch * ldlang.c (lang_output_section_statement_lookup): Initialize all 65265f210c2aSfgsch fields of newly created structure. 65275f210c2aSfgsch 65285f210c2aSfgschWed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com) 65295f210c2aSfgsch 65305f210c2aSfgsch * ldmain.c (g_switch_value): New variable. 65315f210c2aSfgsch * ldgram.y (OPTION_G, OPTION_Gval): New tokens. 65325f210c2aSfgsch (command_line_option): Accept -G and set g_switch_value. 65335f210c2aSfgsch * ldlex.l (COMMAND): Accept -G. 65345f210c2aSfgsch * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. 65355f210c2aSfgsch 65365f210c2aSfgschTue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) 65375f210c2aSfgsch 65385f210c2aSfgsch Support for linking and loading at different places: 65395f210c2aSfgsch 65405f210c2aSfgsch * ldlex.l: Add "AT" keyword. 65415f210c2aSfgsch * ldgram.y: Cleanup, and parse AT. 65425f210c2aSfgsch * ldlang.c (print_output_section_statement): Print output address 65435f210c2aSfgsch of section in map. (lang_size_sections): Fill sections' lma with 65445f210c2aSfgsch load address. 65455f210c2aSfgsch * ldlang.h (lang_output_section_statement_type): Add load_base 65465f210c2aSfgsch information. 65475f210c2aSfgsch 65485f210c2aSfgsch * ldindr.c (add_indirect): Keep more information in the alias 65495f210c2aSfgsch symbol chain. 65505f210c2aSfgsch * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section 65515f210c2aSfgsch attribute from an input section. 65525f210c2aSfgsch * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by 65535f210c2aSfgsch default. (Q_enter_file_symbos): Indirect symbols now are known by 65545f210c2aSfgsch their section, not a special symbol flag. 65555f210c2aSfgsch * ldsym.c (write_file_locals): Indirect symbols aren't local. 65565f210c2aSfgsch (write_file_globals): Write the mapping for an indirect symbol. 65575f210c2aSfgsch * relax.c (build_it): When forced to write a NEVER_LOAD section, 65585f210c2aSfgsch fill it with zeros. 65595f210c2aSfgsch 65605f210c2aSfgschTue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) 65615f210c2aSfgsch 65625f210c2aSfgsch * ld.texinfo: changes for q1 65635f210c2aSfgsch 65645f210c2aSfgschTue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 65655f210c2aSfgsch 65665f210c2aSfgsch * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck 65675f210c2aSfgsch 65685f210c2aSfgschMon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 65695f210c2aSfgsch 65705f210c2aSfgsch * Makefile.in: rename HOST_CC to CC_FOR_BUILD 65715f210c2aSfgsch 65725f210c2aSfgschThu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com) 65735f210c2aSfgsch 65745f210c2aSfgsch * mips.sc-sh: Added variables which may be overridden by a 65755f210c2aSfgsch specific emulation. 6576d2201f2fSdrahn * emulparams/mipsidt.sh: New file; emulation for IDT MIPS board. 65775f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. 65785f210c2aSfgsch (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. 65795f210c2aSfgsch * config/mips-idt.mt: New file; sets EMUL to mipsidt. 65805f210c2aSfgsch * configure.in (mips-idt-ecoff): New target; uses mips-idt. 65815f210c2aSfgsch 65825f210c2aSfgschSat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) 65835f210c2aSfgsch 6584d2201f2fSdrahn * aout-mipsbsd.sc-sh, emulparams/mipsbsd.sh: New files from Ralph 6585d2201f2fSdrahn Campbell, ralphc@pyramid.com. 6586d2201f2fSdrahn * emulparams/i386bsd.sh, config/i386bsd.mt: New files. 65875f210c2aSfgsch * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. 65885f210c2aSfgsch 65895f210c2aSfgschThu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com) 65905f210c2aSfgsch 65915f210c2aSfgsch * mri.c: Add extern declaration of strdup. 65925f210c2aSfgsch * ldsym.c (KEEP macro): Add spaces around '=' for the 65935f210c2aSfgsch sake of old (e.g. PCC) compilers. 65945f210c2aSfgsch 65955f210c2aSfgschWed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com) 65965f210c2aSfgsch 65975f210c2aSfgsch * ldver.c: Bump to version 2.1. 65985f210c2aSfgsch 65995f210c2aSfgschFri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com) 66005f210c2aSfgsch 66015f210c2aSfgsch * ldgram.y: allow section types without address expressions. 66025f210c2aSfgsch * ldlang.c (lang_relocate_globals): avoid possible hang with 66035f210c2aSfgsch undefined but unreferenced symbols. 66045f210c2aSfgsch * relax.c (relax_section): don't complain if the script file isn't 66055f210c2aSfgsch relaxable but -relax is set 66065f210c2aSfgsch 66075f210c2aSfgschThu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 66085f210c2aSfgsch 66095f210c2aSfgsch * configure.in: go32 is the 3rd part of the triple, not the 2nd 66105f210c2aSfgsch 66115f210c2aSfgschWed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com) 66125f210c2aSfgsch 6613d2201f2fSdrahn * emulparams/mipsbig.sh: New file. Big endian MIPS emulation. 66145f210c2aSfgsch * config/mips-big.mt: New file. Use mipsbig emulation. 66155f210c2aSfgsch * configure.in (mips-sgi-irix*): Use target mips-big. 66165f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. 66175f210c2aSfgsch (em_mipsbig.c): New target. Uses mipsbig.sh. 66185f210c2aSfgsch 66195f210c2aSfgschTue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) 66205f210c2aSfgsch 66215f210c2aSfgsch * mips.sc-sh: Put .scommon sections into .sbss section. 66225f210c2aSfgsch 66235f210c2aSfgsch * ldmain.c (subfile_wanted_p): Preserve section of common symbols, 66245f210c2aSfgsch rather than always putting them in bfd_com_section. 66255f210c2aSfgsch * ldlang.c (lang_common): If a common symbol is not in 66265f210c2aSfgsch bfd_com_section, put in a section of the same name, rather than 66275f210c2aSfgsch always putting it in section COMMON. 66285f210c2aSfgsch 66295f210c2aSfgschFri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com) 66305f210c2aSfgsch 66315f210c2aSfgsch * ldmain.c (subfile_wanted_p): If we already have a common 66325f210c2aSfgsch definition of a symbol, don't necessarily pull in an object file 66335f210c2aSfgsch that provides a non-common definition. 66345f210c2aSfgsch 66355f210c2aSfgsch * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, 66365f210c2aSfgsch returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS 66375f210c2aSfgsch linker. 66385f210c2aSfgsch * ldgram.y (OPTION_EB, OPTION_EL): New tokens. 66395f210c2aSfgsch (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. 66405f210c2aSfgsch 66415f210c2aSfgschThu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com) 66425f210c2aSfgsch 66435f210c2aSfgsch * Makefile.in (install): Remove $(tooldir)/bin/gld before creating 66445f210c2aSfgsch the link to it. 66455f210c2aSfgsch 66465f210c2aSfgschTue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com) 66475f210c2aSfgsch 66485f210c2aSfgsch * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than 66495f210c2aSfgsch checking for equality to bfd_com_section. 66505f210c2aSfgsch 66515f210c2aSfgschFri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com) 66525f210c2aSfgsch 66535f210c2aSfgsch * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF 66545f210c2aSfgsch targets, linker script. 6655d2201f2fSdrahn * emulparams/mipslit.sh: New file. Little endian MIPS emulation. 66565f210c2aSfgsch * config/mips-lit.mt: New file. Use mipslit emulation. 66575f210c2aSfgsch * configure.in (mips-dec-ultrix*): Use target mips-lit. 66585f210c2aSfgsch * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. 66595f210c2aSfgsch (em_mipslit.c): New target. Uses mipslit.sh. 66605f210c2aSfgsch 66615f210c2aSfgschThu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com) 66625f210c2aSfgsch 66635f210c2aSfgsch * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and 66645f210c2aSfgsch $(tooldir)/bin/gld, so that gcc can find it with or without 66655f210c2aSfgsch collect2. 66665f210c2aSfgsch 66675f210c2aSfgschMon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) 66685f210c2aSfgsch 66695f210c2aSfgsch * ldwrite.c: Removed perform_relocation, copy_and_relocate, and 66705f210c2aSfgsch write_norel. All linking is now done via write_relax. Call 66715f210c2aSfgsch ldsym_write before calling write_relax. 66725f210c2aSfgsch * relax.c: Added copyright. 66735f210c2aSfgsch (write_relax): Renamed from write_relaxnorel. Added relocateable 66745f210c2aSfgsch argument. seclet_dump renamed to bfd_seclet_link. 66755f210c2aSfgsch * relax.h: Added copyright. 66765f210c2aSfgsch 66775f210c2aSfgschMon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) 66785f210c2aSfgsch 66795f210c2aSfgsch * ldmain.c (decode_library_subfile): Patch from 66805f210c2aSfgsch hoogen@shafer.cs.utah.edu, don't reread library symbol tables. 66815f210c2aSfgsch 66825f210c2aSfgschFri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 66835f210c2aSfgsch 66845f210c2aSfgsch * config/vxworks960.mt renamed to config/i960.mt 66855f210c2aSfgsch 66865f210c2aSfgsch * configure.in: sparc-aout emulates a sun4, as does 66875f210c2aSfgsch sparc*-vxworks, i960-nindy uses gld960 emulation 66885f210c2aSfgsch 66895f210c2aSfgschFri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) 66905f210c2aSfgsch 66915f210c2aSfgsch Fix support for NOLOAD, add INCLUDE 66925f210c2aSfgsch * ldfile.c (ldfile_open_command_file): pass file name to 66935f210c2aSfgsch lex_push_file. 66945f210c2aSfgsch * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD 66955f210c2aSfgsch * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD 66965f210c2aSfgsch attribute. 66975f210c2aSfgsch 66985f210c2aSfgschThu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 66995f210c2aSfgsch 67005f210c2aSfgsch * Makefile.in, config.h: no more default emulation. Make the lack 67015f210c2aSfgsch of emulation a compile time error 67025f210c2aSfgsch 67035f210c2aSfgschWed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 67045f210c2aSfgsch 67055f210c2aSfgsch * configure.in: recognise all sparclite variants, not just 'sparclite' 67065f210c2aSfgsch 67075f210c2aSfgschMon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com) 67085f210c2aSfgsch 6709d2201f2fSdrahn * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: define _end as 6710d2201f2fSdrahn well as end, for consistency with aout.sc-sh. 67115f210c2aSfgsch 67125f210c2aSfgsch * configure.in: accept *-ericsson-ose for any m68k CPU. 67135f210c2aSfgsch 67145f210c2aSfgsch * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag 67155f210c2aSfgsch for each output section. 67165f210c2aSfgsch 67175f210c2aSfgschMon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com) 67185f210c2aSfgsch 67195f210c2aSfgsch * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new 67205f210c2aSfgsch macro bfd_asymbol_bfd as appropriate. 67215f210c2aSfgsch * Makefile.in: Un-duplicate ldlex.c dependency. 6722d2201f2fSdrahn * configure.in: Replace my_host case table by sourcing 67235f210c2aSfgsch ../bfd/configure.host. Allow std-host as the default. 67245f210c2aSfgsch * ldmisc.c: Change logic for C++ name demangling: There is 67255f210c2aSfgsch no initial '_' to remove from stab-derived function names. 67265f210c2aSfgsch 67275f210c2aSfgschSun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) 67285f210c2aSfgsch 67295f210c2aSfgsch * ldlang.c (lang_init_script_file): don't attach the output file 67305f210c2aSfgsch sections to the script file. 67315f210c2aSfgsch 67325f210c2aSfgschWed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com) 67335f210c2aSfgsch * ldlang.c (wild): run expansion loop over command line bfd too. 67345f210c2aSfgsch (lang_ini_script_file): initialize more parts of the command line 67355f210c2aSfgsch bfd. 67365f210c2aSfgsch * ldlex.l: fix DEFINED start states. 67375f210c2aSfgsch 67385f210c2aSfgschMon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) 67395f210c2aSfgsch -y support 67405f210c2aSfgsch * ld.texinfo: new doc. 67415f210c2aSfgsch * ldgram.y, ldlex.l: understand -y<symbol> 67425f210c2aSfgsch * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and 67435f210c2aSfgsch print info. (add_ysym): new function. 67445f210c2aSfgsch * ldsym.h: (ldsym_type): new define SYM_Y. 67455f210c2aSfgsch 67465f210c2aSfgschSat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com) 67475f210c2aSfgsch 67485f210c2aSfgsch * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, 67495f210c2aSfgsch ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, 67505f210c2aSfgsch ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue 67515f210c2aSfgsch macros with PARAMS. Recreational cleanup. Update copyrights. 67525f210c2aSfgsch 67535f210c2aSfgschTue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 67545f210c2aSfgsch 67555f210c2aSfgsch * Makefile.in: pass down the bfd source directory for includes 67565f210c2aSfgsch 67575f210c2aSfgschThu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com) 67585f210c2aSfgsch 67595f210c2aSfgsch * ldlang.c (lang_size_sections): don't change size and address for 67605f210c2aSfgsch SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD 67615f210c2aSfgsch sections. 67625f210c2aSfgsch 67635f210c2aSfgschThu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com) 67645f210c2aSfgsch 67655f210c2aSfgsch * relax.c (build_it): re-enable the processing of data_statements 67665f210c2aSfgsch in scripts, makes counted contructor lists work again. 67675f210c2aSfgsch 67685f210c2aSfgschThu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com) 67695f210c2aSfgsch 67705f210c2aSfgsch * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). 67715f210c2aSfgsch 67725f210c2aSfgschTue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com) 67735f210c2aSfgsch 6774d2201f2fSdrahn * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: don't use 6775d2201f2fSdrahn initial underscores for etext, edata and end. 67765f210c2aSfgsch 67775f210c2aSfgschMon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com) 67785f210c2aSfgsch 67795f210c2aSfgsch * Support for i386-sysv. 67805f210c2aSfgsch configure.in: check for i386-*-sysv* and i386-*-sco*. 67815f210c2aSfgsch i386coff.sc-sh: rewrote to support SVR3 by default. 67825f210c2aSfgsch ldctor.c (find_constructors): preserve stat_ptr. 67835f210c2aSfgsch ldlang.c (wild_doit): initialize vma and size of new output 67845f210c2aSfgsch section to corresponding input section. This is required for 67855f210c2aSfgsch shared library support. 67865f210c2aSfgsch (lang_size_sections): don't modify vma and size of sections which 67875f210c2aSfgsch are never loaded (for shared libraries). 67885f210c2aSfgsch ldwrite.c (copy_and_relocate): copy the contents of any section 67895f210c2aSfgsch which has contents, not just sections which are loaded (for shared 67905f210c2aSfgsch libraries). 67915f210c2aSfgsch 67925f210c2aSfgschThu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) 67935f210c2aSfgsch 67945f210c2aSfgsch * ldlang.c (size_input_section): count the sizes of all sections 67955f210c2aSfgsch we allocate. 67965f210c2aSfgsch 67975f210c2aSfgschThu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com) 67985f210c2aSfgsch 67995f210c2aSfgsch * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to 68005f210c2aSfgsch to demangle symbols better 68015f210c2aSfgsch 68025f210c2aSfgschTue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com) 68035f210c2aSfgsch 68045f210c2aSfgsch * ldlang.c (lang_finish): don't warn if -e start symbol does not 68055f210c2aSfgsch exist when linking with -r. 68065f210c2aSfgsch 68075f210c2aSfgschMon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) 68085f210c2aSfgsch 6809d2201f2fSdrahn * scripttempl/aout.sc, emulparams/aout.sh, 6810d2201f2fSdrahn scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: set __bss_start 6811d2201f2fSdrahn to the start of the .bss segment. 68125f210c2aSfgsch 68135f210c2aSfgschMon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com) 68145f210c2aSfgsch 68155f210c2aSfgsch * ldmain.c (linear_library): don't even think about processing 68165f210c2aSfgsch an object file if it's already been done 68175f210c2aSfgsch 68185f210c2aSfgschThu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 68195f210c2aSfgsch 68205f210c2aSfgsch * configure.in: the hp9000/300 config file is now hp300 68215f210c2aSfgsch 68225f210c2aSfgschWed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com) 68235f210c2aSfgsch 68245f210c2aSfgsch * config/z8ksim.mt: new file 68255f210c2aSfgsch 68265f210c2aSfgschFri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) 68275f210c2aSfgsch 68285f210c2aSfgsch * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, 68295f210c2aSfgsch lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. 68305f210c2aSfgsch 68315f210c2aSfgsch * ld.h (strip_symbols_type): Add value STRIP_SOME. 68325f210c2aSfgsch * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. 68335f210c2aSfgsch * ldlang.c (lang_add_keepsyms_file): New function. 68345f210c2aSfgsch * ldlex.l: Handle "-retain-symbols-file". 68355f210c2aSfgsch * ldsym.c (keepsyms_file, kept_syms): New vars. 68365f210c2aSfgsch (process_keepsyms): New functihon; reads file, marks symbols for 68375f210c2aSfgsch saving. 68385f210c2aSfgsch (write_file_locals): File symbols should always be kept. 68395f210c2aSfgsch (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" 68405f210c2aSfgsch and "-s". Process retain-symbols file before setting symtab. 68415f210c2aSfgsch * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. 68425f210c2aSfgsch (keepsyms_file, kept_syms): Declare them. 68435f210c2aSfgsch 68445f210c2aSfgsch * ldmain.c (main): Non-fatal errors should still cause non-zero 68455f210c2aSfgsch exit status even with -r. 68465f210c2aSfgsch 68475f210c2aSfgschFri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) 68485f210c2aSfgsch 68495f210c2aSfgsch Added initial support for the z8k 6850d2201f2fSdrahn * emultempl/z8ksim.em, z8ksim.sc-sh, emulparams/z8ksim.sh: new 6851d2201f2fSdrahn files. 68525f210c2aSfgsch * configure.in, Makefile.in: modified to reflect above 68535f210c2aSfgsch 68545f210c2aSfgsch * ldlang.c (lang_check): when linking conflicting architectures, 68555f210c2aSfgsch make the output file reflect at least one of the bad inputs. 68565f210c2aSfgsch 68575f210c2aSfgschTue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) 68585f210c2aSfgsch 68595f210c2aSfgsch * Makefile.in (install): if $(tooldir) exists, install ld in 68605f210c2aSfgsch $(tooldir)/bin. 68615f210c2aSfgsch 68625f210c2aSfgschFri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) 68635f210c2aSfgsch 68645f210c2aSfgsch * Makefile.in, configure.in: modified to support i386-coff 68655f210c2aSfgsch * i386coff.sh: new file 68665f210c2aSfgsch 68675f210c2aSfgschWed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com) 68685f210c2aSfgsch 6869d2201f2fSdrahn * Makefile.in, emulparams/m68kcoff.sh, scripttempl/m68kcoff.sc, 6870d2201f2fSdrahn emulparmas/m68kcoff.sh, config/m68k-coff.mt: added m68k-coff 6871d2201f2fSdrahn emulation mode, stolen from a29k emulation. Almost certainly 6872d2201f2fSdrahn wrong, but perhaps better than sun3. 68735f210c2aSfgsch 68745f210c2aSfgschThu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com) 68755f210c2aSfgsch 6876d2201f2fSdrahn * Makefile.in, Makefile.dos, emultempl/generic.em, genscripts.sh, 6877d2201f2fSdrahn emultempl/gld960.em, emultempl/h8300hms.em, 6878d2201f2fSdrahn emultempl/h8300xray.em, emultempl/lnk960.em, emultempl/st2000.em, 6879d2201f2fSdrahn emultempl/vanilla.em: Rename all (generated) ld__*.c files to 6880d2201f2fSdrahn em_.c. This is one character shorter, and lets people build on 68815f210c2aSfgsch SVR3 system. (ld__h8300xray.[co] was the killer there; 68825f210c2aSfgsch h8300xray.sc-sh is also overlong, but seems harmless.) 68835f210c2aSfgsch Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. 68845f210c2aSfgsch * Makefile.in (clean): Fix typo mostclean -> mostlyclean. 68855f210c2aSfgsch * configure.in: Add host isc. 68865f210c2aSfgsch 68875f210c2aSfgsch * ldver.c: Call it version 2.0. 68885f210c2aSfgsch 68895f210c2aSfgschWed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com) 68905f210c2aSfgsch 68915f210c2aSfgsch * ldver.c: Bump to version 0.98. 68925f210c2aSfgsch * TODO: New file. 68935f210c2aSfgsch 68945f210c2aSfgsch * Makefile.in: Added mostlyclean, distclean, realclean rules. 68955f210c2aSfgsch 68965f210c2aSfgschTue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com) 68975f210c2aSfgsch 68985f210c2aSfgsch * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). 68995f210c2aSfgsch * ldlex.l: Moved comment() to end, since some compilers 69005f210c2aSfgsch otherwise have problems with input() used before it is defined. 69015f210c2aSfgsch 69025f210c2aSfgschTue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 69035f210c2aSfgsch 69045f210c2aSfgsch * configure.in: added Solaris 2 and Irix 4 host support. 69055f210c2aSfgsch 69065f210c2aSfgschMon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 69075f210c2aSfgsch 69085f210c2aSfgsch * Makefile.in: remove -S flag from the FLEX definition 69095f210c2aSfgsch 69105f210c2aSfgsch * configure.in: rewrote, using new style case statement. use 69115f210c2aSfgsch m68k.mt for m68k-aout systems 69125f210c2aSfgsch 69135f210c2aSfgschSun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com) 69145f210c2aSfgsch 69155f210c2aSfgsch * Makefile.in: map "ld" through program_transform_name when 69165f210c2aSfgsch installing. 69175f210c2aSfgsch 69185f210c2aSfgschSun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com) 69195f210c2aSfgsch 69205f210c2aSfgsch * cplus-dem.c: Removed. Use the version in libiberty now. 69215f210c2aSfgsch * ldmisc.c: Use new libiberty version of cplus_demangle(). 69225f210c2aSfgsch 69235f210c2aSfgschThu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com) 69245f210c2aSfgsch 6925d2201f2fSdrahn * emultempl/gld960.em (gld960_choose_target): default to little 6926d2201f2fSdrahn endian, not big endian. 69275f210c2aSfgsch 69285f210c2aSfgschWed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) 69295f210c2aSfgsch 69305f210c2aSfgsch * ldlang.c (lang_process): don't pass null pointers when 69315f210c2aSfgsch abs_output_section is what is required. 69325f210c2aSfgsch * ldwrite.c (ldwrite): use malloc to allocate the largest space 69335f210c2aSfgsch used, and pass that down. 69345f210c2aSfgsch * relax.c, relax.h (write_relaxnorel): use the passed malloc area rather 69355f210c2aSfgsch than alloca. 69365f210c2aSfgsch 69375f210c2aSfgschMon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com) 69385f210c2aSfgsch 69395f210c2aSfgsch * configure.in, config/ose68.mt: renamed OSE to ose. 69405f210c2aSfgsch 69415f210c2aSfgschThu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com) 69425f210c2aSfgsch 69435f210c2aSfgsch * ldsym.c (write_file_locals): Reorder check for common or 69445f210c2aSfgsch undefined symbols so that it works. 69455f210c2aSfgsch 69465f210c2aSfgschTue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) 69475f210c2aSfgsch 69485f210c2aSfgsch * configure.in: accept all m68K family members. 69495f210c2aSfgsch 69505f210c2aSfgsch * Makefile.in: always create installation directories. 69515f210c2aSfgsch 69525f210c2aSfgschThu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) 69535f210c2aSfgsch 69545f210c2aSfgsch * ldlex.l: now parses comment correctly, added ~ to acceptable 69555f210c2aSfgsch chars in filenames 69565f210c2aSfgsch 69575f210c2aSfgsch * ldexp.c (exp_unop): pass down abs_output_section - now can have 69585f210c2aSfgsch unary -ve constants. 69595f210c2aSfgsch 69605f210c2aSfgsch * ldlang.c (lang_finish): warn when an entry symbol supplied on 69615f210c2aSfgsch the command line can't be found. 69625f210c2aSfgsch 69635f210c2aSfgschFri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) 69645f210c2aSfgsch 69655f210c2aSfgsch * ldlang.h: add new field "loadable" to output_section_statement. 69665f210c2aSfgsch * ldlang.c (lang_output_section_statement_lookup): initilize new 69675f210c2aSfgsch field. (wild_doit): if new field is not set, then stop output 69685f210c2aSfgsch section from being loadable. 69695f210c2aSfgsch (lang_enter_output_section_statement): set the field from the 69705f210c2aSfgsch NOLOAD keyword 69715f210c2aSfgsch * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. 6972d2201f2fSdrahn * scripttempl/h8300hms.sc, emulparams/h8300.sh, 6973d2201f2fSdrahn emultempl/h8300hms.em: get -r right. 69745f210c2aSfgsch 69755f210c2aSfgschThu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com) 69765f210c2aSfgsch 69775f210c2aSfgsch * ldint.texinfo: New internals manual (beginnings thereof). 69785f210c2aSfgsch * PORTING: Removed, merged into ldint.texinfo. 69795f210c2aSfgsch 69805f210c2aSfgschTue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com) 69815f210c2aSfgsch 6982d2201f2fSdrahn * testsuite/ld-cdtest/cdtest-main.cc, 6983d2201f2fSdrahn testsuite/ld-cdtest/cdtest-func.cc, 6984d2201f2fSdrahn testsuite/ld-cdtest/cdtest-foo.h, 6985d2201f2fSdrahn testsuite/ld-cdtest/cdtest-foo.cc, 6986d2201f2fSdrahn testsuite/ld-cdtest/cdtest.exp: A test program (copied from 6987d2201f2fSdrahn libg++/test-install) that tests that constructor and destructors 6988d2201f2fSdrahn are handled corrrectly. 69895f210c2aSfgsch 69905f210c2aSfgschMon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 69915f210c2aSfgsch 69925f210c2aSfgsch * Makefile.in (install): install from ld.new, renaming during the 69935f210c2aSfgsch copy, or else the next 'make install' needs to re-link ld. 69945f210c2aSfgsch 69955f210c2aSfgschMon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com) 69965f210c2aSfgsch 69975f210c2aSfgsch * configure.in: generalise hp recognition (from sef). 69985f210c2aSfgsch 69995f210c2aSfgschSat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 70005f210c2aSfgsch 70015f210c2aSfgsch * configure.in: recognize bsd and hpux hppa configurations. 70025f210c2aSfgsch error messages echo to stderr, not stdout 70035f210c2aSfgsch 70045f210c2aSfgschFri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com) 70055f210c2aSfgsch 70065f210c2aSfgsch * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, 70075f210c2aSfgsch ldmisc.c: removed rcsid's. 70085f210c2aSfgsch 70095f210c2aSfgschTue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70105f210c2aSfgsch 70115f210c2aSfgsch * ldlang.c (lang_map): print changes in sizes due to relaxing 70125f210c2aSfgsch (size_input_section): maintain the delta information. 70135f210c2aSfgsch * ldlang.h: add new field to struct to contain delta info. 70145f210c2aSfgsch * relax.c (relax_section): complain if input not relaxable. 70155f210c2aSfgsch * ldlex.l : add '_', ',' and '$' to chars which can appear at the 70165f210c2aSfgsch start of a filename 70175f210c2aSfgsch 70185f210c2aSfgschMon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70195f210c2aSfgsch 70205f210c2aSfgsch * ldmain.c(main): prevent -r and -relax from being on at the same 70215f210c2aSfgsch time. 70225f210c2aSfgsch 70235f210c2aSfgschWed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70245f210c2aSfgsch 70255f210c2aSfgsch * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for 70265f210c2aSfgsch aliasing problems 70275f210c2aSfgsch 70285f210c2aSfgsch 70295f210c2aSfgschThu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70305f210c2aSfgsch 7031d2201f2fSdrahn * emultempl/h8300hms.em, scripttempl/h8300hms.sc, 7032d2201f2fSdrahn emulparams/h83000.sh: do the right thing for -r 70335f210c2aSfgsch * ldexp.c: lint 70345f210c2aSfgsch * ldlang.c(open_output): set the target arch and machine as soon 70355f210c2aSfgsch as we can. (lang_size_sections): use new macros for setting vma 70365f210c2aSfgsch * ldwrite.c: lint 70375f210c2aSfgsch 70385f210c2aSfgschMon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com) 70395f210c2aSfgsch 70405f210c2aSfgsch * configure.in (my_target): Accept m680?0 for wrs as vxworks68. 70415f210c2aSfgsch Also deleted an unreachable path to wrs. 70425f210c2aSfgsch 70435f210c2aSfgschWed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com) 70445f210c2aSfgsch 70455f210c2aSfgsch * Makefile.in (install): use -d test for $tooldir before 70465f210c2aSfgsch installing ld there so that $tooldir can be inherited from 70475f210c2aSfgsch top-level Makefile. 70485f210c2aSfgsch 70495f210c2aSfgschWed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com) 70505f210c2aSfgsch 70515f210c2aSfgsch * ldlang.c: Two non-substantial changes for the sake of 70525f210c2aSfgsch the old Portable C Compiler. 70535f210c2aSfgsch 70545f210c2aSfgschWed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70555f210c2aSfgsch 70565f210c2aSfgsch * ldgram.y, ldlex.l: parse ABSOLUTE 70575f210c2aSfgsch * ldexp.c: add support for ABSOLUTE 70585f210c2aSfgsch 70595f210c2aSfgschWed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com) 70605f210c2aSfgsch 70615f210c2aSfgsch * Makefile.in: Added default definitions for HOSTING_CRT0, 70625f210c2aSfgsch HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. 70635f210c2aSfgsch * config/*.mh: Miscellaneous clean-up: Removed definitions 70645f210c2aSfgsch of YACC (since it is not longer used in the Makefile). 70655f210c2aSfgsch Remove HOSTING_* definitions that are subsumed by the 70665f210c2aSfgsch ones added to Makefile.in. Removed most definitions of CC. 70675f210c2aSfgsch * config/{sparc,news,hp300bsd,decstation}.mh: Removed; 70685f210c2aSfgsch These are no longer needed. 70695f210c2aSfgsch 70705f210c2aSfgschFri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com) 70715f210c2aSfgsch 70725f210c2aSfgsch * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex 70735f210c2aSfgsch rules, since these are used when building a distribution. 70745f210c2aSfgsch * Makefile.in (ldlex.c): Don't re-direct output, since that 70755f210c2aSfgsch leaves a bogus output files if it fails. 70765f210c2aSfgsch 70775f210c2aSfgsch * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. 70785f210c2aSfgsch * ldlex.c: Fix some unnecessary flex-specific-isms. 70795f210c2aSfgsch 70805f210c2aSfgschFri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70815f210c2aSfgsch 70825f210c2aSfgsch * ldgram.y: move spurious semicolon 70835f210c2aSfgsch * ldexp.h: fix prototype 70845f210c2aSfgsch 70855f210c2aSfgschThu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) 70865f210c2aSfgsch 70875f210c2aSfgsch * ld.texinfo: references to linker now say "ld" not "gld". 70885f210c2aSfgsch 70895f210c2aSfgschWed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) 70905f210c2aSfgsch 70915f210c2aSfgsch changed calling convention for Q_enter_global_ref 70925f210c2aSfgsch * ldexp.c, ldlang.c, ldmain.c: reflect this 70935f210c2aSfgsch * ldver.c: bump version to 1.97.1 70945f210c2aSfgsch * ldindr.c (add_indirect): when an edict declaring an indirect 70955f210c2aSfgsch symbol is found, make sure that any ideas about the symbol being 70965f210c2aSfgsch common are changed if it now known to be defined. 70975f210c2aSfgsch * ldmain.c (linear_library): complain once if archive isn't 70985f210c2aSfgsch ranlibbed. 70995f210c2aSfgsch * ldlang.h, ldlang.c: make room for and initialize the complain 71005f210c2aSfgsch once field. 71015f210c2aSfgsch 71025f210c2aSfgschWed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com) 71035f210c2aSfgsch 71045f210c2aSfgsch * Makefile.in: use flex & bison from ../ if they exist. 71055f210c2aSfgsch 71065f210c2aSfgschTue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71075f210c2aSfgsch 71085f210c2aSfgsch * relax.c (build_it): don't allocate space in the output file for 71095f210c2aSfgsch stuff if -R flag applys to it. 71105f210c2aSfgsch * ldfile.c: merge in VMS filename support 71115f210c2aSfgsch * ldmain.c (main): take out ./ from library path, and close file 71125f210c2aSfgsch before unlinking. Make multiple defs of a symbol create an 71135f210c2aSfgsch unexecable file. 71145f210c2aSfgsch * ldmisc.c: fatal errosrs delete output file 71155f210c2aSfgsch 71165f210c2aSfgschTue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com) 71175f210c2aSfgsch 71185f210c2aSfgsch * ldver.c: Increase version number to 1.97, for consistency 71195f210c2aSfgsch with ../binutils. 71205f210c2aSfgsch 71215f210c2aSfgschTue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com) 71225f210c2aSfgsch 71235f210c2aSfgsch * Makefile.in: FLEX -> LEX. 71245f210c2aSfgsch 71255f210c2aSfgsch * ld.texinfo: {} -> @{@}. 71265f210c2aSfgsch 71275f210c2aSfgschMon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) 71285f210c2aSfgsch 71295f210c2aSfgsch * ld.texinfo: describe alternate, MRI-compatible linker scripts 71305f210c2aSfgsch (and associated change in -c option, now used for these scripts) 71315f210c2aSfgsch 71325f210c2aSfgschMon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71335f210c2aSfgsch 71345f210c2aSfgsch * ldver.c: Bumped version to 1.96 - new release, resync with the 71355f210c2aSfgsch bfd too #. 71365f210c2aSfgsch * ldexp.c, ldlang.c: now build memory shape tree in obstacks 71375f210c2aSfgsch rather than with raw malloc, makes it easier to track where memory 71385f210c2aSfgsch is going. 71395f210c2aSfgsch * ldsym.h, ldsym.c: create obstack for all global symbols too. 71405f210c2aSfgsch * ldwrite.c (ldwrite): moved malloc so only used when needed. 71415f210c2aSfgsch * sa29200-sc.sh: added support for .lit, data1 and data2 sections. 71425f210c2aSfgsch 71435f210c2aSfgsch 71445f210c2aSfgschFri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com) 71455f210c2aSfgsch 71465f210c2aSfgsch * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. 71475f210c2aSfgsch 71485f210c2aSfgsch * Makefile.in: use bootstrap for check. 71495f210c2aSfgsch 71505f210c2aSfgschFri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71515f210c2aSfgsch 71525f210c2aSfgsch * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and 71535f210c2aSfgsch PUBLIC. 71545f210c2aSfgsch * Makefile.in: now use flex, not lex 71555f210c2aSfgsch * ldlex.l, ldlang.c, ldctor.c: lint 71565f210c2aSfgsch 71575f210c2aSfgschWed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71585f210c2aSfgsch 71595f210c2aSfgsch * ldlex.l: added CMDFILENAMECHAR state so that you can lex 71605f210c2aSfgsch different sorts of filenames on the command line than in a script. 71615f210c2aSfgsch 71625f210c2aSfgschMon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com) 71635f210c2aSfgsch 71645f210c2aSfgsch * Makefile.in: rework CFLAGS so that they can be passed on the 71655f210c2aSfgsch make command line. Remove MINUS_G. Default CFLAGS to -g. 71665f210c2aSfgsch 71675f210c2aSfgschFri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71685f210c2aSfgsch 71695f210c2aSfgsch * relax.c: added handling for new "padding" seclet type, used to 71705f210c2aSfgsch fill out gaps between section. 71715f210c2aSfgsch * ldgram.y, ldlex.l: now -defsym on the command line is done 71725f210c2aSfgsch properly. 71735f210c2aSfgsch 71745f210c2aSfgschWed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com) 71755f210c2aSfgsch 71765f210c2aSfgsch * Makefile.in: the tooldir copy of ld goes directly in tooldir. 71775f210c2aSfgsch 71785f210c2aSfgschWed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71795f210c2aSfgsch 71805f210c2aSfgsch * mri.c, ldgram.y, ldlex.l: added support for minimal strange link 71815f210c2aSfgsch scripts. 71825f210c2aSfgsch 71835f210c2aSfgschThu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM) 71845f210c2aSfgsch 71855f210c2aSfgsch * Makefile.in (install): Install second copy in $(tooldir)/bin 71865f210c2aSfgsch without $(program_prefix), since that's what gcc expects. 71875f210c2aSfgsch 71885f210c2aSfgschSat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com) 71895f210c2aSfgsch 71905f210c2aSfgsch * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. 71915f210c2aSfgsch * h8300*: fix bit rot and add support for h8300xray target 7192d2201f2fSdrahn * emulparams/go32.sh: target emulation for go32. 71935f210c2aSfgsch 71945f210c2aSfgschMon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com) 71955f210c2aSfgsch 7196d2201f2fSdrahn * emultempl/gld960.em, scripttempl/i960.sc, 7197d2201f2fSdrahn emulparamns/i960.sh. Fix i960 bit rot 71985f210c2aSfgsch 71995f210c2aSfgschFri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com) 72005f210c2aSfgsch 72015f210c2aSfgsch * Makefile.in: install man page. 72025f210c2aSfgsch 72035f210c2aSfgschFri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com) 72045f210c2aSfgsch 72055f210c2aSfgsch * config/mt-<foo> renamed to <foo>.mt 72065f210c2aSfgsch * config/mh-<foo> renamed to <foo>.mt 72075f210c2aSfgsch * configure.in changed to reflect this 72085f210c2aSfgsch * genscripts.sh now make .xbn files rather than .xN files 72095f210c2aSfgsch 72105f210c2aSfgschSat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com) 72115f210c2aSfgsch 72125f210c2aSfgsch * ldver.h: fix decl of ldversion. 72135f210c2aSfgsch 72145f210c2aSfgschFri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com) 72155f210c2aSfgsch 72165f210c2aSfgsch * Makefile.in: added check target. 72175f210c2aSfgsch 72185f210c2aSfgschFri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) 72195f210c2aSfgsch 72205f210c2aSfgsch * ldmain.c (Q_enter_file_symbols): now aliases work again 72215f210c2aSfgsch 72225f210c2aSfgschThu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com) 72235f210c2aSfgsch 72245f210c2aSfgsch * Makefile.in: added clean-info target. 72255f210c2aSfgsch 72265f210c2aSfgschThu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) 72275f210c2aSfgsch 72285f210c2aSfgsch * ldexp.c (exp_print_tree): don't try and follow null pointers 72295f210c2aSfgsch around. 72305f210c2aSfgsch * ldgram.y: remove 11 shift reduce errors 72315f210c2aSfgsch 72325f210c2aSfgschTue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com) 72335f210c2aSfgsch 72345f210c2aSfgsch * Makefile.in: added tooldir and program_prefix. 72355f210c2aSfgsch 72365f210c2aSfgschFri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) 72375f210c2aSfgsch 72385f210c2aSfgsch * ldlang.c (size_input_section): don't move absolute sections 72395f210c2aSfgsch around! 72405f210c2aSfgsch 72415f210c2aSfgsch 72425f210c2aSfgschThu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) 72435f210c2aSfgsch 72445f210c2aSfgsch * cplus-dem.c: yet another copy of this - maybe it should go into 72455f210c2aSfgsch libiberty ? 72465f210c2aSfgsch * ldgram.y: now -V and -v have different actions 72475f210c2aSfgsch * ldver.c: if -V, prints list of emulations compiled in 72485f210c2aSfgsch * ldmisc.c: support for cplus demangling 72495f210c2aSfgsch 72505f210c2aSfgsch 72515f210c2aSfgschWed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) 72525f210c2aSfgsch 72535f210c2aSfgsch * Makefile.in, configure.in: removed traces of namesubdir, 72545f210c2aSfgsch -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced 72555f210c2aSfgsch copyrights to '92, changed some from Cygnus to FSF. 72565f210c2aSfgsch 72575f210c2aSfgschThu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) 72585f210c2aSfgsch 72595f210c2aSfgsch * Makefile.in: Change mkscript rule into one for ./mkscript 72605f210c2aSfgsch (for the sake of makes that don't realize they're the same). 72615f210c2aSfgsch * PORTING: Add more details. 72625f210c2aSfgsch * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. 72635f210c2aSfgsch 72645f210c2aSfgschMon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) 72655f210c2aSfgsch 72665f210c2aSfgsch * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, 72675f210c2aSfgsch config/mt-hp300bsd: New port to hp300 running BSD. 72685f210c2aSfgsch 72695f210c2aSfgschSat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) 72705f210c2aSfgsch 72715f210c2aSfgsch Major rewrite of how ld is configured. The major idea 72725f210c2aSfgsch is to use shell scripts to generate everything. 72735f210c2aSfgsch * generic.em replaces ldtemplate. 72745f210c2aSfgsch * Other *.em files replace various *.c files. 72755f210c2aSfgsch A *.em file is a shell script that generates the corresponding 72765f210c2aSfgsch ld__*.c file that implements an emulation. This is usually 72775f210c2aSfgsch a straight 'cat' of a here-document, possibly with substitutions. 72785f210c2aSfgsch * Script files (*.sc) are places by *.sc-sh scripts. 72795f210c2aSfgsch Again, these are simple shell scripts that 'cat' 72805f210c2aSfgsch here-documents, usually with some substitutions. 72815f210c2aSfgsch The output a *.sc-sh is a script file. 72825f210c2aSfgsch * Each emulation is defined by a short shell script with 72835f210c2aSfgsch extension *.sh that specifies the emulation-specific 72845f210c2aSfgsch parameters (such as the name of the *.sh-sc and *.em 72855f210c2aSfgsch files to use). 72865f210c2aSfgsch * genscript.sh is the master shell script used to generate 72875f210c2aSfgsch an emulation. It is passed various argument, including 72885f210c2aSfgsch the name a the emulation-speciic *.sh file that it 72895f210c2aSfgsch "sources" to set variables to emulation-specifc parameters. 72905f210c2aSfgsch * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME 72915f210c2aSfgsch to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) 72925f210c2aSfgsch * config/mh-foo: Rename LDEMULATION names as appropriate 72935f210c2aSfgsch (usually 'gldfoo' -> plain 'foo'). 72945f210c2aSfgsch * ldwrite.c: Fixed a typo in a comment. 72955f210c2aSfgsch * Makefile.in: Major changes. Removed some the sed 72965f210c2aSfgsch magic to converts scripts, since that is now handled 72975f210c2aSfgsch by genscripts.sh and the *.sc-sh scipt generators. 72985f210c2aSfgsch * config.h: Remove a bunch of macros defining emulations 72995f210c2aSfgsch and targets. This becomes one less file to edit when 73005f210c2aSfgsch adding emulations or targets. 73015f210c2aSfgsch * ldemul.h (struct ld_emulation_xfer_struct): Add 73025f210c2aSfgsch emulation_name and target_name fields. 73035f210c2aSfgsch * ldemul.c, ldemul.h: Define some default functions used 73045f210c2aSfgsch by most emulations (and remove from the *.em scripts). 73055f210c2aSfgsch * ldemul.c (ldemul_choose_target): Search the new 73065f210c2aSfgsch ld_emulations array using a loop (instead of a hardwired 73075f210c2aSfgsch nested if statement). 73085f210c2aSfgsch Define the ld_emulation from the automatically-geenrated 73095f210c2aSfgsch ldemul-list.h. This means you no longer have to edit ldemul.c 73105f210c2aSfgsch to add a new emulation. 73115f210c2aSfgsch * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by 73125f210c2aSfgsch their expansions, since the former no longer exist. 73135f210c2aSfgsch * PORTING: A very rough first draft of a porting guide. 73145f210c2aSfgsch 73155f210c2aSfgsch * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment 73165f210c2aSfgsch to be terminated by a new-line (instead of requiring a semicolon). 73175f210c2aSfgsch 73185f210c2aSfgschMon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) 73195f210c2aSfgsch 73205f210c2aSfgsch * ldexp.c, ldlang.c: added new idea "abs_output_section", removes 73215f210c2aSfgsch tests for NULL pointers all over the place. 73225f210c2aSfgsch * ldlang.c (lang_process): remember to relocate global symbols 73235f210c2aSfgsch *after* relaxing has done it stuff. 73245f210c2aSfgsch 73255f210c2aSfgschThu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) 73265f210c2aSfgsch 73275f210c2aSfgsch * config/mt-coff-h8300: use EMUL like everything else 73285f210c2aSfgsch * ldlang.c: (print_padding_statement): print the right address. 73295f210c2aSfgsch * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms 73305f210c2aSfgsch 73315f210c2aSfgsch 73325f210c2aSfgschTue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) 73335f210c2aSfgsch 73345f210c2aSfgsch * ldlex.l: Put pack -noinhibit-exec and -sort-common 73355f210c2aSfgsch * ldlang.c (print_data_statement): print the right address. 73365f210c2aSfgsch 73375f210c2aSfgschThu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) 73385f210c2aSfgsch 73395f210c2aSfgsch * Makefile.in: The rule for testing ld by re-linking itself 73405f210c2aSfgsch via an intermediate -r link was moved to the ld1 rule 73415f210c2aSfgsch instead of the ld2 rule. This allows ld2 and ld3 to be identical, 73425f210c2aSfgsch which allows the bootstrap rule to work. 73435f210c2aSfgsch * ldctor.c (find_constructors): Don't create a constructor 73445f210c2aSfgsch list if it is already defined (as would happen if ld is 73455f210c2aSfgsch invoked by collect). 73465f210c2aSfgsch 73475f210c2aSfgschWed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) 73485f210c2aSfgsch 73495f210c2aSfgsch * config/mh-sparc.h: now uses libgcc.a 73505f210c2aSfgsch * ldmain.c: quit using exit 73515f210c2aSfgsch * *sc: use *(COMMON) rather than [COMMON] 73525f210c2aSfgsch * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, 73535f210c2aSfgsch to allow preprocessing of .l file. 73545f210c2aSfgsch * Makefile.in: New ldlex.l mangling 73555f210c2aSfgsch * ldexp.c (fold_binary): perform expressions with % and / in 73565f210c2aSfgsch integer. 73575f210c2aSfgsch * ldfile.c (open_a): open archives on VMS in a special way 73585f210c2aSfgsch 73595f210c2aSfgsch 73605f210c2aSfgschTue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) 73615f210c2aSfgsch 73625f210c2aSfgsch * ldgram.y: map -M behave in the same way as -Map (sets file name 73635f210c2aSfgsch to be "-". 73645f210c2aSfgsch * ldsym.c, ldlang.c: remember that size of a section is dependent on 73655f210c2aSfgsch whether or not relaxing has been done. 73665f210c2aSfgsch * ldmain.c: don't open a map file if it doesn't have a name 73675f210c2aSfgsch * relax.c: all the brains have moved into bfd. 73685f210c2aSfgsch * ldwrite.c: ammend comment 73695f210c2aSfgsch 73705f210c2aSfgschFri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) 73715f210c2aSfgsch 73725f210c2aSfgsch * Makefile.in: added relax, also made three stage go through a 73735f210c2aSfgsch partial link stage. 73745f210c2aSfgsch * relax.c : added 73755f210c2aSfgsch * config.h: if GNU960 defined, then default emulation mode is 73765f210c2aSfgsch GLD960 73775f210c2aSfgsch * ldexp.h, ldexp.c: map to file hooks 73785f210c2aSfgsch * ldlang.c: map to file hooks 73795f210c2aSfgsch * ldgram.y: added -Map -relax 73805f210c2aSfgsch * ldlex.l: added -relax, -Map 73815f210c2aSfgsch * ldmain.c: open map file 73825f210c2aSfgsch * ldmisc.c: support for map file 73835f210c2aSfgsch * ldwrite.c: new relax magic 73845f210c2aSfgsch 73855f210c2aSfgschThu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) 73865f210c2aSfgsch 73875f210c2aSfgsch * Makefile.in, config/tm-*.h: Clean up make output, only 73885f210c2aSfgsch pass DEFAULT_EMULATION to ldmain.c. 73895f210c2aSfgsch 73905f210c2aSfgschWed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) 73915f210c2aSfgsch 73925f210c2aSfgsch * ldver.c: Bump to version 1.94. 73935f210c2aSfgsch 73945f210c2aSfgschTue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) 73955f210c2aSfgsch 73965f210c2aSfgsch * Makefile.in: infodir belongs in datadir. 73975f210c2aSfgsch 73985f210c2aSfgschMon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) 73995f210c2aSfgsch 74005f210c2aSfgsch * Makefile.in: Pass -y to bison. (Again; 74015f210c2aSfgsch accidentally deleted by Rich.) 7402d2201f2fSdrahn * scripttempl/news.sc, scripttempl/ldgld68k.sc: Define __end as 7403d2201f2fSdrahn well as _end. 74045f210c2aSfgsch 74055f210c2aSfgschSat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) 74065f210c2aSfgsch 74075f210c2aSfgsch * ldindr.h: added to contain prototypes of ldindr.c 74085f210c2aSfgsch * ldfile.c: include ctype.h 74095f210c2aSfgsch * ldmain.c: include the requried prototype headers 74105f210c2aSfgsch * ldwrite.c: get_reloc_upper_bound has been renamed 74115f210c2aSfgsch bfd_get_reloc_upper_bound 74125f210c2aSfgsch 74135f210c2aSfgschFri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) 74145f210c2aSfgsch 74155f210c2aSfgsch * Makefile.in: punt "fundamental" mode because it breaks my emacs 74165f210c2aSfgsch macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove 74175f210c2aSfgsch spaces following hyphens, bsd make can't cope. added 74185f210c2aSfgsch standards.text support and made it look like all the other 74195f210c2aSfgsch makefiles. 74205f210c2aSfgsch 74215f210c2aSfgsch * configure.in: configure now runs entirely in objdir so make file 74225f210c2aSfgsch existence checks against ${srcdir}. Mark this directory as 74235f210c2aSfgsch target dependent. 74245f210c2aSfgsch 74255f210c2aSfgschThu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) 74265f210c2aSfgsch 74275f210c2aSfgsch * Makefile.in: idestdir and ddestdir go away. Added copyrights 74285f210c2aSfgsch and shift gpl to v2. Added ChangeLog if it didn't exist. docdir 74295f210c2aSfgsch and mandir now keyed off datadir by default. 74305f210c2aSfgsch 74315f210c2aSfgschWed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) 74325f210c2aSfgsch 74335f210c2aSfgsch * ldver.c: Bumped version to 1.93. 74345f210c2aSfgsch * Makefile.in: Pass -y to bison. 74355f210c2aSfgsch 74365f210c2aSfgschMon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) 74375f210c2aSfgsch 74385f210c2aSfgsch * config.h: h8 is now coff, not ieee 74395f210c2aSfgsch * h8300hds.sc: reflect the same 74405f210c2aSfgsch 74415f210c2aSfgschThu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) 74425f210c2aSfgsch 74435f210c2aSfgsch * ldver.c (ldversion()): Update to 1.92. 74445f210c2aSfgsch * ldctor.c: There are two places constructor sets 74455f210c2aSfgsch can be defined. One of them checked for an existing 74465f210c2aSfgsch duplicate, the other didn't. Unfortunately, the latter 74475f210c2aSfgsch was called after the former ... 74485f210c2aSfgsch So, factor out code for inserting a new element into 74495f210c2aSfgsch constructor_name_list (after checking for a duplicate) 74505f210c2aSfgsch into a new function add_constructor_name, and call 74515f210c2aSfgsch it from both aforementioned places (ldlang_add_constructor 74525f210c2aSfgsch and ldlang_check_for_constructors). 74535f210c2aSfgsch 74545f210c2aSfgschWed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) 74555f210c2aSfgsch 74565f210c2aSfgsch * Makefile.in: Rename .c files generated from ldtemplate 74575f210c2aSfgsch to have names starting with ld__. This helps 'make clean'. 74585f210c2aSfgsch 74595f210c2aSfgschTue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) 74605f210c2aSfgsch 74615f210c2aSfgsch * Makefile.in: Take out the version number for install 7462d2201f2fSdrahn * scripttempl/m88kbcs.sc: put in contructor blocks. 74635f210c2aSfgsch 74645f210c2aSfgschMon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) 74655f210c2aSfgsch 74665f210c2aSfgsch * ldmisc.c, ldmisc.h: Re-write info() to take a filename 74675f210c2aSfgsch parameter, a format, and an arg pointer, and rename it to 74685f210c2aSfgsch vfinfo(). Write info() in terms of new vfinfo(). 74695f210c2aSfgsch New einfo() is the same as info(), except it writes to stderr. 74705f210c2aSfgsch * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, 74715f210c2aSfgsch ldmisc.c: Replace "error" calls to info() by new einfo(). 74725f210c2aSfgsch 74735f210c2aSfgschMon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) 74745f210c2aSfgsch 74755f210c2aSfgsch * ldlex.l ldgram.y: made -V option do same as -v 74765f210c2aSfgsch * Makefile.in: Added $(MINUS_G) flag so debugging can be 74775f210c2aSfgsch turned off 74785f210c2aSfgsch 74795f210c2aSfgschSun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) 74805f210c2aSfgsch i386 aout changes from Bob Kukura 74815f210c2aSfgsch * Makefile.in, config.h: added i386aout support 74825f210c2aSfgsch * configure.in: fixed /h-{myhost} typo 74835f210c2aSfgsch * ldgram.y: -MM now gives more boring map. 74845f210c2aSfgsch * ldlang.c: now does D_PAGED flag the right way. 74855f210c2aSfgsch * ldsym.c: -MM flags does the right thing. 74865f210c2aSfgsch 74875f210c2aSfgschSun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) 74885f210c2aSfgsch 74895f210c2aSfgsch * configure.in: Fixed typo. Also, a fix for hp300bsd. 74905f210c2aSfgsch * ldlang.c (init_os): Compensate for BFD change, 74915f210c2aSfgsch where bfd_make_section now returns NULL for a duplicate 74925f210c2aSfgsch section request, instead of the old section. 74935f210c2aSfgsch 74945f210c2aSfgschThu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) 74955f210c2aSfgsch 74965f210c2aSfgsch * ldver.c: Bump to version 1.91 (consistent with binutils). 74975f210c2aSfgsch 74985f210c2aSfgschWed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) 74995f210c2aSfgsch 75005f210c2aSfgsch * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, 75015f210c2aSfgsch ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, 75025f210c2aSfgsch ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, 75035f210c2aSfgsch ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: 75045f210c2aSfgsch Add or update copyright notices. 75055f210c2aSfgsch 75065f210c2aSfgschMon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) 75075f210c2aSfgsch 75085f210c2aSfgsch * README: New file. 75095f210c2aSfgsch * Makefile.in: Changed installation directory name scheme 75105f210c2aSfgsch to be consistent with gcc. Also changed 'install'. 75115f210c2aSfgsch 75125f210c2aSfgschMon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) 75135f210c2aSfgsch 75145f210c2aSfgsch * Makefile.in: new targets ld.mm, ld.me 75155f210c2aSfgsch 75165f210c2aSfgschMon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) 75175f210c2aSfgsch 75185f210c2aSfgsch * Makefile.in, ldtemplate: Need to use separate scripts 75195f210c2aSfgsch for -n and -N options. Yet more complication. 75205f210c2aSfgsch 75215f210c2aSfgschFri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) 75225f210c2aSfgsch 75235f210c2aSfgsch * Makefile.in: Avoid using $< in explicit Make rules (it doesn't 75245f210c2aSfgsch work). Add some lines to avoid Sun Make VPATH bugs. 75255f210c2aSfgsch 75265f210c2aSfgschFri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) 75275f210c2aSfgsch 7528d2201f2fSdrahn * scripttempl/news.sc: Add alignment for data segment. 75295f210c2aSfgsch * ldtemplate: Add (yet another) script to get for -n or -N 75305f210c2aSfgsch options. (These need different alignment than ZMAGIC files.) 75315f210c2aSfgsch * Makefile.in: Add stuff for new foo.xn scripts. 75325f210c2aSfgsch These are generated by replacing "ALIGN(0x...00)" by ".". 75335f210c2aSfgsch 75345f210c2aSfgschFri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) 75355f210c2aSfgsch 75365f210c2aSfgsch * Makefile.in: new targets ld.ms, ld-index.ms 75375f210c2aSfgsch ld.texinfo: remove tabs, other cleanups for texi2roff 75385f210c2aSfgsch 75395f210c2aSfgschFri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) 75405f210c2aSfgsch 75415f210c2aSfgsch * ldmain.c (main): Make config.magic_demand_paged be true 75425f210c2aSfgsch by default. Don't set the WP_TEXT and D_PAGED flags of 75435f210c2aSfgsch output_bfd here; it's too late, so set it when output_bfd 75445f210c2aSfgsch is created (in ldlang.c). Also fix setting of EXEC_P flag 75455f210c2aSfgsch * ldlang.c (ldlang_open_output): Set output_bfd->flags here. 75465f210c2aSfgsch * ldlang.c: Remove some duplicate extern declarations. 75475f210c2aSfgsch * ldgram.y: Fixes to -N and -n options. 75485f210c2aSfgsch * Makefile.in: Recognize upper case letters in sed script 75495f210c2aSfgsch to remove assignments from script files. 75505f210c2aSfgsch * ldtemplate: Don't assukme that -N or -n options 75515f210c2aSfgsch imply use of -r script. 75525f210c2aSfgsch * mkscript.c: Tweaking to correctly handle \n and \\ in input. 75535f210c2aSfgsch 75545f210c2aSfgschFri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) 75555f210c2aSfgsch 75565f210c2aSfgsch * ldtemplate: include bfd.h before sysdep.h. 75575f210c2aSfgsch 75585f210c2aSfgschFri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) 75595f210c2aSfgsch 75605f210c2aSfgsch Restructure configuration scheme for bfd, binutils, ld. 75615f210c2aSfgsch 75625f210c2aSfgsch * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. 75635f210c2aSfgsch Change some config names to match other dirs. 75645f210c2aSfgsch * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() 75655f210c2aSfgsch get defined first. 75665f210c2aSfgsch * config/: Rename some config files to match up h-*.h names. 75675f210c2aSfgsch Remove all the HOST_SYS definitions from the config files. 75685f210c2aSfgsch 75695f210c2aSfgschTue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) 75705f210c2aSfgsch 75715f210c2aSfgsch * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. 75725f210c2aSfgsch * ldtemplate: Remove ldfile_add_library_path calls; 75735f210c2aSfgsch just use the SEARCH_DIR commands in the script files. 75745f210c2aSfgsch * Makefile.in: Add LIB_PATH macro, which if set is used to replace 75755f210c2aSfgsch the SEARCH_DIR commands in the scripts (using ugly sed magic). 75765f210c2aSfgsch This is primarily intended for cross-linking, where you would 7577*cf2f2c56Smiod place libraries in a different place than native libraries. 75785f210c2aSfgsch Also, emulations made from ldtemplate now use $(srcdir). 7579d2201f2fSdrahn * scripttempl/ldglda29k.sc: Change SEARCH_DIR commands to a 7580d2201f2fSdrahn conventional form; people can use the Makefile's LIB_PATH to 7581d2201f2fSdrahn override. 75825f210c2aSfgsch 75835f210c2aSfgschTue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) 75845f210c2aSfgsch 75855f210c2aSfgsch * Makefile.in: fix target ld.dvi, add target ld.info 75865f210c2aSfgsch ld.texinfo: make info filename ld.info 75875f210c2aSfgsch 75885f210c2aSfgschFri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) 75895f210c2aSfgsch 75905f210c2aSfgsch * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun 75915f210c2aSfgsch Make). 75925f210c2aSfgsch * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a 75935f210c2aSfgsch few BFD types & enums. 75945f210c2aSfgsch 75955f210c2aSfgsch 75965f210c2aSfgschLocal Variables: 75975f210c2aSfgschmode: change-log 75985f210c2aSfgschleft-margin: 8 75995f210c2aSfgschfill-column: 74 76005f210c2aSfgschversion-control: never 76015f210c2aSfgschEnd: 7602