Nick Clifton
f11523b013
Abort if input format is ARM and output format is not
1999-07-05 07:51:39 +00:00
Ian Lance Taylor
39e878bf53
x
1999-07-02 07:46:15 +00:00
Ian Lance Taylor
e361c369df
* ldlang.c: Revert change of 1999-06-23.
1999-07-02 07:45:31 +00:00
Ian Lance Taylor
85f7047147
rebuild
1999-07-02 07:18:40 +00:00
Mark Mitchell
dc83197880
* Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o.
...
(eelf32bmipn32.c): New target.
* Makefile.in: Regenerated.
* configure.tgt (mips-sgi-irix6*): Make n32 the default
emulation.
* emulparams/elf32bmipn32.sh: New file.
1999-06-30 21:00:10 +00:00
Nick Clifton
a0290afa96
Patch from: Jim Pick <jim@jimpick.com>
...
Added code so that .xs linker scripts are called so that ARM shared libraries
are built correctly.
CVS: ----------------------------------------------------------------------
1999-06-29 02:45:00 +00:00
Mark Mitchell
3dbf70a218
* ldmain.c (main): Initialize link_info.init_function and
...
link_info.fini_function.
* lexsup.c (OPTION_INIT): New macro.
(OPTION_FINI): Likewise.
(ld_options): Add descriptions for them.
(parse_args): Handle them.
1999-06-23 11:09:30 +00:00
Ian Lance Taylor
7b9eea348f
* ldlang.c (section_already_linked): Only discard link once
...
sections if we are building constructors.
1999-06-22 21:13:24 +00:00
Nick Clifton
5c6bbab8fe
document behaviour of dot inside sections.
1999-06-22 11:23:06 +00:00
Mark Mitchell
a8e53fb060
* scripttempl/elf.sc (WRITABLE_RODATA): New variable for
...
controlling whether or not .rodata is in the data segment or the
text segment.
1999-06-21 13:11:05 +00:00
Nick Clifton
6f798e5c17
Add new command line switch --thumb-entry.
1999-06-21 03:30:32 +00:00
Richard Henderson
ba2be5816c
H.J. Lu <hjl@gnu.org>
...
* configure.in (all_libpath): Accumulate across all enabled targets.
1999-06-20 17:43:44 +00:00
Richard Henderson
f97f730029
* emultempl/armelf.em: Watch EMULATION_LIBPATH instead of
...
DEFAULT_EMULATION.
* emultempl/elf32.em: Likewise.
* emultempl/sunos.em: Likewise.
1999-06-20 14:12:08 +00:00
Richard Henderson
3336653ad1
* Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL.
...
* configure.in (all_emuls): Add targ_extra_libpath.
(all_libpath, EMULATION_LIBPATH): Define.
* configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath.
* genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH.
1999-06-18 15:25:45 +00:00
Andreas Schwab
308b1ffded
Fix use of @item vs. @itemx.
1999-06-14 01:40:26 +00:00
Ian Lance Taylor
2575273dcb
mention --no-undefined
1999-06-13 19:25:57 +00:00
Ian Lance Taylor
277c9afe08
mention EXCLUDE_FILE
1999-06-13 10:20:50 +00:00
Ian Lance Taylor
197a7bfdca
* ld-checks/asm.s: Use a symbol name for .lcomm.
...
* ld-checks/checks.exp: Use different names for the two tests.
Don't add extra text when invoking fail.
1999-06-12 22:40:18 +00:00
Ian Lance Taylor
aa8804e46e
This fixes ! to work as documented in a memory region attribute list.
...
From Thomas Zenker <thz@lennartz-electronic.de>:
* ldgram.y (attributes_opt): Use attributes_list instead of NAME.
(attributes_list, attributes_string): New nonterminals.
* ldlang.c (lang_set_flags): Add invert parameter. Don't handle
'!'.
* ldlang.c (lang_set_flags): Update declaration.
1999-06-12 21:24:56 +00:00
Ian Lance Taylor
2a275620b1
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add
...
entry_symbol as an undefined symbol when doing a relocateable
link. From <jeffdb@goodnet.com>.
1999-06-12 14:00:03 +00:00
Ian Lance Taylor
2641b0c9d8
1999-06-12 David O'Brien <obrien@freebsd.org>
...
* configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF.
1999-06-12 13:18:26 +00:00
Ian Lance Taylor
99c262f8b0
* ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
...
to "*-*-linux*aout*".
* ld-scripts/weak.exp: Likewise.
* ld-shared/shared.exp: Likewise. Simplify condition a bit.
1999-06-12 10:47:08 +00:00
Nick Clifton
f75692fe1a
restore previous format of --help output
1999-06-09 05:35:55 +00:00
Andreas Schwab
2bdba6c9ec
* ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
...
* ld-shared/sh1.c: Fix typo.
1999-06-09 03:04:03 +00:00
Ian Lance Taylor
77e0b0efdb
1999-06-04 H.J. Lu <hjl@gnu.org>
...
* lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
necessary.
1999-06-04 20:49:14 +00:00
Nick Clifton
434d1125a3
Rename epoc-pe interworking function names to avoid a name space clash
1999-06-04 07:40:35 +00:00
Richard Henderson
e0a2c38a7b
Update.
1999-06-03 03:26:53 +00:00
Richard Henderson
4305932a21
Jason Merrill <jason@yorick.cygnus.com>
...
* scripttempl/v850.sc: Add initp support.
1999-06-02 20:47:23 +00:00
Nick Clifton
46d23b7c90
Rename ARM interworking functions to avoid a name space collision
1999-06-02 14:26:01 +00:00
Richard Henderson
cd785be602
Forgot to commit.
1999-06-02 12:29:27 +00:00
Richard Henderson
ec2f040d55
Cort Dougan <cort@attis.cs.nmt.edu>
...
* Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o.
* configure.tgt (powerpc-*-linux-gnu): Use it.
* emulparams/elf32ppclinux.sh: New file.
1999-05-30 15:55:31 +00:00
Ian Lance Taylor
511ab9e95b
* ld.texinfo (Options): Clarify that options which refer to files
...
must be properly ordered.
1999-05-29 19:43:33 +00:00
Nick Clifton
7ca69e9e10
Implement new command line option for new ABI: -p which prevents the ARM code
...
from exhibiting any knowledge of the length of the processor's pipeline.
1999-05-29 10:57:44 +00:00
Nick Clifton
229cf42b33
fix typo.
1999-05-28 10:53:04 +00:00
Nick Clifton
b3043ee4e2
Minor formatting changes.
1999-05-28 10:50:29 +00:00
Ian Lance Taylor
0ccf812a6e
1999-05-28 Martin Dorey <mdorey@madge.com>
...
* 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.
1999-05-27 21:49:21 +00:00
Nick Clifton
a13cba0d36
Use correct template
1999-05-26 17:23:32 +00:00
Nick Clifton
31ce062864
1999-05-24 Philip Blundell <philb@gnu.org>
...
* 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
1999-05-24 12:49:30 +00:00
Nick Clifton
1220a72943
Add definitions related to shared objects (copied from elf32.em)
1999-05-22 09:55:50 +00:00
Andreas Schwab
3699964af7
* Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
...
earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
* Makefile.in: Regenerated.
1999-05-19 03:50:52 +00:00
Nick Clifton
8535ca756a
Add xfail for mcore-elf
1999-05-17 09:46:52 +00:00
Nick Clifton
06f2f02a3d
Add mcore-elf support for shared libraries
1999-05-16 14:02:47 +00:00
Richard Henderson
de24ad2106
Joel Sherrill (joel@OARcorp.com)
...
* configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
(mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
1999-05-13 09:49:48 +00:00
DJ Delorie
c6c37250e9
1999-05-10 DJ Delorie <dj@cygnus.com>
...
* 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
1999-05-11 21:06:50 +00:00
DJ Delorie
69f868fa5d
* ld-srec/srec.exp: Do not run tests for PE based ports.
1999-05-11 20:31:53 +00:00
Catherine Moore
626e01051a
1999-05-10 Catherine Moore <clm@cygnus.com>
...
* emulttempl/pe.em (gld_${EMULATION_NAME}_after_open):
Check for TARGET_IS_arm_epoc_pe.
(gld_${EMULATION_NAME}_before_allocation): Likewise.
1999-05-10 18:30:21 +00:00
Richard Henderson
4dec4d4e74
* 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.
1999-05-08 23:40:58 +00:00
Nick Clifton
71acc4e8d5
REstore mcore support (duh!)
1999-05-07 07:40:05 +00:00
Nick Clifton
bb3596ae84
fix output format.
1999-05-07 07:34:06 +00:00
Nick Clifton
09a3f5d4e3
restore. (Duh!)
1999-05-07 07:33:44 +00:00
Nick Clifton
9484f685a5
Remove traces of mcore.
1999-05-06 07:20:24 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00