gonzo
7c6992b55a
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
gonzo
a9b563759a
Use PTR_SUBU instead of subu (missed this one)
2012-03-12 20:59:18 +00:00
gonzo
0aab978e56
Use PTR_(ADD|SUB)U macrosses instead of hardcoded addu/subu
...
Spotted by: juli
2012-03-12 20:58:09 +00:00
gonzo
1e3537d1fc
- 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
jchandra
a25f240d5c
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
jchandra
54db007c16
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
imp
2c774f7ff2
Updated rtld for n32 support.
...
Submitted by: jmallet@
Obtained from: NetBSD
2010-03-04 04:53:05 +00:00
imp
ab840fe874
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