Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: nacl/dyn-link/ldscripts/elf_nacl.xs

Issue 21636003: Add a PT_NOTE section to mark build_id. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: nacl/dyn-link/ldscripts/elf_nacl.xs
diff --git a/nacl/dyn-link/ldscripts/elf_nacl.xs b/nacl/dyn-link/ldscripts/elf_nacl.xs
index 162a71b8a8c58520b57c6c7b9492264145df63a5..1dd3a3ae0bb5e07dcac58c25bfdffa5eda944fe1 100644
--- a/nacl/dyn-link/ldscripts/elf_nacl.xs
+++ b/nacl/dyn-link/ldscripts/elf_nacl.xs
@@ -14,6 +14,7 @@ PHDRS
seg_dynamic PT_DYNAMIC FLAGS(6) ;
seg_stack PT_GNU_STACK FLAGS(6) ;
seg_tls PT_TLS FLAGS(4) ;
+ seg_build_id PT_NOTE FLAGS(4) ;
}
SECTIONS
{
@@ -53,8 +54,8 @@ SECTIONS
PROVIDE_HIDDEN (__note_gnu_build_id_start = .);
*(.note.gnu.build-id)
PROVIDE_HIDDEN (__note_gnu_build_id_end = .);
- } :seg_rodata
- .hash : { *(.hash) }
+ } :seg_rodata :seg_build_id
+ .hash : { *(.hash) } :seg_rodata
.gnu.hash : { *(.gnu.hash) }
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }

Powered by Google App Engine
This is Rietveld 408576698