aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1996-01-22Mon Jan 22 13:01:35 1996 Andreas Schwab ↵Ian Lance Taylor2-1/+9
<schwab@issan.informatik.uni-dortmund.de> * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. * genscripts.sh: Set host, target and target_alias variables. Check for native compile by comparing ${target} and ${host}. * emultempl/elf32.em: Likewise. * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}.
1996-01-22Refine eabi supportMichael Meissner2-24/+20
1996-01-16 * ldgram.y (%union): Add phdr field.Ian Lance Taylor1-0/+17
(phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. (phdr_qualifiers): New nonterminal. Add support for FLAGS. (opt_hdrs, hdr): Remove. (phdr_val): New nonterminal. * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr and phdrs parameters. Add flags parameter. (lang_record_phdrs): Update for changes to lang_phdr. Pass flags to bfd_record_phdr. * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and phdrs fields. Add flags field. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. (lang_new_phdr): Update declaration. * ld.texinfo: Document FLAGS.
1996-01-15 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):Ian Lance Taylor2-2/+7
Don't make a shared library because of an undefined reference to __GLOBAL_OFFSET_TABLE_.
1996-01-15update copyrightsIan Lance Taylor1-1/+2
1996-01-15 Add some Irix 5 support, mostly from Kazumoto KojimaIan Lance Taylor6-2/+243
<kkojima@info.kanagawa-u.ac.jp>: * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. (SHLIB_TEXT_START_ADDR): Define. (OTHER_GOT_SYMBOLS): Define. (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. (EXECUTABLE_SYMBOLS): Don't define. (DYNAMIC_LINK): Don't define. * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. * scripttempl/elfmips.sc: New file. * configure.host (mips*-dec-bsd*): Change mips to mips*. (mips*-sgi-irix4*): Likewise. (mips*-sgi-irix5*): New entry. * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than elf.sc. (eelf32lmip.c): Likewise.
1996-01-15 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*Ian Lance Taylor3-27/+133
when doing the --static test. * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
1996-01-13Add .rela.got.neg section; remove .rel.* sectionsMichael Meissner2-28/+22
1996-01-12 * scripttempl/sh.sc: Only build constructors when CONSTRUCTING.Ian Lance Taylor1-0/+2
1996-01-12 * ldmisc.c: Include <stdarg.h> rather than <varargs.h> ifIan Lance Taylor3-66/+132
ANSI_PROTOTYPES is defined. Remove special handling of WINDOWS_NT. Various indendation fixes. (vfinfo): Change fmt parameter to const char *. (info_msg): Write <stdarg.h> version. (einfo, minfo, finfo): Likewise. (info_assert): Change file parameter to const char *. * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is defined, use a real prototype. (info_assert): Change first parameter to be const char *.
1996-01-12Add support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at ↵Michael Meissner3-12/+55
64k; make data follow on next 64k page after text
1996-01-09 * scripttempl/alpha.sc: Put .rconst right after .rdata.Ian Lance Taylor1-0/+4
1996-01-05 * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):Steve Chamberlain2-2/+30
sort using right pointer.
1996-01-05Move creating section begin/end labels to compiler crt{i,n}.oMichael Meissner2-18/+8
1996-01-04 * configure.host: Change existing Linux HOSTING_CRT0 to be usedIan Lance Taylor2-1/+23
for a.out only, and put in appropriate HOSTING_CRT0 and HOSTING_LIBS values for Linux ELF.
1996-01-04 * scripttempl/h8300.sc: Use all 64K for ram.David Edelsohn1-0/+11
* scripttempl/h8300h.sc: Define 256K ram size.
1995-12-26 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to defineIan Lance Taylor1-0/+5
__eabi.
1995-12-19 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.Ian Lance Taylor2-5/+26
1995-12-19 * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only setIan Lance Taylor2-4/+36
relocateable before calling ldctor_build_sets if the output file is in an XCOFF format.
1995-12-15 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.Ian Lance Taylor2-7/+4
1995-12-15 * ldwrite.c (build_link_order): When handling a data statement, ifIan Lance Taylor1-0/+6
the endianness of the output file is unknown, use the endianness of the input file.
1995-12-12Reflect file rename.Stan Shebs1-1/+1
1995-12-12 * mpw-config.in: Recognize mips-*-* as equivalent toStan Shebs4-4/+59
mips-idt-ecoff. * mpw-eppcmac.c: Shortened from mpw-eppcmacos.c. * mpw-ld.r: Add version resources. (cfrg): Use symbolic instead of literal name for executable.
1995-12-11Moved the .reloc section slightlyKim Knuttila1-0/+4
1995-12-07 * emultempl/aix.em (unix_ld): New static variable.Ian Lance Taylor1-0/+5
(gld${EMULATION_NAME}_parse_args): Handle -unix. (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass gc as false and export_defineds as true to size_dynamic_sections. PR 8606.
1995-12-06 * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): FixDavid Edelsohn1-0/+3
call to sort_sections.
1995-12-06 * ldlang.c (print_statement{,s}): Delete duplicate prototype.David Edelsohn1-0/+10
(print_statement_list): Renamed from print_statement. All callers updated. (print_statement): New function to print just one statement. (print_{data,reloc,padding}_statement): Don't crash if output_section == NULL. (dprint_statement): New function.
1995-12-06 * ldexp.c (exp_fold_tree): Permit assignments to dot in the finalIan Lance Taylor1-0/+5
phase if the current section is abs_output_section. PR 8605.
1995-12-02 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.Ian Lance Taylor2-5/+9
1995-12-01 * ldgram.y (PHDRS): New token.Ian Lance Taylor2-2/+168
(ifile_p1): Accept phdrs. (section): Accept phdr_opt at the end of the section definition. (phdr_op): New nonterminal. (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. * ldlex.l: Accept PHDRS. * ldlang.h (struct lang_output_section_phdr_list): Define. (lang_output_section_statement_type): Add phdrs field. (struct lang_phdr): Define. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. (lang_new_phdr): Declare. * ldlang.c (lang_phdr_list): New static variable. (lang_output_section_statement_lookup): Initialize phdrs field. (lang_process): Call lang_record_phdrs. (lang_new_phdr): New function. (lang_section_in_phdr): New function. (lang_record_phdrs): New static function. * ld.texinfo: Document PHDRS.
1995-12-01 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.Ian Lance Taylor2-0/+10
1995-11-30Expose .edata sectionKim Knuttila2-0/+200
1995-11-30Add a comment saying .junk sections are discarded by the linker.David Edelsohn1-0/+1
1995-11-30Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-0/+7
<manfred@lts.sel.alcatel.de> * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and HOSTING_LIBS for testing. (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for testing.
1995-11-30Fix MPW tool installationStan Shebs1-0/+14
1995-11-29 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.Ian Lance Taylor2-0/+11
1995-11-28 * lexsup.c (parse_args): Set config.dynamic_link to false for -NIan Lance Taylor1-0/+5
and -n.
1995-11-27fix last changeIan Lance Taylor1-2/+2
1995-11-27 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.Ian Lance Taylor4-0/+436
* ld-srec/sr1.c (V_SPILL, V_FILL): Define. * ld-srec/sr3.cc: Likewise.
1995-11-27 * configure: Rebuild with autoconf 2.7.Ian Lance Taylor1-1/+5
1995-11-25 * scripttempl/pe.sc: Two .junk's is too much junk.David Edelsohn2-26/+53
1995-11-21 * configure.in: Use BFD_NEED_DECLARATION.Ian Lance Taylor3-35/+373
* acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. * configure, config.in: Rebuild with autoconf 2.6.
1995-11-21 * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTORIan Lance Taylor1-0/+15
being unsupported if this is not a relocaeable link and the input BFD supports it, since ldctor_build_sets can cope with that case.
1995-11-21 * ld-empic/empic.exp: Update for changes in objdump output.Ian Lance Taylor2-2/+29
1995-11-18Keep PowerMac emulation file.Stan Shebs1-0/+1
1995-11-18 * configure.tgt (powerpc-*-macos*): New target.Stan Shebs3-35/+373
* emulparams/ppcmacos.sh: New file, PowerMac emulation. * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. (eppcmacos.c): New target. * mpw-eppcmacos.c: Update. * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}.
1995-11-17 * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, notIan Lance Taylor2-4/+14
$(host_canonical) and $(target_canonical). (CXX_FOR_TARGET): Likewise.
1995-11-16 * scripttempl/pe.sc (.endjunk): Move definition of `end' to hereDavid Edelsohn1-0/+5
so the malloc heap begins at a sane place.
1995-11-16version 2.6Ken Raeburn1-0/+12
1995-11-15 * ld-srec/srec.exp: New tests.Ian Lance Taylor4-0/+63
* ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files. * lib/ld.exp (ld_simple_link): Discard warnings about not being able to find the entry symbol.