[Patch] ld testsuite: Fix some FAILs caused by missing -fpic.
nick clifton
nickc@redhat.com
Wed Dec 7 11:25:00 GMT 2011
More information about the Binutils mailing list
Wed Dec 7 11:25:00 GMT 2011
- Previous message (by thread): [Patch] ld testsuite: Fix some FAILs caused by missing -fpic.
- Next message (by thread): [Patch] ld testsuite: Fix some FAILs caused by missing -fpic.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi David, Daney >> How old is "very old" ? > > GCC-4.2 and earlier. >> If "very old" actually includes any of the 4.x versions of gcc then I >> would be inclined to say that a better fix would be to check the gcc >> version number and only omit "-fpic" if it is not needed. > > That is too much work. No it's not. See the attached patch for a suggestion of how to do this. > Although I haven't tested it, supplying -fpic > will not break anything in any GCC version I know about. I think > GCC-2.95 and later should be fine with this, certainly any GCC-4.x and > later compiler can handle -fpic. If passing -fpic to gcc was not a problem for the mips compiler then why were these special tests added to the linker test harness in the first place ? Cheers Nick -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mips-pic.patch URL: <https://sourceware.org/pipermail/binutils/attachments/20111207/8498bd0a/attachment.ksh>
- Previous message (by thread): [Patch] ld testsuite: Fix some FAILs caused by missing -fpic.
- Next message (by thread): [Patch] ld testsuite: Fix some FAILs caused by missing -fpic.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list