]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xtensa: Add -mforce-no-pic option is supported
authorChris Zankel <chris@zankel.net>
Sun, 2 May 2010 08:00:22 +0000 (01:00 -0700)
committerChris Zankel <chris@zankel.net>
Sun, 2 May 2010 08:00:22 +0000 (01:00 -0700)
commitcf1c0aaf816ecc90106d997c0af3f7cdde6c2a71
tree01675289e91831767de41522dbecbc8b807a2e6a
parent8b307f9c471c7d198070227be26007258b43140e
xtensa: Add -mforce-no-pic option is supported

GCC is configured to always compile with PIC enabled for the Xtensa
architecture. This fails when nfsroot is enabled as the code uses a
non-conformant segment that mismatches in permissione with a read-only
segment.
A patch has been submitted to GCC to add the machine-option 'force-no-pic'
that disables PIC.

Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/Makefile