Revert "linker.ld: Better solution for workaround in 3a71b67"
This reverts commit 8d9603b566
.
This commit is contained in:
parent
bc0e2dee14
commit
c5954cb79a
1 changed files with 5 additions and 6 deletions
|
@ -36,6 +36,11 @@ SECTIONS
|
|||
/* Move to the next memory page for .data */
|
||||
. += CONSTANT(MAXPAGESIZE);
|
||||
|
||||
/* Not placing this here may cause trouble on some hosts */
|
||||
.note.gnu.build-id : {
|
||||
*(.note.gnu.build-id)
|
||||
} :data
|
||||
|
||||
.data : {
|
||||
*(.data .data.*)
|
||||
} :data
|
||||
|
@ -44,10 +49,4 @@ SECTIONS
|
|||
*(COMMON)
|
||||
*(.bss .bss.*)
|
||||
} :data
|
||||
|
||||
/* Discard unused sections from object files that may cause issues. */
|
||||
/DISCARD/ : {
|
||||
*.o(*)
|
||||
*.a:*(*)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue