Mercurial > illumos > illumos-gate
changeset 13914:6813aba4377c
3453 GNU comdat redirection does exactly the wrong thing
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Garrett D'Amore <garrett@damore.org>
author | Richard Lowe <richlowe@richlowe.net> |
---|---|
date | Wed, 09 Jan 2013 00:43:09 +0000 |
parents | c0a3acf5ac47 |
children | 08b681f7233e |
files | usr/src/cmd/sgs/libld/common/place.c usr/src/cmd/sgs/packages/common/SUNWonld-README |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/sgs/libld/common/place.c Tue Jan 01 21:20:02 2013 -0500 +++ b/usr/src/cmd/sgs/libld/common/place.c Wed Jan 09 00:43:09 2013 +0000 @@ -325,7 +325,7 @@ * link-edits. For now, size the section name dynamically. */ ssize = strlen(isp->is_name); - if ((strncmp(isp->is_name, gisp->is_name, ssize) != 0) && + if ((strncmp(isp->is_name, gisp->is_name, ssize) == 0) && (gisp->is_name[ssize] == '.')) return ((char *)&gisp->is_name[ssize]); }
--- a/usr/src/cmd/sgs/packages/common/SUNWonld-README Tue Jan 01 21:20:02 2013 -0500 +++ b/usr/src/cmd/sgs/packages/common/SUNWonld-README Wed Jan 09 00:43:09 2013 +0000 @@ -1640,3 +1640,4 @@ 3260 linker is insufficiently careful with strtok 3261 linker should ignore unknown hardware capabilities 3265 link-editor builds bogus .eh_frame_hdr on ia32 +3453 GNU comdat redirection does exactly the wrong thing