Make -mlittle-endian switch set the target_big_endian variable to false.

This commit is contained in:
Nick Clifton 2005-05-05 07:40:56 +00:00
parent 4a2a268674
commit 699d281050
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-05-05 Nick Clifton <nickc@redhat.com>
* config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
the target_big_endian variable to false.
2005-05-04 Alan Modra <amodra@bigpond.net.au>
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section

View File

@ -22,8 +22,8 @@
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
#include <string.h>
#define NO_RELOC 0
@ -12870,7 +12870,7 @@ struct arm_option_table arm_opts[] =
{"mapcs-reentrant", N_("re-entrant code"), &pic_code, 1, NULL},
{"matpcs", N_("code is ATPCS conformant"), &atpcs, 1, NULL},
{"mbig-endian", N_("assemble for big-endian"), &target_big_endian, 1, NULL},
{"mlittle-endian", N_("assemble for little-endian"), &target_big_endian, 1,
{"mlittle-endian", N_("assemble for little-endian"), &target_big_endian, 0,
NULL},
/* These are recognized by the assembler, but have no affect on code. */