scripts,linker.ld: supress waring about RWX segment from ld
* `xxx has a LOAD segment with RWX permissions`
This commit is contained in:
parent
024441cbed
commit
31a5a10f48
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
PHDRS { text PT_LOAD; data PT_LOAD; }
|
||||||
|
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
/* _pmem_start and _entry_offset are defined in LDFLAGS */
|
/* _pmem_start and _entry_offset are defined in LDFLAGS */
|
||||||
|
@ -6,7 +7,7 @@ SECTIONS {
|
||||||
.text : {
|
.text : {
|
||||||
*(entry)
|
*(entry)
|
||||||
*(.text*)
|
*(.text*)
|
||||||
}
|
} : text
|
||||||
etext = .;
|
etext = .;
|
||||||
_etext = .;
|
_etext = .;
|
||||||
.rodata : {
|
.rodata : {
|
||||||
|
@ -14,7 +15,7 @@ SECTIONS {
|
||||||
}
|
}
|
||||||
.data : {
|
.data : {
|
||||||
*(.data)
|
*(.data)
|
||||||
}
|
} : data
|
||||||
edata = .;
|
edata = .;
|
||||||
_data = .;
|
_data = .;
|
||||||
.bss : {
|
.bss : {
|
||||||
|
|
Loading…
Add table
Reference in a new issue