History log of /openbsd-current/gnu/llvm/lld/ELF/Relocations.cpp
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.8 04-Dec-2023 robert

protect access to the gnu warning map with a mutex to avoid random crashes

discussed with, tested by and ok tb@


# 1.7 20-Nov-2023 jca

Stop erroring out when .gcc_except_table relocs point at discarded sections

lang/gcc on riscv64 has a wart, it creates such relocs which upset ld.lld.
The workaround I have used in lang/gcc since Sep 2022 doesn't work any
more, so ask ld.lld to be more lenient. This will let the fortran ports
and friends build on riscv64. clang has fixed since some time already,
but our lang/gcc port will likely keep that wart for some time.

Upstream report: https://reviews.llvm.org/D83244

Input and ok kettenis@


# 1.6 11-Nov-2023 robert

merge lld-16.0.6


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.5 17-Nov-2022 robert

add .gnu.warning.SYMBOL support to ld.lld(1) to display the warnings in
these sections like ld.bfd(1)

e.g:
add.c(add.o:(add)): warning: sprintf() is often misused, please use snprintf()
add.c(add.o:(add)): warning: strcpy() is almost always misused, please use strlcpy()
add.c(add.o:(add)): warning: strcat() is almost always misused, please use strlcat()

ok deraadt@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.4 17-Dec-2021 patrick

Merge LLVM 13.0.0.


Revision tags: OPENBSD_7_0_BASE
# 1.3 28-Apr-2021 patrick

Merge LLVM 11.1.0.


Revision tags: OPENBSD_6_9_BASE
# 1.2 21-Nov-2020 kettenis

Backport https://reviews.llvm.org/D75419. This adds a workaround for
undefined references to .got2 on powerpc making it possible to link
llvm with lld.

ok gkoehler@


# 1.1 03-Aug-2020 patrick

branches: 1.1.1;
Initial revision