llvm-project/lld/test
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
..
Driver Make -core/-flavor options have higher priority than linker name 2014-09-23 18:09:38 +00:00
LinkerScript [lld] Teach LLD how to parse most linker scripts 2014-11-03 04:09:51 +00:00
Unit [lit] Python 3. 2014-03-26 00:53:48 +00:00
core [ELF] Add CodeModel attribute to the DefinedAtom class 2014-11-13 07:03:41 +00:00
darwin [mach-o] refactor KindHandler into ArchHandler and simplify passes. 2014-07-16 19:49:02 +00:00
elf [ELF] Dynamic section was not aligned properly. 2014-11-14 04:57:21 +00:00
mach-o [mach-o] Sort GOT entries by name to make links reproducible 2014-11-12 23:34:23 +00:00
pecoff [PECOFF] Fix section alignment. 2014-11-14 21:33:07 +00:00
CMakeLists.txt Update compile target dependency. 2014-10-28 06:30:34 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00
lit.cfg Add FreeBSD to system-linker-elf case 2014-09-12 13:16:30 +00:00
lit.site.cfg.in [lit] Python 3. 2014-03-26 00:53:48 +00:00