diff options
| author | Meador Inge <meadori@codesourcery.com> | 2017-01-24 02:34:00 +0000 |
|---|---|---|
| committer | Meador Inge <meadori@codesourcery.com> | 2017-01-24 02:34:00 +0000 |
| commit | b889744e5bb7d307872d33dfb3e22cd8416a3a2a (patch) | |
| tree | 227e327368f448e331c2c8552644e2659c2ae10a /llvm/lib/CodeGen | |
| parent | e1a56302137f1e2a4874b11a149298bcec8e3ce9 (diff) | |
| download | bcm5719-llvm-b889744e5bb7d307872d33dfb3e22cd8416a3a2a.tar.gz bcm5719-llvm-b889744e5bb7d307872d33dfb3e22cd8416a3a2a.zip | |
[LinkerScript] Implement `MEMORY` command
As specified here:
* https://sourceware.org/binutils/docs/ld/MEMORY.html#MEMORY
There are two deviations from what is specified for GNU ld:
1. Only integer constants and *not* constant expressions
are allowed in `LENGTH` and `ORIGIN` initializations.
2. The `I` and `L` attributes are *not* implemented.
With (1) there is currently no easy way to evaluate integer
only constant expressions. This can be enhanced in the
future.
With (2) it isn't clear how these flags map to the `SHF_*`
flags or if they even make sense for an ELF linker.
Differential Revision: https://reviews.llvm.org/D28911
llvm-svn: 292875
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

