This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/18177] possible typo in an "and"-"shift-right" operation with ARCH_LA_PLTEXIT
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 30 Mar 2015 10:44:25 +0000
- Subject: [Bug dynamic-link/18177] possible typo in an "and"-"shift-right" operation with ARCH_LA_PLTEXIT
- Auto-submitted: auto-generated
- References: <bug-18177-131 at http dot sourceware dot org/bugzilla/>
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.