diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-12-15 07:27:28 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-12-15 07:27:28 +0000 |
commit | 14460e0216bf3bee7efe53c527c9cf6c217e4364 (patch) | |
tree | e576d034c9bb4185ece766bdf24171cd623ec8b2 /llvm/lib/Target/ARM/ARMTargetObjectFile.h | |
parent | 7dfa62687c181d5ffad0be3dfdf9763f22374d22 (diff) | |
download | bcm5719-llvm-14460e0216bf3bee7efe53c527c9cf6c217e4364.tar.gz bcm5719-llvm-14460e0216bf3bee7efe53c527c9cf6c217e4364.zip |
[ELF] - Do not crash when move location counter backward.
PR31335 shows that we do that in next case:
SECTIONS { .text 0x2000 : {. = 0x100 ; *(.text) } }
though documentations says that "If . is used inside a section
description however, it refers to the byte offset from the start
of that section, not an absolute address. " looks does not work
as documented in bfd (as mentioned in comments for PR31335).
Until we find out the expected behavior was suggested at least not
to 'crash', what we do after trying to generate huge file.
Differential revision: https://reviews.llvm.org/D27712
llvm-svn: 289782
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetObjectFile.h')
0 files changed, 0 insertions, 0 deletions