https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61526
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Sandra Loosemore from comment #3) > The testcase added for this bug in GCC 4.9.1 is failing with a link error on > an arm-none-eabi target that doesn't support -shared. Should it be > restricted to linux targets? Probably the best way is to add check_effective_target_shared to lib/target-supports.exp (similar to existing c_e_t_static) procedure and use it through the testsuite.