freebsd-nq/contrib
Ed Maste 1da0355521 lld: Move LMAOffset from the OutputSection to the PhdrEntry. NFC.
If two sections are in the same PT_LOAD, their relatives offsets,
virtual address and physical addresses are all the same.

[Rafael] initially wanted to have a single global LMAOffset, on the
assumption that every ELF file was in practiced loaded contiguously in
both physical and virtual memory.

Unfortunately that is not the case. The linux kernel has:

  LOAD           0x200000 0xffffffff81000000 0x0000000001000000 0xced000 0xced000 R E 0x200000
  LOAD           0x1000000 0xffffffff81e00000 0x0000000001e00000 0x15f000 0x15f000 RW  0x200000
  LOAD           0x1200000 0x0000000000000000 0x0000000001f5f000 0x01b198 0x01b198 RW  0x200000
  LOAD           0x137b000 0xffffffff81f7b000 0x0000000001f7b000 0x116000 0x1ec000 RWE 0x200000

The delta for all but the third PT_LOAD is the same:
0xffffffff80000000. [Rafael] thinks the 3rd one is a hack for implementing
per cpu data, but we can't break that.

Obtained from:	LLVM r323456 by Rafael Espindola
2018-01-29 13:54:51 +00:00
..
amd
apr
apr-util
atf atf-sh(3): document atf_init_test_cases(3) fully 2017-06-30 05:49:12 +00:00
binutils Fix clang 6.0.0 compiler warnings in binutils 2017-12-24 16:51:59 +00:00
blacklist Extend libblacklist support with new action types 2017-05-23 19:03:07 +00:00
bmake Update to bmake-20171028 2017-11-02 20:08:00 +00:00
bsnmp Rename "index" variable to "idx" since gcc complains that it shadows 2018-01-19 20:33:47 +00:00
byacc MFV: r319352 2017-05-31 19:37:23 +00:00
bzip2
com_err
compiler-rt Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 2018-01-24 22:35:00 +00:00
cortex-strings Work around a bug in QEMU when loading data with a load pair instruction 2017-08-26 15:08:27 +00:00
dialog
diff
dma Split body of mails not respecting RFC2822 2017-12-06 22:08:35 +00:00
dtc Merge from vendor branch importing dtc 1.4.3 2017-03-10 17:36:05 +00:00
ee
elftoolchain elfcopy: copy raw (untranslated) contents to binary output 2018-01-02 14:07:55 +00:00
expat
file MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00
flex
gcc Revert r280909 "unwind-d2 build workaround for arm64" 2018-01-12 20:03:24 +00:00
gcclibs
gdb
gdtoa
gperf
hyperv/tools hyperv: Add VF bringup scripts and devd rules. 2017-07-31 07:18:15 +00:00
ipfilter loadpoolfile() implements a -R (NORESOLVE) option which is not listed 2017-08-05 06:46:06 +00:00
jemalloc Relax too restrictive assert. 2017-12-10 09:17:21 +00:00
ldns
ldns-host
less less(1): diff reduction vs upstream 2017-12-12 17:34:35 +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 Import libcxxrt master 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92. 2017-03-25 13:17:48 +00:00
libdivsufsort
libexecinfo
libgnuregex
libpcap Clear clang warning: 2017-07-03 19:49:25 +00:00
libreadline
libstdc++ libstdc++: fix symbol version script for LLD 2017-04-19 19:06:47 +00:00
libucl
libxo Update from libxo-0.8.1 to 0.8.4: 2017-08-03 15:47:42 +00:00
llvm lld: Move LMAOffset from the OutputSection to the PhdrEntry. NFC. 2018-01-29 13:54:51 +00:00
lua Gross hack to omit printing hex floating point when the lua number 2018-01-26 17:56:20 +00:00
mdocml mdoc(7): Update .Dd for previous commit 2017-12-05 23:06:15 +00:00
mknod
mtree
ncurses
netbsd-tests mlock(2): correct documentation for error conditions. 2018-01-22 21:45:54 +00:00
netcat
ngatm
ntp MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
nvi
ofed ofed: Define barriers for mips and arm. 2017-12-11 11:59:45 +00:00
one-true-awk Don't display empty error context. 2017-09-24 05:04:06 +00:00
openbsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
openpam Upgrade to OpenPAM Resedacea. 2017-05-05 13:31:25 +00:00
openresolv
opie Revert r328492: 2018-01-28 03:16:54 +00:00
pam_modules/pam_passwdqc
pf
pjdfstest Pull down pjdfstest 0.1 2017-06-28 09:22:45 +00:00
pnpinfo
sendmail Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
serf
smbfs Fix SMBFS when saved passwords are greater than 18 characters 2017-06-08 00:48:26 +00:00
sqlite3 Update from sqlite3-3.14.1 to sqlite3-3.20.0. This is a private lib. 2017-08-11 00:00:01 +00:00
subversion Add Pull Request to the Subversion commit template 2018-01-09 21:02:39 +00:00
tcp_wrappers remove bogus declaration of malloc from tcp_wrappers 2017-06-20 16:40:31 +00:00
tcpdump Update tcpdump to 4.9.2 2017-12-06 02:21:11 +00:00
tcsh MFV r315950: 2017-03-25 14:14:11 +00:00
telnet Fix memory leak in edithost 2017-06-01 19:21:30 +00:00
tnftp ftp(1): Use closefrom() instead of individual close()s. 2018-01-29 01:05:57 +00:00
top top: use __mips__ and __NetBSD__ for consistency 2017-08-23 17:56:55 +00:00
traceroute When using SCTP for sending probe packets, use INIT chunks for payloads 2018-01-27 19:23:42 +00:00
tzcode Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tzdata Import tzdata 2018c 2018-01-24 06:48:42 +00:00
unbound Merge upstream r4302 to support multiple concurrently valid anchors. 2017-08-31 12:02:14 +00:00
unvis
vis
wpa Update wpa_supplicant/hostapd for 2017-01 vulnerability release. 2017-10-17 17:22:36 +00:00
xz xz: set noexec stack flag on FreeBSD 2017-06-03 02:42:49 +00:00
zlib MFV: r323381 2017-09-10 01:25:15 +00:00