Moved vector_table to the library.

This commit is contained in:
Piotr Esden-Tempski
2010-01-22 15:53:47 +01:00
parent a88c1b0ee9
commit 4935a0ddd8
7 changed files with 32 additions and 21 deletions

View File

@@ -66,8 +66,3 @@ int main(void)
return 0;
}
u32 *vector_table[2] __attribute__ ((section(".vectors"))) = {
(u32 *)0x20000800, /* Use 2 KB stack (0x800 bytes). */
(u32 *)main, /* Use main() as reset vector for now. */
};

View File

@@ -63,8 +63,3 @@ int main(void)
return 0;
}
u32 *vector_table[2] __attribute__ ((section(".vectors"))) = {
(u32 *)0x20000800, /* Use 2 KB stack (0x800 bytes). */
(u32 *)main, /* Use main() as reset vector for now. */
};

View File

@@ -94,8 +94,3 @@ int main(void)
return 0;
}
u32 *vector_table[2] __attribute__ ((section(".vectors"))) = {
(u32 *)0x20000800, /* Use 2 KB stack (0x800 bytes). */
(u32 *)main, /* Use main() as reset vector for now. */
};