aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-05-05 07:40:56 +0000
committerNick Clifton <nickc@redhat.com>2005-05-05 07:40:56 +0000
commit699d281050551d00fc5bb45ab0c9fedf947497d1 (patch)
tree8534af783851fa691ea1ebd12b072ae7509e04df
parent4a2a2686740b09cb3a7e2947f08ba8d638949329 (diff)
downloadgdb-699d281050551d00fc5bb45ab0c9fedf947497d1.zip
gdb-699d281050551d00fc5bb45ab0c9fedf947497d1.tar.gz
gdb-699d281050551d00fc5bb45ab0c9fedf947497d1.tar.bz2
Make -mlittle-endian switch set the target_big_endian variable to false.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3210d11..02b77a9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 6c58040..4ca8d49 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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. */