* configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.

* emulparams/criself.sh (INIT_START): Remove emitted "push srp".
	(FINI_START): Ditto.
	(INIT_END): Remove emitted "jump [sp+]".
	(FINI_END): Ditto.
This commit is contained in:
Hans-Peter Nilsson 2004-11-04 15:01:40 +00:00
parent ae57792d90
commit a005500724
3 changed files with 11 additions and 8 deletions

View file

@ -1,3 +1,11 @@
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
* configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
* emulparams/criself.sh (INIT_START): Remove emitted "push srp".
(FINI_START): Ditto.
(INIT_END): Remove emitted "jump [sp+]".
(FINI_END): Ditto.
2004-11-04 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.

View file

@ -30,8 +30,9 @@ cr16c-*-elf*) targ_emul=elf32cr16c ;;
cris-*-*aout*) targ_emul=crisaout
targ_extra_emuls="criself crislinux"
targ_extra_libpath=$targ_extra_emuls ;;
cris-*-linux-gnu*) targ_emul=crislinux ;;
cris-*-*) targ_emul=criself
cris-*-linux-gnu* | cris-*-linux-gnu*)
targ_emul=crislinux ;;
cris-*-* | crisv32-*-*) targ_emul=criself
targ_extra_emuls="crisaout crislinux"
targ_extra_libpath=$targ_extra_emuls ;;
crx-*-elf*) targ_emul=elf32crx ;;

View file

@ -53,12 +53,9 @@ INIT_START='
. = ALIGN(2);
___init__start = .;
PROVIDE (___do_global_ctors = .);
SHORT (0xe1fc); /* push srp */
SHORT (0xbe7e);
'
INIT_END='
SHORT (0x0d3e); /* jump [sp+] */
PROVIDE (__init__end = .);
PROVIDE (___init__end = .);
'
@ -67,12 +64,9 @@ FINI_START='
. = ALIGN (2);
___fini__start = .;
PROVIDE (___do_global_dtors = .);
SHORT (0xe1fc); /* push srp */
SHORT (0xbe7e);
'
FINI_END='
SHORT (0x0d3e); /* jump [sp+] */
PROVIDE (__fini__end = .);
___fini__end = .;
'