Nick Clifton
019ac0e357
Fix generation of tic3xcoff_onchip.c
2003-01-21 17:09:47 +00:00
Nick Clifton
da896d3fcc
Add support for i386-*-aros triple.
2003-01-21 16:08:31 +00:00
Svein Seldal
0da35f8be8
Updates for fixing tic4x arch tagging of its object files.
...
* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks.
* include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug
* include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros
* ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
* ld/Makefile.in: Regenerate
* ld/configure.tgt: Added extra target emulations
* ld/emulparams/tic3xcoff.sh: Remove old settings
* ld/emulparams/tic4xcoff.sh: Ditto
* ld/emulparams/tic3xcoff-onchip.sh: Added new
* ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
* ld/scripttempl/tic3xcoff.sc: Remove
2003-01-20 22:34:39 +00:00
Andreas Jaeger
ae42d3a94d
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
...
skip ':'.
2003-01-17 10:36:49 +00:00
Alan Modra
6f78fb71bb
* Makefile.in: Regenerate.
2003-01-16 04:11:53 +00:00
Nick Clifton
0a5d968ed1
(node WIN32): Some clarifications and formatting fixups.
2003-01-14 11:25:58 +00:00
Chris Demetriou
6f33421c47
2003-01-09 Chris Demetriou <cgd@broadcom.com>
...
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual
order, and handle (ignore) -mips32r2.
2003-01-09 21:26:53 +00:00
Daniel Jacobowitz
a65fb6096a
* ldmain.c (main): Make sure ld_sysroot is initialized.
2003-01-09 16:40:14 +00:00
Daniel Jacobowitz
9c8ebd6a51
* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
...
* 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.
2003-01-06 16:14:01 +00:00
Christopher Faylor
54d4efe3df
* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
2003-01-05 03:04:10 +00:00
Daniel Jacobowitz
cdc0d45e15
* Makefile.am (ldmain.o): Pass BINDIR.
...
* Makefile.in: Regenerated.
* ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
search path.
2003-01-04 20:40:28 +00:00
Stan Cox
e09a710638
* Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
...
(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.
2003-01-04 02:04:44 +00:00
Nick Clifton
1c43e6e58a
Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.
2003-01-02 10:26:41 +00:00
Kazu Hirata
396a246719
* ldfile.c: Fix comment typos.
...
* ldlang.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
2003-01-02 03:53:53 +00:00
Daniel Jacobowitz
980c112ced
Suggested by Manfred Hollstein <manfred.h@gmx.net>:
...
* Makefile.am (ld.1): Depend on configdoc.texi
and ldver.texi.
* Makefile.in: Regenerated.
2003-01-02 00:47:44 +00:00
Nick Clifton
2469cfa284
Add support for msp430.
2002-12-30 19:25:13 +00:00
Nick Clifton
3f8173588e
(HAVE_REALPATH): New entry.
...
(HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
2002-12-30 12:37:58 +00:00
Nick Clifton
dc8465bf50
New win32 topics: 'symbol aliasing' and 'export dll symbols'.
2002-12-30 11:44:51 +00:00
Alan Modra
d5cd393307
* ldmain.c (main): Init "strip_discarded".
...
* lexsup.c (OPTION_STRIP_DISCARDED): Define.
(OPTION_NO_STRIP_DISCARDED): Define.
(ld_options): Add "strip-discarded" and "no-strip-discarded".
(parse_args): Handle them.
2002-12-23 12:05:38 +00:00
Nick Clifton
312b768e2f
Change linker's default behaviour - it will now reject binary files whoes
...
architecture it does not recognise, unless it has explicitly told to accept
them.
2002-12-23 10:45:03 +00:00
Alan Modra
b506760271
* ldmain.c (main): Re-order link_info initialization. Init all
...
fields.
2002-12-19 23:11:19 +00:00
Nick Clifton
69da35b57a
Clarify and extend the documentation in the Machine Dependent, WIN32 section.
2002-12-19 17:25:02 +00:00
Nick Clifton
0bc4911d08
Add win32 library search path.
2002-12-18 16:56:19 +00:00
Nick Clifton
2ca22b0314
Add win32 machine depending section.
2002-12-18 16:25:02 +00:00
Nick Clifton
4cd898632a
Don't search for data import when auto-import is disabled.
2002-12-17 12:16:38 +00:00
Nick Clifton
2a8ac465c4
Use LD_PATHMAX+1 to account for trailing '\0'.
2002-12-17 11:01:25 +00:00
Nick Clifton
a08a0d635b
Duplicate entry for --compact-implib so that it is not confused with -c.
2002-12-17 10:03:52 +00:00
Nick Clifton
939ba9d0fc
Add support to skip import libraries for performance reasons and instead
...
use the direct auto-import of dll's
2002-12-16 18:02:16 +00:00
Alan Modra
1e5e54006d
* emultempl/elf32.em (struct orphan_save): Add os_tail field.
...
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
list too.
2002-12-10 03:34:43 +00:00
Alan Modra
f53154de5a
* ldlang.h: Formatting.
2002-12-08 03:56:04 +00:00
Alan Modra
18794b0c44
* ldlang.c (init_os): Ensure sections mentioned in load_base
...
are initialized.
2002-12-06 22:33:18 +00:00
Alan Modra
36478e9d6f
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
...
load_base for orphans that follow a section with load_base set.
2002-12-04 23:56:14 +00:00
H.J. Lu
a981ed6f5c
2002-12-01 H.J. Lu <hjl@gnu.org>
...
* ld.texinfo: Remove the extra `;' in sample version script.
2002-12-02 00:40:28 +00:00
Alan Modra
08a1b063ad
* configure.host: Correct dynamic-linker for powerpc64 hosts.
2002-11-30 09:00:36 +00:00
Alan Modra
4a1359d7a7
* Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
...
* Makefile.in: Regenerate.
2002-11-30 08:56:22 +00:00
Alan Modra
b34976b65a
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
...
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-30 08:39:46 +00:00
David O'Brien
3b70b24ee4
2002-11-27 David O'Brien <obrien@FreeBSD.org>
...
* configure.host: Fix generic FreeBSD configuration entry.
2002-11-28 02:10:38 +00:00
H.J. Lu
7c9c73bedd
2002-11-27 H.J. Lu <hjl@gnu.org>
...
* ld.texinfo: Add the missing `;' to sample version scripts.
2002-11-27 19:42:10 +00:00
Alan Modra
1a3fdaa703
* emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
...
Also move some changelog entries to where they belong.
2002-11-20 01:02:44 +00:00
Svein Seldal
48c5eb8a70
TIC4X testcase commit
...
* 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
2002-11-18 08:28:44 +00:00
Nick Clifton
2fa9fc65a5
Add --enable-auto-import extension.
2002-11-14 18:03:17 +00:00
Alan Modra
c4c4121963
* ldlang.c (lang_add_section): Discard debugging sections that have
...
been marked SEC_EXCLUDE.
2002-11-12 11:31:43 +00:00
Nick Clifton
cd24c22246
Add new/updated Danish translations
2002-11-12 10:08:25 +00:00
Alan Modra
836c6af1fd
* emultempl/ppc64elf.em (ppc_before_allocation): New function.
...
(LDEMUL_BEFORE_ALLOCATION): Define.
(gld${EMULATION_NAME}_finish): Run discard_info for relocatable
linking.
* emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
2002-11-12 07:56:38 +00:00
Christopher Faylor
f8b0dbb817
* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.
2002-11-12 03:48:43 +00:00
Christopher Faylor
9e8d33e774
* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list of
...
restricted auto-export libs.
2002-11-11 21:16:28 +00:00
Christopher Faylor
75c2ea5b08
* pe-dll.c (autofilter_liblist): Generalize library names to catch more
...
creative library naming instances like, e.g., libstdc++-2.a.
2002-11-11 17:42:36 +00:00
Alexandre Oliva
426af4fec2
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
...
* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
2002-11-07 00:46:59 +00:00
Nick Clifton
c9e3887989
Adds support for fastcall symbols as used on Microsoft Windows platforms
...
(i386)
2002-11-06 19:36:20 +00:00
Daniel Jacobowitz
df2a731323
* emultempl/aix.em: Use include <> for generated headers.
...
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/pe.em: Likewise.
* ldctor.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldlex.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
2002-10-30 03:57:39 +00:00
Jakub Jelinek
a8927cfd1a
* emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
...
sections into .rel{,a}.dyn.
2002-10-23 20:13:01 +00:00
Nick Clifton
63fd3b826b
Add new command line option "--no-omagic" which undoes the effects of -N.
2002-10-23 13:24:10 +00:00
Nick Clifton
3637916721
(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
...
only when relocating.
2002-10-23 11:21:27 +00:00
Alexandre Oliva
3ffe58d945
* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
...
emulation name. Set LIB_PATH only for native tools, and
search the ABI-specific versions of NATIVE_LIB_DIRS before the
.../lib variants, not instead of them. Mostly copied from...
* emulparams/elf32ppc.sh: ... here. Fixed typo.
* emulparams/elf64bmip-defs.sh: Backed out.
* emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
* emulparams/elf64btsmip.sh: Likewise.
(DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
TEXT_DYNAMIC): Removed.
2002-10-22 22:13:26 +00:00
Alexandre Oliva
e316b3a0ed
* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
...
(GENERATE_SHLIB_SCRIPT): Set to yes.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
* emulparams/elf32bmipn32.sh: here.
(GENERATE_SHLIB_SCRIPT): Deleted as redundant.
* emulparams/elf32btsmipn32.sh: Delete redundant unsets.
* emulparams/elf64bmip-defs.sh: New file. Extend
elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
* emulparams/elf64bmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
settings.
(WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
* emulparams/elf64btsmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
2002-10-17 21:54:44 +00:00
Jakub Jelinek
f52d1d6405
* config.bfd (s390-*-linux*): Add targ64_selvecs.
...
(s390x-*-linux*): Add targ_selvecs.
* config.table: Use mh-s390pic for s390x too.
* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
(s390-*-linux*): Add elf64_s390 emulation if want64.
* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
genscript.sh changes.
* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-16 19:54:54 +00:00
Alan Modra
03bdc40405
* ldlang.c (load_symbols): Revert last change.
2002-10-15 00:09:02 +00:00
Alan Modra
7c519c12a3
* ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
...
just_syms_flag.
(lang_reasonable_defaults): Don't compare against false.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_do_assignments): Likewise.
(lang_add_output): Likewise.
2002-10-14 13:08:19 +00:00
Alan Modra
c6db2f0545
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* ldver.c: #include "bfdver.h".
2002-10-14 12:09:18 +00:00
Stephane Carrez
e1026ffb69
* scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
...
.finiN section.
* scripttempl/elfm68hc12.sc: Likewise.
2002-10-13 09:29:35 +00:00
Alan Modra
fe213ce218
* pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
2002-10-11 08:59:24 +00:00
Alan Modra
2d801b0fa0
* ldgram.y (memory_spec): Provide empty action.
...
(section <NAME>): Likewise.
2002-10-11 07:39:07 +00:00
Jakub Jelinek
599917b82b
* ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
...
they have OUTPUT_FORMAT not matching actual output format.
* ldlang.c (lang_get_output_target): New function.
(open_output): Use it.
* ldlang.h (lang_get_output_target): New prototype.
2002-10-10 15:59:10 +00:00
Alan Modra
24cdb50ae8
* emultempl/elf32.em (output_rel_find): Prefer .rel script sections
...
when orphan is .rel, .rela when orphan is .rela.
(gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
first. Remove outsecname var.
2002-10-10 02:52:27 +00:00
Stephen Clarke
a2b3c63041
* Makefile.am: Add eshelf32_linux.o and
...
eshlelf32_linux.o, new emulations for sh64 Linux.
* Makefile.in: Regenerate.
* configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
* emulparams/shelf32_linux.sh: New file.
* emulparams/shlelf32_linux.sh: New file.
2002-10-09 19:09:59 +00:00
H.J. Lu
c04c958616
2002-10-08 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (lang_file_exist): Removed.
(new_afile): Revert the last change.
* ldlang.h (lang_file_exist): Removed.
* lexsup.c (parse_args): Revert the last change.
2002-10-08 20:12:45 +00:00
Nick Clifton
39cebe23da
Don't re-export auto-import symbols.
2002-10-07 16:36:11 +00:00
Nick Clifton
53b2a62f07
Abort if the filename to be added matches the linker output filename.
2002-10-07 16:08:21 +00:00
Alan Modra
a86a09cc1b
* emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
2002-10-02 02:21:52 +00:00
Alan Modra
1bf0a4d93e
* scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
...
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
2002-09-30 09:31:31 +00:00
H.J. Lu
42f986191b
No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.
2002-09-30 04:23:40 +00:00
Alan Modra
ba49312244
* emultempl/elf32.em (output_rel_find): Always place orphan loadable
...
reloc sections just before .rel.plt/.rela.plt.
(gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
Only put loadable reloc sections in hold_rel.
2002-09-30 03:34:46 +00:00
H.J. Lu
fdb9132d5f
2002-09-29 H.J. Lu <hjl@gnu.org>
...
* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
* ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
2002-09-29 23:59:49 +00:00
Daniel Jacobowitz
ff3268267c
From "Anita Kulkarni" <AnitaK@kpit.com>
...
* scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
sections.
2002-09-25 17:06:09 +00:00
Alan Modra
1ddd7b13ed
* genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
...
TARGET_PAGE_SIZE.
* scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
SEGMENT_SIZE alignment.
* emulparams/elf64ppc.sh (DATA_ADDR): Delete.
(SEGMENT_SIZE): Define.
2002-09-25 07:21:08 +00:00
Alan Modra
0ae1cf52b2
* ldexp.c (fold_unary): New. Split out from exp_fold_tree.
...
(fold_binary): Correct abs - non-abs case.
(fold_trinary): New. Split out from exp_fold_tree.
2002-09-25 02:42:13 +00:00
Alan Modra
06143382c6
* emulparams/elf64ppc.sh (DATA_ADDR): Define.
...
* emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
for start of .data, instead align up to 256M boundary.
* scripttempl/aix.sc: Likewise.
2002-09-24 04:02:03 +00:00
DJ Delorie
8e616ecc6b
* scripttempl/i386go32.sc: Handle bss unique sections.
2002-09-23 11:36:15 +00:00
Alan Modra
5cfb2bb208
* ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
2002-09-21 14:14:25 +00:00
Stan Cox
dd2e090509
* emulparams/elf32bmipn32-defs.sh: New file.
...
* emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
* emulparams/elf32btsmipn32.sh: Likewise.
* emulparams/elf64bmip.sh: Likewise.
* emulparams/elf64btsmip.sh: Likewise.
2002-09-18 01:54:37 +00:00
David O'Brien
4ada7262d0
2002-09-16 Bruno Haible <bruno@clisp.org>
...
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included
by a target variant implementation.
* elf64-alpha.c: Likewise.
* elf32-i386-fbsd.c: New file.
* elf64-alpha-fbsd.c: New file.
* targets.c: Support bfd_elf32_i386_freebsd_vec and
bfd_elf64_alpha_freebsd_vec.
* configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec,
bfd_elf64_alpha_freebsd_vec.
* Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c.
(BFD64_BACKENDS): Add elf64-alpha-fbsd.lo.
(BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c.
(elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies.
* config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD
specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate.
* config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
* config/tc-i386.c (i386_target_format): Likewise.
* config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
* emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
elf32-i386-freebsd.
* emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
elf64-alpha-freebsd.
Approved by: Alan Modra <amodra@bigpond.net.au>
Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>
2002-09-17 02:24:40 +00:00
Nick Clifton
004d9cafa4
New TI port supports both C4x and C3x series of DSPs.
2002-09-11 14:42:45 +00:00
Nick Clifton
e09f439535
Update translations
2002-09-11 13:52:17 +00:00
Jeff Law
0b3a6a28f9
* configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
2002-09-06 20:42:40 +00:00
Nick Clifton
67010b4679
Add EXTERN references to __ctbpm __gp and __ep.
...
Define TEMPLATE_NAME.
Revert bogus change to ldexp.c
2002-09-02 17:03:30 +00:00
Nick Clifton
3e369e968e
Fix PROVIDE
2002-09-02 14:46:56 +00:00
Nick Clifton
5435462c55
Update description to reflect D10V TS3 board.
2002-08-30 11:34:40 +00:00
Alan Modra
5c368657dc
* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
2002-08-30 08:30:41 +00:00
Nick Clifton
026df7c5e6
Add TMS320C4x support
2002-08-28 10:38:51 +00:00
Alan Modra
c89e8944a4
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
...
strtoul and strtoull with bfd_scan_vma.
(gld${EMULATION_NAME}_read_file): Likewise.
2002-08-28 01:55:46 +00:00
Alan Modra
6459ecfa96
* configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
2002-08-28 00:10:47 +00:00
Nick Clifton
ad5211bec5
Handle .rdata_runtime_pseudo_reloc sections.
2002-08-27 11:12:53 +00:00
Nick Clifton
88f7bcd5a7
Revert ARM linker patch and apply similar patch to bfd instead
2002-08-27 11:01:55 +00:00
Nick Clifton
8e523c2334
Add --with-lib-patch configure switch.
2002-08-23 08:03:32 +00:00
Nick Clifton
d9a7f7ab85
Set the last bit of DT_INIT and DT_FINI depending on the type of the function.
2002-08-22 19:11:51 +00:00
Nick Clifton
ed71e1110d
Add sh-nto support
2002-08-22 17:27:20 +00:00
Alan Modra
7abb6dea2c
* ldlang.c (offsetof): Define if not defined.
2002-08-20 23:48:18 +00:00
H.J. Lu
e92290077e
Always enable 64bit targets for 32bit Linux/mips.
2002-08-14 15:05:41 +00:00
Alan Modra
3c6706bb5f
* ld.texinfo (ALIGN): Remove power of 2 restriction.
2002-08-13 02:27:11 +00:00
Alan Modra
c553bb910d
* emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
...
(MAXPAGESIZE): Set to 1.
* ld.h (ALIGN_N): Delete.
* ldexp.h (align_n): Declare.
* ldexp.c (align_n): New function.
(fold_binary): Use align_n instead of ALIGN_N.
(exp_fold_tree): Likewise.
* ldlang.c (lang_size_sections_1): Likewise.
(lang_one_common): Likewise.
2002-08-13 02:08:26 +00:00
Nick Clifton
59bc061d4b
Add QNX Neutrino PowerPC support and common up QNX functions
2002-08-09 15:38:24 +00:00
H.J. Lu
3194163592
Check symbols with undefine version.
2002-08-08 03:50:18 +00:00
Nick Clifton
2004afbc1d
Only search for an interworking bfd if there are input bfds.
2002-08-07 15:22:41 +00:00
Alan Modra
7fc44b9cd6
* emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
...
2002-05-10 change.
2002-08-06 11:40:30 +00:00
Nick Clifton
24a1ba0f48
Revert Adam Nemet's THUMB PLT patch
2002-08-01 14:03:01 +00:00
H.J. Lu
ebc6e014ba
2002-07-31 H.J. Lu <hjl@gnu.org>
...
* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
--enable-64-bit-bfd.
2002-08-01 06:29:44 +00:00
H.J. Lu
39a2a3eb35
Enable x86-64 for Linux/i386 if 64bit BFD is selected.
2002-08-01 06:24:53 +00:00
H.J. Lu
a0dfa6a805
Enable 64bit emulations for Linux/mips if 64bit BFD is selected.
2002-07-31 22:26:53 +00:00
Nick Clifton
f7c33884fa
Add new field to bfd_link structure and use it to control how common symbols
...
are extracted from archives.
2002-07-31 12:50:09 +00:00
Nick Clifton
8f64befb29
Add support for Thumb PLT entries with interworking
2002-07-31 12:04:47 +00:00
Nick Clifton
500800ca01
Retroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
...
2.11BSD a.out support.
2002-07-31 09:59:03 +00:00
Thiemo Seufer
7808a785c5
* Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
...
for n32 ABI support.
* Makefile.in: Regenerate.
* configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
n32 ABI emulations for these 64 bit targets.
* emulparams/elf32bmipn32.sh: Expand comment.
* emulparams/elf32btsmipn32.sh: New file, for traditional big endian
n32 ABI.
* emulparams/elf32ltsmipn32.sh: Likewise for little endian.
2002-07-30 23:48:30 +00:00
Nick Clifton
7e392df659
Add arm-*-nto port.
2002-07-30 17:32:30 +00:00
Jakub Jelinek
704afa601f
* elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.
...
* ldlang.c (lang_add_section): Don't turn .tbss into normal sections
for relocatable link.
(lang_size_sections_1): Don't make .tbss zero size for relocatable
link.
2002-07-30 14:28:55 +00:00
Bernd Schmidt
7dcd22c276
Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh
2002-07-26 11:14:04 +00:00
Nick Clifton
219576a4db
New translations
2002-07-25 10:31:28 +00:00
Nick Clifton
ff3063f557
Update Spanish and Swedish translations
2002-07-24 09:34:08 +00:00
Alan Modra
a59f3d35c8
Add missing 2001-09-29 entry
2002-07-24 06:45:02 +00:00
H.J. Lu
d11032092d
Fix a typo.
2002-07-24 06:42:54 +00:00
Nick Clifton
0461a601af
update translations.
2002-07-23 09:58:05 +00:00
Alan Modra
25844aaec2
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
...
bomb on /DISCARD/ input section.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
2002-07-20 13:41:11 +00:00
Hans-Peter Nilsson
3595bd6e74
* emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
...
output section.
2002-07-19 02:56:59 +00:00
Nick Clifton
cf88bb9f09
Add IP2k support to BFD and LD
2002-07-17 14:15:52 +00:00
Nick Clifton
2cbb2eefe2
Add 'Chnages in 2.13' to NEWS files.
2002-07-16 07:58:34 +00:00
H.J. Lu
96a94295f2
bfd/
...
2002-07-14 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_assign_sym_version): Hide the default
definition if there is a hidden versioned definition.
ld/
2002-07-14 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Document a .symver takes precedence over a
version script.
2002-07-15 02:23:26 +00:00
Alan Modra
120d20f266
* emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
...
(COMMONPAGESIZE): Define.
2002-07-12 06:48:54 +00:00
Alan Modra
0d2ddeb220
* emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
2002-07-09 08:13:06 +00:00
Alan Modra
554690edf3
oops, forgot to commit.
2002-07-09 07:49:49 +00:00
Alan Modra
34786259b8
* ldlang.c (print_wild_statement): Fix output formatting.
2002-07-05 12:54:28 +00:00
Alan Modra
4bd5a3935b
* ldlang.c: (strip_excluded_output_sections): New function.
...
(lang_process): Call it.
(lang_size_sections_1): Revert 2002-06-10 change.
2002-07-04 14:41:01 +00:00
Alan Modra
ce4f738593
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
...
Run "make dep-am".
* Makefile.in: Regenerate.
2002-07-02 23:56:53 +00:00
Alan Modra
71daf8b446
* ldfile.c (ldfile_try_open_bfd): Formatting.
2002-07-02 04:26:39 +00:00
Alan Modra
b7b482a3f5
* ldmisc.c (demangle): Move so that it doesn't intrude between
...
vfinfo comment and body. Add comment.
2002-07-02 04:21:57 +00:00
Alan Modra
29e2951eb7
* emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
2002-07-01 08:32:30 +00:00
Alan Modra
e3e942e990
* ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
...
* ldlang.c (entry_sym): Likewise.
(ldlang_undef_chain_list_type): Likewise.
(lang_finish): Adjust references to entry_symbol.
(lang_add_entry): Likewise.
(lang_gc_sections): Use link_info.gc_sym_list.
(lang_process): Set link_info.gc_sym_list.
* ldlex.l: Include bfdlink.h.
* ldmain.c (main): Init link_info.gc_sym_list.
* emultempl/aix.em: Adjust references to entry_symbol.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em (ppc_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
* emulparams/elf64ppc.sh: KEEP .opd sections.
2002-07-01 08:07:31 +00:00
Stephane Carrez
a66c0f2c3b
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
...
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
2002-06-29 10:33:45 +00:00
Jeff Law
2b67cf0053
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
...
section. Add ${RELOCATING-0}.
2002-06-27 22:57:50 +00:00
Joern Rennecke
164c405440
ld:
...
* emulparams/shelf.sh (STACK_ADDR): Don't define.
(OTHER_SECTIONS): Define.
* emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
(OTHER_SECTIONS): Undef.
newlib:
* libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
* config/sh/crt1.asm: remove _stack label definition
and sentinel value.
2002-06-26 15:42:33 +00:00
Alan Modra
fc28fbc2a9
* ldmisc.c (demangle): Restore dots stripped from sym name.
2002-06-26 13:22:55 +00:00
H.J. Lu
a13a0de813
2002-06-25 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.
2002-06-26 01:12:32 +00:00
Nick Clifton
b553b18375
Update bug reporting guidelines
2002-06-20 14:44:10 +00:00
Nick Clifton
2755afbaec
Remove romp target
2002-06-20 14:10:38 +00:00
Chris Demetriou
7d0a848ef9
2002-06-18 Chris Demetriou <cgd@broadcom.com>
...
* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
section flags for SEC_DATA, rather than for SEC_CODE being unset.
2002-06-19 05:34:56 +00:00
Chris Demetriou
8505f88407
2002-06-18 Chris Demetriou <cgd@broadcom.com>
...
* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
format specifier used to print BFD name.
2002-06-19 01:52:52 +00:00
Dave Brolley
7d553a408b
2002-06-18 Dave Brolley <brolley@redhat.com>
...
From Catherine Moore, Michael Meissner, Jim Blandy:
* emulparams/elf32frv.sh: New file.
* configure.tgt: Support frv-*-*.
* Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
(eelf32frv.c): New target.
2002-06-18 21:17:27 +00:00
Tom Rix
8243435612
Fix ld segfault for some elf targets. Fix default layout for d10v.
2002-06-17 14:08:40 +00:00
Joern Rennecke
5d9b5481e3
Individual processor configurations for sh-elf / sh-linux:
...
gcc:
* config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
* config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
* sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
(SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
(SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
(SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
(SELECT_SH5_COMPACT_NOFPU): Likewise.
(TARGET_SWITCHES): Use them.
(TARGET_CPU_DEFAULT): Define if not already defined.
(TARGET_DEFAULT): Use it.
(LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
* config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
* config/sh/t-monolib: New file.
bfd:
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*,
sh[1234]*-elf*.
ld:
* configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
Still outstanding:
config.sub:
* config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele,
shle, sh[1234]le, sh3ele, sh64le.
2002-06-13 20:11:35 +00:00
H.J. Lu
c4bb8067a5
2002-06-12 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
false if xvec doesn't match.
2002-06-13 02:43:23 +00:00
Richard Sandiford
e052cfbe68
* ldlang.c (lang_size_sections_1): Skip removed output sections.
2002-06-10 16:12:04 +00:00
Alan Modra
4da711b140
* ldexp.c: Replace CONST with const.
...
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ldlex.l: Likewise.
* mri.c: Likewise.
* pe-dll.h: Likewise.
2002-06-08 07:39:45 +00:00