diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2016-04-30 19:18:17 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-05-08 22:57:40 -0400 |
commit | c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d (patch) | |
tree | 02956e3cc93a50bcc9c946fbc2bbffb883e72f2f /src/ldso/powerpc64/dlsym.s | |
parent | 6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff (diff) | |
download | musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.tar.gz musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.tar.bz2 musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.tar.xz musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.zip |
add powerpc64 port
Diffstat (limited to 'src/ldso/powerpc64/dlsym.s')
-rw-r--r-- | src/ldso/powerpc64/dlsym.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ldso/powerpc64/dlsym.s b/src/ldso/powerpc64/dlsym.s new file mode 100644 index 00000000..7eb691d9 --- /dev/null +++ b/src/ldso/powerpc64/dlsym.s @@ -0,0 +1,12 @@ + .text + .global dlsym + .hidden __dlsym + .type dlsym,@function +dlsym: + addis 2, 12, .TOC.-dlsym@ha + addi 2, 2, .TOC.-dlsym@l + .localentry dlsym,.-dlsym + mflr 5 # The return address is arg3. + b __dlsym + .end dlsym + .size dlsym, .-dlsym |