aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2001-11-272001-11-27 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+21
* emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} is not empty. (SDATA): Likewise. (REL_SDATA): Likewise. (REL_SBSS): Likewise. (REL_SDATA2): Likewise. (REL_SBSS2): Likewise. (SBSS2): Define if ${NO_SMALL_DATA} is not empty. (SDATA2): Likewise.
2001-11-25 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor andStephane Carrez1-0/+6
destructor in rom. * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
2001-11-222001-11-22 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+5
* Makefile.in: Regenerated with automake based on automake 1.4-8 in RedHat 7.1.
2001-11-22 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.Alan Modra1-1/+96
(config.status): Delete rule. Add extra dependencies to cover sourced emulparams files. * Makefile.in: Regenerate. * scripttempl/elf.sc: Order <section>, <section>.* and corresponding linkonce sections as seen in input files. Formatting fixes. Zero vma of all sections if not relocating. (STACK): Define and insert if STACK_ADDR defined. (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_END_SYMBOLS): Define. (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. (OTHER_READWRITE_SECTIONS): Likewise. (OTHER_GOT_SECTIONS): Likewise. (OTHER_SDATA_SECTIONS): Likewise. (OTHER_BSS_SECTIONS): Likewise. * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise. * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. (STACK_ADDR): Define. * emulparams/armelf_oabi.sh: As for armelf.sh. * emulparams/elf32mcore.sh: As for armelf.sh. * emulparams/h8300elf.sh: As for armelf.sh. * emulparams/mn10200.sh: As for armelf.sh. * emulparams/shelf.sh: As for armelf.sh. * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_END_SYMBOLS): Define. * emulparams/m32relf.sh: As for elf32fr30.sh. * emulparams/h8300helf.sh: As for elf32fr30.sh. * emulparams/h8300self.sh: As for elf32fr30.sh. * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol defines with RELOCATING test. (OTHER_SDATA_SECTIONS): Likewise. (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. (OTHER_END_SYMBOLS): ..this. * emulparams/crislinux.sh: As for criself.sh. * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma if not relocating. (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order normal and linkonce sections as seen in input files. * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. (TEXT_DYNAMIC): Likewise. (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. (OTHER_SDATA_SECTIONS): Likewise. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. (OTHER_PLT_RELOC_SECTIONS): Likewise. (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce sections as seen in input files. * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma if not relocating. (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_SECTIONS): Instead, use this.. (OTHER_END_SYMBOLS): ..and this. * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. * emulparams/elf32bsmip.sh: Likewise. * emulparams/elf32btsmip.sh: Likewise. * emulparams/elf32ebmip.sh: Likewise. * emulparams/elf32lmip.sh: Likewise. * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. * emulparams/elf32lsmip.sh: Likewise. * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. * emulparams/elf64btsmip.sh: Likewise. * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. * emulparams/elf32ppclinux.sh: Likewise. * emulparams/elf32ppcsim.sh: Likewise. * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. * emulparams/h8300self.sh: Likewise. * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. * emulparams/sh.sh: Comment. * emulparams/shl.sh: Source sh.sh, remove duplicates. * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2001-11-21 * ldlang.c (map_input_to_output_sections): Replace "break"Alan Modra1-0/+7
accidentally removed with 2001-08-03 change. (lang_gc_sections_1): Likewise.
2001-11-20 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.Alan Modra1-4/+8
2001-11-20 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL insteadAlan Modra1-0/+6
of false when calling lang_size_sections. (hppaelf_layout_sections_again): Likewise.
2001-11-15 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit thisAlan Modra1-0/+16
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-152001-11-14 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+6
* emultempl/armelf.em (arm_elf_finish): Renamed from gld${EMULATION_NAME}_finish. (LDEMUL_FINISH): Set to arm_elf_finish.
2001-11-152001-11-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+5
* 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.
2001-11-13 * emulparams/elf64hppa.sh (OTHER_BSS_END_SECTIONS): AddJeff Law1-0/+5
additional symbols referenced by newer crt0.o files from HP.
2001-11-12New symbol: DATA_START_SYMBOLSNick Clifton1-0/+4
2001-11-12 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.Alan Modra1-0/+5
* Makefile.in: Regenerate.
2001-11-09 * ld.texinfo: Use @command for commands, @option for options.Stephane Carrez1-0/+7
* Makefile.am (POD2MAN): Use 'GNU Development Tools' for the page man title. * Makefile.in: Rebuild.
2001-11-04[ gas/ChangeLog ]Chris Demetriou1-0/+5
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.
2001-11-02Add translationsNick Clifton1-0/+7
2001-11-02Set targ_emul, targ_extra_emuls as little endian default and to support big ↵Nick Clifton1-0/+5
endian.
2001-11-022001-11-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou1-0/+11
* 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.
2001-10-31Fix infinite parsing loopNick Clifton1-0/+6
2001-10-31Update documentation about -T augmenting linker scriptsNick Clifton1-0/+7
2001-10-31Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targetsNick Clifton1-0/+6
2001-10-31 * ldlang.c (lang_size_sections): Keep a valid output_offset fieldAlan Modra1-2/+7
for padding statements.
2001-10-30Add MMIX supportNick Clifton1-0/+13
2001-10-29 * ldlang.c: Fix a comment typo.Kazu Hirata1-0/+4
2001-10-23 * configure.host: Move alpha*-*-linux-gnu* entry to genericAlan Modra1-0/+5
entries, and match *-*-linux*.
2001-10-20 * ldgram.y (mri_script_command): Surround processing of INCLUDEAlan Modra1-0/+12
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.
2001-10-20Define __EH_FRAME_{BEGIN|END}__Nick Clifton1-0/+6
2001-10-19* pe-dll.c (autofilter_objectlist): Add gcrt0.o.DJ Delorie1-0/+5
(auto-export): Fix indentation.
2001-10-19* pe-dll.c (autofilter_objectlist): Add startup objectsDJ Delorie1-0/+8
for profiling. (auto-export): Constify char * p. Extract file basename and use strcmp rather than ststr for object lookup.
2001-10-182001-10-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou1-0/+5
* ldmain.c (get_emulation): Improve comment about the handling of -mipsN options.
2001-10-17 * po/POTFILES.in: Regenerate.Alan Modra1-0/+4
2001-10-15 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' fromAlan Modra1-12/+17
-z nocopyreloc and -z nocombreloc usage strings.
2001-10-12Include -z nocopyreloc in usageNick Clifton1-0/+5
2001-10-11Fix arm aout placement of .bss sectionNick Clifton1-0/+6
2001-10-11* pe-dll.c (autofilter_entry_type autofilter_liblist: AddDJ Delorie1-0/+5
startup files for mingw32 dlls to list.
2001-10-102001-10-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou1-0/+4
* emultempl/elf32.em: Fix shell 'if' usage for portability.
2001-10-082001-10-08 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez1-0/+4
* configure.tgt (targ): Add arm9e-*-elf.
2001-10-052001-10-05 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+4
* genscripts.sh: Fix a typo in the last change.
2001-10-05 * doc/as.texinfo: Document M and S ELF section flags.Jakub Jelinek1-0/+5
* emultempl/elf32.em (gld_*_list_options): Include -z combreloc and -z nocombreloc in usage.
2001-10-03* genscripts.sh: Include a comment at the top of each generatedJim Blandy1-0/+5
script, explaining its purpose.
2001-10-03Add support for -z nocopyreloc.Alan Modra1-0/+6
2001-10-03Regenerate configure to include the gettext.m4 change. UpdateAlan Modra1-0/+4
opcodes/po/POTFILES.in
2001-10-02 * ldver.h (ld_program_version): Remove declaration.Alan Modra1-0/+11
* lexsup.c (parse_args): Move printing of copyright message.. * ldver.c (ldversion): .. to here. Use BFD_VERSION_STRING in place of BFD_VERSION. (ld_program_version): Remove. * Makefile.am (Makefile): Depend on bfd/configure.in Run "make dep-am" * Makefile.in: Regenerate.
2001-09-30 * Makefile.am: Update dependencies with "make dep-am".Hans-Peter Nilsson1-0/+5
* Makefile.in: Regenerate.
2001-09-29From John Reiser <jreiser@BitWagon.com>Alan Modra1-2/+8
* ldlang.c (lang_common): Conditionally inhibit Common allocation. * lexsup.c: Add --no-define-common commandline option. * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. * ldlex.l: Likewise. * ld.h: Add command_line.inhibit_common_definition. * ldmain.c (main): Initialize. * ld.texinfo: Document.
2001-09-29 * section.c (struct sec): Remove kept_section.Alan Modra1-0/+4
(STD_SECTION): Remove kept_section initialisation. (bfd_make_section_anyway): Here too. * ecoff.c (bfd_debug_section): Remove kept_section initialisation. * cofflink.c (_bfd_coff_link_input_bfd): Don't test kept_section. * elflink.h (elf_link_input_bfd): Set discarded link-once section symbols to zero, and remove all code involved with kept_section and tracking section symbol values. * bfd-in2.h: Regenerate. * configure.in: Bump version number. * configure: Regenerate. * ldlang.c (section_already_linked): Remove assignment to kept_section.
2001-09-26 * ldmisc.c (USE_STDARG): Remove.Alan Modra1-0/+11
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. (einfo): Likewise. (minfo): Likewise. (lfinfo): Likewise. * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi declarations. Update copyright.
2001-09-24Fix thinkoNick Clifton1-4/+4
2001-09-24Remove spurious prototype.Nick Clifton1-0/+4
2001-09-24improve documenation about auto-importNick Clifton1-0/+10