This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] hppa: Use __prlimit64 as the strong name.


Team,

The following patch fixes a build failure in trunk for hppa.

The strong symbol and was set to prlimit64 and that can't work because 
the syscall stub script then tries to alias prlimi64 to prlimit64 which
is not valid.

The following patch results in:
    10: 00000000    72 FUNC    GLOBAL DEFAULT    1 __prlimit64
    11: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND __errno_location
    12: 00000000    72 FUNC    GLOBAL DEFAULT    1 __GI___prlimit64
    13: 00000000    72 FUNC    GLOBAL DEFAULT    1 prlimit64@@GLIBC_2.17

Which is correct and fixes the build breakage.

2012-09-20  Carlos O'Donell  <carlos@systemhalted.org>

       * sysdeps/unix/sysv/linux/hppa/syscalls.list: Use __prlimit64 as
       the strong name.

diff --git a/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list b/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list
index 78e6568..f3ff3e7 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list
+++ b/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list
@@ -35,4 +35,4 @@ socketpair    -       socketpair      i:iiif  __socketpair    socketpair

 setrlimit      -       setrlimit       i:ip    __setrlimit     setrlimit
 getrlimit      -       getrlimit       i:ip    __getrlimit     getrlimit
-prlimit64      EXTRA   prlimit64       i:iipp  prlimit64       prlimit64@@GLIBC_2.17
+prlimit64      EXTRA   prlimit64       i:iipp  __prlimit64     prlimit64@@GLIBC_2.17
---

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]