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/18177] possible typo in an "and"-"shift-right" operation with ARCH_LA_PLTEXIT


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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
- There are DL_NNS == 16 namespaces, each occupying 2 bits, plus 2 summary
bits, making 34 bits in total, which don't fit in unsigned int.

- This only sets half of the bits:
        /* Set all bits since this symbol binding is not interesting.  */
        reloc_result->enterexit = (1u << DL_NNS) - 1;

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