diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-09-26 19:22:50 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-09-26 19:22:50 +0000 |
commit | e38cbab5a4e30edffa0259134eb4d1601b7e5518 (patch) | |
tree | 6e4b4d05a00d34a3aa73374c5572abf260fdb3d2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 595307a46829dace48b25c01810dc6cbb4430770 (diff) | |
download | bcm5719-llvm-e38cbab5a4e30edffa0259134eb4d1601b7e5518.tar.gz bcm5719-llvm-e38cbab5a4e30edffa0259134eb4d1601b7e5518.zip |
[ELF] - Linkerscript: implemented BYTE/SHORT/LONG/QUAD commands.
The BYTE, SHORT, LONG, and QUAD commands store one, two, four, and eight bytes (respectively).
After storing the bytes, the location counter is incremented by the number of bytes
stored.
Previously our scripts handles these commands incorrectly. For example:
SECTIONS {
.foo : {
*(.foo.1)
BYTE(0x11)
...
We accepted the script above treating BYTE as input section description.
These commands are used in the wild though.
Differential revision: https://reviews.llvm.org/D24830
llvm-svn: 282429
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions