Bug 10097

Summary: Allow libc-port machine to override nptl/init.c without overriding csu/init.c
Product: glibc Reporter: Carlos O'Donell <carlos>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: hppa-linux-gnu Target: hppa-linux-gnu
Build: hppa-linux-gnu Last reconfirmed:
Attachments: Rename csu/init.c to csu/csu-init.c.

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.