summaryrefslogtreecommitdiff
path: root/external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2019-11-13 17:59:56 +0000
committertsutsui <tsutsui@NetBSD.org>2019-11-13 17:59:56 +0000
commit466b454e6388f86fb194e32da02c769107b7830c (patch)
tree775bfc3fc62c55a79151103a5caabd97d6f9906e /external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp
parent87870d01119ee935746079b413b9723297e8f807 (diff)
Make zaurus kernels use symbol tables loaded by the bootloader.
Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85). Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does. No particular comment on port-zaurus@: https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded kernels had "esym" variable at the top of its data section and implicitly overwrote it with the address of loaded symbol tables. OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o to initialize ksyms(4) on startup, but we will avoid such implicit MD interface between the bootloader and kernels (though we don't bother to add a symbol address value into bootinfo but just assume symbols are loaded at end[] of a loaded kernel, as per the MI libsa loadfile() implementation). Worth to pullup to both netbsd-8 and netbsd-9.
Diffstat (limited to 'external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions