# HG changeset patch # User Richard Lowe # Date 1357692189 0 # Node ID 6813aba4377c400ee34b74d642838cde91a7a688 # Parent c0a3acf5ac47d8ed972792168c027f0832f423dc 3453 GNU comdat redirection does exactly the wrong thing Reviewed by: Jason King Reviewed by: Robert Mustacchi Approved by: Garrett D'Amore diff -r c0a3acf5ac47 -r 6813aba4377c usr/src/cmd/sgs/libld/common/place.c --- 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]); } diff -r c0a3acf5ac47 -r 6813aba4377c usr/src/cmd/sgs/packages/common/SUNWonld-README --- 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