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

[Bug dynamic-link/17775] New: Unused code in sysdeps/i386/dl-machine.h


https://sourceware.org/bugzilla/show_bug.cgi?id=17775

            Bug ID: 17775
           Summary: Unused code in sysdeps/i386/dl-machine.h
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com

sysdeps/i386/dl-machine.h has

#ifdef PI_STATIC_AND_HIDDEN
...
#else  /* Without .hidden support, we can't compile the code above.  */
...
#endif

and sysdeps/i386/configure.ac has

dnl It is always possible to access static and hidden symbols in an
dnl position independent way.
AC_DEFINE(PI_STATIC_AND_HIDDEN)

PI_STATIC_AND_HIDDEN is always defined for i386.  There is no need
to check PI_STATIC_AND_HIDDEN in sysdeps/i386/dl-machine.h.

-- 
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]