Rafael Espindola
7d38273636
Map .data.rel.ro correctly.
...
An input section named .data.rel.ro now maps to an output section
named .data.rel.ro. Before we were mapping it to .data.
llvm-svn: 281931
2016-09-19 19:59:21 +00:00
Rafael Espindola
3d90318aff
Make this test a bit stricter.
...
By making every section on byte and checking the size it now shows how
many sections were concatenated into each output section.
llvm-svn: 281930
2016-09-19 19:56:51 +00:00
Rafael Espindola
8ae1290058
Merge multiple tdata.* into a single section.
...
llvm-svn: 260977
2016-02-16 16:12:06 +00:00
Rafael Espindola
1492820aaa
Merge multiple .gcc_except_table.* into a single section.
...
llvm-svn: 260976
2016-02-16 16:05:27 +00:00
Rafael Espindola
b032aa1b2b
Merge multiple .tbss.* sections into one output section.
...
llvm-svn: 260974
2016-02-16 15:57:07 +00:00
George Rimar
e3336c0be6
Reapply fixed r253967.
...
llvm-svn: 253971
2015-11-24 10:15:50 +00:00
George Rimar
11721ce810
Revert r253967 which broke buildbot.
...
llvm-svn: 253970
2015-11-24 10:04:22 +00:00
George Rimar
63a6ca9150
[ELF] Implements -z relro: create an ELF "PT_GNU_RELRO" segment header in the object.
...
Partial (-z relro) and full (-z relro, -z now) relro cases are implemented.
Partial relro:
The ELF sections are reordered so that the ELF internal data sections (.got, .dtors, etc.) precede the program's data sections (.data and .bss).
.got is readonly, .got.plt is still writeable.
Full relro:
Supports all the features of partial RELRO, .got.plt is also readonly.
Differential revision: http://reviews.llvm.org/D14218
llvm-svn: 253967
2015-11-24 09:44:28 +00:00
Rafael Espindola
9c8904fb38
Rename ld.lld2 to ld.lld since it is the default.
...
llvm-svn: 253437
2015-11-18 06:11:01 +00:00
Rafael Espindola
4b1285c55a
Rename test/elf2 to test/ELF.
...
llvm-svn: 253313
2015-11-17 05:36:42 +00:00