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

Unified Diff: nacl/dyn-link/ldscripts/elf64_nacl.x

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
« no previous file with comments | « no previous file | nacl/dyn-link/ldscripts/elf64_nacl.xs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacl/dyn-link/ldscripts/elf64_nacl.x
diff --git a/nacl/dyn-link/ldscripts/elf64_nacl.x b/nacl/dyn-link/ldscripts/elf64_nacl.x
index 927cf874907b3a665caf04bb482dc7a3f2b349c8..bf077dc125c1a08ad009a60f2714cd8fde5cf9f1 100644
--- a/nacl/dyn-link/ldscripts/elf64_nacl.x
+++ b/nacl/dyn-link/ldscripts/elf64_nacl.x
@@ -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) ;
Mark Seaborn 2013/08/02 00:31:11 Make this "seg_note". It can potentially contain
}
SECTIONS
{
@@ -52,8 +53,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) }
« no previous file with comments | « no previous file | nacl/dyn-link/ldscripts/elf64_nacl.xs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698