Bug 2477 - add missing check for SHARED in linux/i386/sysdep.h
Summary: add missing check for SHARED in linux/i386/sysdep.h
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 03:36 UTC by Mike Frysinger
Modified: 2018-04-19 13:44 UTC (History)
2 users (show)

See Also:
Host: i686-linux-gnu
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
glibc-i386-sysdep-shared-define.patch (262 bytes, patch)
2006-03-23 03:36 UTC, Mike Frysinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2006-03-23 03:36:24 UTC
forwarding an old patch from Gentoo ... the code in sysdep.h has this logic:
#define RESTOREARGS_0
#ifdef __PIC__
# if defined I386_USE_SYSENTER && defined SHARED
...

however, the section just above it lacks the defined SHARED part:
#define LOADARGS_0
#ifdef __PIC__
# if defined I386_USE_SYSENTER
Comment 1 Mike Frysinger 2006-03-23 03:36:44 UTC
Created attachment 938 [details]
glibc-i386-sysdep-shared-define.patch
Comment 2 Ulrich Drepper 2006-04-01 19:55:32 UTC
This never has been a problem in the any correct build but I changed it anyway.