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] |
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.
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.
Cheers Nick
Attachment:
mips-pic.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |