+
+ * ld.texinfo (Options): Clarify that options which refer to files
+ must be properly ordered.
+
+
+ * emultempl/armelf.em (..._parse_args): New function: Parse
+ command line option. Accept arm-elf specific command line option
+ '-p' or '--no-pipeline-knowledge'.
+ (..._list_options): New function: Describe the new command line
+ option.
+ (..._before_allocation): Pass the value of the new variable
+ no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation.
+
+ * emultemp/armelf_oabi.em (..._before_allocation): Pass zero as
+ the third parameter to bfd_elf32_arm_process_before_allocation.
+
+
+ * lexsup.c (help): Minor formatting changes.
+
+
+ * configure.tgt (i960-*-elf*): New target.
+ * emulparams/elf32_i960.sh: New file.
+ * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
+ (eelf32_i960.c): New target.
+ * Makefile.in: Rebuild.
+
+
+ * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi.
+
+
+ * emultempl/armelf.em (before_parse): Set config.dynamic_link and
+ config.has_shared.
+ * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
+ * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise.
+
+
+ * emultempl/armelf.em: Add definitions related to shared objects
+ (copied from elf32.em).
+
+
+ * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
+ earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
+ * Makefile.in: Regenerated.
+
+
+ * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define.
+ (TEMPLATE_NAME): Define.
+
+
+ * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
+ (mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
+
+
+ * scripttempl/pe.sc: Specify the output arch, which Ian says is
+ the Right Thing to do.
+
+ * emultempl/pe.em: various changes to parameterize the
+ target-specific information.
+ (gld_i386pe_after_open): Detect and fix MS import libraries
+ by renaming the member objects (which are all named the same).
+
+ * pe-dll.c: various changes to parameterize the target-specific
+ information.
+ (generate_reloc): support relocs more generically to allow for
+ expansion.
+ (pe_exe_build_sections): new; used to add .relocs to .exes
+ (pe_exe_fill_sections): ditto
+
+
+ * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
+ Check for TARGET_IS_arm_epoc_pe.
+ (gld_${EMULATION_NAME}_before_allocation): Likewise.
+
+
+ * ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
+ output_section_callback, gc_section_callback): New functions for
+ generic section walks.
+ (wild, lang_gc_wild): Use walk_wild.
+ (wild_file, lang_gc_wild_file): Deleted. Common logic moved to
+ walk_wild_file.
+ (wild_section, lang_gc_wild_section): Deleted. Common logic moved
+ to walk_fild_section. Unique logic moved into callbacks
+ output_section_callback and gc_section_callback.
+
+
+ * aclocal.m4, configure: Updated for new version of libtool.
+
+
+ * emulparams/armelf_linux.sh: New file. Support for ARM
+ GNU/Linux ELF ABI.
+ * emulparams/armelf_linux26.sh: New file. APCS-26 version of above.
+ * configure.tgt: For arm*-*-linux-gnu*, set default emulation to
+ `armelf_linux', and also include `armelf_linux26' and `armelf'.
+ * Makefile.am: Add rules to make earmlinux.c and earmlinux26.c.
+ (ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o.
+ * Makefile.in: Regenerate.
+
+
+ * Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o.
+ * configure.tgt (i[3456]86-*-beos*): Use it.
+ * emulparams/elf_i386_be.sh: New file.
+ * Makefile.in: Rebuild.
+
+ * configure.in (environ): Detect declaration.
+ * ldmain.c (main): Don't declare environ.
+ * sysdep.h (environ): Declare if needed.
+ * configure, config.in: Rebuild.
+
+
+ * ldgram.y (ldgram_vers_current_lang): New.
+ (vers_defns): Accept `extern "lang" { }' syntax.
+ * ldlex.l (vers_node_nesting): New.
+ (V_IDENTIFIER): Accept . and $ in symbols.
+ (VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states.
+ * ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers.
+ (lang_vers_match_lang_c): New function.
+ (lang_vers_match_lang_cplusplus): New function.
+ (lang_vers_match_lang_java): New function.
+ (lang_do_version_exports_section): Fix iteration. Don't free
+ section contents, as it is still in use by the patterns.
+
+
+ * ldmain.c (main): Init link_info.no_undefined.
+ * lexsup.c: Add command-line option --no-undefined.
+
+
+ * ld.h (LC_MESSAGES): Never define.
+ * ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the
+ system does not define it.
+
+
+ * ldmain.h (demangling): Declare.
+ * ldmain.c (demangling): New global variable.
+ (main): Initialize demangling.
+ * ldmisc.c (vfinfo): Don't demangle symbol if ! demangling.
+ * lexsup.c (ld_options, parse_args): Handle --demangle and
+ --no-demangle.
+ * ld.texinfo, ld.1: Document --demangle/--no-demangle.
+
+ * ldlex.l (V_IDENTIFIER): Allow '.' in symbol.
+
+
+ * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that
+ a shared library really exists, avoiding broken symlinks.
+
+ * ldfile.c (ldfile_open_file): Generate a better error message if
+ we can't find a -l file.
+
+
+ * configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE
+ targets (i386-pe and i386-winnt)
+
+
+ * deffilep.y: Include "sysdep.h" and "ldmisc.h".
+ (def_file_add_directive): Change return type to void. Remove
+ unused locals sh_reserve, sh_commit, and j.
+ (def_ungetc): Always return a value.
+ (def_lex): Correct parenthesization of || within &&.
+ * deffile.h (def_file_add_directive): Update declaration.
+ * pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h".
+ (generate_edata): Remove unused local i.
+ (quoteput): Add cast to avoid warning.
+ (pe_dll_generate_def_file): Fix type in format string.
+ (quick_symbol): Remove unused local blhe.
+ (pe_dll_generate_implib): Add cast to avoid warning.
+ (pe_process_import_defs): Remove unused locals ar_head, ar_tail,
+ and n.
+ (pe_as16): Comment out.
+
+
+ * configure.tgt: Add mips*-*-vxworks* target.
+
+
+ * Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o
+ Add build rule and dependencies for earm_epoc_pe.c.
+
+ * emulparams/arm_epoc_pe.sh: New file.
+
+ * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE
+ targets.
+
+
+ * configure.tgt: Match `arm*-*-linux-gnu*' not
+ `armv*-*-linux-gnu'.
+
+
+ * scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table
+ sections in the data segment.
+
+
+ * ld.h (wildcard_spec): Add exclude_name.
+ * ldgram.y (EXCLUDE_FILE): New token.
+ (wildcard_spec): Set exclude_name.
+ (file_NAME_list): Recognize EXCLUDE_FILE.
+ * ldlang.c (wild_section): Check for excluded files.
+ (print_wild_statement): Print excluded files.
+ (lang_add_wild): New argument exclude_filename.
+ Set exclude_filename.
+ * ldlang.h (lang_wild_statement_type): Add exclude_filename.
+ * ldlex.l: New token EXCLUDE_FILE.
+ * mri.c (mri_draw_tree): Add argument to lang_add_wild.
+ * scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard.
+ Reorder sorted and unsorted ctors.
+ * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
+ * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
+ * scripttempl/elfppc.sc (CTOR, DTOR): Likewise.
+
+
+ * ldlang.c (lang_gc_sections): If entry_symbol is not defined,
+ default to "start".
+
+
+ * scripttempl/elf.sc: Add explicit placements for the .eh_frame
+ and .gcc_except_table sections.
+
+
+ * scripttempl/elf.sc: Remove .end.ctors and .end.dtors
+ sections. Reorder .ctors section entries.
+ * scripttempl/elfd10v.sc: Likewise.
+ * scripttempl/elfd30v.sc: Likewise.
+ * scripttempl/elfppc.sc: Likewise.
+
+
+ * ldmain.c (main): Wrong error msg for -r and --mpc860c0.
+
+
+ * ldlang.c (lang_check_section_addresses): Remove extraneous
+ backslash.
+
+
+ * scripttempl/elf.sc: Don't gather .ctor and .dtor sections
+ for relocateable links.
+ * scripttempl/elfd10v.sc: Likewise.
+ * scripttempl/elfd30v.sc: Likewise.
+ * scripttempl/elfppc.sc: Likewise.
+
+
+ * ldint.texinfo: remove extraneous right brace.
+ * ldmain.c (main): initialize and check option "mpc860c0".
+ * lexsup.c (ld_options, parse_args): add option "mpc860c0".
+
+
+ * mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special
+ .reginfo section handling.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise.
+ * emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed
+ * emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed
+
+
+
+ * configure.tgt: Added armv*-*-linux-gnu to $targ_emul
+ recognition.
+
+
+ * emultempl/armelf_oabi.em
+ (bfd_elf32_arm_allocate_interworking_sections,
+ bfd_elf32_arm_get_bfd_for_interworking,
+ bfd_elf32_arm_process_before_allocation): Define them to use the
+ old ABI versions of the functions.
+
+
+ * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL
+ to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT.
+ * Makefile.am (earmelf_oabi.c): Changes spaces to tab.
+ * acconfig.h: Remove.
+ * aclocal.m4: Rebuild.
+ * configure: Rebuild.
+ * Makefile.in: Rebuild.
+
+
+ * ldexp.h (struct etree_value_type): Change valid onto valid_p.
+
+ * ldexp.c (new_abs): Ditto.
+ (new_rel, new_rel_from_section, fold_binary, invalid, fold_name,
+ exp_fold_tree, exp_binop, exp_trinop, stat_alloc,
+ exp_get_abs_int): Ditto
+
+ * ldlang.c (print_assignment, lang_size_sections,
+ lang_do_assignments): Ditto.
+
+
+ * ldlang.c (lang_check_section_addresses): New function: Check
+ addresses assigned to section for overlaps.
+ (lang_process): Call lang_check_section_addresses if suitable.
+
+ * ld.h: Add new boolean field to args_type structure:
+ 'check_section_addresses'.
+
+ * ldmain.c: Initialise check_section_addresses field to true.
+
+ * lexsup.c: Add new command line options '--no-check-sections' and
+ '--check-sections'.
+
+ * ld.texinfo: Document new command line options '--check-sections'
+ and '--no-check-sections'.
+
+
+ * configure.tgt: Add support for StrongARM target.
+
+
+ * ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for
+ an owner of a section before using it to look up a reloc type.
+ Don't set SEC_KEEP for the absolute section.
+
+
+ * Makefile.am (earmelf_oabi.o): New.
+ * Makefile.in: Regenerate.
+ * configure.tgt (arm-*-oabi): New.
+ (thumb-*-oabi): New.
+ * emulparams/armelf_oabi.sh: New.
+ * emultempl/armelf_oabi.em: New.
+
+
+ * scripttempl/elfppc.sc: Add support for -fleading-underscores
+ switch in all linker generated symbols.
+
+ * configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for
+ powerpc{,le}-*-eabi.
+
+
+ * configure.tgt (i[3456]86-*-solaris2*): New target. From Pavel
+
+
+ * ldlang.c (lang_size_sections): Count loadable sections as
+ contributing to the size of the current segment.
+
+
+ * ldlang.c (lang_size_sections): Only update the current
+ address of a region if the section just placed into it is an
+ allocated section.
+
+
+ * Makefile.am: Replace efr30.o with eelf32fr30.o.
+ * Makefile.in: Regenerate.
+
+ * configure.tgt: Replace fr30 with elf32fr30.
+
+ * emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses
+ generic elf.sc script. Also replaces the .stack section with a
+ user definable symbol __stack.
+
+
+ * scripttempl/fr30.sc: Fill .init and .fini sections with NOP
+ pattern.
+
+
+ * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU,
+ HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from
+ configure.host and configure.tgt now.
+ * Makefile.in: Rebuild.
+
+
+ * lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate
+ elements to rpath.
+
+
+ * Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o.
+ (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead.
+ * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES)
+ if configuring with all targets.
+ * configure, Makefile.in, aclocal.m4: Rebuild.
+
+ * emultempl/pe.em (pe_enable_stdcall_fixup): Make static.
+ (pe_dll_do_default_excludes): Removed, unused.
+ (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats,
+ pe_dll_stdcall_aliases): Don't initialize them, this file may be
+ compiled more than once.
+ * pe-dll.c (pe_def_file, pe_dll_export_everything,
+ pe_dll_do_default_excludes, pe_dll_kill_ats,
+ pe_dll_stdcall_aliases): Define and initialize them here instead.
+ (generate_reloc): Fix allocation of reloc_addresses array to use
+ bfd_vma instead of unsigned long. Fix element size in qsort call.
+ (reloc_sort): Compare pointers to bfd_vma instead of unsigned
+ long.
+
+
+ * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific
+ files.
+
+
+ * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
+
+
+ * emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR
+ from 0x100000 to 0x10000 so that it fits in 20 bits.
+
+
+ * ldemul.h (ldemul_recognized_file): Declare.
+
+
+ * ldlang.c (lang_add_wild): Don't pretend that there is an input
+ file if the filename is a wildcard pattern.
+
+
+ * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
+ * ldemul.c (ldemul_recognized_file): new function, new hook
+ * ldint.texinfo: document new hook.
+ * ldlang.c (load_symbols): call recognized_hook for all objects we
+ do recognize, in case the emulation needs to handle them
+ specially. PE DLLs use this.
+ * pe-dll.c (pe_dll_generate_def_file): take out hack and debug
+ printfs
+ * emultempl/pe.em (gld_i386_recognized_file): new function
+ (gld_i486_unrecognized_file): take out hack
+
+
+ * pe-dll.c (fill_edata): fill in timestamp
+ (make_head): name object files sequentially to ensure
+ they link in the right order.
+ (make_tail): same here
+ (pe_process_import_defs): use sequential names for bfds to ensure
+ proper link order.
+ (pe_implied_import_dll): new function; handles linking directly
+ against DLLs by simulating IMPORTS directives. * emultempl/pe.em
+ (gld_i386pe_before_parse): hack bfd to not recognize .dll files
+ via bfd_pe_dll_not_recognized_hack
+
+
+ * emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
+ pe_dll_add_excludes
+
+
+ * emultempl/pe.em (after_parse): Only create an undefined entry
+ symbol if one has been specified.
+
+
+ * emultempl/pe.em (gld_i386pe_after_open): call
+ pe_process_import_defs
+ * pe-dll.c (pe_dll_generate_def_file): calculate BASE from
+ pe_data, only print if actually set. Print version only if
+ set.
+ (save_relocs): save relocs for both input and output.
+ (make_one): support internal/external different names.
+ (pe_dll_generate_implib): support new make_one
+ (pe_process_import_defs): new function; handles IMPORT
+ directives in .def files.
+
+
+ * ldmisc.c (vfinfo): Cope with empty symbol names.
+
+
+ * scripttempl/pe.sc: Add provision of '_end' symbol.
+
+
+ * configure.tgt: change refs from cygwin32* to cygwin*.
+ * aclocal.m4: regenerate
+ * configure.in: don't need to call AM_CYGWIN32.
+ * configure: regenerate
+
+
+ * emultempl/pe.em (gld_i386_finish): generate import library
+ * deffile.h: add hint member.
+ * pe-dll.c (pe_dll_generate_implib): New function with helpers;
+ generates the import library directly from the export table.
+ (fill_edata): remember the actual hint for the import library.
+
+
+
+
+ * po/ld.pot: Regenerated.
+ * po/POTFILES.in: Regenerated.
+ * configure: Regenerated.
+ * aclocal.m4: Regenerated.
+ * Makefile.in: Regenerated.
+
+
+ * pe-dll.c (generate_reloc): don't output PE relocs for sections
+ that won't be loaded.
+
+
+ * pe-dll.c (fill_edata): don't strip underscores
+
+
+ * ld.texinfo: added i386pe option summary
+
+
+ * pe-dll.c (process_def_file): properly note undefined exported
+ symbols, clean up old code.
+ (pe_dll_generate_def_file): don't crash if pe_def_file is NULL
+ * emultempl/pe.em (gld_i386_parse_args): add
+ (en/dis)able-stdcall-fixups
+ (pe_fixup_stdcalls): warn about stdcall fixups
+ (gld_i386_unrecognized_file): make exported symbols undefs so that
+ archive members get pulled in
+
+
+ * scripttempl/elfd10v.sc: Add KEEP attribute to .init,
+ .fini, .dtors and .ctors. Add .data and .text
+ wildcards to support section garbage collection.
+
+
+ * deffilep.y: properly handle relocs with multiple def_files,
+ cache import module names
+
+
+ * pe-dll.c (process_def_file): don't assume exports won't move
+ during a realloc
+
+
+ * pe-dll.c: New file; direct support for PE DLLs
+ * deffile.h: New file; direct support for PE DLLs
+ * deffilep.y: New file; direct support for PE DLLs
+ * emultempl/pe.em: add direct support for PE DLLs
+ * configure.tgt: allow target-specific extra files
+ * configure.in: allow target-specific extra files
+ * ldlang.c (lang_add_assignment): return the assignment so that
+ one can change the value later based on the object files (pe-dll
+ DEF files do this)
+ * ldint.texinfo: add section for emulation walkthrough
+ * Makefile.am: add new files and target-specific extra files
+ * emultempl/pe.em (gld_i386_list_options): list dll-specific
+ options.
+ * pe-dll.c (process_def_file): auto-export everything if
+ nothing is otherwise exported.
+
+
+ * Makefile.am: Add support for FR30 target.
+ * configure.tgt: Add support for FR30 target.
+ * Makefile.in: Regenerate.
+ * emulparams/fr30.sh: New file.
+ * scripttemp/fr30.sc: New file.
+
+
+ * ldmain.c (main): Don't report error for dynamic links and
+ --gc-sections.
+
+
+ * lexsup.c (ld_options): Change text of -O to Optimize output file".
+ (parse_args): Set link_info.optimize based on -O argument.
+ * ldmain.c (main): Initialize link_info.optimze to false.
+ * ld.texinfo: Describe -O option.
+ * ld.1: Likewise.
+
+
+ * scripttempl/v850.sc: Move .sbss and .scommon sections into their
+ own segment, so that they can be next to the .bss section and so
+ initialised by the same piece of code.
+
+
+ * scripttempl/elf.sc: Merge .sdata.* etc sections.
+ * ldctor.c (ldctor_build_sets): Set SEC_KEEP for
+ ctor sections.
+
+
+ * ldmain.c (main): Error if --gc-sections and
+ dyanmic linking.
+ * scripttempl/v850.sc: Add KEEP attribute to .init,
+ .fini, .dtors and .ctors. Add .data and .text
+ wildcards to support section garbage collection.
+
+
+ * scripttempl/v850.sc: Rename .call_table section to
+ .call_table_data and create a new section called
+ .call_table_text.
+
+
+ * scripttempl/elf.sc: Add alignment at the end of the .bss
+ section, so that it is included in the memsize of the segment.
+
+
+ * emultempl/elf32.em (gld_place_orphan): Don't process for
+ sections with SEC_EXCLUDE flag.
+
+
+ * emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K.
+ (DATA_SIZE): Increased to 2000K.
+
+
+ * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.
+
* Makefile.am: Change armelf.sc to elf.sc
* Makefile.in: Regenerate.
-
+
* emulparams/armelf.sh: Change SCRIPT_NAME to
elf. Change TEXT_START_ADDR to 0x8000. Define
OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
OTHER_BSS_END_SYMBOLS.
- * scripttempl/elf.sc: Modify to use
+ * scripttempl/elf.sc: Modify to use
OTHER_BSS_END_SYMBOLS.
* scripttempl/elfarm.sc: Remove file.
-.Santizie ChangeLog Makefile.am Makefile.in configure.tgt
* emultempl/armelf.em (gld_armelf_before_allocation):
Add bfd_ prefix to elf32_arm_process_before_allocation
and elf32_arm_allocate_interworking_sections.
- (gld_armelf_after_open): Add bfd_ prefix to
+ (gld_armelf_after_open): Add bfd_ prefix to
elf32_arm_get_bfd_for_interworking.
(CONSTRUCTORS).
-
+
* emulparams/armelf.sh: Define TEMPLATE_NAME to armelf.
- * scripttempl/elfarm.sc: Include .glue_7t and .glue7
+ * scripttempl/elfarm.sc: Include .glue_7t and .glue7
sections.
* emultempl/armelf.em: New file.
-
+
* Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
* Makefile.in: Rebuild.
-start-sanitize-sky
-
- * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
- for .DVP.overlay.* for elf32elmip too.
-
-end-sanitize-sky
* scripttempl/elfarm.sc: Change text start address
* ldlang.c (lang_gc_sections_1): Add default case to switch to
avoid warnings.
-start-sanitize-beos
* configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
* emulparams/i386beos.sh: New file.
* emultempl/beos.em, scripttempl/i386beos.sc: New file.
-end-sanitize-beos
* lexsup.c: New option --version-exports-section.
* ldlang.c (lang_finish): Add CONST type modifier to declaration
of 'send'.
-start-sanitize-sky
-
- * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
- for .DVP.overlay.*.
- * configure.tgt (dvp-*-*): Set targ_emul=elf32l5900.
-
-end-sanitize-sky
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
list_options field of the ld_emulation_xfer_struct for each
supported emulation, if such a function is present.
* lexsup.c (help): Call ldemul_list_emulation_options.
- * emultempl/pe.em (gld_<>_list_options): New function. Describe
+ * emultempl/pe.em (gld_<>_list_options): New function. Describe
the pe emulation specific command line options.
* emultempl/armcoff.em (gld<>_list_options): New function.
Describe the armcoff emulation specific command line options.
* Makefile.in: Add emulation files for POTFILES.in target.
* emultempl/pe.em: Internationalise suitable strings.
- * emultempl/armcoff.em: Internationalise suitable strings.
+ * emultempl/armcoff.em: Internationalise suitable strings.
* po/POTFILES.in: Rebuilt.
-
+
* po/Make-in (install-info): New target.
* configure.tgt (sparclite*-*-elf): Added.
-start-sanitize-vr4320
-
- * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
-
-end-sanitize-vr4320
* ldlang.c (lang_size_sections): If the default memory region is
* configure.host, configure.tgt: Change -linux* to -linux-gnu*.
* Makefile.in: Rebuild.
-start-sanitize-r5900
-
- * Makefile.in (ALL_EMULATIONS): Add eelf32l5900.o
- (eelf32l5900.c): Add rule for building.
- * configure.tgt: Use r5900 specific emulation script.
- * emulparams/elf32l5900.sh: 5900 specific emulation script.
-
-end-sanitize-r5900
* scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE.
* emulparams/elf64_sparc.sh (ELFSIZE): 64
(TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later.
(DATA_PLT): Needed by v9 abi.
-
+
* configure.tgt (i[3456]86-*-mingw32*): New entry.
* scripttempl/elf.sc: Only include linkonce sections in final
sections when relocating.
-start-sanitize-sky
-
- * configure.tgt (dvp-*-*): Recognize.
-
-end-sanitize-sky
* ld.texinfo (Options): Add a brief description of the types of
* scripttempl/armcoff.sc: Add glue sections (code taken from Arm
- branch).
+ branch).
* emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff.
* Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o.
-start-sanitize-tic80
* Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o.
-end-sanitize-tic80
* Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o.
(ed30velf_e.c): Like d30velf, except .text/.data/etc always go in
mismatched input files.
* ld.texinfo, ld.1: Document new option.
-start-sanitize-tx49
-
- * configure.tgt: Add tx49 configury.
-
-end-sanitize-tx49
* scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack'
* emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New
- Variables.
+ Variables.
* scripttempl/v850.sc: Move read only areas out of zero and small
data sections and into their own sections.
* Makefile.am, Makefile.in: Add rule for ev850.c
* configure.tgt (targ_extra_emuls): Add v850 target.
-start-sanitize-v850e
* emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry.
* scripttempl/v850.sc: Add call table data area
-end-sanitize-v850e
Merge change from Martin Hunt:
* ld.texinfo (Section Definition): Clarify use of whitespace.
(Section Placement): Likewise.
-start-sanitize-v850e
* configure.tgt (targ_extra_emuls): Add support for v850e target.
* configure.tgt (targ_extra_emuls): Add support for v850e target.
-end-sanitize-v850e
* scripttempl/i386go32.sc: Rewrite.
* configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
-start-sanitize-r5900
-
- * configure.tgt: Default the r5900 to little endian.
-
-end-sanitize-r5900
* configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
targets.
-start-sanitize-tic80
* scripttempl/tic80coff.sc (.text): Add a leading underscore to
in the .text section. Move .const, .ctors, .dtors into separate
sections.
-end-sanitize-tic80
* scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace
* ldgram.y (vers_node): Correct typo of '(' for '{'.
-start-sanitize-tic80
* scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start
rather than _start.
(__edata): Define this rather than "edata".
(__end): Define this rather than "end".
-
+
* configure.tgt (tic80-*-*): Allow dropping of -coff.
-end-sanitize-tic80
* Makefile.in (ld.dvi): Set MAKEINFO environment variable as well
as TEXINPUTS. Needed for building in separate build dir.
* ldint.texinfo (SCRIPT_NAME): Fix typo.
-start-sanitize-tic80
* emulparams/tic80coff.sh: Rewrite to include internal documentation
about each shell variable that is set (or not set).
* scripttempl/tic80coff.sc: Complete rewrite.
-end-sanitize-tic80
-
+
* ldmain.c (main): Call bfd_set_default_target.
* scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
.mips16.call.* in .text.
-start-sanitize-r5900
-
- * configure.tgt: add r5900.
-
-end-sanitize-r5900
-start-sanitize-tic80
* emulparams/tic80coff.sh: New (dummy) file for TIc80.
* scripttempl/tic80coff.sc: New (dummy) file for TIc80.
* Makefile.in (etic80coff.c): Add target and rule to build it.
* configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
-
-end-sanitize-tic80
+
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for
where the different sections go. Change some whitespace.
* emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define
- appropriately. Remove crud not used anymore.
+ appropriately. Remove crud not used anymore.
* emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004.
(EMBEDDED): Define.
-
+
* ld.texinfo: Add section on reporting bugs.
- * emulparams/d10velf.sh: Changes needed for D10V-EVA board.
- Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
+ * emulparams/d10velf.sh: Changes needed for D10V-EVA board.
+ Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
0x2000000.
-
+
* scripttempl/elfd10v.sc: Fix calculation of .text. Change
.stack to start at 0x2007ffe.
* emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}:
Set a new variable to signify if the final target is an embedded
- system.
+ system.
* scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to
.text for an embedded system.
* configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New.
* emultempl/pe.em (definfo init): Make the default stack reserve
of a PPC larger.
-
+
* configure.tgt (m68*-apple-aux*): New target.
m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd,
pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd,
st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed
- PAGE_SIZE to TARGET_PAGE_SIZE.
+ PAGE_SIZE to TARGET_PAGE_SIZE.
* emulparams/m68knbsd.h: Ditto.
(TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize.
* emulparams/m68k4knbsd.sh: New file.
* scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
-
+
* emultempl/aix.em: Include ldctor.h.
new name parameter.
(constructor_callback): Pass name to ldctor_add_new_set_entry for
new name parameter.
-
+
* ldmisc.c (demangle): Fix indentation. Remove a leading period.
(set_pe_value): New function.
-
+
* emultempl/{armpe.sc, i386pe.sc}: Deleted.
* emultempl/pe.sc: New file performs generic PE support and sorts
* scripttempl/armpe.sc: Always start code at 0x401000, even
if -r.
* ldwrite.c (strdup): New extern declaration.
- * ldgram.y (atype): New rule to clarify type parsing.
+ * ldgram.y (atype): New rule to clarify type parsing.
* ldlang.c (init_os): Remove commented out code.
(lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits
unless told not to by the link script.
* ld.texinfo: -X and -x work even if -s or -S are not specified.
- * ld.1: Similar change.
+ * ld.1: Similar change.
- * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o
+ * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o
and esparcnbsd.o; sorted entries.
(ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets.
* config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files.
* emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files.
- * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*,
+ * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*,
sparc*-*-netbsd*): Use above configs.
* config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh,
scripttempl/nw.sc: New files, for i386 and powerpc netware.
-
+
* configure.in: Changed netware ld_target name to be {i386,ppc}-nw
instead of {i386,ppc}-elf.
* emulparams/pc532machaout.sh: New file. Pc532 mach script
- parameters.
+ parameters.
* emulparams/netbsd532.sh: New file. Netbsd 532 script parameters.
* Makefile.in (check): Delete ld.new dependency so that a regression
- test doesn't trigger a rebuild of the linker.
+ test doesn't trigger a rebuild of the linker.
* ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
- bfd_set_error and new error names.
+ bfd_set_error and new error names.
Call xmalloc_set_program_name.
* ldlang.c (lang_size_sections): Check if bfd_relax_section set
- bfd_errno.
+ bfd_errno.
- * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
+ * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
exit successfully instead of complaining if no input files are
- given.
+ given.
* Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
(em_coff_sparc.c): Add dependencies and build rules.
- * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare.
+ * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare.
- * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR):
+ * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR):
Correct values (?).
- * Makefile.in: Changed CXX back to g++.
+ * Makefile.in: Changed CXX back to g++.
* ldmain.c (set_scripts_dir): Don't look in "." first.
* ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var
- option_longmap.
+ option_longmap.
* genscripts.sh: Put the scripts in the ldscripts directory, not
- emulations.
+ emulations.
* configure.in (ldscripts): Make, instead of emulations.
* Makefile.in (scriptdir): Take off the "ld" part.
(install, clean, distclean): Use ldscripts, not emulations.
* ldlang.h: Change prototype.
-
+
* Makefile.in: canonicalize install.sh; for use within
this directory (and subdirs)
Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
- * Makefile.in: remove install:all and install-info:info
+ * Makefile.in: remove install:all and install-info:info
dependencies (these cause some spurious rebuilds at 'make install'
time)
Fix support for NOLOAD, add INCLUDE
* ldfile.c (ldfile_open_command_file): pass file name to
lex_push_file.
- * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
+ * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
* ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
attribute.
- * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
+ * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
to demangle symbols better
- * ldmain.c (linear_library): don't even think about processing
+ * ldmain.c (linear_library): don't even think about processing
an object file if it's already been done
Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
* ldwrite.c (ldwrite): use malloc to allocate the largest space
used, and pass that down.
* relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
- than alloca.
-
+ than alloca.
+
* configure.in, config/ose68.mt: renamed OSE to ose.
* ldlex.l: now parses comment correctly, added ~ to acceptable
chars in filenames
-
+
* ldexp.c (exp_unop): pass down abs_output_section - now can have
unary -ve constants.
* ldlang.c (lang_map): print changes in sizes due to relaxing
- (size_input_section): maintain the delta information.
+ (size_input_section): maintain the delta information.
* ldlang.h: add new field to struct to contain delta info.
* relax.c (relax_section): complain if input not relaxable.
* ldlex.l : add '_', ',' and '$' to chars which can appear at the
* ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
aliasing problems
-
+
* ldmain.c (main): take out ./ from library path, and close file
before unlinking. Make multiple defs of a symbol create an
unexecable file.
- * ldmisc.c: fatal errosrs delete output file
+ * ldmisc.c: fatal errosrs delete output file
- * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
+ * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
* h8300*: fix bit rot and add support for h8300xray target
* go32.sh: target emulation for go32.
Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
-
+
* cplus-dem.c: yet another copy of this - maybe it should go into
libiberty ?
* ldgram.y: now -V and -v have different actions
* config/mt-coff-h8300: use EMUL like everything else
* ldlang.c: (print_padding_statement): print the right address.
* Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
-
+
Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
* ldfile.c: include ctype.h
* ldmain.c: include the requried prototype headers
* ldwrite.c: get_reloc_upper_bound has been renamed
- bfd_get_reloc_upper_bound
+ bfd_get_reloc_upper_bound
Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
* Makefile.in: Rename .c files generated from ldtemplate
- to have names starting with ld__. This helps 'make clean'.
+ to have names starting with ld__. This helps 'make clean'.
Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
- Add or update copyright notices.
+ Add or update copyright notices.
Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
- Make).
+ Make).
* ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
few BFD types & enums.