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

Unified Diff: elf/nacl_fixup_ldso.py

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
« no previous file with comments | « no previous file | nacl/dyn-link/ldscripts/elf64_nacl.x » ('j') | nacl/dyn-link/ldscripts/elf64_nacl.x » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: elf/nacl_fixup_ldso.py
diff --git a/elf/nacl_fixup_ldso.py b/elf/nacl_fixup_ldso.py
index f60becc06562b538cd5ede5adc7be0e4def1852e..a5eb1f9eea1e32680b10909f76a2c97bb4ab61b1 100644
--- a/elf/nacl_fixup_ldso.py
+++ b/elf/nacl_fixup_ldso.py
@@ -48,10 +48,10 @@ def main(args):
fh.seek(offset_ei_class)
elfclass = fh.read(1)
if elfclass == elfclass32:
- check("H", offset_e_phnum32, 6)
+ check("H", offset_e_phnum32, 7)
replace("H", offset_e_phnum32, 3)
elif elfclass == elfclass64:
- check("H", offset_e_phnum64, 6)
+ check("H", offset_e_phnum64, 7)
replace("H", offset_e_phnum64, 3)
else:
raise AssertionError("Unknown ELF class in file %s." % filename)
« no previous file with comments | « no previous file | nacl/dyn-link/ldscripts/elf64_nacl.x » ('j') | nacl/dyn-link/ldscripts/elf64_nacl.x » ('J')

Powered by Google App Engine
This is Rietveld 408576698