Commit 166b25dc by Bob Wilson Committed by Bob Wilson

* config/xtensa/xtensa.c (override_options): Set flag_shlib.

From-SVN: r131478
parent ad8151b7
2008-01-11 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (override_options): Set flag_shlib.
2008-01-11 James E. Wilson <wilson@specifix.com>
PR target/26015
......@@ -1908,6 +1908,8 @@ override_options (void)
/* There's no need for -fPIC (as opposed to -fpic) on Xtensa. */
if (flag_pic > 1)
flag_pic = 1;
if (flag_pic && !flag_pie)
flag_shlib = 1;
/* Hot/cold partitioning does not work on this architecture, because of
constant pools (the load instruction cannot necessarily reach that far).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment