Bug 9924

Summary: Overriding nptl/init.c also overrides 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-03-04 22:24:57 UTC
To override certain pthread symbols a machine in ports must also override
nptl/init.c to initialize the structure of pointers used by nptl/forward.c.

However, overriding nptl/init.c also overrides csu/init.c, because the file
names are the same.

The solution is to rename csu/init.c to csu/csu-init.c. Patch attached. No
regressions on hppa-linux-gnu.

Please apply.
Comment 1 Carlos O'Donell 2009-03-04 22:25:59 UTC
Created attachment 3792 [details]
Rename csu/init.c to csu/csu-init.c
Comment 2 Carlos O'Donell 2009-04-24 03:43:17 UTC
Ping?

Is this patch the right solution?
Comment 3 Ulrich Drepper 2009-05-16 16:02:00 UTC
I changed this now that the VCS can keep track of renames.  I renamed a
different file, though.
Comment 4 Carlos O'Donell 2009-05-16 16:02:23 UTC
Subject: Re:  Overriding nptl/init.c also overrides csu/init.c

I will be out of the office from May 13th through May 31st.
I will not have access to email and will not be checking voicemail.
If you require urgent assitance please contact:

	CodeSourcery Support <support@codesourcery.com>

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716