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

Unified Diff: tools/relocation_packer/test_data/elf_file_unittest_relocs.cc

Issue 410933004: Extend relocation packing to cover arm64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master Created 6 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: tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
diff --git a/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc b/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
index 794c284d91321cb6cdaf090d0e39310cf977882e..ddb4add2d886a498ef822d9d05c0858df3f60db2 100644
--- a/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
+++ b/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
@@ -5,26 +5,8 @@
// Test data for packing/unpacking. When compiled, creates a run of
// relative relocations.
//
-// #!/bin/bash
-//
-// # Compile as an arm shared library.
-// /usr/bin/arm-linux-gnueabi-g++ -shared -o /tmp/testdata.so \
-// elf_file_unittest_relocs.cc
-//
-// # Add a new null .android.rel.dyn section, needed for packing.
-// echo 'NULL' >/tmp/small
-// /usr/bin/arm-linux-gnueabi-objcopy \
-// --add-section .android.rel.dyn=/tmp/small /tmp/testdata.so
-//
-// # Create packed and unpacked reference files.
-// packer="../../../out_android/Debug/relocation_packer"
-// cp /tmp/testdata.so elf_file_unittest_relocs_packed.so
-// $packer elf_file_unittest_relocs_packed.so
-// cp elf_file_unittest_relocs_packed.so elf_file_unittest_relocs.so
-// $packer -u elf_file_unittest_relocs.so
-//
-// # Clean up.
-// rm /tmp/testdata.so /tmp/small
+// See generate_elf_file_unittest_relocs.sh for instructions on how to build
+// unit test data from this source file.
const int i = 0;
« no previous file with comments | « tools/relocation_packer/src/sleb128_unittest.cc ('k') | tools/relocation_packer/test_data/elf_file_unittest_relocs.so » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698