This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[MT] Fix typo


MorphoTech provided the attached patch to fix a typo in the new ms2.ld linker script. I have installed it.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2006-01-18  Nathan Sidwell  <nathan@codesourcery.com>

	* mt/ms2.ld (.sram): Correct typo in section names.

Index: mt/ms2.ld
===================================================================
RCS file: /cvs/src/src/libgloss/mt/ms2.ld,v
retrieving revision 1.1
diff -c -3 -p -r1.1 ms2.ld
*** mt/ms2.ld	16 Jan 2006 23:23:30 -0000	1.1
--- mt/ms2.ld	18 Jan 2006 10:56:23 -0000
*************** SECTIONS
*** 210,218 ****
    /* For now, locate data ahead of code in onchip sram/memory. */
    .sram           : AT (LOADADDR(.auxdata) + SIZEOF(.auxdata))
    {
!     *(.data.sram)
      . = ALIGN(4) ; /* Make sure that instructions are aligned... */
!     *(.text.sram)
    } >sram
    
    _sram_data_start = LOADADDR ( .sram );
--- 210,218 ----
    /* For now, locate data ahead of code in onchip sram/memory. */
    .sram           : AT (LOADADDR(.auxdata) + SIZEOF(.auxdata))
    {
!     *(.sram.data)
      . = ALIGN(4) ; /* Make sure that instructions are aligned... */
!     *(.sram.text)
    } >sram
    
    _sram_data_start = LOADADDR ( .sram );

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]