summaryrefslogtreecommitdiff
path: root/ld
Commit message (Collapse)AuthorAgeFilesLines
* * ldlang.c (lang_size_sections): Clarify error message when userDavid Edelsohn1995-02-012-25/+43
| | | | | specified start addr conflicts with region. Fix resetting of region pointer.
* * ldexp.c (fold_name): In case NAME, permit an absolute symbolIan Lance Taylor1995-01-312-81/+146
| | | | | in lang_allocating_phase_enum. PR 6259.
* * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): ForIan Lance Taylor1995-01-271-0/+7
| | | | | | a MIPS target, clobber the size of all but the first input .reginfo section to be 0, so that lang_size_sections sets the correct size for the output .reginfo section.
* * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Ian Lance Taylor1995-01-272-1/+5
| | | | Remove unused variable is.
* Add embedded PowerPC ELF support.Michael Meissner1995-01-263-0/+148
|
* * ld-bootstrap/bootstrap.exp: If not in the ld build directory,Ian Lance Taylor1995-01-241-38/+38
| | | | | | | | | | | | | | call untested for each test, rather than ignoring it. If one test fails, go on to the next one instead of returning. * ld-cdtest/cdtest.exp: If compilations fail, mark tests as unresolved. * ld-empic/empic.exp: Likewise. Also, always pass the same test name to pass or fail. * ld-shared/shared.exp: Likewise. Also, always run all tests. * ld-scripts/defined.exp: If as or nm fail, mark test as unresolved. Always pass the same test name to pass or fail. * ld-scripts/script.exp: Likewise. * ld-scripts/sizeof.exp: Likewise.
* update copyrightsIan Lance Taylor1995-01-241-1/+49
|
* * ldctor.c (ldctor_add_set_entry): Don't dump core if aIan Lance Taylor1995-01-242-104/+178
| | | | constructor entry is in the absolute section.
* * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.Ian Lance Taylor1995-01-234-2/+24
| | | | * config/i386-gnu.mt: New file. Include ELF support.
* * configure.in (w65-*-*): New target.Steve Chamberlain1995-01-167-0/+76
| | | | | | * Makefile.in: Update. * scripttempl/w65.sc: New. * config/coff-w65.mt: New.
* * ldlang.c (lang_place_orphans): Don't ignore files withIan Lance Taylor1995-01-121-0/+6
| | | | | | just_syms_flag set. Instead, put all their sections in bfd_abs_section_ptr, using the section VMA as the output_offset. PR 6159.
* Don't use const with reloc_howto_type, since it's now defined to be const.Ken Raeburn1995-01-122-2/+16
|
* * ld-scripts/sizeof.exp: New test, based on bug report fromIan Lance Taylor1995-01-114-0/+67
| | | | | | anders.blomdell@control.lth.se. * ld-scripts/sizeof.s: New file. * ld-scripts/sizeof.t: New file.
* * ldexp.c (fold_binary): Adding or subtracting an absolute valueIan Lance Taylor1995-01-111-0/+6
| | | | | to a relative value does not require forcing the relative value to be absolute. Also, reindent function.
* * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to seeIan Lance Taylor1995-01-042-4/+20
| | | | if the linker exists.
* * ldwrite.c (clone_section): Create a symbol with theSteve Chamberlain1994-12-291-0/+5
| | | | same name as the section.
* * ld.h (split_by_reloc, split_by_file): New flags.Steve Chamberlain1994-12-192-27/+251
| | | | | * ldwrite.c (clone_section, split_sections): New functions. * lexsup.c (parse_args): Understand new split options.
* there isn't a configure script here thoughKen Raeburn1994-12-171-1/+1
|
* need to sanititze Makefile.in for arc tooKen Raeburn1994-12-171-1/+1
|
* Remove duplicate of ARC sanitization.David Edelsohn1994-12-161-27/+0
|
* sanitize out arc stuffKen Raeburn1994-12-141-0/+56
|
* * lib/ld.exp (prune_system_crud): Define if not already defined, in case theKen Raeburn1994-12-141-0/+24
| | | | | user isn't using the newest DejaGnu version that we haven't released to the net yet.
* * mpw-config.in (m68k-apple-macos, ppc-apple-macos,Stan Shebs1994-12-142-3/+20
| | | | | | i386-unknown-aout, i386-unknown-coff): New targets. (m68k-aout, m68k-coff): Remove targets. (mk.tmp): Add definition of EMUL.
* Initial arc-elf support.David Edelsohn1994-12-143-0/+17
|
* * scripttempl/elf.sc: Move .ctors and .dtors from .text segment toIan Lance Taylor1994-12-091-0/+34
| | | | | .data segment. They must be writable when creating a shared library. From H.J. Lu <hjl@nynexst.com>.
* keep everythingKen Raeburn1994-12-061-0/+45
|
* Switch r3 to scratch register, r0 to stack register.Michael Tiemann1994-12-061-3/+1
| | | | Other misc changes before beta shipment to customer.
* * config/default.exp: Define objdump if it is not defined.Ian Lance Taylor1994-12-0211-0/+736
| | | | * ld-empic/*: New tests to test -membedded-pic code.
* * emultempl/miposecoff.em: New file.Ian Lance Taylor1994-12-022-0/+231
| | | | | | | | | | | | * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. * scripttempl/mips.sc: Put .rel.sdata sections in .text, and provide __runtime_reloc_start and __runtime_reloc_stop if they are used. Align _fdata to a 16 byte boundary. * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than generic.em. (emipsidtl.c): Likewise. (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
* * ld.h (args_type): Add new field embedded_relocs.Ian Lance Taylor1994-12-022-0/+12
| | | | | | | | | | | | | | | | * ldemul.h (ldemul_after_open, after_open_default): Declare. (ld_emulation_xfer_struct): Add new field after_open. * ldemul.c (ldemul_after_open): New function. (after_open_default): New function. * ldlang.c (lang_process): Call ldemul_after_open. * lexsup.c (parse_args): Handle --embedded-relocs. * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize new after_open field to after_open_default. * emultempl/generic.em, emultempl/gld960.em: Likewise. * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. * emultempl/sunos.em, emultempl/vanilla.em: Likewise. * ld.texinfo, ld.1: Mention -embedded-relocs.
* * ld-bootstrap/bootstrap.exp: Pass cmp output throughIan Lance Taylor1994-11-282-31/+32
| | | | | | | | | prune_system_crud. * ld-cdtest/cdtest.exp: Pass diff output through prune_system_crud. * ld-shared/shared.exp: Likewise. * config/default.exp: Remove unused and useless proc ld_load.
* Add shlSteve Chamberlain1994-11-262-0/+6
|
* Add changes from customer since last work.Michael Tiemann1994-11-262-47/+26
|
* Enable ld to build for RCE. This is not tested yet!Michael Tiemann1994-11-257-2/+80
|
* *** empty log message ***Michael Tiemann1994-11-252-12/+12
|
* Rename r16 files to rce, and fix some more .Sanitize typos.Michael Tiemann1994-11-252-4/+4
|
* Recognize and sanitize r16 as a target.Michael Tiemann1994-11-242-0/+40
|
* Safely check in r16 targets for binutils.Michael Tiemann1994-11-242-0/+8
|
* * Makefile.in: Add eshl.o.Steve Chamberlain1994-11-243-5/+15
| | | | * config/coff-sh.mt: Add shl emulation.
* * scripttempl/elf.sc: Fill .text section with NOPS. From EricIan Lance Taylor1994-11-221-0/+5
| | | | Youngdale <eric@aib.com>.
* Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).Ian Lance Taylor1994-11-173-0/+10
| | | | | | * config/i386linux.mh: New file; set HOSTING_CRT0. * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is /usr/lib, since that is already in LIB_PATH.
* * scripttempl/hppaelf.sc (.text): Handle a use rdefined text startJeff Law1994-11-161-0/+5
| | | | | | address. (.data, .bss): If "-N", then place the data/bss just after the end of the .text section rather than at the default 0x40000000.
* * scripttempl/hppaelf.sc (.text): Place unwind descriptors in theJeff Law1994-11-162-3/+15
| | | | text segment.
* keep riscix, pc532mach filesKen Raeburn1994-11-153-0/+5
|
* Keep ld-shared.Ian Lance Taylor1994-11-141-0/+1
|
* Keep i386lynx.mh.Ian Lance Taylor1994-11-141-0/+1
|
* * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} toIan Lance Taylor1994-11-121-0/+5
| | | | _start.
* * ld.h (args_type): Add field export_dynamic.Ian Lance Taylor1994-11-122-3/+223
| | | | | | * lexsup.c (parse_args): Recognize --export-dynamic. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
* * ldlang.c (lang_one_common): Set SEC_ALLOC in any section whereIan Lance Taylor1994-11-092-0/+8
| | | | we allocate common symbols.
* Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)Ian Lance Taylor1994-11-082-10/+35
| | | | | * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and .rela.fini to the list of .rel* sections.