bi-endian support for moxie.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2012-09-13  Anthony Green  <green@moxielogic.com> | ||||||
|  |  | ||||||
|  | 	* moxie/moxie-elf-common.ld: Add bi-endian support. | ||||||
|  |  | ||||||
| 2012-08-30  DJ Delorie  <dj@redhat.com> | 2012-08-30  DJ Delorie  <dj@redhat.com> | ||||||
|  |  | ||||||
| 	* rx/rx.ld: Add W_* sections to .rodata. | 	* rx/rx.ld: Add W_* sections to .rodata. | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  * The common part of the default linker scripts for standalone |  * The common part of the default linker scripts for standalone | ||||||
|  * executables running on a Moxie processor. |  * executables running on a Moxie processor. | ||||||
|  * |  * | ||||||
|  * Copyright (C) 2008 Anthony Green |  * Copyright (C) 2008, 2012 Anthony Green | ||||||
|  * |  * | ||||||
|  * The authors hereby grant permission to use, copy, modify, |  * The authors hereby grant permission to use, copy, modify, | ||||||
|  * distribute, and license this software and its documentation for any |  * distribute, and license this software and its documentation for any | ||||||
| @@ -15,7 +15,8 @@ | |||||||
|  * clearly indicated on the first page of each file where they apply. |  * clearly indicated on the first page of each file where they apply. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| OUTPUT_FORMAT("elf32-moxie") | OUTPUT_FORMAT("elf32-bigmoxie", "elf32-bigmoxie", | ||||||
|  |               "elf32-littlemoxie") | ||||||
| OUTPUT_ARCH(moxie) | OUTPUT_ARCH(moxie) | ||||||
| ENTRY(_start) | ENTRY(_start) | ||||||
| SECTIONS | SECTIONS | ||||||
|   | |||||||
| @@ -1,3 +1,8 @@ | |||||||
|  | 2012-09-13  Anthony Green  <green@moxielogic.com> | ||||||
|  |  | ||||||
|  | 	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Add bi-endian | ||||||
|  | 	support for moxie. | ||||||
|  |  | ||||||
| 2012-08-23  Christopher Faylor  <me.cygwin2012@cgf.cx> | 2012-08-23  Christopher Faylor  <me.cygwin2012@cgf.cx> | ||||||
|  |  | ||||||
| 	* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on | 	* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on | ||||||
|   | |||||||
| @@ -280,7 +280,11 @@ | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifdef __moxie__ | #ifdef __moxie__ | ||||||
|  | #ifdef __MOXIE_BIG_ENDIAN__ | ||||||
| #define __IEEE_BIG_ENDIAN | #define __IEEE_BIG_ENDIAN | ||||||
|  | #else | ||||||
|  | #define __IEEE_LITTLE_ENDIAN | ||||||
|  | #endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifdef __ia64__ | #ifdef __ia64__ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user