Oleksandr Tymoshenko
bbc54af80e
Before jumping to application's entry point set ra == pc in order
...
to let backtracing routine know to go no further.
2012-03-23 17:54:06 +00:00
Oleksandr Tymoshenko
0bf1897832
Use PTR_SUBU instead of subu (missed this one)
2012-03-12 20:59:18 +00:00
Oleksandr Tymoshenko
7730e5971e
Use PTR_(ADD|SUB)U macrosses instead of hardcoded addu/subu
...
Spotted by: juli
2012-03-12 20:58:09 +00:00
Oleksandr Tymoshenko
33ddd0f61a
- Although we pass first 4 arguments in registers, function callinf ABI requires
...
space to be reserved for them in stack. _rtld() prologue saves a1 and a2 in
this space.
- Whitespace cleanup while I'm at it
2012-03-12 20:24:59 +00:00
Jayachandran C.
4c4a1ce8f8
64 bit support for MIPS rtld.
...
- Handle the case where pltgot[1] is 64 bit.
- use 'ifdef __mips_n64' instead of 'ELFSIZE == 64' to detect 64 bit compile.
2010-07-29 20:18:52 +00:00
Jayachandran C.
a77be127e6
Merge jmallett@'s n64 work into HEAD - changeset 3
...
Update rtld MIPS code to use assembly macros that work on o32/n64.
Changes from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs(mentor), jmallett
2010-06-16 16:39:01 +00:00
Warner Losh
5d7dfd42c7
Updated rtld for n32 support.
...
Submitted by: jmallet@
Obtained from: NetBSD
2010-03-04 04:53:05 +00:00
Warner Losh
652d402e7b
MFp4: Add mips support for dynamic linking.
...
This code came from the merged mips2 and Juniper mips repositories.
Warner Losh, Randall Seager, Oleksandr Tymoshenko and Olivier Houchard
worked to merge, debug and integrate this code. This code may also
contain code derived from NetBSD.
2008-04-04 20:59:26 +00:00