[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [FYI] Cleanup of linux pass_all



Gary V. Vaughan wrote:

Isn't there some objdump incantation that will differentiate between PIC
and non-PIC objects?

If so, then we should add a new deplibs_check_method=objdump, and use that
for as many hosts as we are able.

Even if this does not work, we could have a shell function to decide if a lib is pic or not, that could do whatever tests are necessary to figure out as best as possible if a library contains only position independent code. It may mean invoking the compiler/linker to do the tests, possibly even running the output of such test code, it would slow libtool down on the arches where such stringent tests are necessary, but it must be possible to have the cake and eat it in this case.

Peter
--
Peter O'Gorman - http://www.pogma.com



Reply to: