Ian Lance Taylor
fe9edd2275
From Wally Iimura <iimura@microunity.com>:
...
* ldlang.c (lang_size_sections): When checking whether an address
is within a region, don't get confused by wrapping around at the
end of the address space.
1999-08-09 06:14:09 +00:00
Ian Lance Taylor
667f51773f
* ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
...
SEC_SMALL_DATA.
1999-08-09 03:22:27 +00:00
Ian Lance Taylor
f4162f5cef
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
...
MKDEP. Rebuild dependencies.
* Makefile.in: Rebuild.
1999-08-08 17:37:50 +00:00
Ian Lance Taylor
ae97059cc1
1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
...
* configure.host (sparc-*-linux-gnu*): New host.
(sparc64-*-linux-gnu*): New host.
1999-08-08 15:30:08 +00:00
Ian Lance Taylor
3d9f627799
* lexsup.c (is_num): Reindent.
...
(parse_args): Mention program name in error message.
1999-08-06 23:33:33 +00:00
Ian Lance Taylor
597e25914e
* emultempl/ostring.sed: Rename from stringify.sed.
...
* emultempl/astring.sed: New file.
* Makefile.am (stringify.sed): New target.
(GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
stringify.sed.
* configure.in: Define and substitute STRINGIFY.
* emultempl/*.em: Use stringify.sed from build directory rather
than source directory.
* emultempl/elf32.em: Use stringify.sed rather than inline sed
script.
* emultempl/gld960.em, emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em, emultempl/linux.em: Likewise.
* emultempl/lnk960.em, emultempl/sunos.em: Likewise.
* configure, Makefile.in: Rebuild.
1999-08-06 22:46:03 +00:00
Ian Lance Taylor
a7e78dae79
1999-08-05 Donn Terry <donn@interix.com>
...
* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
INITIAL_SYMBOL_CHAQR.
* emulparams/i386pe_posix.sh: New file.
* Makefile.am (YACC): If bison is not in the source tree, use
@YACC@ rather than bison -y.
(LEX): If flex is not in the source tree, use @LEX@ rather than
flex.
(ALL_EMULATIONS): Add ei386pe_posix.o.
(ei386pe_posix.c): New target.
* configure.tgt (i[3456]86-*-interix*): New target.
* configure.host (i[3456]86-pc-interix*): New host.
* Makefile.in: Rebuild.
1999-08-05 16:03:56 +00:00
Ian Lance Taylor
18069efc88
* emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
...
* emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
1999-08-03 16:47:16 +00:00
Ian Lance Taylor
f7cc0a4d91
1999-08-03 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (ALL_EMULATIONS): Remove ego32.o.
(ego32.c): Remove.
* Makefile.in: Rebuild.
1999-08-03 15:34:40 +00:00
Nick Clifton
5fa803d337
Philip Blundell <pb@nexus.co.uk>
...
* emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define.
(OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise.
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define.
* configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*,
thumb-*-linux-gnu*): New targets.
1999-07-22 12:51:45 +00:00
Ian Lance Taylor
5a1bd109d4
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
...
* scripttempl/i386go32.sc: Add handling of linkonce sections.
1999-07-22 01:42:27 +00:00
Ian Lance Taylor
b4089fdd75
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
...
* emulparams/go32.sh: Remove; obsolete.
* scripttempl/go32coff.sc: Remove; obsolete.
1999-07-22 01:25:10 +00:00
Ian Lance Taylor
8f36e47c10
From Mark Elbrecht:
...
* configure.bat: Remove; obsolete.
1999-07-22 01:16:49 +00:00
Ian Lance Taylor
41d390a7ac
1999-07-21 H.J. Lu <hjl@gnu.org>
...
* configure.tgt (mips*el-*-vxworks*): New target.
1999-07-21 Brad M. Garcia <bgarcia@fore.com>
* configure.tgt (i[3456]86-*-vxworks*): New target.
1999-07-22 00:49:09 +00:00
Doug Evans
7c83b342ee
* ldlang.c (lang_gc_sections): Only handle the start symbol
...
specially if there is one.
1999-07-20 22:27:31 +00:00
Mark Mitchell
0ca638235f
* emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
...
.MIPS.events and .MIPS.content handling.
* emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
1999-07-19 20:21:52 +00:00
Nick Clifton
e50d80767c
Improve selection of output format
1999-07-19 14:57:03 +00:00
Richard Henderson
e76d716a43
* emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH.
1999-07-16 21:43:43 +00:00
Mark Mitchell
88659ef5b6
* configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
1999-07-15 14:57:35 +00:00
Ian Lance Taylor
2844ed430f
* configure.in: Bump version number to 2.9.5.
...
* configure: Rebuild.
1999-07-15 12:09:55 +00:00
Richard Henderson
0eaf982050
Update
1999-07-14 16:46:20 +00:00
Andreas Schwab
49bdcdba9f
* emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in
...
structure initializations.
1999-07-12 08:31:34 +00:00
Andreas Schwab
5d341b0e2a
* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing
...
comma in initializer.
1999-07-12 06:24:03 +00:00
Ian Lance Taylor
87f2a3464b
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
...
as appropriate. Fill in structure initializations.
1999-07-11 20:09:04 +00:00
Ian Lance Taylor
b90d114661
* ldfile.c: Revert patch of 1999-07-08.
...
(ldfile_try_open_bfd): If we are searching for the file, skip
files with an incompatible architecture.
1999-07-09 22:52:05 +00:00
Nick Clifton
6da0974a11
Include big endian and little endian formats in OUTPUT_FORMAT directive.
1999-07-09 08:12:48 +00:00
Nick Clifton
7a2746396a
Applied patch from Felix Lee <flee@cygnus.com>:
...
Fix quoting problem, for bash 2.x
1999-07-09 03:27:25 +00:00
Richard Henderson
99f8f232c6
Jakub Jelinek <jj@ultra.linux.cz>
...
* ldfile.c (ldfile_open_file_search): Skip libraries made for
incompatible architectures in the search path. Let the user know
about any such skips.
1999-07-08 16:50:53 +00:00
Jeff Law
5c61c5ab19
* configure.tgt (hppa*-linux-gnu*): New target.
1999-07-08 11:38:48 +00:00
Mark Mitchell
22c675a780
* Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip.
...
(eelf64bmip): New target.
* Makefile.in: Regenerated.
* configure.tgt (mips-sgi-irix6*): Add 64-bit emulation.
* emulparams/elf64bmip.sh: New file.
1999-07-08 00:22:51 +00:00
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
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
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
Nick Clifton
f75692fe1a
restore previous format of --help output
1999-06-09 05:35:55 +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
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
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
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
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
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
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