--- gcc/config/mips/dec-osf1.h 2018/04/24 18:22:05 1.1.1.3 +++ gcc/config/mips/dec-osf1.h 2018/04/24 18:29:44 1.1.1.4 @@ -15,7 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #define DEC_OSF1 @@ -51,7 +52,9 @@ the Free Software Foundation, 675 Mass A %{.m: -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \ %{!.S:%{!.s: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \ %{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \ -%{!mlong64:-D__PTRDIFF_TYPE__=int}" +%{!mlong64:-D__PTRDIFF_TYPE__=int} \ +%{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \ +%{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}" /* turn off collect2 COFF support, since ldfcn now has elf declaration */ #undef OBJECT_FORMAT_COFF