[PATCH] D22689: [ELF] - Linkerscript: implemented output section [address] attribute.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 10:24:37 PDT 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, evgeny777, emaste.

Output section description in SECTIONS looks like that:

section [address] [(type)] :
...
{
...
}

Patch implements support of address atribute.

I had to modify few testcases as LS diagnostics is
still very poor.

https://reviews.llvm.org/D22689

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  test/ELF/linkerscript-diagnostic.s
  test/ELF/linkerscript-locationcounter.s
  test/ELF/linkerscript-outsections-addr.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22689.65100.patch
Type: text/x-patch
Size: 8343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160722/d03fd6e9/attachment.bin>


More information about the llvm-commits mailing list