[PATCH] D153382: [lld-macho][test] Make reloc-subtractor.s robust

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 20:50:24 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG8653db950377: [lld-macho][test] Make reloc-subtractor.s robust (authored by MaskRay).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153382/new/

https://reviews.llvm.org/D153382

Files:
  lld/test/MachO/reloc-subtractor.s


Index: lld/test/MachO/reloc-subtractor.s
===================================================================
--- lld/test/MachO/reloc-subtractor.s
+++ lld/test/MachO/reloc-subtractor.s
@@ -33,15 +33,6 @@
   .space 16
 
 .section __DATA,bar
-_minuend_1:
-  .space 16
-_minuend_2:
-  .space 16
-_subtrahend_1:
-  .space 16
-_subtrahend_2:
-  .space 16
-
 _sub1:
   .long _minuend_1 - _subtrahend_1
   .space 12
@@ -58,6 +49,16 @@
   .quad L_.minuend - _subtrahend_1 + 1
   .space 8
 
+.section __DATA,bar
+_minuend_1:
+  .space 16
+_minuend_2:
+  .space 16
+_subtrahend_1:
+  .space 16
+_subtrahend_2:
+  .space 16
+
 .text
 .p2align 2
 _main:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153382.533118.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230621/71b9d461/attachment.bin>


More information about the llvm-commits mailing list