OSDN Git Service

Object, COFF: Relax aux symbols for section definitions
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 10 Oct 2014 06:58:11 +0000 (06:58 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 10 Oct 2014 06:58:11 +0000 (06:58 +0000)
commit1e0e306deb1d8dbf6a98ccec4bce3cdbe02e0ddd
tree86bdfbd4d79bcc79569f8642dba6a44df444be1b
parent0c3d37644ac2764b346cf952806d994c079cac3a
Object, COFF: Relax aux symbols for section definitions

We, I suppose naïvely, believed the COFF specification with regard to
auxiliary symbol records which defined sections: they specified that the
symbol value should be zero.  However, dumpbin and MinGW's objdump do
not consider the symbol value as a restriction.  Relaxing this allows us
to properly dump MinGW linked executables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219479 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/COFF.h