This is the mail archive of the 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]

[Bug nptl/15687] New: powerpc64 abi breakage with nocancel functions

            Bug ID: 15687
           Summary: powerpc64 abi breakage with nocancel functions
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: amodra at gmail dot com
                CC: drepper.fsp at gmail dot com

glibc contains powerpc64 functions without functions descriptors.  As seen in

  [ 1] .text     PROGBITS    0000000000000000 000040 0000b4 00  AX  0   0  4
  [ 5] .opd      PROGBITS    0000000000000000 0000f8 000018 00  WA  0   0  8
    10: 0000000000000000   180 FUNC    GLOBAL DEFAULT    5 __libc_pause
    11: 000000000000000c    48 FUNC    GLOBAL DEFAULT    1 __pause_nocancel

Notice that __pause_nocancel is define in .text, ie. does not have a function
descriptor.  This triggered an error in powerpc64 gold --gc-sections.

It looks to me like
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h is the culprit. 
The ENTRY macro normally is reposible for generating function descriptors, but
I see no such thing for the nocancel variant entry point.

You are receiving this mail because:
You are on the CC list for the bug.

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