History log of /openbsd-src/gnu/llvm/lld/ELF/Relocations.cpp (Results 1 – 9 of 9)
Revision Date Author Comments
# 2df0ffa8 05-Aug-2024 anton <anton@openbsd.org>

Allow our linker warnings regarding misuse of libc functions to be
elevated to errors using the -Wl,--fatal-warnings option.

ok robert@


# e8ae9400 04-Dec-2023 robert <robert@openbsd.org>

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

discussed with, tested by and ok tb@


# 5e1a4d20 20-Nov-2023 jca <jca@openbsd.org>

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 Se

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@

show more ...


# 05edf1c1 11-Nov-2023 robert <robert@openbsd.org>

merge lld-16.0.6


# 7c5ea754 17-Nov-2022 robert <robert@openbsd.org>

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 .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@

show more ...


# a0747c9f 17-Dec-2021 patrick <patrick@openbsd.org>

Merge LLVM 13.0.0.


# adae0cfd 28-Apr-2021 patrick <patrick@openbsd.org>

Merge LLVM 11.1.0.


# 3bed555d 21-Nov-2020 kettenis <kettenis@openbsd.org>

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@


# ece8a530 03-Aug-2020 patrick <patrick@openbsd.org>

Import LLVM 10.0.0 release including clang, lld and lldb.

ok hackroom
tested by plenty