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