summaryrefslogtreecommitdiff
path: root/ld
Commit message (Collapse)AuthorAgeFilesLines
* * ldlang.c (map_input_to_output_sections): Replace "break"Alan Modra2001-11-212-0/+9
| | | | | accidentally removed with 2001-08-03 change. (lang_gc_sections_1): Likewise.
* * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.Alan Modra2001-11-202-32/+33
|
* * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL insteadAlan Modra2001-11-203-2/+8
| | | | | of false when calling lang_size_sections. (hppaelf_layout_sections_again): Likewise.
* 2001-11-19 H.J. Lu <hjl@gnu.org>H.J. Lu2001-11-198-6/+25
| | | | | | | | | | | | | | | * ld-elfvsb/define.s: Mark all global lables as object. * ld-elfvsb/hidden0.d: Match large section number. * ld-elfvsb/hidden1.d: Likewise. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/internal1.d: Likewise. * ld-elfvsb/protected0.d: Likewise. * ld-elfvsb/protected1.d: Likewise. * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/protected0.d: Likewise.
* 2001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2001-11-152-1/+5
| | | | * ld-sh/ld-r-1.d: Updated.
* * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit thisAlan Modra2001-11-154-18/+54
| | | | | | | | | | | | | | | function when LDEMUL_FINISH isn't set to the same name. Don't call ${LDEMUL_FINISH}. (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. * emultempl/armelf.em (arm_elf_finish): Call gld${EMULATION_NAME}_finish. * emultempl/hppaelf.em (hppaelf_finish): Rename to gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and hppaelf_layout_sections_again if necessary. (need_laying_out): New var. (hppaelf_layaout_sections_again): Rename to hppaelf_layout_sections_again. Clear need_laying_out. (PARSE_AND_LIST_OPTIONS): Format text.
* 2001-11-14 H.J. Lu <hjl@gnu.org>H.J. Lu2001-11-152-3/+9
| | | | | | * emultempl/armelf.em (arm_elf_finish): Renamed from gld${EMULATION_NAME}_finish. (LDEMUL_FINISH): Set to arm_elf_finish.
* 2001-11-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2001-11-152-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf32_discard_info): Add prototype. (bfd_elf64_discard_info): Likewise. * bfd-in2.h: Regenerate. * elf-bfd.h (struct elf_reloc_cookie): New. (struct elf_backend_data): Add elf_backend_discard_info, elf_backend_ignore_discarded_relocs, and elf_backend_write_section. (_bfd_elf32_reloc_symbol_deleted_p): Add prototype. (_bfd_elf64_reloc_symbol_deleted_p): Likewise. * elf32-mips.c (_bfd_elf32_mips_discard_info): New. (_bfd_elf32_mips_ignore_discarded_relocs): New. (_bfd_elf32_mips_write_section): New. (elf_backend_discard_info): Define. (elf_backend_ignore_discarded_relocs): Define. (elf_backend_write_section): Define. * elfcode.h (elf_bfd_discard_info): Define. (elf_reloc_symbol_deleted_p): Define. * elflink.h (elf_link_input_bfd): Check elf_section_ignore_discarded_relocs. Call bed->elf_backend_write_section if available. (elf_reloc_symbol_deleted_p): New. (elf_bfd_discard_info): New. (elf_section_ignore_discarded_relocs): New. * elfxx-target.h (elf_backend_discard_info): Define. (elf_backend_ignore_discarded_relocs): Define. (elf_backend_write_section): Define. (elfNN_bed): Add elf_backend_discard_info, elf_backend_ignore_discarded_relocs, and elf_backend_write_section. * libbfd-in.h (_bfd_discard_section_stabs): Add prototype. * libbfd.h: Regenerate. * stabs.c (_bfd_discard_section_stabs): New. 2001-11-11 Daniel Jacobowitz <drow@mvista.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. (struct ld_emulation_xfer_struct): Use it.
* Only scan tail of executable for PE targets.Nick Clifton2001-11-142-9/+21
|
* * emulparams/elf64hppa.sh (OTHER_BSS_END_SECTIONS): AddJeff Law2001-11-132-1/+6
| | | | additional symbols referenced by newer crt0.o files from HP.
* Only compare the tail end of the two binary files produced in order to avoidNick Clifton2001-11-122-3/+17
| | | | date stamp present in PE binaries.
* New symbol: DATA_START_SYMBOLSNick Clifton2001-11-122-0/+6
|
* * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.Alan Modra2001-11-123-2/+7
| | | | * Makefile.in: Regenerate.
* * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.Hans-Peter Nilsson2001-11-112-1/+5
|
* 2001-11-09 H.J. Lu <hjl@gnu.org>H.J. Lu2001-11-1010-0/+101
| | | | | | | | | | | | * ld-discard/discard.exp: New. Test ld discard. * ld-discard/discard.ld: Likewise. * ld-discard/exit.s: Likewise. * ld-discard/extern.d: Likewise. * ld-discard/extern.s: Likewise. * ld-discard/start.d: Likewise. * ld-discard/start.s: Likewise. * ld-discard/static.d: Likewise. * ld-discard/static.s: Likewise.
* * ld.texinfo: Use @command for commands, @option for options.Stephane Carrez2001-11-094-171/+178
| | | | | | * Makefile.am (POD2MAN): Use 'GNU Development Tools' for the page man title. * Makefile.in: Rebuild.
* [ gas/ChangeLog ]Chris Demetriou2001-11-042-1/+12
| | | | | | | | | | | | | | | | | | | 2001-11-04 Chris Demetriou <cgd@broadcom.com> * configure.in (mips-*-netbsd*): Add support for target. * configure: Regenerate. [ gas/testsuite/ChangeLog ] 2001-11-04 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. (aout): Don't set if *-*-netbsd*. [ ld/ChangeLog ] 2001-11-04 Chris Demetriou <cgd@broadcom.com> * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Add support for targets.
* Add translationsNick Clifton2001-11-025-2/+3101
|
* 2001-11-02 H.J. Lu <hjl@gnu.org>H.J. Lu2001-11-0210-0/+86
| | | | | | | | | | | | | * ld-elfvsb/elfvsb.exp: Add the "ld -r" test. * ld-elfvsb/hidden0.d: New. * ld-elfvsb/hidden1.d: New. * ld-elfvsb/internal0.d: New. * ld-elfvsb/internal1.d: New. * ld-elfvsb/protected0.d: New. * ld-elfvsb/protected1.d: New. * ld-elfvsb/undef.s: New. * ld-elfvsb/undef.s: New.
* Fix testsuites for bigendian sh-linuxNick Clifton2001-11-022-2/+13
|
* Set targ_emul, targ_extra_emuls as little endian default and to support big ↵Nick Clifton2001-11-022-2/+7
| | | | endian.
* 2001-11-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2001-11-025-0/+30
| | | | | | | | | | | * ld.texinfo (Options): Document new option, -nostdlib. * lexsup.c (OPTION_NOSTDLIB): New definition. (ld_options): Add entry for "nostdlib". (parse_args): Handle OPTIONS_NOSTDLIB. * ldfile.c (ldfile_add_library_path): Don't add directories to the search path if they weren't specified on the command line and -nostdlib was specified. * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
* Fix infinite parsing loopNick Clifton2001-10-312-38/+33
|
* Update documentation about -T augmenting linker scriptsNick Clifton2001-10-312-11/+14
|
* Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targetsNick Clifton2001-10-312-0/+13
|
* * ld-mmix/locdo-1.d: Prune character dump part.Hans-Peter Nilsson2001-10-312-2/+3
|
* * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,Hans-Peter Nilsson2001-10-3122-25/+11
| | | | | | | | | | ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d, ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d, ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s, ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d, ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s, ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove unnecessary empty lines.
* * ldlang.c (lang_size_sections): Keep a valid output_offset fieldAlan Modra2001-10-312-2/+15
| | | | for padding statements.
* Add MMIX supportNick Clifton2001-10-30274-226/+6051
|
* * ldlang.c: Fix a comment typo.Kazu Hirata2001-10-292-1/+5
|
* * configure.host: Move alpha*-*-linux-gnu* entry to genericAlan Modra2001-10-232-5/+10
| | | | entries, and match *-*-linux*.
* * ldgram.y (mri_script_command): Surround processing of INCLUDEAlan Modra2001-10-204-9/+31
| | | | | | | | | | | with ldlex_script, ldlex_popstate. (ifile_p1): Likewise. * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the correct slot. (lex_push_file): Save current lineno to lineno_stack. Set lineno to 1. Don't BEGIN(SCRIPT). (lex_redirect): Similarly. * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
* Define __EH_FRAME_{BEGIN|END}__Nick Clifton2001-10-202-0/+27
|
* * pe-dll.c (autofilter_objectlist): Add gcrt0.o.DJ Delorie2001-10-192-5/+11
| | | | (auto-export): Fix indentation.
* * pe-dll.c (autofilter_objectlist): Add startup objectsDJ Delorie2001-10-192-6/+16
| | | | | | | for profiling. (auto-export): Constify char * p. Extract file basename and use strcmp rather than ststr for object lookup.
* 2001-10-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2001-10-182-1/+6
| | | | | * ldmain.c (get_emulation): Improve comment about the handling of -mipsN options.
* * po/POTFILES.in: Regenerate.Alan Modra2001-10-172-1/+5
|
* * emultempl/elf32.em (gld*_list_options): Remove extra '\t' fromAlan Modra2001-10-152-14/+19
| | | | -z nocopyreloc and -z nocombreloc usage strings.
* * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run onHans-Peter Nilsson2001-10-154-2/+6
| | | | sh*-*-elf.
* * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.Hans-Peter Nilsson2001-10-142-1/+3
|
* * ld-sh/rd-sh.exp: New framework file.Hans-Peter Nilsson2001-10-1410-0/+183
| | | | | | * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New test files.
* Include -z nocopyreloc in usageNick Clifton2001-10-122-0/+6
|
* Fix arm aout placement of .bss sectionNick Clifton2001-10-112-3/+9
|
* * pe-dll.c (autofilter_entry_type autofilter_liblist: AddDJ Delorie2001-10-112-0/+7
| | | | startup files for mingw32 dlls to list.
* 2001-10-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2001-10-102-1/+5
| | | | * emultempl/elf32.em: Fix shell 'if' usage for portability.
* 2001-10-08 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2001-10-082-0/+5
| | | | * configure.tgt (targ): Add arm9e-*-elf.
* 2001-10-05 H.J. Lu <hjl@gnu.org>H.J. Lu2001-10-052-1/+5
| | | | * genscripts.sh: Fix a typo in the last change.
* * doc/as.texinfo: Document M and S ELF section flags.Jakub Jelinek2001-10-052-0/+7
| | | | | * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and -z nocombreloc in usage.
* * genscripts.sh: Include a comment at the top of each generatedJim Blandy2001-10-032-8/+22
| | | | script, explaining its purpose.
* Add support for -z nocopyreloc.Alan Modra2001-10-034-2/+15
|