summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2015-06-29 20:03:36 -0400
committerPeter Jones <pjones@redhat.com>2015-06-29 20:03:36 -0400
commitb4cd19405fb16fc3c13568c968d473172bbb0d54 (patch)
treef8dc9133dee6941fdd7d0dbd1eae681d2e879e04
parentc55b17d281e428420198e37a4054cd13b5b3ca7e (diff)
downloadefi-boot-shim-b4cd19405fb16fc3c13568c968d473172bbb0d54.tar.gz
efi-boot-shim-b4cd19405fb16fc3c13568c968d473172bbb0d54.zip
Make sure our build-id notes wind up at a reasonable place.
Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--elf_aarch64_efi.lds1
-rw-r--r--elf_arm_efi.lds1
-rw-r--r--elf_ia32_efi.lds1
-rw-r--r--elf_ia64_efi.lds2
-rw-r--r--elf_x86_64_efi.lds2
5 files changed, 7 insertions, 0 deletions
diff --git a/elf_aarch64_efi.lds b/elf_aarch64_efi.lds
index d4f3a503..77770c27 100644
--- a/elf_aarch64_efi.lds
+++ b/elf_aarch64_efi.lds
@@ -37,6 +37,7 @@ SECTIONS
. = ALIGN(16);
_bss_end = .;
}
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
. = ALIGN(4096);
.vendor_cert :
diff --git a/elf_arm_efi.lds b/elf_arm_efi.lds
index 1a64a3bb..ffa1eeb2 100644
--- a/elf_arm_efi.lds
+++ b/elf_arm_efi.lds
@@ -37,6 +37,7 @@ SECTIONS
. = ALIGN(16);
_bss_end = .;
}
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
. = ALIGN(4096);
.vendor_cert :
diff --git a/elf_ia32_efi.lds b/elf_ia32_efi.lds
index 9030fea8..9da81094 100644
--- a/elf_ia32_efi.lds
+++ b/elf_ia32_efi.lds
@@ -38,6 +38,7 @@ SECTIONS
*(.bss)
*(COMMON)
}
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
. = ALIGN(4096);
.vendor_cert :
{
diff --git a/elf_ia64_efi.lds b/elf_ia64_efi.lds
index 7cb506dc..39ffddaf 100644
--- a/elf_ia64_efi.lds
+++ b/elf_ia64_efi.lds
@@ -41,6 +41,7 @@ SECTIONS
*(.bss)
*(COMMON)
}
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
. = ALIGN(4096);
.vendor_cert :
{
@@ -77,4 +78,5 @@ SECTIONS
*(.IA_64.unwind*)
*(.IA64.unwind*)
}
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
}
diff --git a/elf_x86_64_efi.lds b/elf_x86_64_efi.lds
index 68072105..bb21bbb0 100644
--- a/elf_x86_64_efi.lds
+++ b/elf_x86_64_efi.lds
@@ -42,6 +42,7 @@ SECTIONS
*(COMMON)
*(.rel.local)
}
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
. = ALIGN(4096);
.vendor_cert :
{
@@ -71,4 +72,5 @@ SECTIONS
*(.note.GNU-stack)
}
.comment 0 : { *(.comment) }
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
}