Mercurial > nand-ecoscentric
changeset 1957:2120c8cc24c2
* src/i386.ld: Add .2ram section.
| author | asl |
|---|---|
| date | Thu, 21 Apr 2005 18:31:55 +0000 |
| parents | 7ad97fa3d1d8 |
| children | 9f7d3e837120 |
| files | packages/hal/i386/arch/current/ChangeLog packages/hal/i386/arch/current/src/i386.ld |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/i386/arch/current/ChangeLog +++ b/packages/hal/i386/arch/current/ChangeLog @@ -1,3 +1,7 @@ +2005-04-21 David Vrabel <dvrabel@arcom.com> + + * src/i386.ld: Add .2ram section. + 2005-04-17 Andrew Lunn <andrew.lunn@ascom.ch> * cdl/hal_i386.cdl:
--- a/packages/hal/i386/arch/current/src/i386.ld +++ b/packages/hal/i386/arch/current/src/i386.ld @@ -132,7 +132,8 @@ GROUP(libtarget.a libgcc.a) /* We want the small data sections together, so single-instruction */ \ /* offsets can access them all, and initialized data all before */ \ /* uninitialized, so we can shorten the on-disk segment size. */ \ - _SDATA_START_ = ABSOLUTE(.); *(.sdata*) } \ + _SDATA_START_ = ABSOLUTE(.); *(.sdata*) \ + . = ALIGN (4); *(.2ram.*) } \ > _region_ \ __rom_data_start = LOADADDR(.data); \ __ram_data_end = .; PROVIDE(__ram_data_end = .); \
