lds: Add eh_frame_hdr section

A new section has appeared, move it to the correct place
Copy of fwupd/fwupd-efi#59

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2024-04-01 16:04:02 +01:00
parent 2b0c490219
commit c7ee41c6c4
No known key found for this signature in database
GPG Key ID: 9A5B19E18CD0013C
6 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@ SECTIONS
.gnu.hash : { *(.gnu.hash) }
. = ALIGN(4096);
.eh_frame : { *(.eh_frame) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
.gcc_except_table : { *(.gcc_except_table*) }
. = ALIGN(4096);
.text : {

View File

@ -9,6 +9,7 @@ SECTIONS
.hash : { *(.hash) }
.gnu.hash : { *(.gnu.hash) }
.eh_frame : { *(.eh_frame) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
.gcc_except_table : { *(.gcc_except_table*) }
. = ALIGN(4096);
.text :

View File

@ -9,6 +9,7 @@ SECTIONS
.hash : { *(.hash) }
.gnu.hash : { *(.gnu.hash) }
.eh_frame : { *(.eh_frame) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
.gcc_except_table : { *(.gcc_except_table*) }
. = ALIGN(4096);
.text :

View File

@ -10,6 +10,7 @@ SECTIONS
.gnu.hash : { *(.gnu.hash) }
. = ALIGN(4096);
.eh_frame : { *(.eh_frame) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
.gcc_except_table : { *(.gcc_except_table*) }
. = ALIGN(4096);
.text : {

View File

@ -130,6 +130,7 @@ SECTIONS
.gnu.hash : { *(.gnu.hash) }
. = ALIGN(4096);
.eh_frame : { *(.eh_frame) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
. = ALIGN(4096);
.gcc_except_table : { *(.gcc_except_table*) }
/DISCARD/ :

View File

@ -11,6 +11,7 @@ SECTIONS
.gnu.hash : { *(.gnu.hash) }
. = ALIGN(4096);
.eh_frame : { *(.eh_frame) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
.gcc_except_table : { *(.gcc_except_table*) }
. = ALIGN(4096);
.text :