Skip to content

Commit

Permalink
lds: Add eh_frame_hdr section
Browse files Browse the repository at this point in the history
A new section has appeared, move it to the correct place

Signed-off-by: Callum Farmer <[email protected]>
  • Loading branch information
gmbr3 authored and superm1 committed Apr 1, 2024
1 parent c3bffc8 commit 561286c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions efi/lds/elf_aarch64_efi.lds
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,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/ :
Expand Down
1 change: 1 addition & 0 deletions efi/lds/elf_aarch64_efi_system.lds
Original file line number Diff line number Diff line change
Expand Up @@ -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 : {
Expand Down
1 change: 1 addition & 0 deletions efi/lds/elf_ia32_efi.lds
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down
1 change: 1 addition & 0 deletions efi/lds/elf_loongarch64_efi.lds
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,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/ :
Expand Down
1 change: 1 addition & 0 deletions efi/lds/elf_riscv64_efi.lds
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,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/ :
Expand Down
1 change: 1 addition & 0 deletions efi/lds/elf_x86_64_efi.lds
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit 561286c

Please sign in to comment.