Michael Meissner
36cf21ce53
Make d10v .text start at 0x10000
1996-10-21 21:26:59 +00:00
Jeff Law
b502879f75
* scripttempl/v850.sc (__gp, __ep): Define.
1996-10-18 18:59:45 +00:00
Jeff Law
c23b6a6bc9
* scripttempl/v850.sc (.zdata): Add this before .text.
...
(.sdata): Also include .rosdata as part of the .sdata.
(.tdata): Include this just before .sdata.
1996-10-17 20:48:42 +00:00
Jeff Law
2b8cd389ae
* emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
...
* scripttempl/v850.sc: Wrap script with a "cat << EOF".
Problems with last night's changes.
1996-10-17 16:58:31 +00:00
Jeff Law
d27d34c382
* scripttempl/v850.sc: New linker script for the V850.
...
* Makefile.in: Use it.
1996-10-17 05:10:52 +00:00
Jason Merrill
9193c60b55
Sun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com>
...
* scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections.
1996-10-07 05:36:57 +00:00
Ian Lance Taylor
4fc7ca82bf
* scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that
...
elf.sc does, so that glibc works better.
1996-10-01 22:31:27 +00:00
Ian Lance Taylor
df6b92ed1b
* scripttempl/armcoff.sc: For -N or -n, don't align .data. From
...
Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
1996-09-16 21:56:33 +00:00
Ian Lance Taylor
18f0961ed9
* scripttempl/elf.sc: Put .gnu.linkonce* sections in .text.
1996-08-21 18:27:28 +00:00
Jeff Law
cce8528df9
No longer sanitize away h8s stuff.
1996-07-05 18:54:28 +00:00
Michael Meissner
edcfb9db65
Do not do PROVIDE of _GLOBAL_OFFSET_TABLE_
1996-06-24 22:57:16 +00:00
Jeff Law
71415be57c
* scripttempl/h8300s.sc: New file for H8/S.
...
* emulpararms/h8300s.sh: New file for H8/S.
* Makefile.in (ALL_EMULATIONS): Add H8/S.
(e_h8300s.c): Add dependencies.
* configure.tgt: Add H8/S to targ_extra_emuls.
H8/S linker stuff. Sanitized until status of this code is known.
1996-06-18 22:55:30 +00:00
Jim Wilson
f98286385f
Kill r16/rce/acp stuff.
1996-06-08 03:52:13 +00:00
Ian Lance Taylor
90557a6aea
* scripttempl/elfmips.sc: Quote test -z argument.
1996-05-29 20:10:22 +00:00
Michael Meissner
fb2a7661fb
Set __stack = 0 if it is referenced and not defined.
1996-05-10 20:32:07 +00:00
Rob Savoye
01d8a35928
* emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}:
...
Set a new variable to signify if the final target is an embedded
system.
* scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to
.text for an embedded system.
1996-05-09 15:56:58 +00:00
Jeff Law
00e6a1b14d
* scripttempl/h8300.sc: Place ".tiny" sections right
...
after ".data" sections.
* scripttempl/h8300h.sc: Place ".tiny" sections into
the "tiny" memory region, 0xff8000 through 0xffff00.
HMSE.
1996-05-07 21:26:58 +00:00
Jeff Law
12688490b2
* scripttempl/h8300.sc: Set the entry point to the value of
...
"_start" rather than the start of the text segment.
* scripttempl/h8300h.sc: Likewise.
So we can have data at the start of the text space.
1996-05-07 19:36:38 +00:00
Jeff Law
d38d6b7a85
* scripttempl (h8300.sc, h8300h.sc): Place .rodata sections
...
before .text sections in main ram.
Gets "read only" data out of the instruction stream -- improves
relaxing linker. HMSE.
1996-05-07 17:33:17 +00:00
Jeff Law
4015337ec7
* scripttempl/h8300h.sc: Use "eight", not "eightbit" for the
...
8-bit region and 8-bit sections.
HMSE.
1996-05-07 05:30:14 +00:00
David Edelsohn
f2618f8252
* scripttempl/pe.sc (.endjunk): Define __end__.
1996-04-30 03:33:23 +00:00
Rob Savoye
10533b5b48
* scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
...
in m68k/crt0.S without things blowing up.
1996-04-15 20:53:00 +00:00
Ian Lance Taylor
aa59d90e55
* scripttempl/m68kcoff.sc: Remove regions and simplify.
1996-04-11 16:07:40 +00:00
Michael Meissner
28ad0357c6
Put .init/.fini in correct places.
1996-04-09 18:23:54 +00:00
Steve Chamberlain
0c1abe0623
* scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
1996-03-31 08:37:51 +00:00
Jeff Law
0e88ffa284
* scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
...
so as not to overwrite the magic syscall entry at 0xc4.
* scripttempl/h8300h.sc: Likewise.
hmse.
1996-03-29 07:01:22 +00:00
J.T. Conklin
c56c921821
* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
...
in a different manner to work around differences in shell variable
expansion.
1996-03-07 00:12:34 +00:00
Ian Lance Taylor
307585f1c9
Wed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
...
* ldlang.c (lang_set_startof): Don't do anything for a
relocateable link.
* ldgram.y (mri_script_file): Call mri_draw_tree.
* mri.c (mri_draw_tree): Make globally visible. Don't bother to
create memory regions.
(mri_load): Don't call mri_draw_tree.
* mri.h (mri_draw_tree): Declare.
* configure.tgt (m68*-*-psos): New target.
* emulparams/m68kpsos.sh: New file.
* scripttempl/psos.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add em68kpsos.o.
(em68kpsos.c): New target.
1996-02-14 21:43:54 +00:00
Michael Meissner
c2b6884b97
Move .sdata2/.sbss2 into read-only section
1996-02-03 00:31:03 +00:00
Ian Lance Taylor
40ab9bb9d7
Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu>
...
* configure.tgt (m68*-apple-aux*): New target.
* emulparams/m68kaux.sh: New file.
* scripttempl/m68kaux.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add em68kaux.o.
(em68kaux.c): New target.
1996-01-31 19:36:20 +00:00
Ian Lance Taylor
7df4ba266b
Mon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@.
* genscripts.sh: Set host, target and target_alias variables.
Check for native compile by comparing ${target} and ${host}.
* emultempl/elf32.em: Likewise.
* scripttempl/elfmips.sc: Test ${target}, not ${target_alias}.
1996-01-22 18:03:56 +00:00
Michael Meissner
4d99a9505c
Refine eabi support
1996-01-22 16:05:26 +00:00
Ian Lance Taylor
fe1379d45a
Add some Irix 5 support, mostly from Kazumoto Kojima
...
<kkojima@info.kanagawa-u.ac.jp>:
* emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
(SHLIB_TEXT_START_ADDR): Define.
(OTHER_GOT_SYMBOLS): Define.
(OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
(EXECUTABLE_SYMBOLS): Don't define.
(DYNAMIC_LINK): Don't define.
* emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
* scripttempl/elfmips.sc: New file.
* configure.host (mips*-dec-bsd*): Change mips to mips*.
(mips*-sgi-irix4*): Likewise.
(mips*-sgi-irix5*): New entry.
* Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
elf.sc.
(eelf32lmip.c): Likewise.
1996-01-15 20:13:04 +00:00
Michael Meissner
be03dc3e37
Add .rela.got.neg section; remove .rel.* sections
1996-01-13 14:44:48 +00:00
Michael Meissner
4fe13b2bdd
Add support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at 64k; make data follow on next 64k page after text
1996-01-12 18:37:47 +00:00
Michael Meissner
9dee2948a2
Move creating section begin/end labels to compiler crt{i,n}.o
1996-01-05 17:27:39 +00:00
Kim Knuttila
d611a82e67
Expose .edata section
1995-11-30 18:18:38 +00:00
David Edelsohn
781332facb
Add a comment saying .junk sections are discarded by the linker.
1995-11-30 17:15:12 +00:00
David Edelsohn
d87e370ba8
* scripttempl/pe.sc: Two .junk's is too much junk.
1995-11-25 02:37:58 +00:00
Kim Knuttila
070eddd986
New PowerPC Portable Executable stuff
1995-11-07 22:14:23 +00:00
Ian Lance Taylor
6398299816
Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
...
* Makefile.in (ALL_EMULATIONS): Add edelta68.o.
(edelta68.c): New target.
* configure.tgt (m68*-motorola-sysv3*): New target.
* emulparams/delta68.sh: New file.
* scripttempl/delta68.sc: New file.
* scripttempl/m88kbcs.sc: Handle .init and .fini. Change section
addresses.
1995-11-01 20:52:10 +00:00
Ian Lance Taylor
328e5a48e8
* scripttempl/aix.sc: Move special symbols inside sections.
...
Always start .data at 0.
1995-10-26 18:12:41 +00:00
Ian Lance Taylor
585c92fe44
add OUTPUT_FORMAT and LIB_SEARCH_DIRS
1995-10-25 17:51:13 +00:00
Ian Lance Taylor
57fc1e90b7
* emultempl/aix.em: Add support for various AIX linker options,
...
for AIX import and export files, and for AIX shared objects.
* scripttempl/aix.sc: Add .pad. Put .ds just before the TOC.
1995-10-25 15:49:27 +00:00
Ian Lance Taylor
b5f076d4aa
* configure.tgt (powerpc-*-aix*): New target; use aixppc.
...
(rs6000-*-aix*): New target; use aixrs6.
* emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
* emultempl/aix.em: New file.
* scripttempl/aix.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
(eaixppc.c, eaixrs6.c): New targets.
1995-10-16 23:19:04 +00:00
Ian Lance Taylor
5753006bf0
* lexsup.c (parse_args): Handle -assert.
...
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define.
* emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the
shared library script when appropriate.
* scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text
section at SIZEOF_HEADERS.
1995-09-28 16:36:34 +00:00
David Edelsohn
132dd91099
* Makefile.in (earmcoff.c): Build.
...
* configure.tgt (arm-*-coff): New target
* emulparms/armcoff.sh: New file.
* scripttempl/armcoff.sc: New file.
1995-09-28 08:48:02 +00:00
Michael Meissner
7453a7533f
Locate __bss_start at the real start of bss.
1995-09-21 21:57:32 +00:00
Steve Chamberlain
eb7f87c5c8
Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com>
...
* emultempl/{armpe.sc, i386pe.sc}: Deleted.
* emultempl/pe.sc: New file performs generic PE support and sorts
archive members.
* emulparams/{armpe.sh,i386pe.sh}: Use new file.
* scripttempl/{armpe.sc, i386pe.sc}: Deleted
* scripttempl/pe.sc: New.
* Makefile.in: Use new files.
b
1995-08-17 22:53:56 +00:00
Steve Chamberlain
a048254cce
* scripttempl/armpe.sc: Always start code at 0x401000, even
1995-08-16 23:29:18 +00:00