This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 ?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |