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.x.static

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: fix trybots Created 7 years, 4 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.x.static
diff --git a/nacl/dyn-link/ldscripts/elf_nacl.x.static b/nacl/dyn-link/ldscripts/elf_nacl.x.static
index 41de87a587ed3a3278750eb9ed804db03eeda037..9952daa85564d6d2c53ec8cf477ad97375fcb882 100644
--- a/nacl/dyn-link/ldscripts/elf_nacl.x.static
+++ b/nacl/dyn-link/ldscripts/elf_nacl.x.static
@@ -18,6 +18,7 @@ PHDRS
seg_rodata PT_LOAD FLAGS(4) ; /* read */
seg_tls PT_TLS FLAGS(4) ;
seg_rwdata PT_LOAD FLAGS(6) ; /* read + write */
+ seg_note PT_NOTE FLAGS(4) ;
}
SECTIONS
{
@@ -51,7 +52,8 @@ SECTIONS
PROVIDE_HIDDEN (__note_gnu_build_id_start = .);
*(.note.gnu.build-id)
PROVIDE_HIDDEN (__note_gnu_build_id_end = .);
- } :seg_rodata
+ } :seg_rodata :seg_note
+ .dummy : {} :seg_rodata
.hash : { *(.hash) }
.gnu.hash : { *(.gnu.hash) }
.dynsym : { *(.dynsym) }
« nacl/dyn-link/ldscripts/elf64_nacl.x.static ('K') | « nacl/dyn-link/ldscripts/elf_nacl.xs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698