llvm-project/lld/test/pecoff/Inputs
Rui Ueyama 71aa1a9355 [PECOFF] Fix section alignment.
If you have something like

  __declspec(align(8192)) int foo = 1;

in your code, the compiler makes the data to be aligned to 8192-byte
boundary, and the linker align the section containing the data to 8192.

LLD always aligned the section to 4192. So, as long as alignment
requirement is smaller than 4192, it was correct, but for larger
requirements, it's wrong.

This patch fixes the issue.

llvm-svn: 222043
2014-11-14 21:33:07 +00:00
..
alignment.obj.yaml [PECOFF] Fix section alignment. 2014-11-14 21:33:07 +00:00
alternatename1.obj.yaml [PECOFF] Implement /alternatename weak symbols. 2013-12-09 05:02:57 +00:00
alternatename2.obj.yaml [PECOFF] Implement /alternatename weak symbols. 2013-12-09 05:02:57 +00:00
alternatename3.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
associative1.obj.yaml [PECOFF] Support COMDAT associative sections. 2014-06-17 16:19:33 +00:00
associative3.obj.yaml [PECOFF] Support COMDAT associative sections. 2014-06-17 16:19:33 +00:00
bss.asm [PECOFF] Emit BSS section. 2013-07-30 22:56:46 +00:00
bss.obj [PECOFF] Emit BSS section. 2013-07-30 22:56:46 +00:00
comdat.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
common-symbol.obj.yaml [PECOFF] Fix common symbol alignment. 2014-04-09 01:01:51 +00:00
drectve.obj.yaml [PECOFF] Fix priority of locally imported symbols. 2014-04-30 03:31:46 +00:00
drectve2.obj.yaml [PECOFF] Fix /include option in .drectve section. 2014-08-04 23:48:57 +00:00
entry.obj.yaml [PECOFF] Fix /entry option. 2014-09-30 21:39:49 +00:00
export.obj.yaml [PECOFF] Do not write duplicate directives to .def file. 2014-10-22 00:05:30 +00:00
exports.def [PECOFF] Handle PRIVATE keyword in the module definition file 2014-09-22 20:50:46 +00:00
grouped-sections.asm [PECOFF] Support linking against DLL. 2013-07-11 08:46:21 +00:00
grouped-sections.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
hello.asm
hello.obj.yaml [PECOFF] Skip IMAGE_SYM_DEBUG sections correctly. 2014-04-22 23:48:42 +00:00
hello64.asm [PECOFF] Fix PE+ relocations 2014-08-22 01:15:43 +00:00
hello64.obj.yaml [PECOFF] Fix PE+ relocations 2014-08-22 01:15:43 +00:00
hello64lib.asm [PECOFF] Fix PE+ relocations 2014-08-22 01:15:43 +00:00
hello64lib.lib [PECOFF] Fix PE+ relocations 2014-08-22 01:15:43 +00:00
imagebase.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
machine-type-unknown.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
main.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-largest1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-largest2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-same-size1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-same-size2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-same-size3.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
nonstandard-sections.obj.yaml Re-submit r195852 with GroupedSectionsPass change. 2013-12-07 00:27:17 +00:00
nop.asm
nop.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
nop64.obj.yaml [PECOFF] Emit PE+ idata tables. 2014-08-20 01:09:42 +00:00
reloc.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
reloc64.obj.yaml [PECOFF] Fix AMD64_REL_[1-5] and AMD64_SECTION relocations 2014-08-29 20:33:27 +00:00
resource.rc [PECOFF] Add a test for the resource file. 2013-11-04 05:17:54 +00:00
resource.res [PECOFF] Add a test for the resource file. 2013-11-04 05:17:54 +00:00
responsefile.txt [PECOFF] Add one more test for r203875. 2014-03-14 00:44:17 +00:00
secrel1.obj.yaml [PECOFF] Fix SECREL relocations. 2014-11-06 01:03:23 +00:00
secrel2.obj.yaml [PECOFF] Fix SECREL relocations. 2014-11-06 01:03:23 +00:00
seh.c [PECOFF] Emit Load Configuration and SEH Table for x86. 2014-02-26 08:27:59 +00:00
seh.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
static-data1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
static-data2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
static.lib [PECOFF] Support .lib archive file. 2013-06-15 05:15:41 +00:00
subsystem.main.yaml [PECOFF] Fix entry point functions selection 2014-07-23 00:57:57 +00:00
subsystem.winmain.yaml [PECOFF] Fix entry point functions selection 2014-07-23 00:57:57 +00:00
tlsused.obj.yaml [PECOFF] Support TLS callbacks. 2014-09-18 02:02:52 +00:00
unknown-drectve.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
unwind.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
vars-main-x64.obj.yaml [PECOFF] Support delay-load import table for x86 2014-10-16 19:30:44 +00:00
vars-main-x86.obj.yaml [PECOFF] Support delay-load import table for x86 2014-10-16 19:30:44 +00:00
vars-main.c [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars.c [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars.dll.yaml [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars.lib [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars64.lib [PECOFF] Emit the delay-import table 2014-10-09 02:48:14 +00:00
weak-externals.asm [PECOFF] Handle weak external symbols. 2013-09-12 21:42:52 +00:00
weak-externals.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00