summaryrefslogtreecommitdiffstats
path: root/lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml')
-rw-r--r--lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml b/lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml
new file mode 100644
index 00000000000..35f83c6fd08
--- /dev/null
+++ b/lld/test/mach-o/Inputs/no-version-min-load-command-object.yaml
@@ -0,0 +1,22 @@
+
+# This object file has no version min and so will prevent any -r link from emitting
+# a version min.
+
+--- !mach-o
+arch: x86_64
+file-type: MH_OBJECT
+flags: [ MH_SUBSECTIONS_VIA_SYMBOLS ]
+sections:
+ - segment: __TEXT
+ section: __text
+ type: S_REGULAR
+ attributes: [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
+ address: 0x0000000000000000
+ content: [ 0x00, 0x00, 0x00, 0x00 ]
+global-symbols:
+ - name: _main2
+ type: N_SECT
+ scope: [ N_EXT ]
+ sect: 1
+ value: 0x0000000000000000
+...
OpenPOWER on IntegriCloud