--- gcc/config/arm/riscix.h 2018/04/24 18:22:24 1.1.1.2 +++ gcc/config/arm/riscix.h 2018/04/24 18:30:06 1.1.1.3 @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. ARM RISCiX version. - Copyright (C) 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. Contributed by Richard Earnshaw (rwe11@cl.cam.ac.uk), based on original work by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl) and Martin Simmons (@harleqn.co.uk). @@ -18,7 +18,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. */ /* Translation to find startup files. On RISC iX boxes, crt0, mcrt0 and gcrt0.o are in /usr/lib. */ @@ -58,7 +59,7 @@ the Free Software Foundation, 675 Mass A %{!mbsd:%{!mxopen:%{!ansi: -D_BSD_C}}}" #endif -/* RISCiX has some wierd symbol name munging, that is done to the object module +/* RISCiX has some weird symbol name munging, that is done to the object module after assembly, which enables multiple libraries to be supported within one (possibly shared) library. It basically changes the symbol name of certain symbols (for example _bcopy is converted to _$bcopy if using BSD) @@ -82,10 +83,11 @@ the Free Software Foundation, 675 Mass A #endif #endif -/* None of these is actually used in cc1, so they modify bit 31 */ -#define ARM_EXTRA_TARGET_SWITCHES \ +/* None of these is actually used in cc1. If we don't define them in target + switches cc1 complains about them. For the sake of argument lets allocate + bit 31 of target flags for such options. */ +#define SUBTARGET_SWITCHES \ {"bsd", 0x80000000}, {"xopen", 0x80000000}, {"no-symrename", 0x80000000}, - /* Run-time Target Specification. */