Skip to content

Commit a2ec8d6

Browse files
committed
Update ELF FileHeder Flags field in a few tests
1 parent 1052132 commit a2ec8d6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ FileHeader:
127127
Data: ELFDATA2LSB
128128
Type: ET_EXEC
129129
# Arbitrary values that do not match any value we convert to via --output-format.
130+
Machine: EM_NONE
130131
OSABI: ELFOSABI_STANDALONE
131132
Sections:
132133
- Name: .text

llvm/test/tools/llvm-objcopy/MachO/remove-swift-symbols.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ FileHeader:
112112
filetype: 0x00000002
113113
ncmds: 4
114114
sizeofcmds: 400
115-
flags: [[FLAGS]]
115+
flags: [[FLAGS=<none>]]
116116
reserved: 0x00000000
117117
LoadCommands:
118118
- cmd: LC_SEGMENT_64

llvm/test/tools/obj2yaml/ELF/mips-eflags.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ FileHeader:
274274
Data: ELFDATA2LSB
275275
Type: ET_REL
276276
Machine: EM_MIPS
277+
Flags: [ ]
277278

278279
# RUN: yaml2obj --docnum=26 %s -o %t-arch-2
279280
# RUN: obj2yaml %t-arch-2 | FileCheck %s -DARCH=EF_MIPS_ARCH_2 --check-prefix=ARCH

0 commit comments

Comments
 (0)