> diff --git a/gcc/config.gcc b/gcc/config.gcc > index c5064dd37666..0c3a09dfe810 100644 > --- a/gcc/config.gcc > +++ b/gcc/config.gcc > @@ -2866,6 +2866,11 @@ or1k*-*-*) > done > TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's/^,//'` > > + case ${target} in > + or1k*le*-*)
Should this be just or1kle*-*? > + tm_defines="${tm_defines} TARGET_LITTLE_ENDIAN_DEFAULT=1" > + ;; > + esac > case ${target} in > or1k*-*-linux*) > tm_file="${tm_file} gnu-user.h linux.h glibc-stdint.h" > diff --git a/gcc/config/or1k/or1k.opt b/gcc/config/or1k/or1k.opt > index 8a66832a99b1..497f259faae9 100644 > --- a/gcc/config/or1k/or1k.opt > +++ b/gcc/config/or1k/or1k.opt > @@ -24,6 +24,14 @@ > HeaderInclude > config/or1k/or1k-opts.h > > +mbig-endian > +Target Report RejectNegative Mask(BIG_ENDIAN) > +Use big-endian byte order. > + > +mlittle-endian > +Target Report RejectNegative InverseMask(BIG_ENDIAN, LITTLE_ENDIAN) > +Use little-endian byte order. > + We should explain what is the default int he doc's. Can you also document in: gcc/doc/invoke.texi This looks good, thank you. -Stafford