freebsd-skq/contrib
Andriy Gapon 517d9fc653 binutils/ld: fix incorrect placement of __start_SECNAME in some cases
__start_SECNAME and __stop_SECNAME symbols are automatically generated
by ld for orphan sections, i.e. those not explicitely referenced by a
linker script.  The symbols are supposed to be placed correspondingly
at the start and the end of the section in output file.  In some cases
__start_SECNAME may be placed at the address after the end of the
previous section (if any) and before the start the section.  This
happens when following conditions are met:
1. the orphan section is found in more than one input file
2. the orphan section has different alignment requirements across input
files
3. the first instance of the section encountered doesn't have the
greatest alignment requirement
In these conditions resulting output section will be placed at address
after the end of the previous section aligned to the greatest alignment
requirement in the inputs, but __start_SECNAME will be placed at address
after the end of the previous section aligned to the alignment
requirement of the first input in which the section is encountered.

See commit message of r196118 for a concrete example of problems caused
by this bug.

The fix is to place __start_SECNAME inside the section and use ABSOLUTE
directive, rather than placing __start_SECNAME outside the section and
trying to guess address alignment.

This fix is in line with upstream binutils change/fix made between
versions 2.19 and 2.20 in revision of 1.307 ldlang.c.

MFC after:	3 weeks
2010-07-19 18:20:44 +00:00
..
amd Remove build timestamps from the following files: 2009-07-11 22:30:37 +00:00
bind9 Upgrade to 9.6.2-P2, which addresses the following; 2010-05-20 08:15:06 +00:00
binutils binutils/ld: fix incorrect placement of __start_SECNAME in some cases 2010-07-19 18:20:44 +00:00
bsnmp mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-24 06:26:38 +00:00
bzip2 Update and remove CVS-specific items 2009-08-13 06:07:38 +00:00
com_err mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
cvs - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
diff - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
dtc Let dtc build with FreeBSD yacc/lex. 2010-02-28 22:06:07 +00:00
ee Add a minimal change to prevent NULL deference in ee(1). 2009-11-10 00:48:24 +00:00
expat Apply two vendor fixes for CVE-2009-3720. 2009-12-11 02:09:46 +00:00
file Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT. 2009-05-18 22:34:33 +00:00
gcc Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes 2010-07-10 02:29:22 +00:00
gcclibs - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
gdb Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes 2010-07-10 02:29:22 +00:00
gdtoa Add required header for isalnum(3) to quench compiler warnings 2010-06-02 18:31:04 +00:00
gnu-sort - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
gperf - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
groff Pull up vendor changes. 2010-01-15 15:10:29 +00:00
ipfilter Comment in the BUGS section header. Matches what's in ipfilter 5.10. 2010-05-12 00:56:53 +00:00
less Update less to v436. This is considered as a bugfix release from vendor. 2009-07-29 09:20:32 +00:00
libbegemot - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libf2c - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libobjc - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libpcap Revised revision 199201 (add interface description capability as inspired 2010-01-27 00:30:07 +00:00
libreadline - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libstdc++ - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
llvm Do the branding right this time. 2010-06-12 15:13:36 +00:00
lukemftp - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
lukemftpd Prevent cross-site forgery attacks on lukemftpd(8) due to splitting 2009-01-07 20:17:55 +00:00
ncurses Merge r198489 from vendor/ncurses/dist: 2009-10-26 13:03:52 +00:00
netcat Utilize IP_BINDANY which provided the same semantics of OpenBSD's 2010-04-15 23:21:24 +00:00
ngatm mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-24 06:26:38 +00:00
ntp Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
nvi Fixes from NetBSD for nvi visual mode: 2010-05-28 09:30:13 +00:00
one-true-awk Apply patches directly to sources. Their effect is as follows: 2010-01-10 08:02:07 +00:00
openbsm Import OpenBSM 1.1p2 from vendor branch to 8-CURRENT. This patch release 2009-08-02 10:27:54 +00:00
openpam Merge upstream r432: 2010-03-22 11:00:57 +00:00
opie Change the current working directory to be inside the jail created by 2010-05-27 03:15:04 +00:00
pam_modules/pam_passwdqc - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
pf Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct 2009-12-24 00:43:44 +00:00
pnpinfo - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
sendmail Remove -mdoc macros from -man page 2010-06-09 08:53:50 +00:00
smbfs shi1_remark is in little endian format, convert it to host ordering. 2010-01-25 18:35:58 +00:00
tcp_wrappers Allow comment (#) to be placed anywhere in the line, not only at the 2010-01-08 10:54:15 +00:00
tcpdump Add parsing code for TCP UTO (User Timeout Option). 2009-10-07 09:07:06 +00:00
tcsh Fix tcsh losing history when tcsh terminates because the pty beneath it 2009-10-06 20:19:16 +00:00
telnet telnet: Fix infinite loop if local output generates SIGPIPE. 2010-04-30 19:52:35 +00:00
texinfo - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
top Fix brokenness in top on big-endian 32-bit systems introduced when 2010-04-19 14:34:44 +00:00
traceroute - Add AS lookup functionality to traceroute6(8) as well. 2009-08-23 17:00:16 +00:00
tzcode Make mandoc/mdocml happy. 2010-06-15 11:37:33 +00:00
tzdata MFV of tzdata2010j, r207896 2010-05-10 21:02:16 +00:00
wpa Remove unused files. 2010-06-14 15:52:50 +00:00
xz Import of liblzma, xz, xzdec, lzmainfo from vendor branch 2010-05-10 06:59:50 +00:00