1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-10 09:42:26 +00:00
freebsd/contrib
Ed Maste 19703503ba lld: Omit PT_NOTE for SHT_NOTE without SHF_ALLOC
A non-alloc note section should not have a PT_NOTE program header.

Found while linking ghc (Haskell compiler) with lld on FreeBSD.  Haskell
emits a .debug-ghc-link-info note section (as the name suggests, it
contains link info) as a SHT_NOTE section without SHF_ALLOC set.

For this case ld.bfd does not emit a PT_NOTE segment for
.debug-ghc-link-info.  lld previously emitted a PT_NOTE with p_vaddr = 0
and FreeBSD's rtld segfaulted when trying to parse a note at address 0.

LLVM PR:	https://llvm.org/pr37361
LLVM review:	https://reviews.llvm.org/D46623

PR:		226872
Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
2018-05-09 11:17:01 +00:00
..
amd amd: correct formatting of 'SEE ALSO' 2018-04-14 21:54:22 +00:00
apr
apr-util
atf
binutils Fix clang 6.0.0 compiler warnings in binutils 2017-12-24 16:51:59 +00:00
blacklist blacklist: Fix minor memory leak in configuration parsing error case 2018-03-20 00:16:24 +00:00
bmake Update to bmake-201802222 2018-03-02 01:53:50 +00:00
bsnmp Don't put multiple names on a single .Nm line. This fixes apropos(1) 2018-04-17 09:05:46 +00:00
byacc
bzip2
com_err
compiler-rt Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
cortex-strings
dialog
diff
dma Split body of mails not respecting RFC2822 2017-12-06 22:08:35 +00:00
dtc
ee
elftoolchain Update ELF Tool Chain to r3614 2018-04-27 13:59:24 +00:00
expat
file
flex
gcc Use a workaround to compile the crt init functions correctly with clang. 2018-02-06 17:01:10 +00:00
gcclibs
gdb Commit forgotten change in gdb allowing to use libedit 2018-02-06 12:17:03 +00:00
gdtoa
gperf
hyperv/tools
ipfilter
jemalloc Account for the fact that jemalloc 5.0.0 dropped STATIC_PAGE_SHIFT 2018-01-31 21:56:23 +00:00
ldns
ldns-host
less MFV r329552: less v530. 2018-02-19 05:10:22 +00:00
libarchive MFV r328323,328324: 2018-01-24 14:24:17 +00:00
libbegemot
libc-pwcache
libc-vis Update vis(3) the latest from NetBSD. 2017-11-28 01:35:28 +00:00
libc++ Pull in r321963 from upstream libc++ trunk (by me): 2018-01-07 18:33:19 +00:00
libcxxrt
libdivsufsort
libexecinfo
libgnuregex
libpcap
libstdc++
libucl
libxo
llvm lld: Omit PT_NOTE for SHT_NOTE without SHF_ALLOC 2018-05-09 11:17:01 +00:00
lua When the LUA_FLOAT_TYPE != LUA_FLOAT_INT64, we can't reference float 2018-02-23 04:04:18 +00:00
mdocml mdoc(7): Update .Dd for previous commit 2017-12-05 23:06:15 +00:00
mknod
mtree
ncurses
netbsd-tests Fix build post r330299 2018-03-02 23:31:55 +00:00
netcat
ngatm
ntp MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
nvi
ofed libibumad/umad.c: In get_port, ignore sysctl get rate errors 2018-04-30 15:23:45 +00:00
one-true-awk
openbsm
opencsd/decoder Import OpenCSD -- an ARM CoreSight(tm) Trace Decode Library. 2018-04-04 12:55:31 +00:00
openpam
openresolv
opie Revert r328492: 2018-01-28 03:16:54 +00:00
pam_modules/pam_passwdqc
pf
pjdfstest
pnpinfo
processor-trace Import Intel Processor Trace decoder library from 2018-03-19 18:59:15 +00:00
sendmail Don't declare union semun in userspace unless _WANT_SEMUN is defined. 2018-03-02 22:32:53 +00:00
serf
smbfs
sqlite3 Update private sqlite from sqlite3-3.20.0 to sqlite3-3.23.1 2018-05-08 04:51:15 +00:00
subversion Update svn-1.9.7 to 1.10.0. 2018-05-08 04:52:52 +00:00
tcp_wrappers
tcpdump Update tcpdump to 4.9.2 2017-12-06 02:21:11 +00:00
tcsh
telnet telnetd(8): Fix dereference of uninitialized value 'IF' 2018-03-16 20:59:56 +00:00
tnftp ftp(1): Use closefrom() instead of individual close()s. 2018-01-29 01:05:57 +00:00
top top: fix warnings from clang/gcc 2018-04-18 13:17:14 +00:00
traceroute When using SCTP for sending probe packets, use INIT chunks for payloads 2018-01-27 19:23:42 +00:00
tzcode
tzdata Import tzdata 2018e 2018-05-04 10:17:27 +00:00
unbound
unvis
vis
wpa
xz
zlib