summaryrefslogtreecommitdiffstats
path: root/courgette/assembly_program.h
diff options
context:
space:
mode:
authorpaulgazz@chromium.org <paulgazz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 22:07:53 +0000
committerpaulgazz@chromium.org <paulgazz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 22:07:53 +0000
commita8e80416be9ccd606ce54f7f192b91133bb23b98 (patch)
tree0972d2fe6b393a5e07e7a1267be5b616643b7eec /courgette/assembly_program.h
parentba79a799579a5417511d472071e3f8fc5e2b67a5 (diff)
downloadchromium_src-a8e80416be9ccd606ce54f7f192b91133bb23b98.zip
chromium_src-a8e80416be9ccd606ce54f7f192b91133bb23b98.tar.gz
chromium_src-a8e80416be9ccd606ce54f7f192b91133bb23b98.tar.bz2
Fixed Courgette to correctly regenerate the ELF relocation table for
ARM binaries. Note for reviewers: Don: general courgette correctness Ben: style, correctness BUG=258648 Review URL: https://chromiumcodereview.appspot.com/19022007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/assembly_program.h')
-rw-r--r--courgette/assembly_program.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/courgette/assembly_program.h b/courgette/assembly_program.h
index 2a68e51..bb2d34c 100644
--- a/courgette/assembly_program.h
+++ b/courgette/assembly_program.h
@@ -71,9 +71,12 @@ class AssemblyProgram {
// Generates an entire base relocation table.
CheckBool EmitPeRelocsInstruction() WARN_UNUSED_RESULT;
- // Generates an ELF style relocation table.
+ // Generates an ELF style relocation table for X86.
CheckBool EmitElfRelocationInstruction() WARN_UNUSED_RESULT;
+ // Generates an ELF style relocation table for ARM.
+ CheckBool EmitElfARMRelocationInstruction() WARN_UNUSED_RESULT;
+
// Following instruction will be assembled at address 'rva'.
CheckBool EmitOriginInstruction(RVA rva) WARN_UNUSED_RESULT;