This is the follow on part of renaming the ms1 port to mt. It updates
the elf architecture name and cpp #define. ok? The associated binutils
and gcc patches will be available shortly, but I'd like to get this into
1.14.0 and I know time is short there. I've progress sufficiently far
in testing that I know this bit is correct.
nathan
------------------------------------------------------------------------
2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
* libgloss/mt/16-002.ld: Change architecture to 'mt'. Remove
SEARCH_DIR.
* libgloss/mt/16-003.ld, libgloss/mt/64-001.ld: Likewise.
* newlib/libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
* newlib/libc/include/machine/setjmp.h (__mt__): Likewise.
Index: libgloss/mt/16-002.ld
===================================================================
RCS file: /cvs/src/src/libgloss/mt/16-002.ld,v
retrieving revision 1.1
diff -c -3 -p -r1.1 16-002.ld
*** libgloss/mt/16-002.ld 12 Dec 2005 11:16:41 -0000 1.1
--- libgloss/mt/16-002.ld 13 Dec 2005 17:16:16 -0000
***************
*** 1,7 ****
! OUTPUT_FORMAT("elf32-ms1", "elf32-ms1", "elf32-ms1")
! OUTPUT_ARCH(ms1)
ENTRY(__boot_start)
! SEARCH_DIR(/usr/local/mrisc1-elf/lib)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY
--- 1,7 ----
! OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
! OUTPUT_ARCH(mt)
ENTRY(__boot_start)
!
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY
Index: libgloss/mt/16-003.ld
===================================================================
RCS file: /cvs/src/src/libgloss/mt/16-003.ld,v
retrieving revision 1.1
diff -c -3 -p -r1.1 16-003.ld
*** libgloss/mt/16-003.ld 12 Dec 2005 11:16:41 -0000 1.1
--- libgloss/mt/16-003.ld 13 Dec 2005 17:16:16 -0000
***************
*** 1,7 ****
! OUTPUT_FORMAT("elf32-ms1", "elf32-ms1", "elf32-ms1")
! OUTPUT_ARCH(ms1)
ENTRY(__boot_start)
! SEARCH_DIR(/usr/local/mrisc1-elf/lib)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY
--- 1,7 ----
! OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
! OUTPUT_ARCH(mt)
ENTRY(__boot_start)
!
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY
Index: libgloss/mt/64-001.ld
===================================================================
RCS file: /cvs/src/src/libgloss/mt/64-001.ld,v
retrieving revision 1.1
diff -c -3 -p -r1.1 64-001.ld
*** libgloss/mt/64-001.ld 12 Dec 2005 11:16:41 -0000 1.1
--- libgloss/mt/64-001.ld 13 Dec 2005 17:16:16 -0000
***************
*** 1,7 ****
! OUTPUT_FORMAT("elf32-ms1", "elf32-ms1", "elf32-ms1")
! OUTPUT_ARCH(ms1)
ENTRY(__boot_start)
! SEARCH_DIR(/usr/local/mrisc1-elf/lib);
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY
--- 1,7 ----
! OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
! OUTPUT_ARCH(mt)
ENTRY(__boot_start)
!
/* Do we need any of these for elf?
__DYNAMIC = 0; */
MEMORY
Index: newlib/libc/include/machine/ieeefp.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/machine/ieeefp.h,v
retrieving revision 1.27
diff -c -3 -p -r1.27 ieeefp.h
*** newlib/libc/include/machine/ieeefp.h 10 Aug 2005 20:35:13 -0000 1.27
--- newlib/libc/include/machine/ieeefp.h 13 Dec 2005 17:16:17 -0000
***************
*** 226,232 ****
#define __IEEE_BIG_ENDIAN
#endif
! #ifdef __ms1__
#define __IEEE_BIG_ENDIAN
#endif
--- 226,232 ----
#define __IEEE_BIG_ENDIAN
#endif
! #ifdef __mt__
#define __IEEE_BIG_ENDIAN
#endif
Index: newlib/libc/include/machine/setjmp.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/machine/setjmp.h,v
retrieving revision 1.26
diff -c -3 -p -r1.26 setjmp.h
*** newlib/libc/include/machine/setjmp.h 10 Aug 2005 20:35:13 -0000 1.26
--- newlib/libc/include/machine/setjmp.h 13 Dec 2005 17:16:17 -0000
*************** _BEGIN_STD_C
*** 200,206 ****
#define _JBTYPE unsigned long
#endif
! #ifdef __ms1__
#define _JBLEN 16
#endif
--- 200,206 ----
#define _JBTYPE unsigned long
#endif
! #ifdef __mt__
#define _JBLEN 16
#endif