sparc: Default memory model to TSO for Linux and Solaris.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 19:22:44 +0000 (19:22 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 19:22:44 +0000 (19:22 +0000)
commit8da0577c87baa75ad56a412fe624f397ec90bd9b
treeb1b4a7b1d891dcea67383cef1479b4fa6ef4f4b5
parent2c40a128278633ed44c671f6191a7ed589eb6ede
sparc: Default memory model to TSO for Linux and Solaris.

        * config/sparc/tso.h: New file.
        * config.gcc (sparc-*-linux*, sparc*-*-solaris2*): Use it.
        * config/sparc/sparc.c (sparc_option_override): Honor
        SUBTARGET_DEFAULT_MEMORY_MODEL.
        * config/sparc/sparc.h (SUBTARGET_DEFAULT_MEMORY_MODEL): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182297 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/tso.h [new file with mode: 0644]