Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual
order, and handle (ignore) -mips32r2.
|
|
|
|
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
(GENSCRIPTS): Add @use_sysroot@.
* Makefile.in: Regenerated.
* configure.host: Move setting of NATIVE_LIB_DIRS to...
* configure.tgt: ... here. Use ${target} instead of ${host}
for NATIVE_LIB_DIRS.
* configure.in: Add --with-sysroot.
* configure: Regenerated.
* genscripts.sh: Accept use_sysroot option. Set new variables
NATIVE and USE_LIBPATH. Prepend "=" to directory names if
$use_sysroot. Don't search $tool_lib if $use_sysroot.
* ldfile.c (ldfile_add_library_path): Handle leading '='.
* ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
(ld_sysroot): New variable.
(main): Initialize ld_sysroot.
* ldmain.h (ld_sysroot): New extern.
* emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
searching $EMULATION_LIBPATH.
(gld${EMULATION_NAME}_add_sysroot): New function.
(gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
(gld${EMULATION_NAME}_after_open): Likewise. Only search
environment variables if $NATIVE.
* ld.texinfo (Options): Mention "=" prefix in the description of -L.
* NEWS: Mention --with-sysroot.
* emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
instead of setting LIB_PATH.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64_sparc.sh: Likewise.
* emulparams/elf64ppc.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
* emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
|
|
|
|
* Makefile.in: Regenerated.
* ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
search path.
|
|
(eelf32iq2000.c): New target.
* Makefile.in: Regenerate.
* configure.tgt: Handle iq2000-*-elf.
* emulparams/elf32iq10.sh: New file.
* emulparams/elf32iq2000.sh: New file.
* scripttempl/iq2000.sc: New file.
|
|
|
|
* elfxx-mips.c: Include libiberty.h.
(elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove.
(mips_set_isa_flags): New function, split out from...
(_bfd_mips_elf_final_write_processing): ...here. Only call
mips_set_isa_flags if the EF_MIPS_MACH bits are clear.
(mips_mach_extensions): New array.
(mips_32bit_flags_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks.
Use mips_32bit_flags_p to check if one binary is 32-bit and the
other is 64-bit. When adopting IBFD's architecture, adopt the
bfd_mach as well as the flags.
ld/testsuite/
* ld-mips-elf/jr.s: New file.
* ld-mips-elf/mips-elf-flags.exp: New test.
|
|
|
|
* ldlang.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
|
|
* Makefile.am (ld.1): Depend on configdoc.texi
and ldver.texi.
* Makefile.in: Regenerated.
|
|
|
|
(HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
|
|
|
|
* lexsup.c (OPTION_STRIP_DISCARDED): Define.
(OPTION_NO_STRIP_DISCARDED): Define.
(ld_options): Add "strip-discarded" and "no-strip-discarded".
(parse_args): Handle them.
|
|
architecture it does not recognise, unless it has explicitly told to accept
them.
|
|
fields.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use the direct auto-import of dll's
|
|
* ld-mips-elf/branch-misc-2.d: Removed.
|
|
|
|
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
list too.
|
|
|
|
are initialized.
|
|
load_base for orphans that follow a section with load_base set.
|
|
the fix continues to work.
|
|
* ld.texinfo: Remove the extra `;' in sample version script.
|
|
* ld-m68hc11/bug-1417.s: New test.
* ld-m68hc11/bug-1417.d: Likewise.
|
|
|
|
* Makefile.in: Regenerate.
|
|
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
|
|
* symbols.h (S_SET_THREAD_LOCAL): New prototype.
* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
* config/tc-ia64.c (md_apply_fix3): Likewise.
* config/tc-alpha.c (md_apply_fix3): Likewise.
* ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
|
|
unresolved debugging relocs in dynamic applications.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* ld-sh/refdbg-0-dso.d: New test.
* ld-sh/refdbg-1.d: Likewise.
* ld-sh/refdbg.s: Likewise.
* ld-sh/refdbglib.s: Likewise.
|
|
* configure.host: Fix generic FreeBSD configuration entry.
|
|
* ld.texinfo: Add the missing `;' to sample version scripts.
|
|
* ld-elf/sec64k.exp: Reinstate.
|
|
* ld-elf/merge.s: New file.
* ld-elf/merge.d: New file.
* ld-elf/merge.ld: New file.
|
|
Also move some changelog entries to where they belong.
|
|
* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x
from test
* binutils/testsuite/binutils-all/objdump.exp: Setup proper
values for tic4x testcase
* gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase
* gas/testsuite/gas/macros/macros.exp: Ditto
* gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase
* gas/testsuite/gas/macros/macros.exp: Ditto
* gas/testsuite/gas/tic4x: New tic4x gas testsuite directory
* ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase
|
|
|
|
|
|
been marked SEC_EXCLUDE.
|
|
|