Tom Rix
249172c3f2
Formatting and misc cleanup for AIX.
2001-12-05 13:34:46 +00:00
Hans-Peter Nilsson
5b5cd1b0fa
* emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
...
(OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
__Sbss.
(OTHER_END_SYMBOLS): Fix formatting.
* emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
(OTHER_END_SYMBOLS): Fix formatting.
2001-12-04 18:28:31 +00:00
Tom Rix
e826c14a72
Removing, redundant with support of -b64
2001-12-03 23:19:06 +00:00
H.J. Lu
484593416a
2001-11-27 H.J. Lu <hjl@gnu.org>
...
* emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
* emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
* emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
* scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
is not empty.
(SDATA): Likewise.
(REL_SDATA): Likewise.
(REL_SBSS): Likewise.
(REL_SDATA2): Likewise.
(REL_SBSS2): Likewise.
(SBSS2): Define if ${NO_SMALL_DATA} is not empty.
(SDATA2): Likewise.
2001-11-27 19:06:07 +00:00
Alan Modra
465bc359f9
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
...
(config.status): Delete rule.
Add extra dependencies to cover sourced emulparams files.
* Makefile.in: Regenerate.
* scripttempl/elf.sc: Order <section>, <section>.* and
corresponding linkonce sections as seen in input files.
Formatting fixes. Zero vma of all sections if not relocating.
(STACK): Define and insert if STACK_ADDR defined.
(OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
(OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
(OTHER_READWRITE_SECTIONS): Likewise.
(OTHER_GOT_SECTIONS): Likewise.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_BSS_SECTIONS): Likewise.
* scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise.
* scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise
* emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
(STACK_ADDR): Define.
* emulparams/armelf_oabi.sh: As for armelf.sh.
* emulparams/elf32mcore.sh: As for armelf.sh.
* emulparams/h8300elf.sh: As for armelf.sh.
* emulparams/mn10200.sh: As for armelf.sh.
* emulparams/shelf.sh: As for armelf.sh.
* emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
* emulparams/m32relf.sh: As for elf32fr30.sh.
* emulparams/h8300helf.sh: As for elf32fr30.sh.
* emulparams/h8300self.sh: As for elf32fr30.sh.
* emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
defines with RELOCATING test.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_END_SYMBOLS): ..this.
* emulparams/crislinux.sh: As for criself.sh.
* emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
if not relocating.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
normal and linkonce sections as seen in input files.
* emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
(TEXT_DYNAMIC): Likewise.
(INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
(OTHER_SDATA_SECTIONS): Likewise.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
(OTHER_PLT_RELOC_SECTIONS): Likewise.
(OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
sections as seen in input files.
* emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
* emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
if not relocating.
(OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
(OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
* emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_SECTIONS): Instead, use this..
(OTHER_END_SYMBOLS): ..and this.
* emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
* emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
* emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
* emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
* emulparams/elf32ppclinux.sh: Likewise.
* emulparams/elf32ppcsim.sh: Likewise.
* emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
* emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
* emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
* emulparams/h8300self.sh: Likewise.
* emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
* emulparams/sh.sh: Comment.
* emulparams/shl.sh: Source sh.sh, remove duplicates.
* emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
* emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2001-11-22 09:08:05 +00:00
Jeff Law
fc65c60263
* emulparams/elf64hppa.sh (OTHER_BSS_END_SECTIONS): Add
...
additional symbols referenced by newer crt0.o files from HP.
2001-11-13 18:25:37 +00:00
Nick Clifton
f11b702702
New symbol: DATA_START_SYMBOLS
2001-11-12 14:39:11 +00:00
Nick Clifton
3c3bdf30e4
Add MMIX support
2001-10-30 15:20:14 +00:00
Jeff Law
38be0bb1e6
* emulparams/h8300helf.sh: Move stack to a much higher memory address.
...
* emulparams/h8300self.sh: Similarly.
2001-09-07 17:35:04 +00:00
Andreas Jaeger
48f6162b7a
* emultempl/aix.em: Add missing prototype.
...
* emultempl/lnk960.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf_oabi.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/gld960.em: Likewise.
* emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
for prototype declaration.
2001-09-03 06:43:37 +00:00
Jeff Law
3946dd2f8d
* emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
...
ARCH specification.
* emulparams/h8300self.sh: Similarly.
2001-08-29 17:35:27 +00:00
Joern Rennecke
8af6dd4198
* Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
...
eh8300self.o .
(eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
* configure.tgt (h8300-*-elf*): New case.
* emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
* emulparams/h8300self.sh: New file.
* Makefile.in: Regenerated.
2001-08-29 12:51:26 +00:00
Alan Modra
5c67d4bb59
* Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
...
(eelf64ppc.c, eelf64lppc.c): Add make targets.
Run "make dep-am"
* Makefile.in: Regenerate.
* configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
entries to correct alphabetical position.
* emulparams/elf64ppc.sh: New.
* emulparams/elf64lppc.sh: New.
2001-08-27 10:45:55 +00:00
H.J. Lu
63d069c06f
2001-08-22 H.J. Lu <hjl@gnu.org>
...
* emulparams/elf32fr30.sh: Add a newline.
2001-08-22 16:00:25 +00:00
Alan Modra
563e308f24
* ld.texinfo: Document that fill values now use the four least
...
significant bytes.
* emulparams/elf32fr30.sh (NOP): Update.
* emulparams/elf32mcore.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_be.sh: Likewise.
* emulparams/elf_i386_chaos.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/i386moss.sh: Likewise.
* emulparams/i386nw.sh: Likewise.
* emulparams/m68kelf.sh: Likewise.
* scripttempl/elf.sc: Update NOP comment.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/nw.sc: Likewise.
2001-08-17 09:51:08 +00:00
Richard Henderson
908d20b308
* emultempl/needrelax.em: New file.
...
* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
* Makefile.am (eelf64_ia64.c): Depend on it.
* Makefile.in: Rebuild.
2001-08-13 20:40:31 +00:00
Alan Modra
5253f23b62
* scripttempl/elf.sc: Move non-text .dynamic section before
...
.plt/.got/.sdata* group.
(OTHER_GOT_SECTIONS): Move to immediately after .got.
(OTHER_SDATA_SECTIONS): Add.
* emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
OTHER_GOT_SECTIONS.
* emulparams/crislinux.sh: Likewise.
* emulparams/elf32b4300.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise.
* emulparams/elf32bmipn32.sh: Likewise.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32elmip.sh: Likewise.
* emulparams/elf32l4300.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Likewise.
* emulparams/elf64bmip.sh: Likewise.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Likewise.
2001-08-09 14:25:59 +00:00
Alan Modra
9f22353f5b
* emulparams/hppa64linux.sh: New file.
...
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
* Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
(ehppa64linux.c): Add rule to make it.
Run "make dep-am".
* Makefile.in: Regenerate.
2001-06-27 08:42:29 +00:00
Andreas Jaeger
8f3aa7a03f
* emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
...
(TEXT_START_ADDR): Likewise.
2001-06-07 11:18:18 +00:00
H.J. Lu
96fcab3e8d
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.
2001-05-25 22:49:14 +00:00
H.J. Lu
5f64210127
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.
* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.
2001-05-25 21:19:46 +00:00
Timothy Wall
64e9ece0ca
monterey updates
2001-05-25 12:42:28 +00:00
Tom Rix
3b1b01cf25
Support for xcoff64
2001-05-24 20:59:23 +00:00
Nick Clifton
506eee2253
Improve Solaris compatability
2001-05-22 14:00:18 +00:00
Jakub Jelinek
579f31ac74
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
...
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.
* readelf.c (process_unwind): Print all unwind sections, not just
one.
* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.
* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
Nick Clifton
c7e4034828
Add gas and ld support for openrisc
2001-05-02 18:14:31 +00:00
Andreas Jaeger
35714f2a5d
* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2001-04-30 09:37:08 +00:00
H.J. Lu
fdec3cfc83
2001-04-05 Steven J. Hill <sjhill@cotw.com>
...
* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
(ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
(eelf32ltsmip.c): New target.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerated.
* configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
target.
(mips*-*-linux-gnu*): Likewise.
* emulparams/elf32ltsmip.sh: New. Traditional little endian
MIPS taget.
* emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
target.
* emulparams/elf64ltsmip.sh: New. Traditional 64bit little
endian target.
2001-04-08 05:13:57 +00:00
Hans-Peter Nilsson
589bad82a2
* emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
...
correct value of __Stext here.
(TEXT_START_SYMBOLS): Define; always define __Stext, to start of
.startup section.
* emulparams/crislinux.sh: Remove FIXME.
2001-04-05 20:37:54 +00:00
Alan Modra
94202e16cf
Bump page size to 64k
2001-04-02 01:21:27 +00:00
Alan Modra
d85e9ff7b1
Go to 16k page size on hppa-linux.
2001-03-27 00:42:47 +00:00
Timothy Wall
2bc551c701
Add aix5 settings.
2001-02-27 03:23:00 +00:00
Timothy Wall
41c4999810
Add ia64-*-aix* configuration.
2001-02-22 17:24:33 +00:00
Nick Clifton
e135f41bc2
Add PDP-11 support
2001-02-18 23:33:11 +00:00
Richard Henderson
30c3c13a92
* emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2001-02-13 23:07:54 +00:00
Richard Henderson
f3988fd901
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
...
.IA_64.unwind.* pattern to unwind table section and
.IA_64.unwind_info* pattern to unwind info section.
2001-02-10 01:44:39 +00:00
Nick Clifton
a85d7ed0f0
Add s390 support
2001-02-10 00:58:38 +00:00
Phil Blundell
46c1ea57dc
2001-02-04 Philip Blundell <philb@gnu.org>
...
* emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
* emulparams/armelf_linux26.sh: Delete.
* configure.tgt: Remove mention of armelf_linux26 emulation.
2001-02-04 14:01:35 +00:00
Jim Wilson
6be0ca9435
Fix gp overflow problem with Intel compiler.
...
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
and IA_64.unwind.info.
2001-01-16 23:44:26 +00:00
Alan Modra
d952f17a9d
Linux target variants for elfxx-hppa.
2001-01-14 11:12:53 +00:00
Geoffrey Keating
9a8e2505e8
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
...
.fixup is actually read/write.
* emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2000-12-12 20:15:21 +00:00
Nick Clifton
2be3aa031f
Add support for x86_64-*-linux-gnu* target
2000-11-30 19:30:33 +00:00
Hans-Peter Nilsson
8c8998585a
* emulparams/crislinux.sh (ENTRY): Change back to _start.
...
(TEXT_START_SYMBOLS): Remove conditional setting of __start.
* scripttempl/crisaout.sc: Change all RELOCATING not related to
merging non-a.out sections into CONSTRUCTING.
2000-11-30 15:08:44 +00:00
David O'Brien
ad95f82a09
2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
...
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
does not use them.
Approved by: Richard Henderson <rth@twiddle.net>
Message-ID: <20001127014059.A16638@twiddle.net>
2000-11-28 10:43:11 +00:00
Richard Henderson
d34802440c
* emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2000-11-15 23:16:30 +00:00
Nick Clifton
59ff2774bb
Add support for *-storm-chaos target
2000-11-02 23:03:24 +00:00
Jakub Jelinek
645571e107
* emulparams/elf64_sparc.sh (TEXT_START_ADDR,
...
NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
Fix sed invocation, so that it coped with '/' in Solaris 64bit
library path suffix.
Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2000-10-20 10:58:32 +00:00
Hans-Peter Nilsson
24dd9f7582
* scripttempl/crisaout.sc (ENTRY): Now __start.
...
(.text): Add default setting for __start.
Remove CONSTRUCTORS handling.
(/DISCARD/): Add .gnu.warning.*.
* emulparams/crislinux.sh (ENTRY): Now __start.
(TEXT_START_SYMBOLS): New; provide __Stext and __start default.
* emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
(ENTRY): Now __start.
(INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
(EXECUTABLE_SYMBOLS): Add default setting for __start.
2000-09-29 19:03:57 +00:00
Nick Clifton
0752970ef8
add support for embedded relocs in m68k ELF port
2000-09-15 18:52:52 +00:00
Alan Modra
92b7e9d81a
(DATA_START_SYMBOLS): Provide $global$ only as needed.
2000-09-15 10:42:27 +00:00