sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
authorRichard Henderson <rth@redhat.com>
Thu, 17 Apr 2003 10:24:59 +0000 (03:24 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 17 Apr 2003 10:24:59 +0000 (03:24 -0700)
commit675ff4c7643263e605889ff424c2c9cc595b06ac
tree2488a95bf923daee8de90ff7dae47397b029784a
parent114278e7115aac1d32cd465a272f27e80a0e4dff
sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.

        * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
        (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
        (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
        (sh_encode_section_info): Remove.
        (sh_strip_name_encoding): Remove.
        * config/sh/sh.h (SH_DATALABEL_ENCODING): Remove.
        (DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove.
        (SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove.
        (ASM_OUTPUT_LABELREF): Remove.
        (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P.
        * config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P.

From-SVN: r65735
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md