[COFF] Fix invalid alignment in tests
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 17 Mar 2016 16:56:31 +0000 (16:56 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 17 Mar 2016 16:56:31 +0000 (16:56 +0000)
Some COFF tests used INT_MIN for the alignment of the directive section.
This is invalid; replace the alignment with something more sensible: 1.

llvm-svn: 263723

lld/test/COFF/Inputs/include1a.yaml
lld/test/COFF/Inputs/include1b.yaml
lld/test/COFF/alternatename.test
lld/test/COFF/entry-inference2.test
lld/test/COFF/include.test

index 7fca983..caa313d 100644 (file)
@@ -9,7 +9,7 @@ sections:
     SectionData:     B800000000506800000000680000000050E80000000050E800000000
   - Name:            .drectve
     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
-    Alignment:       2147483648
+    Alignment:       1
     SectionData:     2f696e636c7564653a666f6f00  # /include:foo
 symbols:
   - Name:            .text
index e4151be..091deb1 100644 (file)
@@ -9,7 +9,7 @@ sections:
     SectionData:     B800000000506800000000680000000050E80000000050E800000000
   - Name:            .drectve
     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
-    Alignment:       2147483648
+    Alignment:       1
     SectionData:     2f696e636c7564653a62617200  # /include:bar
 symbols:
   - Name:            .text
index 5b9dc47..d035596 100644 (file)
@@ -25,7 +25,7 @@ sections:
     SectionData:     ''
   - Name:            .drectve
     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
-    Alignment:       2147483648
+    Alignment:       1
     SectionData:     2f616c7465726e6174656e616d653a666f6f3d6d61696e00  # /alternatename:foo=main
 symbols:
   - Name:            '.text$mn'
index afac808..c568d94 100644 (file)
@@ -15,7 +15,7 @@ sections:
     SectionData:     B82A000000C3
   - Name:            .drectve
     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
-    Alignment:       2147483648
+    Alignment:       1
     SectionData:     2f616c7465726e6174656e616d653a6d61696e3d57696e4d61696e00  # /alternatename:main=WinMain
 symbols:
   - Name:            .text
index b9e5f49..d3ae4e7 100644 (file)
@@ -33,7 +33,7 @@ sections:
     SectionData:     B82A000000C3
   - Name:            .drectve
     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
-    Alignment:       2147483648
+    Alignment:       1
     SectionData:     2f696e636c7564653a7573656400  # /include:used
 symbols:
   - Name:            '.text$mn'