config.host: Match little-endian powerpc-linux.
libgcc/ * config.host: Match little-endian powerpc-linux. gcc/ * config.gcc: Support little-endian powerpc-linux targets. * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. (LINK_OS_LINUX_SPEC): Define. * config/rs6000/linuxspe.h (TARGET_DEFAULT): Preserve MASK_LITTLE_ENDIAN. * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. Correct fp word order for little-endian. Don't shift toc entries smaller than a word for little-endian. * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. (bswapdi2 splits): Correct low-part subreg for little-endian. Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove low/high where such is correct only for be. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow little-endian for -mcall-aixdesc. From-SVN: r198273
Showing
- gcc/ChangeLog 22 additions, 0 deletionsgcc/ChangeLog
- gcc/config.gcc 8 additions, 4 deletionsgcc/config.gcc
- gcc/config/rs6000/default64.h 5 additions, 0 deletionsgcc/config/rs6000/default64.h
- gcc/config/rs6000/linux.h 11 additions, 0 deletionsgcc/config/rs6000/linux.h
- gcc/config/rs6000/linux64.h 9 additions, 6 deletionsgcc/config/rs6000/linux64.h
- gcc/config/rs6000/linuxaltivec.h 5 additions, 0 deletionsgcc/config/rs6000/linuxaltivec.h
- gcc/config/rs6000/linuxspe.h 5 additions, 0 deletionsgcc/config/rs6000/linuxspe.h
- gcc/config/rs6000/rs6000.c 19 additions, 17 deletionsgcc/config/rs6000/rs6000.c
- gcc/config/rs6000/rs6000.md 47 additions, 54 deletionsgcc/config/rs6000/rs6000.md
- gcc/config/rs6000/sysv4.h 0 additions, 6 deletionsgcc/config/rs6000/sysv4.h
- libgcc/ChangeLog 4 additions, 0 deletionslibgcc/ChangeLog
- libgcc/config.host 1 addition, 1 deletionlibgcc/config.host
Loading
Please register or sign in to comment