]> git.ipfire.org Git - thirdparty/gcc.git/commit
* config/alpha/alpha.c (small_symbolic_operand): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2001 08:42:20 +0000 (08:42 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2001 08:42:20 +0000 (08:42 +0000)
commit5dcb037de7bb757e491508f37bdf9a3ce9990d0b
tree6e0e7913cb4002941265bbd23d185d04c6625c63
parent2d988e44f265d41e7564d99372b356f610e846af
    * config/alpha/alpha.c (small_symbolic_operand): New.
        (override_options): Set MASK_SMALL_DATA based on pic/PIC.
        (some_operand, input_operand): Don't handle HIGH.
        (alpha_legitimize_address): Use it.  Emit HIGH with PLUS gp.
        (alpha_expand_mov): Likewise.
        (print_operand) [H]: Just print HIGH symbol.
        (print_operand_address): Handle small data.
        * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
        (TARGET_SWITCHES): Add -msmall-data/large-data.
        (PIC_OFFSET_TABLE_REGNUM): New.
        (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
        (PREDICATE_COES): Update.
        * config/alpha/alpha.md (adddi_er_high): New.
        (adddi_er_low): Handle small data.
        * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
        prefer .sdata to .rodata.
        (SELECT_RTX_SECTION): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45576 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.h
gcc/config/alpha/alpha.md
gcc/config/alpha/elf.h