This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
mips-netbsd uses abicalls, and hence pic, by default, and so needs to pass -KPIC to the assembler. The ASM spec was only passing -KPIC if -fPIC or -fpic were specified, however. ...noticed when porting libffi to mips-netbsd (the asm files ended up non-pic, causing an error at link-time). Fixed thus, committed to trunk. * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC unless -fno-pic or -fno-PIC is specified. -- -- Jason R. Thorpe <thorpej@wasabisystems.com>
Attachment:
mipsnbsd-patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |