Bug 15005 - Architecture specific CFLAGS for rtld.c are being ignored
Summary: Architecture specific CFLAGS for rtld.c are being ignored
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: dynamic-link (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-08 16:41 UTC by Guy Martin
Modified: 2014-06-13 19:07 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
Don't ignore arch specific rtld.c CFLAGS (295 bytes, text/plain)
2013-01-08 16:41 UTC, Guy Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Martin 2013-01-08 16:41:38 UTC
Created attachment 6803 [details]
Don't ignore arch specific rtld.c CFLAGS

Because of commit 73d65cc3, the architecture specific CFLAGS for rtld.c is being ignore.

Patch attached.
Comment 1 Carlos O'Donell 2013-01-08 16:45:16 UTC
This breaks hppa where we must disable fp reg usage with -mdisable-fpregs otherwise fpreg access in the loader might try to use the PIC register before we've had a chance to set it up.
Comment 2 Carlos O'Donell 2013-05-22 17:58:12 UTC
Initial discussion here:
http://sourceware.org/ml/libc-alpha/2013-01/msg00247.html