Nick Clifton
f0ba99a671
Added support for display emulation specific command line options.
...
Added internationalisation to emulation templates.
Added --support-old-code command line option to armcoff and pe emulations.
1998-05-14 22:07:30 +00:00
Ian Lance Taylor
ee66b572a8
fix xgettext invocation
1998-05-06 18:16:28 +00:00
Ian Lance Taylor
cc96256766
* ld-shared/main.c (shlib_overriddencall2): New function.
...
(main): Call shlib_shlibcall2.
* ld-shared/sh1.c (shlib_shlibcall2): New function.
(shlib_overriddencall2): New function.
* ld-shared/shared.dat: Add output line for new test.
* ld-shared/sun4.dat: Likewise.
1998-05-04 21:45:13 +00:00
Ian Lance Taylor
792dfb93dc
comment changes
1998-05-04 21:44:57 +00:00
Ian Lance Taylor
7b9f7f9917
* ld-srec/sr3.cc (__get_eh_context): New function.
1998-05-04 21:12:24 +00:00
Tom Tromey
5873cbec2b
Fixed xgettext invocation in .Sanitize files
1998-04-29 00:11:07 +00:00
Ian Lance Taylor
5b10df4a85
* configure.in: Change version number to 2.9.4
...
* configure: Rebuild.
1998-04-27 20:42:00 +00:00
Ian Lance Taylor
6581c418e3
* ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf.
1998-04-27 16:40:18 +00:00
Ian Lance Taylor
d091d2ab3b
x
1998-04-27 16:15:36 +00:00
Ian Lance Taylor
bef28bc98a
* emultempl/elf32.em (global_vercheck_needed): New file static
...
variable.
(global_vercheck_failed): New file static variable.
(gld${EMULATION_NAME}_after_open): Check for shared libraries
twice, once with force set to 0 and once with it set to 1.
(gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter.
Change all callers.
(gld${EMULATION_NAME}_search_needed): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise. If not force, check
whether the libraries needs any incompatible versions.
(gld${EMULATION_NAME}_vercheck): New static function.
1998-04-27 16:14:37 +00:00
Tom Tromey
d6f3da9bc4
If xgettext fails, make Sanitize fail
1998-04-23 05:17:30 +00:00
Tom Tromey
560270b75d
* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
1998-04-22 22:47:40 +00:00
Tom Tromey
3d96e9b4cf
.Sanitize now re-computes gettext-related files
1998-04-22 22:40:45 +00:00
Ian Lance Taylor
f3b96ecc60
* Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when
...
invoking runtest.
* Makefile.in: Rebuild.
1998-04-22 20:03:56 +00:00
Ian Lance Taylor
fc4826cf4d
* lexsup.c (parse_args): Change -l options into --library options
...
to avoid confusion between -li and -library.
1998-04-22 20:03:00 +00:00
Ian Lance Taylor
7d8f6751c2
fix gettext merge error on ld.info and ld.dvi
1998-04-22 16:42:34 +00:00
Ian Lance Taylor
f8a86f8f3f
* ld.texinfo (MEMORY): Clarify use of >REGION.
1998-04-22 16:41:28 +00:00
Ian Lance Taylor
e33bfde75c
fix sanitization for gettext changes
1998-04-22 16:18:07 +00:00
Tom Tromey
8bc8f4bc00
* Many files: Added gettext invocations around user-visible
...
strings.
* ld.h: Added gettext-related includes and defines.
* ldmain.c: Call setlocale, bindtextdomain, textdomain.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
po/Makefile. Use AM_PROG_LEX.
(TDIRS): AC_SUBST early on, to avoid having value split when it
happens to cross line 90 of the generated sed script.
* Makefile.am (SUBDIRS): New macro.
(POTFILES): Likewise.
(po/POTFILES.in): New target.
(ld_new_LDADD): Added INTLLIBS.
(ld_new_DEPENDENCIES): Added INTLDEPS.
* po/Make-in, po/POTFILES.in, po/gas.pot: New files.
1998-04-22 06:58:37 +00:00
Ian Lance Taylor
36a8f215e7
* ld.texinfo (Simple Example): Rewrite a few things as suggested
...
by Nick Clifton <nickc@cygnus.com>.
(PROVIDE): Likewise.
1998-04-22 03:55:41 +00:00
Nick Clifton
5de921b816
Changes to conform to BFD coding conventions.
1998-04-21 16:59:22 +00:00
Richard Henderson
79cee2b768
* ldlang.c (lang_one_common): Manipulate the section's cooked size
...
rather than its raw size.
pr 15650
1998-04-19 01:41:34 +00:00
Ian Lance Taylor
55ca0ccbb6
Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org>
...
* configure.in (TESTBFDLIB): New. Defined and substituted.
* Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
* configure, Makefile.in: Rebuild.
1998-04-07 17:37:33 +00:00
Ian Lance Taylor
83a33a21ad
* Makefile.am (ld.info): Invoke makeinfo with -I options directly
...
rather than relying on default rule. Don't depend upon
bfdsumm.texi.
(ld.dvi): Likewise.
(bfdsumm.texi): Remove target.
(CLEANFILES): Take bfdsumm.texi out of value.
* Makefile.in: Rebuild.
1998-04-06 19:35:06 +00:00
Ian Lance Taylor
2a08e1decb
* scripttempl/pe.sc: Use shell variables to avoid depending upon
...
how $ is handled when expanding a shell substitution.
1998-04-05 17:08:58 +00:00
Ian Lance Taylor
193bbe8581
* Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
...
(DISTCLEANFILES): Add site.exp and site.bak.
* Makefile.in: Rebuild.
1998-04-03 19:48:22 +00:00
Ian Lance Taylor
3c68cb41f4
x
1998-04-03 18:32:10 +00:00
Ian Lance Taylor
03abc2bd65
* configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
...
rather than in a shell variable and using AC_SUBST.
* Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs.
(distclean-local): New target.
* configure, Makefile.in: Rebuild.
1998-04-03 18:30:15 +00:00
Ian Lance Taylor
ed1cc83df2
tweak
1998-04-03 18:04:12 +00:00
Ian Lance Taylor
f8cf2baa85
tweak
1998-04-03 17:55:04 +00:00
Ian Lance Taylor
af54556ad3
* ld.texinfo: Completely rewrite linker script documentation.
1998-04-03 05:57:33 +00:00
Ian Lance Taylor
0d3e84dd92
* configure.in: Set version to 2.9.1.
...
* configure: Rebuild.
1998-03-30 22:56:58 +00:00
Ian Lance Taylor
437a04cb40
* Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
...
(mostlyclean-local): New target to remove tmpdir.
* Makefile.in: Rebuild.
1998-03-28 22:17:43 +00:00
Ian Lance Taylor
26c61946fb
Fix some gcc -Wall warnings:
...
* ldcref.c (output_cref): Add casts to avoid warnings.
* ldfile.c (ldfile_add_arch): Likewise.
* ldlang.c (lang_leave_overlay_section): Likewise.
* lexsup.c (OPTION_COUNT): Likewise.
(parse_args): Likewise.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
* ldlang.c (lang_check): Initialize variables to avoid warnings.
* ldwrite.c (build_link_order): Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
Remove unused variables.
1998-03-28 21:54:33 +00:00
Ian Lance Taylor
3697773065
* Makefile.am (MOSTLYCLEANFILES): Correct name (was
...
MOSTCLEANFILES).
* Makefile.in: Rebuild.
1998-03-28 21:54:11 +00:00
Ian Lance Taylor
c8e8b829fe
* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
...
ARM code inside ifdef TARGET_IS_armpe.
1998-03-27 21:40:06 +00:00
Nick Clifton
3535c3c044
Add interworking support for arm-pe/thumb-pe targets.
1998-03-26 00:00:54 +00:00
Ian Lance Taylor
51b9a79bdd
Based on patch from H.J. Lu <hjl@gnu.org>:
...
* Makefile.am (LDDISTSTUFF): New variable.
(diststuff): New target.
* Makefile.in: Rebuild.
1998-03-25 17:48:56 +00:00
Ian Lance Taylor
9216fffaef
* scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
...
relocating.
1998-03-25 16:35:13 +00:00
Ian Lance Taylor
a096e9b7aa
Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com>
...
* configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23 23:56:06 +00:00
Geoffrey Noer
155d9cc48a
Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com>
...
* scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
section to avoid copying certain data on fork. The linker used to
include this between __data_start__ and __data_end__, but that
breaks building the cygwin32 dll. The fix is to rename the
section ".data_cygwin_nocopy" and explictly include it after
__data_end__.
1998-03-19 23:04:54 +00:00
Nick Clifton
c21f1da31c
Add thumb-pe target.
1998-03-18 17:42:51 +00:00
Gavin Romig-Koch
7cdb3e273a
* configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
1998-03-03 16:20:17 +00:00
Michael Meissner
3a0d0c15e7
Fix setting memory from default attributes
1998-03-03 00:35:48 +00:00
Michael Meissner
e08a28c456
Add eit_vb section support
1998-02-27 19:22:13 +00:00
Ian Lance Taylor
fc96bc860d
* emultempl/pe.em (sort_sections): Permit the wildcard to include
...
a trailing '*' when sorting grouped sections.
* scripttempl/pe.sc: Include grouped sections using NAME\$*. Only
include them when relocating.
1998-02-23 22:48:20 +00:00
Ian Lance Taylor
38c82baf63
fix 5900 in Makefile.am
1998-02-16 17:25:52 +00:00
Ian Lance Taylor
71468d841e
* scripttempl/elf.sc: Align the _end symbol according to the ELF
...
format size. From Gordon W. Ross <gwr@mc.com>.
1998-02-13 00:00:55 +00:00
Ian Lance Taylor
c5eea47348
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
...
* configure.host (alpha*-*-netbsd*): New host.
* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
targets.
1998-02-12 23:14:33 +00:00
Ian Lance Taylor
b95ad8c8e7
* lexsup.c (help): Update bug-gnu-utils address.
...
* ld.texinfo (Bug Reporting): Likewise.
1998-02-12 19:12:02 +00:00
Ian Lance Taylor
2ff0401240
Tue Feb 10 16:17:20 1998 H.J. Lu <hjl@gnu.org>
...
* ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix.
1998-02-10 21:20:02 +00:00
Ian Lance Taylor
7d620e23ed
* Makefile.am (Makefile): Add target, for dependencies on
...
configure.host and configure.tgt.
* configure.host, configure.tgt: Change -linux* to -linux-gnu*.
* Makefile.in: Rebuild.
1998-02-10 20:11:30 +00:00
Jeff Law
bd8a4ea444
* 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.
1998-02-10 18:52:26 +00:00
Andrew Cagney
5587208852
D10v memory map changed, update.
1998-02-10 06:45:51 +00:00
Ian Lance Taylor
641146fe3f
* configure, aclocal.m4: Rebuild with new libtool.
1998-02-07 20:43:38 +00:00
Ian Lance Taylor
5bd5a5c7a2
* scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
...
From Thomas de Lellis <tdel@wrs.com>.
1998-02-05 20:40:06 +00:00
Ian Lance Taylor
12e0afe57b
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
1998-02-05 17:24:24 +00:00
Ian Lance Taylor
ab1f47c0c9
* Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
...
* Makefile.in: Rebuild.
1998-02-04 18:03:14 +00:00
Ian Lance Taylor
cdf91fe451
Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
...
Add tms320c30 support:
* configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets.
* emulparams/tic30aout.sh: New file.
* emulparams/tic30coff.sh: New file.
* scripttempl/tic30aout.sc: New file.
* scripttempl/tic30coff.sc: New file.
* Makefile.am (ALL_EMULATIONS): Add etic30aout.o and
etic30coff.o.
(etic30aout.c, etic30coff.c): New targets.
* Makefile.in: Rebuild.
1998-02-03 00:37:20 +00:00
Ian Lance Taylor
f3d26cc56a
* ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
1998-02-02 19:18:42 +00:00
Ian Lance Taylor
49d579a06c
* configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
...
accept either ld.so or ld-linux.so.
1998-02-02 19:14:33 +00:00
Doug Evans
ca7f5c98bd
* Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
...
to transform.
* Makefile.in: Regenerate.
1998-01-31 03:22:45 +00:00
Ian Lance Taylor
93ed82b0c7
Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au>
...
* scripttempl/elfppc.sc: Put .dynsbss in .sbss.
1998-01-31 00:16:44 +00:00
Ian Lance Taylor
532fe3e58e
Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets.
* Makefile.in: Rebuild.
1998-01-30 16:46:05 +00:00
Ian Lance Taylor
2eda9a2aa7
Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu>
...
* ldfile.c (slash): Set to backslash if _WIN32 but not
__CYGWIN32__.
(ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a
leading backslash or a leading x: as an absolute path.
(ldfile_find_command_file): Use slash rather than / when
generating name to try.
* lexsup.c (PATH_SEPARATOR): Define.
(set_default_dirlist): Use PATH_SEPARATOR rather than ':'.
1998-01-29 21:11:10 +00:00
Richard Henderson
eafda179b5
* emulparams/elf64_sparc.sh (ELFSIZE): 64
...
(TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later.
(DATA_PLT): Needed by v9 abi.
1998-01-28 22:17:48 +00:00
Ian Lance Taylor
10102e8c61
spacing fix
1998-01-28 21:44:36 +00:00
Ian Lance Taylor
a1ccffb2f4
Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
...
* configure.tgt (i[3456]86-*-mingw32*): New entry.
1998-01-28 21:40:52 +00:00
Ian Lance Taylor
d415414e92
* scripttempl/elf.sc: Only include linkonce sections in final
...
sections when relocating.
1998-01-28 20:53:22 +00:00
Ian Lance Taylor
83d11af170
* ld.texinfo (Options): Add a brief description of the types of
...
information included in a link map.
1998-01-28 20:40:03 +00:00
Doug Evans
75aacf7acb
* configure.tgt (dvp-*-*): Recognize.
1998-01-28 20:29:04 +00:00
Doug Evans
9169104250
delete txvu stuff, building mips files now
1998-01-28 20:24:27 +00:00
Doug Evans
89f6754751
delete txvuelf.sh, generating mips files now
1998-01-28 20:17:41 +00:00
Ian Lance Taylor
f41751664d
* ld.texinfo (Options): Mention LDEMULATION in description of -m.
...
(Environment): Mention LDEMULATION.
1998-01-28 19:45:48 +00:00
Ian Lance Taylor
5a59e34dd5
* ld.texinfo (Options): Clarify --export-dynamic a bit.
1998-01-28 19:12:51 +00:00
Richard Henderson
1361ffbd6b
* ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
...
pattern could match.
1998-01-23 00:18:50 +00:00
Ian Lance Taylor
3d80840d8d
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
...
a relocateable link, set the image base to 0, and don't define the
various symbols.
* emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
* scripttempl/pe.sc: Swap the .data and .bss sections so that
.data comes first. If doing a relocateable link, use
RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
sections at 0, and don't define any symbols.
1998-01-22 05:02:50 +00:00
Ian Lance Taylor
d9dd8f2b2b
* ldlang.c (lang_memory_default): Correct parenthisization of
...
expression.
1998-01-22 03:27:36 +00:00
Ian Lance Taylor
1bea23ac1e
Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
...
* emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
here; they are included already via sysdep.h.
1998-01-22 02:22:03 +00:00
Richard Henderson
b3521ecfeb
* scripttempl/i960.sc: Don't explicitly set .data and .bss start
...
PR 13305
1998-01-06 13:48:36 +00:00
Michael Meissner
d3c324e51d
Implement MEMORY attributes for unknown sections
1998-01-02 17:27:05 +00:00
Michael Meissner
03ab605af6
Link in .eh_section into data section
1998-01-01 20:00:36 +00:00
Jeff Law
2d6c57cec9
* scripttempl/h8300h.sc: Fix typo.
...
* scripttempl/h8300s.sc: Likewise.
1998-01-01 17:06:02 +00:00
Doug Evans
f5870264df
* Makefile.am (etxvuelf.c): Add rule for.
...
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.tgt (txvu-*-*): Recognize.
* emulparams/txvuelf.sh: New file.
1997-12-22 17:04:20 +00:00
Doug Evans
2c20be8ec8
txvuelf.sh: New file.
1997-12-22 16:54:34 +00:00
Ian Lance Taylor
ce71bfc232
* lexsup.c (parse_args): Keep track of where we are in the option
...
parsing before calling ldemul_parse_args, so that we don't call it
multiple times on the same argument and confuse the getopt
internals.
1997-12-17 09:16:05 +00:00
Nick Clifton
796daf208f
Add armcoff.em to list of kept files.
1997-12-16 09:32:47 +00:00
Nick Clifton
cd66558c07
Renamed v850eq -> v850ea
1997-12-12 19:05:07 +00:00
Michael Meissner
41cf747a99
Rename d30velf_{o,e} to be unique within 8 characters
1997-12-11 14:07:20 +00:00
Felix Lee
06434f5f16
sanitization fixes. (files not mentioned, fences misspelled)
1997-12-11 04:18:47 +00:00
Michael Meissner
70a810424d
Add .rel/.rela sections; Setup constructors/destructors; Delete sections not linked in
1997-12-10 19:30:15 +00:00
Michael Meissner
27be012212
Change order slightly
1997-12-09 23:35:35 +00:00
Michael Meissner
98d38753e4
Add support for d30velf_{e,o} emulations to control whether text/data/et. al go in external memory or onchip memory
1997-12-09 22:57:58 +00:00
Michael Meissner
e48412a2b2
Add d30v, d10v, tic80 to all_emulations; Add Oct 23 changes to Makefile.in to Makefile.am
1997-12-09 21:04:34 +00:00
Michael Meissner
b0f764345d
Add configurability to d30v
1997-12-09 20:37:00 +00:00
Nick Clifton
89b993af84
Add support for Thumb target.
1997-12-02 18:17:13 +00:00
Nick Clifton
3c6d5393c4
Added expected failure of tests 1 and 2 for ARM coff targets.
1997-12-02 00:18:48 +00:00
Michael Meissner
7f7e2b0027
Make d30v defaults match chip
1997-11-17 01:21:37 +00:00
Ian Lance Taylor
df1859da76
* ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
...
avoid compiler warning.
* ld-srec/sr3.cc (class Foo): Likewise.
1997-11-12 19:20:11 +00:00
Ian Lance Taylor
13c8330080
* lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
...
have any name when looking for entry symbol warnings.
1997-11-10 22:07:27 +00:00
Ian Lance Taylor
20d41979a9
* ld-srec/sr3.cc (__eh_pc): Define.
1997-11-10 19:26:09 +00:00
Ian Lance Taylor
50d20d05fc
Sun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set
HOSTING_LIBS.
1997-11-02 19:53:39 +00:00
Ian Lance Taylor
a8880edadc
* ld.h (args_type): Add warn_mismatch field.
...
* ldmain.c (main): Initialize warn_mismatch field.
* lexsup.c (parse_args): Handle --no-warn-mismatch option.
* ldlang.c (ignore_bfd_error): New static function.
(lang_check): If warn_mismatch is false, don't warn about
mismatched input files.
* ld.texinfo, ld.1: Document new option.
PR 12714.
1997-10-30 17:28:55 +00:00
Gavin Romig-Koch
d020618aeb
* configure.tgt: Add tx49 configury based on 4300.
1997-10-29 22:53:58 +00:00
Nick Clifton
c439ad7503
Rename '_stack' to '__stack'
1997-10-23 21:34:51 +00:00
Richard Henderson
2b3ce0b3c4
* Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ...
...
(ALL_64_EMULATIONS): ... here.
(eelf64_sparc.c): Template should be elf32 not generic.
* emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition.
1997-10-23 07:56:30 +00:00
Richard Henderson
639da7eb77
* configure.tgt: Add sparc64-*-linux*.
...
* emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
1997-10-23 07:43:44 +00:00
Ian Lance Taylor
34ed833edd
* scripttempl/pe.sc: Put .eh_frame in .rdata.
1997-10-22 15:29:48 +00:00
Ian Lance Taylor
43093ad9e3
* ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
...
__throw, since the current g++ expects them to be defined.
1997-10-20 18:37:48 +00:00
Richard Henderson
b038ec7bd9
* ldlang.c (lang_register_vers_node): Only check globals<=>locals,
...
since we need to be able to export different versions of the same
symbol.
1997-10-17 07:05:05 +00:00
Ian Lance Taylor
a12e621548
* scripttempl/pe.sc: Put .stab and .stabstr sections at end.
1997-10-15 18:53:18 +00:00
Richard Henderson
f38b497493
* configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*;
...
config.guess now recognizes alphaev5 etc.
1997-10-08 19:39:25 +00:00
Ian Lance Taylor
46d2f9e1d6
* ldlang.c (wild_doit): Rewrite flag handling for clarity. If we
...
are not adding the first input section, and SEC_READONLY is clear
on the output section, then don't copy it from the input section.
If SEC_READONLY is not set on the input section, then clear it on
the output section.
1997-10-02 23:08:14 +00:00
Ian Lance Taylor
353e5cb604
* configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than
...
elf32bmip.
(mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip
to elf32bsmip.
(mips*-*-linux*): Likewise.
* emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but
setting ENTRY to __start.
* emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but
setting ENTRY to __start.
* scripttempl/elf.sc: Always set ENTRY to _start if it was not
already set.
1997-10-02 22:45:25 +00:00
Nick Clifton
0fd15e0e09
Created seperate sections for read only data in order to prevent their
...
attributes from being inherited by their original containing sections.
1997-10-01 23:45:44 +00:00
Ian Lance Taylor
900f895c8e
* ld.texinfo (Section Options): Improve documentation of NOLOAD
...
directive.
1997-09-24 17:23:06 +00:00
Ian Lance Taylor
b5db0960f3
* aclocal.m4: Rebuild with new libtool.
...
* configure: Rebuild.
1997-09-24 15:34:43 +00:00
Jeff Law
aac6f3383b
vr5900 -> r5900
...
Accept r5900el too.
1997-09-23 16:33:28 +00:00
Ian Lance Taylor
57cdbf7e00
* ldlang.c (wild_doit): Revert patch of September 3.
...
It doesn't work with linker scripts that use NOLOAD for debugging
sections.
1997-09-22 22:33:48 +00:00
Nick Clifton
2c778bc53a
Fixed v850eq sanitization
1997-09-21 19:36:06 +00:00
Nick Clifton
2e6fa283b4
Added support for the call table data area.
1997-09-17 23:45:41 +00:00
Ken Raeburn
c8c76225c7
merge from d30v-970225-branch
1997-09-15 16:27:23 +00:00
Fred Fish
f403d30440
* ldlang.c (lang_memory_region_lookup): Remove extraneous
...
initialization of p.
1997-09-09 14:54:43 +00:00
Ian Lance Taylor
df2ea1f67a
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In
...
expression produced for -bpT and -bpD options, align to a 32 byte
boundary rather than an 8 byte boundary.
* scripttempl/aix.sc: Put .tocbss at start of .bss section.
For AIX 4.2 support (PR 12957).
1997-09-04 16:43:22 +00:00
Ian Lance Taylor
f1dcefc69f
* ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid
...
function name conflict with AIX 4.2 unistd.h header file.
1997-09-04 16:41:18 +00:00
Ian Lance Taylor
7e519ffc58
* ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a
...
noload_section.
PR 13139.
1997-09-03 19:13:14 +00:00
Ian Lance Taylor
24d2330e75
* Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@.
...
* Makefile.in: Rebuild.
1997-08-29 04:33:13 +00:00
David Edelsohn
0c0b16f9d4
* configure.tgt (arc-*-elf*): Recognize.
...
* Makefile.am (ALL_EMULATIONS): Add earcelf.o.
* Makefile.in: Regenerate.
* emulparams/arcelf.sh: New file.
Removes arc sanitization.
1997-08-28 17:19:45 +00:00
David Edelsohn
207cec8b17
Remove arc sanitization.
1997-08-28 17:17:43 +00:00
Ian Lance Taylor
9f19768a57
* ldlang.c (wildcardp): Don't let a backslash by itself cause a
...
pattern to be treated as a wildcard pattern.
PR 13113.
1997-08-20 15:24:15 +00:00
Ian Lance Taylor
72068e8ec0
* ldgram.y (atype): Accept parentheses with no type.
...
* ld.texinfo (Section Definition): Clarify use of whitespace.
(Section Placement): Likewise.
PR 13112.
1997-08-20 15:15:22 +00:00
Nick Clifton
ab11a82c2d
Add support for v850e and v850eq targets.
1997-08-18 18:12:54 +00:00
Ian Lance Taylor
0485d3df51
tipo
1997-08-09 04:58:27 +00:00
Ian Lance Taylor
a862ba679b
* config/default.exp: Change ld, as, nm and strip from .new to
...
-new. Load ld-lib.exp rather than ld.exp.
* ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
* lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
DejaGnu changes.
1997-08-09 04:57:20 +00:00
Ian Lance Taylor
49c009b56f
* Makefile.am: New file, based on old Makefile.in.
...
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
1997-08-09 04:54:28 +00:00
Rob Savoye
b9a5c27fa7
* configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
...
win32 dependencies.
* configure: Regenerated with autoconf 2.12.
* Makefile.in: Add $(EXEEXT) to executable.
1997-07-29 01:34:09 +00:00
Ian Lance Taylor
beb76c0ade
Tue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
...
* emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32".
(SEGMENT_SIZE): Set to 0x200.
* scripttempl/i386go32.sc: Rewrite.
* configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
1997-07-22 22:52:15 +00:00
Jeff Law
d1ce2fc04f
* configure.tgt: Default the r5900 to little endian.
1997-07-15 16:15:40 +00:00
Ian Lance Taylor
81272efdfd
From Manfred Hollstein <manfred@s-direktnet.de>:
...
* configure.host (i[3456]86-*-linux*libc1*): Renamed from
i[3456]86-*-linux*.
(i[3456]86-*-linux*): New host.
1997-07-07 16:41:04 +00:00
Ian Lance Taylor
34260fe0d0
* scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc
...
sections in the output .rsrc section.
1997-06-26 17:54:35 +00:00
Ian Lance Taylor
907672ebb2
* ld-elfvers/vers.exp: Use egrep rather than grep when looking for
...
an alternation. From Greg Margo <gmargo@dl.com>.
1997-06-26 16:08:17 +00:00
Ian Lance Taylor
fe80f6384a
Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* configure.host (m68*-*-linux*libc1*): Renamed from
`m68*-*-linux*'.
(m68*-*-linux*): New configuration for use with GNU libc 2.
1997-06-25 16:49:19 +00:00
Ian Lance Taylor
682b4d3322
Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
with non PIC shared libraries.
1997-06-25 16:47:59 +00:00
Ian Lance Taylor
4602e5f401
Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au>
...
* scripttempl/elfppc.sc: Correct .rela.sdata entries.
* scripttempl/elfppc.sc: Put the PLT between the small and large
BSS segments.
* emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A
program base of 0x02000000 is recommended...' because otherwise
shared libraries are less efficient. We use 0x01800000 because
otherwise it's impossible to branch to location 0, for instance if
you have an undefined weak symbol.
1997-06-16 23:21:18 +00:00
Ian Lance Taylor
f4ae97e1bd
Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* ldlang.c (lang_place_undefineds): Add \n in einfo call.
(lang_size_sections): Likewise.
* ldlex.l: Likewise.
* emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
* emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open):
Likewise.
(check_sections): Likewise.
(gld${EMULATION_NAME}_after_allocation): Likewise.
* emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation):
Likewise.
* mpw-eppcmac.c (gldppcmacos_read_file): Likewise.
* mpw-idtmips.c (gldmipsidt_after_open): Likewise.
(check_sections): Likewise.
(gldmipsidt_after_allocation): Likewise.
1997-06-16 16:56:22 +00:00
Ian Lance Taylor
02fbf07071
Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* ldemul.c (ldemul_choose_mode): Remove unused einfo argument.
1997-06-16 16:50:43 +00:00
Ian Lance Taylor
94d8217d65
* scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
...
the import list.
1997-06-07 03:48:00 +00:00
Ian Lance Taylor
0570b3d3a0
* ld-elfvers/vers6.ver: Update for recent elflink.h patch to
...
version handling.
1997-06-06 21:36:11 +00:00
Ian Lance Taylor
b4a4a6dc0f
* ldmain.c (main): Correct check of fclose return value when
...
handling --force-exe-suffix.
1997-05-21 21:44:47 +00:00
Ian Lance Taylor
1a7f2a866e
* scripttempl/elfmips.sc: Remove.
...
* scripttempl/elf.sc: Set ENTRY based on target. Permit
TEXT_DYNAMIC to control .dynamic segment. Permit
SHLIB_TEXT_START_ADDR to set start of shared object. Support
INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put
.gnu.linkonce.t* in .text when relocating. Support
OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as
DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
* emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
(DATA_ADDR): Don't set.
(INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
(OTHER_TEXT_SECTIONS): Set.
(OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
(MACHINE): Set to empty string.
* emulparams/elf32l4300.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32elmip.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise. Also:
(TEXT_DYNAMIC): Set.
* emulparams/elf32lmips.sh: Likewise.
* Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
elfmips.sc.
(eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.
1997-05-13 03:30:20 +00:00