-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,


I have created a toolchain for uclibc, but some things seemed to be
changed for cris/v32 with respect to the program counter register.

Could anyone validate the following patch? Or tell me if I made an error?


- --- libc/sysdeps/linux/cris/crti.S.orig 2008-09-06 23:51:14.017004350
+0200
+++ libc/sysdeps/linux/cris/crti.S      2008-09-06 23:54:28.477004350 +0200
@@ -10,8 +10,7 @@
        move    $srp,$r1
        subq    4,$sp
        move.d  $r0,[$sp]
- -       move.d  $pc,$r0
- -       sub.d   .:GOTOFF,$r0
+       lapc _GLOBAL_OFFSET_TABLE_,$r0
        .align  1

        .section        .fini
@@ -24,6 +23,5 @@
        move    $srp,$r1
        subq    4,$sp
        move.d  $r0,[$sp]
- -       move.d  $pc,$r0
- -       sub.d   .:GOTOFF,$r0
+       lapc _GLOBAL_OFFSET_TABLE_,$r0
       .align  1



Thanks in advance,

Stefan de konink
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjDNrsACgkQYH1+F2Rqwn3WqwCfZBtXc/gJy48VpKIvRdp/N3Pd
HS8AniwNSBpz9vuBd4XIEUk3b2yA063z
=vdg4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to