diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-12 22:31:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-12 22:31:43 +0000 |
commit | 2ce1a10fd6a59d6767e0064296e6c0adfa43198a (patch) | |
tree | 980d361cbe359fbf1db5a3bfa003faf37c13571c /sysdeps/powerpc/powerpc64/sysdep.h | |
parent | ad316adfa6d389f27f726e1e377a66e3cdd9748e (diff) | |
download | glibc-2ce1a10fd6a59d6767e0064296e6c0adfa43198a.tar.gz glibc-2ce1a10fd6a59d6767e0064296e6c0adfa43198a.tar.xz glibc-2ce1a10fd6a59d6767e0064296e6c0adfa43198a.zip |
Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date alse if only PF_INET address is needed. * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in case of an error.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/sysdep.h')
-rw-r--r-- | sysdeps/powerpc/powerpc64/sysdep.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc64/sysdep.h b/sysdeps/powerpc/powerpc64/sysdep.h index 0af2b0a2fc..203484c896 100644 --- a/sysdeps/powerpc/powerpc64/sysdep.h +++ b/sysdeps/powerpc/powerpc64/sysdep.h @@ -34,11 +34,16 @@ .pushsection; \ .section ".data"; \ .align ALIGNARG(2); \ -0: .long 0; \ +__mcount: \ + .long 0; \ + .previous; \ + .section ".toc","aw"; \ +.LC__mcount:; \ + .tc __mcount[TC],__mcount; \ .previous; \ mflr r0; \ std r0,16(r1); \ - ld r0,0b@got(r2); \ + ld r0,.LC__mcount@toc(r2); \ bl JUMPTARGET(_mcount); #else /* SYSV_ELF_PROFILING */ #define CALL_MCOUNT \ @@ -52,11 +57,16 @@ .pushsection; \ .section ".data"; \ .align ALIGNARG(2); \ -0: .long 0; \ +__mcount: \ + .long 0; \ + .previous; \ + .section ".toc","aw"; \ +.LC__mcount:; \ + .tc __mcount[TC],__mcount; \ .previous; \ mflr r0; \ std r0,16(r1); \ - ld r0,0b@got(r2); \ + ld r0,.LC__mcount@toc(r2); \ bl JUMPTARGET(_mcount); #else /* SYSV_ELF_PROFILING */ #define CALL_MCOUNT \ |