Fix morpho sections

Jeff Johnston jjohnstn@redhat.com
Wed Mar 22 00:22:00 GMT 2006


The ChangeLog diff doesn't go with the patch, but other than that, the 
patch is ok to check in.  Just add the appropriate ChangeLog entry.

Thanks,

-- Jeff J.


Nathan Sidwell wrote:
> This patch fixes morpho's startup code to correctly set nobits for the 
> internal_io section. ok?
> 
> nathan
> 
> 
> ------------------------------------------------------------------------
> 
> ? 576.d
> ? libgloss/576.d
> ? libgloss/mt/all.diff
> Index: libgloss/ChangeLog
> ===================================================================
> RCS file: /cvs/src/src/libgloss/ChangeLog,v
> retrieving revision 1.147
> diff -c -3 -p -r1.147 ChangeLog
> *** libgloss/ChangeLog	3 Mar 2006 03:20:58 -0000	1.147
> --- libgloss/ChangeLog	20 Mar 2006 14:31:37 -0000
> ***************
> *** 1,3 ****
> --- 1,9 ----
> + 2005-12-20  Nathan Sidwell  <nathan@codesourcery.com>
> + 
> + 	* mt/Makefile.in (SCRIPTS, CRT0): Add ms2 files.
> + 	(crt0-ms2.o): New target.
> + 	* mt/crt0-ms2.S, mt/exit-ms2.c, mt/ms2.ld, mt/startup-ms2.S: New.
> + 
>   2006-03-02  DJ Delorie  <dj@redhat.com>
>   
>   	* m32c/exit.S: Preserve r1.
> Index: libgloss/mt/startup-16-002.S
> ===================================================================
> RCS file: /cvs/src/src/libgloss/mt/startup-16-002.S,v
> retrieving revision 1.1
> diff -c -3 -p -r1.1 startup-16-002.S
> *** libgloss/mt/startup-16-002.S	12 Dec 2005 11:16:41 -0000	1.1
> --- libgloss/mt/startup-16-002.S	20 Mar 2006 14:31:37 -0000
> *************** _IVEC_DEFAULT:
> *** 180,186 ****
>   	or	r0, r0, r0
>   
>   
> ! 	.section .internal_io, "a", @progbits
>   	.fill 256		; Fill the first page.
>   
>   	; This is the memory-mapped I/O region.
> --- 180,186 ----
>   	or	r0, r0, r0
>   
>   
> ! 	.section .internal_io, "a", @nobits
>   	.fill 256		; Fill the first page.
>   
>   	; This is the memory-mapped I/O region.
> Index: libgloss/mt/startup-16-003.S
> ===================================================================
> RCS file: /cvs/src/src/libgloss/mt/startup-16-003.S,v
> retrieving revision 1.1
> diff -c -3 -p -r1.1 startup-16-003.S
> *** libgloss/mt/startup-16-003.S	12 Dec 2005 11:16:41 -0000	1.1
> --- libgloss/mt/startup-16-003.S	20 Mar 2006 14:31:38 -0000
> *************** _IVEC_DEFAULT:
> *** 185,191 ****
>   	or	r0, r0, r0
>   
>   
> ! 	.section .internal_io, "a", @progbits
>   	.fill 256		; Fill the first page.
>   
>   	; This is the memory-mapped I/O region.
> --- 185,191 ----
>   	or	r0, r0, r0
>   
>   
> ! 	.section .internal_io, "a", @nobits
>   	.fill 256		; Fill the first page.
>   
>   	; This is the memory-mapped I/O region.
> Index: libgloss/mt/startup-ms2.S
> ===================================================================
> RCS file: /cvs/src/src/libgloss/mt/startup-ms2.S,v
> retrieving revision 1.1
> diff -c -3 -p -r1.1 startup-ms2.S
> *** libgloss/mt/startup-ms2.S	16 Jan 2006 23:23:30 -0000	1.1
> --- libgloss/mt/startup-ms2.S	20 Mar 2006 14:31:38 -0000
> *************** _IVEC_DEFAULT:
> *** 187,193 ****
>   	or	r0, r0, r0
>   
>   
> ! 	.section .internal_io, "a", @progbits
>   	.fill 256		; Fill the first page.
>   
>   	; This is the memory-mapped I/O region.
> --- 187,193 ----
>   	or	r0, r0, r0
>   
>   
> ! 	.section .internal_io, "a", @nobits
>   	.fill 256		; Fill the first page.
>   
>   	; This is the memory-mapped I/O region.



More information about the Newlib mailing list