r265889 - in /branches/gcc-7-branch/gcc: Change...
jcmvbkbc@gcc.gnu.org
jcmvbkbc@gcc.gnu.org
Wed Nov 7 20:52:00 GMT 2018
Author: jcmvbkbc
Date: Wed Nov 7 20:52:29 2018
New Revision: 265889
URL: https://gcc.gnu.org/viewcvs?rev=265889&root=gcc&view=rev
Log:
gcc: xtensa: don't force PIC for uclinux target
xtensa-uclinux uses bFLT executable file format that cannot relocate
fields representing offsets from data to code. C++ objects built as PIC
use offsets to encode FDE structures. As a result C++ exception handling
doesn't work correctly on xtensa-uclinux. Don't use PIC by default on
xtensa-uclinux.
gcc/
2018-11-07 Max Filippov <jcmvbkbc@gmail.com>
Backport from mainline
2018-11-05 Max Filippov <jcmvbkbc@gmail.com>
* config/xtensa/uclinux.h (XTENSA_ALWAYS_PIC): Change to 0.
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/xtensa/uclinux.h
More information about the Gcc-cvs
mailing list