diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-22 00:01:20 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-22 00:01:20 +0000 |
commit | d83cb9d055661f1e954bcfd778a55786f9ad5086 (patch) | |
tree | dc7b48f1f19630f2607956638b62ee8aabe32322 /firmware | |
parent | 4d2c647d5ab9ff6f9888e0b8f40aab856987cbfb (diff) |
Keep the vectors when linking with --gc-sections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12445 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/boot.lds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index 290720011a..c9e39be554 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds @@ -160,7 +160,9 @@ SECTIONS .data : AT ( _datacopy ) { _datastart = .; + KEEP(*(.resetvectors)); *(.resetvectors); + KEEP(*(.vectors)); *(.vectors); . = ALIGN(0x200); *(.icode) |