mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Replace {u}int_fast{16|32} with {u}int32_t
On 32-bit machines this has no affect. On 64-bit machines {u}int_fast{16|32} are set as {u}int64_t which is often not ideal. Particularly x86_64 this change both saves code size and may save instruction cost. Full xcheck passes on x86_64.
This commit is contained in:
@@ -1093,7 +1093,7 @@ _dl_map_object_from_fd (const char *name, const char *origname, int fd,
|
||||
/* On most platforms presume that PT_GNU_STACK is absent and the stack is
|
||||
* executable. Other platforms default to a nonexecutable stack and don't
|
||||
* need PT_GNU_STACK to do so. */
|
||||
uint_fast16_t stack_flags = DEFAULT_STACK_PERMS;
|
||||
unsigned int stack_flags = DEFAULT_STACK_PERMS;
|
||||
|
||||
{
|
||||
/* Scan the program header table, collecting its load commands. */
|
||||
|
Reference in New Issue
Block a user