summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-03-17 16:56:31 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-03-17 16:56:31 +0000
commit07f7fe5a4c44fae94a2fed1ffaba437bb0fd73b0 (patch)
tree8e2f46485a0733307e0ff6bbdd7af404ac6ccfa5
parent511391feaa67ed28f5c244acdbdd547ae7e379cc (diff)
downloadbcm5719-llvm-07f7fe5a4c44fae94a2fed1ffaba437bb0fd73b0.tar.gz
bcm5719-llvm-07f7fe5a4c44fae94a2fed1ffaba437bb0fd73b0.zip
[COFF] Fix invalid alignment in tests
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
-rw-r--r--lld/test/COFF/Inputs/include1a.yaml2
-rw-r--r--lld/test/COFF/Inputs/include1b.yaml2
-rw-r--r--lld/test/COFF/alternatename.test2
-rw-r--r--lld/test/COFF/entry-inference2.test2
-rw-r--r--lld/test/COFF/include.test2
5 files changed, 5 insertions, 5 deletions
diff --git a/lld/test/COFF/Inputs/include1a.yaml b/lld/test/COFF/Inputs/include1a.yaml
index 7fca9833cb7..caa313d419a 100644
--- a/lld/test/COFF/Inputs/include1a.yaml
+++ b/lld/test/COFF/Inputs/include1a.yaml
@@ -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
diff --git a/lld/test/COFF/Inputs/include1b.yaml b/lld/test/COFF/Inputs/include1b.yaml
index e4151be27cc..091deb1c0f2 100644
--- a/lld/test/COFF/Inputs/include1b.yaml
+++ b/lld/test/COFF/Inputs/include1b.yaml
@@ -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
diff --git a/lld/test/COFF/alternatename.test b/lld/test/COFF/alternatename.test
index 5b9dc470af1..d0355967db8 100644
--- a/lld/test/COFF/alternatename.test
+++ b/lld/test/COFF/alternatename.test
@@ -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'
diff --git a/lld/test/COFF/entry-inference2.test b/lld/test/COFF/entry-inference2.test
index afac80859d1..c568d9470a6 100644
--- a/lld/test/COFF/entry-inference2.test
+++ b/lld/test/COFF/entry-inference2.test
@@ -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
diff --git a/lld/test/COFF/include.test b/lld/test/COFF/include.test
index b9e5f49b4fb..d3ae4e71c53 100644
--- a/lld/test/COFF/include.test
+++ b/lld/test/COFF/include.test
@@ -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'
OpenPOWER on IntegriCloud