Skip to content

Commit

Permalink
Add some COMDAT sections
Browse files Browse the repository at this point in the history
When using function/data sections option from
gcc, some additional un-packed sections get created
move these to there correct placement if not already
included

sections seen on x86/x86_64/aarch64:
.gcc_except_table.efi_main
.bss.debugging

.gcc_except_table.* only appears on objcopy archs
  • Loading branch information
yetist committed May 18, 2023
1 parent c3be2cd commit f6bdc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnuefi/elf_loongarch64_efi.lds
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SECTIONS
*(.sbss)
*(.scommon)
*(.dynbss)
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(16);
_bss_end = .;
Expand Down

0 comments on commit f6bdc67

Please sign in to comment.