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

Side by Side Diff: test/MC/ARM/elf-note-nacl.s

Issue 15067009: LLVM: Add ELF Note section to NaCl object files identifying them as such to gold (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: retry upload Created 7 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 # RUN: llvm-mc -filetype=obj -triple armv7-none-nacl-gnueabi %s -o - \
2 # RUN: | llvm-objdump -triple armv7 -s - | FileCheck %s
3
4 # Tests that NaCl object files contain an ELF note section that identifies them
5 # to the binutils gold linker
6
7 .syntax unified
8 .text
9 foo:
10 bx lr
11
12 # There appears to be no way for llvm-objdump to show flags for sections, or
13 # to dump groups like readelf
14 # CHECK: .group
15 # CHECK: .note.NaCl.ABI.arm
16 # contents of the words in the note section should be:
17 # sizeof "NaCl"
18 # sizeof "arm"
19 # 1 (NT_VERSION)
20 # "NaCl" with nul termination and padding to align 4
21 # "arm" with nul termination and padding to align 4
22 # CHECK-NEXT: 0000 05000000 04000000 01000000 4e61436c
23 # CHECK-NEXT: 0010 00000000 61726d00
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698