Skip to content
Snippets Groups Projects
Commit 1f198825 authored by Avi Kivity's avatar Avi Kivity
Browse files

build: collect elf notes in the output object

Needed to pass metadata to Xen.
parent 8f7a6517
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ SECTIONS
.rodata : { *(.rodata*) } :text
.eh_frame : { *(.eh_frame) } :text
.eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame
.note : { *(.note*) } :text :note
.data : { *(.data) } :text
_init_array_start = .;
.init_array : { *(SORT_BY_INIT_PRIORITY(.init_array.*)) } :text
......@@ -51,5 +52,6 @@ PHDRS {
tls PT_TLS;
dynamic PT_DYNAMIC;
eh_frame PT_GNU_EH_FRAME;
note PT_NOTE;
}
ENTRY(start32);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment