[PATCH] D22915: [ELF] - Linkerscript: implemented SIZEOF(section)
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 06:46:31 PDT 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, davide, evgeny777.
Herald added a subscriber: aemerson.
SIZEOF(section)
Return the size in bytes of the named section, if that section has been allocated.
SIZEOF(section) often used in scripts. Few examples from the wild:
https://github.com/chipKIT32/pic32-Arduino-USB-Bootloader-original/blob/master/boot-linkerscript.ld
https://github.com/devkitPro/buildscripts/blob/master/dkarm-eabi/crtls/gba_cart.ld
Patch implements it.
https://reviews.llvm.org/D22915
Files:
ELF/LinkerScript.cpp
ELF/LinkerScript.h
ELF/OutputSections.h
test/ELF/linkerscript/linkerscript-sizeof.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22915.65924.patch
Type: text/x-patch
Size: 5090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160728/2fc3a6b6/attachment.bin>
More information about the llvm-commits
mailing list