Bug 10097 - Allow libc-port machine to override nptl/init.c without overriding csu/init.c
Summary: Allow libc-port machine to override nptl/init.c without overriding csu/init.c
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: 2009-04-24 03:39 UTC by Carlos O'Donell
Modified: 2014-07-01 20:37 UTC (History)
1 user (show)

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


Attachments
Rename csu/init.c to csu/csu-init.c. (1.45 KB, patch)
2009-04-24 03:40 UTC, Carlos O'Donell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos O'Donell 2009-04-24 03:39:25 UTC
The nptl and csu directories both have an init.c file. The hppa port needs to
override the file nptl/init.c as part of the process of creating new versions of
certain pthread functions. Unfortunately csu/init.c is also overridden by any
init.c in an hppa subdir.

The following patch renames csu/init.c to csu/csu-init.c to allow libc-port
machines to override nptl/init.c without also overriding csu/csu-init.c

No regressions on hppa-linux-gnu.

Please apply.
Comment 1 Carlos O'Donell 2009-04-24 03:40:48 UTC
Created attachment 3905 [details]
Rename csu/init.c to csu/csu-init.c.
Comment 2 Carlos O'Donell 2009-04-24 03:42:10 UTC
My apologies, I already filed this bug. Marking as fixed, and adjusting my TODO
list appropriately.