]> git.ipfire.org Git - thirdparty/gcc.git/commit
alpha.c (decl_has_samegp): New.
authorRichard Henderson <rth@redhat.com>
Fri, 20 Dec 2002 19:42:41 +0000 (11:42 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 20 Dec 2002 19:42:41 +0000 (11:42 -0800)
commit3094247fd2404373d9bd706ede23ecef45d60b84
treee9ad5ecc94f5c28cedecb40bff4161664ef0581c
parent913746e3284267294197f2b41df8d5f67f9398a6
alpha.c (decl_has_samegp): New.

        * config/alpha/alpha.c (decl_has_samegp): New.
        (samegp_function_operand): Use it.  Rename from
        current_file_function_operand.
        (direct_call_operand): Handle -msmall-text via symbol->jump.
        (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
        (tls_symbolic_operand_type): Likewise.
        (alpha_encode_section_info): Likewise.  Handle -msmall-text.
        (alpha_function_ok_for_sibcall): Use decl_has_samegp.
        (alpha_end_function): Set symbol->jump for functions defined in
        the text section.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
        (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha.md (call patterns): Update for
        samegp_function_operand rename; use !samegp reloc if
        TARGET_EXPLICIT_RELOCS.
        * doc/invoke.text: Document -msmall-text and -mlarge-text.

From-SVN: r60373
gcc/ChangeLog
gcc/config/alpha/alpha-protos.h
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.h
gcc/config/alpha/alpha.md
gcc/doc/invoke.texi