llvm-project/lld/test
Eugene Leviant ce30b1c78e [ELF] Choose default segment when it is not specified
Linker scripts may specify PHDRS, but not specify section to
segment assignments, i.e:

PHDRS { seg PT_LOAD; }
SECTIONS { 
  .sec1 {} : seg
  .sec2 {} 
}

In such case linker should still choose some segment for .sec2 section.
This patch will add .sec2 to previously opened segments (seg) or to the 
very first PT_LOAD segment, if no section-to-segment assignments has been
made

Differential revision: https://reviews.llvm.org/D24795

llvm-svn: 284600
2016-10-19 15:04:49 +00:00
..
COFF LTO: Don't follow lazy references when seeing new definitions in the combined LTO object 2016-10-12 09:00:06 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF [ELF] Choose default segment when it is not specified 2016-10-19 15:04:49 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:09:39 +00:00
darwin Add the GC commandline options and throw errors if they are used 2016-01-15 17:39:02 +00:00
mach-o Remove trailing whitespace. 2016-10-05 20:09:50 +00:00
CMakeLists.txt Add "opt" to the list of test dependencies. 2016-10-13 00:49:21 +00:00
lit.cfg Add obj2yaml to the list of tool_patterns in lit. NFC 2016-08-11 21:03:56 +00:00
lit.site.cfg.in Correctly define "zlib" feature. 2016-07-07 03:55:57 +00:00