freebsd-dev/contrib
Dimitry Andric 298c3e8d6b Apply lld fixes for internal errors building perl on 32-bit PowerPC
Merge commit f457863ae345 from llvm git (by Fangrui Song):

  [ELF] Support REL-format R_AARCH64_NONE relocation

  -fprofile-use=/-fprofile-sample-use= compiles may produce REL-format
  .rel.llvm.call-graph-profile even if the prevailing format is RELA on AArch64.
  Add R_AARCH64_NONE to getImplicitAddend to fix this linker error:

  ```
  ld.lld: error: internal linker error: cannot read addend for relocation R_AARCH64_NONE
  PLEASE submit a bug report to https://crbug.com and run tools/clang/scripts/process_crashreports.py (only works inside Google) which will upload a report and include the crash backtrace.
  ```

Merge commit 53fc5d9b9a01 from llvm git (by Fangrui Song):

  [ELF] Support R_PPC_NONE/R_PPC64_NONE in getImplicitAddend

  Similar to f457863ae345d2635026501f5383e0e625869639

Merge commit 767e64fc11d7 from llvm git (by Fangrui Song):

  [ELF] Support some absolute/PC-relative relocation types for REL format

  ctfconvert seems to use REL-format `.rel.SUNW_dof` for 32-bit architectures.
  ```
  Binary file usr/ports/lang/perl5.32/work/perl-5.32.1/dtrace_mini.o matches
  [alfredo.junior@dell-a ~/tmp/llvm-bug]$ readelf -r dtrace_mini.o

  Relocation section (.rel.SUNW_dof):
  r_offset r_info   r_type              st_value st_name
  00000184 0000281a R_PPC_REL32         00000000 $dtrace1772974259.Perl_dtrace_probe_load
  ```

  Support R_PPC_REL32 to fix `ld.lld: error: drti.c:(.SUNW_dof+0x4E4): internal linker error: cannot read addend for relocation R_PPC_REL32`.
  While here, add some common relocation types for AArch64, PPC, and PPC64.
  We perform minimum tests.

  Reviewed By: adalava, arichardson

  Differential Revision: https://reviews.llvm.org/D120535

Requested by:	alfredo
MFC after:	3 days
2022-02-27 13:53:19 +01:00
..
arm-optimized-routines
atf
bc vendor/bc: import release 5.2.2 2022-02-05 22:39:59 +01:00
bearssl
blacklist
bmake cc-wrap.mk: fix typo in modifiers 2022-02-16 15:21:27 -08:00
bsddialog bsddialog: import version 0.1 2022-01-28 09:56:21 +01:00
bsnmp bsnmp: Fix two typos in error messages 2022-01-26 20:25:40 +01:00
byacc Revert "wpa: Import wpa 2.10." 2022-01-18 08:10:33 -08:00
bzip2
capsicum-test
com_err
cortex-strings
dialog
diff
dma dma: use canonical getline() loop 2022-02-05 21:55:03 -05:00
ee
elftoolchain readelf: add Arm address mask note type NT_ARM_ADDR_MASK 2022-02-22 14:50:42 -05:00
expat MFV f83ac37f1e: libbsdxml (expat) 2.4.3. 2022-01-17 16:34:41 -08:00
file file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
flex
gdtoa
googletest
hyperv/tools
jemalloc powerpc: enable initial-exec TLS 2022-02-22 19:34:28 +01:00
kyua
ldns
ldns-host
less
lib9p
libarchive libarchive: merge vendor bugfix 2022-02-21 12:06:54 +01:00
libbegemot
libc-pwcache
libc-vis
libcbor
libcxxrt
libdivsufsort
libedit
libevent
libexecinfo
libfido2
libpcap
libucl
libxo
llvm-project Apply lld fixes for internal errors building perl on 32-bit PowerPC 2022-02-27 13:53:19 +01:00
lua
lutok
mandoc
mknod
mtree
ncurses
netbsd-tests newfs_msdos: connect the ATF test from NetBSD 2022-02-16 09:56:16 -06:00
netcat
ngatm
ntp
nvi
ofed Make CPU_SET macros compliant with other implementations 2021-12-30 12:20:32 +01:00
one-true-awk
openbsm
opencsd/decoder
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf
pjdfstest
pnglite
pnpinfo
processor-trace
sendmail Update commit instructions. Still more TBD as I plan out the first 2022-01-30 22:20:12 +00:00
smbfs
sqlite3 sqlite3: Vendor import of sqlite3 3.37.2 2022-01-11 08:14:43 -08:00
tcp_wrappers tcp_wrappers: remove duplicate errno declarations 2022-02-23 16:26:14 +01:00
tcpdump
tcsh
telnet
terminus contrib/terminus: update to terminus-font-4.49.1 2022-02-02 15:42:18 +02:00
tnftp
traceroute
tzcode tzcode: fix tz change detection logic 2021-12-21 12:01:24 -06:00
tzdata
unbound unbound: Vendor import 1.15.0 2022-02-17 16:05:15 -08:00
unvis
vis
wpa wpa: Import wpa 2.10. 2022-01-18 08:17:08 -08:00
xz