Perhaps this belongs on the binutils list, but I'd like to know how if an ELF library/executable was built with -fpic versus -fPIC. I know each makes PIC object code, with the difference being the size of the data model: -msmall-data (-fpic) -mlarge-data (-fPIC) but I have some shared libraries I am linking against such that I don't know which PIC option was used to build it. Is there an ELF header I can check? If this is the wrong list to post this, I will redirect to the binutils list. Thanks, Tom