Clean up and make linker scripts more uniform
This includes: - fix some comments indent, - add entry point, - align exported symbols, - remove unneeded "." assignments.
This commit is contained in:
@@ -30,8 +30,6 @@ ENTRY(reset_handler)
|
||||
/* Define sections. */
|
||||
SECTIONS
|
||||
{
|
||||
. = ORIGIN(rom);
|
||||
|
||||
.text : {
|
||||
*(.vectors) /* Vector table */
|
||||
*(.text*) /* Program code */
|
||||
@@ -48,6 +46,7 @@ SECTIONS
|
||||
__exidx_end = .;
|
||||
|
||||
|
||||
. = ALIGN(4);
|
||||
_etext = .;
|
||||
|
||||
.data : {
|
||||
|
||||
Reference in New Issue
Block a user