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
Ian Lance Taylor
3d046499bc
Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* scripttempl/elf.sc: Don't align the data segment on the next 8
byte boundary, instead let the linker use whatever the individual
sections require.
1997-05-12 15:12:12 +00:00
Michael Meissner
df184f82b2
Fix name of constructors/destructors
1997-05-02 19:57:12 +00:00
Ian Lance Taylor
d7450eb7ee
revert Alpha/OpenBSD patches
1997-04-30 16:18:37 +00:00
Ian Lance Taylor
40f96c6fe5
Fri Apr 18 11:54:43 1997 Niklas Hallqvist <niklas@appli.se>
...
* Makefile.in (ALL_EMULATIONS): Add ealphabsd.o.
(ealphabsd.c): New rule.
* configure.host (alpha-*-bsd): New target.
* configure.tgt (alpha-*-bsd): New target.
* emulparams/alphabsd.sh: New file for *BSD/alpha.
* scripttempl/alphabsd.sc: New file for *BSD/alpha.
1997-04-18 15:57:37 +00:00
Ian Lance Taylor
de386cf61f
fix comment
1997-03-28 19:27:51 +00:00
Ian Lance Taylor
2adb092c95
* scripttempl/elfmips.sc: Change handling of data area when
...
generating a shared library to not skip a large block of memory.
From Per Fogelstrom <pefo@cvs.openbsd.org>.
1997-03-15 02:31:01 +00:00
Angela Marie Thomas
94b569d255
oops... always keep d10v stuff
1997-02-27 08:18:39 +00:00
Martin Hunt
232e870207
Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* Makefile.in (ed30velf.c): New target.
* configure.tgt (d30v-*-*): New target.
* emulparams/d30velf.sh: New file.
* scripttempl/elfd30v.sc: New file.
1997-02-22 01:42:27 +00:00
Ian Lance Taylor
e7886d4ba1
* scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
...
.mips16.call.* in .text.
1997-02-11 20:34:57 +00:00
Fred Fish
11effa691a
* emulparams/tic80coff.sh: New (dummy) file for TIc80.
...
* scripttempl/tic80coff.sc: New (dummy) file for TIc80.
* Makefile.in (etic80coff.c): Add target and rule to build it.
* configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
1997-02-10 01:17:14 +00:00
Ian Lance Taylor
f5f212fb56
* scripttempl/elf.sc: Put linkonce reloc section in other
...
appropriate reloc sections.
* scripttempl/elfmips.sc: Add linkonce support.
* scripttempl/elfppc.sc: Likewise.
1997-01-27 17:39:24 +00:00
Ian Lance Taylor
093427533c
* configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.
...
* scripttempl/elfmips.sc: Use __start as the entry address for
mips*-*-linux*.
1997-01-02 23:15:34 +00:00
Michael Meissner
c43452b052
Add .tbyte and .tbss sections
1996-12-30 18:57:36 +00:00
Michael Meissner
93f8f531b0
Make __{e,g}p correctly start relative to the beginning of the section; Cleanup
1996-12-13 20:37:35 +00:00
Jason Merrill
264677bbe1
* scripttempl/{elfd10v.sc,elfmips.sc,elfppc.sc,v850.sc}: Likewise.
1996-11-27 11:29:23 +00:00
Stan Shebs
de61c9e1f3
Fix sanitization of D10V script template
1996-11-01 02:14:43 +00:00
Ian Lance Taylor
aa9b7dedc8
handle v850.sc
1996-10-28 23:48:06 +00:00
Jeff Law
4ad9452c46
* scriptempl/v850.sc (zdata): Make sure this stays
...
in lo-memory.
zda testing.
1996-10-23 22:18:55 +00:00
Jeff Law
5549ebeda0
* scripttempl/v850.sc (__ep): Put it at the start
...
of the tda section.
v850.
1996-10-23 03:19:16 +00:00
Jeff Law
06c5b0fc96
* scriptempl/v850.sc: Move all "normal" sections into
...
the external memory region (0x100000 - 0x200000).
So plumhall works again (hopefully).
1996-10-22 17:45:57 +00:00
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