mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
315fa847c3
On Darwin, it is required to stamp the object file with VERSION_MIN load command. This commit will provide a VERSRION_MIN load command to the MachO file that doesn't specify the version itself by inferring from Target Triple. llvm-svn: 244059
26 lines
594 B
ArmAsm
26 lines
594 B
ArmAsm
// RUN: llvm-mc -n -triple x86_64-apple-darwin10 %s -filetype=obj | macho-dump | FileCheck %s
|
|
|
|
// CHECK: ('load_commands_size', 120)
|
|
// CHECK: ('load_commands', [
|
|
// CHECK: # Load Command 2
|
|
// CHECK: (('command', 45)
|
|
// CHECK: ('size', 16)
|
|
// CHECK: ('count', 1)
|
|
// CHECK: ('_strings', [
|
|
// CHECK: "a",
|
|
// CHECK: ])
|
|
// CHECK: ),
|
|
// CHECK: # Load Command 3
|
|
// CHECK: (('command', 45)
|
|
// CHECK: ('size', 16)
|
|
// CHECK: ('count', 2)
|
|
// CHECK: ('_strings', [
|
|
// CHECK: "a",
|
|
// CHECK: "b",
|
|
// CHECK: ])
|
|
// CHECK: ),
|
|
// CHECK: ])
|
|
|
|
.linker_option "a"
|
|
.linker_option "a", "b"
|