diff options
author | Gary Wong <gtw@gnu.org> | 2009-09-14 09:59:32 -0600 |
---|---|---|
committer | Gary Wong <gtw@gnu.org> | 2009-09-14 09:59:32 -0600 |
commit | a5486c78394f3d8a69efdb416706d16873a24b4b (patch) | |
tree | f38335a8eca834ae967b4c64bc78d50180e2f6fb | |
parent | d51ca09b1e85c78df4f0490b7c1ffbf3e6034bed (diff) |
Clean up linker initialisation section commit.
-rw-r--r-- | gwm.h | 3 | ||||
-rw-r--r-- | gwm.ld | 10 |
2 files changed, 3 insertions, 10 deletions
@@ -36,6 +36,9 @@ #if HAVE_INIT_SECTION #define INIT __attribute__((section( ".gwminit.text" ) )) #define INITD __attribute__((section( ".gwminit.rodata" ) )) +#else +#define INIT +#define INITD #endif #define SEND_EVENT_MASK 0x80 @@ -1,10 +0,0 @@ -SECTIONS -{ - . = ALIGN (4096); - init_start = .; - .gwminit.text : { init*(.text ) } - .gwminit.rodata : { init*(.rodata ) } - . = ALIGN (4096); - init_end = .; -} -INSERT AFTER .text; |