Hi, all,

The nds32 target supports two features, fp-as-gp and ex9, designed
for code size optimizations.  They are majorly performed by linker
so that compiler is merely to give some hints or directives with
-mforce-fp-as-gp, -mforbid-fp-as-gp, and -mex9 options.

However, those two features are not available yet in the current
nds32 port of GNU binutils package.  For consistency concern, I think
it would be better to remove them from gcc trunk as well for now.

Committed as Rev. 219576: https://gcc.gnu.org/r219576


gcc/ChangeLog

2015-01-14  Chung-Ju Wu  <jasonw...@gmail.com>

        * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
        (mforbid-fp-as-gp): Remove.
        (mex9): Remove.
        * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
        (nds32_symbol_load_store_p): Remove.
        (nds32_fp_as_gp_check_available): Clean up implementation.
        * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
        cases.
        * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
        fp-as-gp and ex9 cases.


Best regards,
jasonwucj

Attachment: 0010-Remove-some-features-that-are-not-available-yet-in-n.patch
Description: Binary data

Reply via email to