Print this page
3453 GNU comdat redirection does exactly the wrong thing
*** 323,333 ****
* Is_desc. However, this seems an infrequent operation and
* adding Is_desc members can escalate memory usage for large
* link-edits. For now, size the section name dynamically.
*/
ssize = strlen(isp->is_name);
! if ((strncmp(isp->is_name, gisp->is_name, ssize) != 0) &&
(gisp->is_name[ssize] == '.'))
return ((char *)&gisp->is_name[ssize]);
}
return (NULL);
}
--- 323,333 ----
* Is_desc. However, this seems an infrequent operation and
* adding Is_desc members can escalate memory usage for large
* link-edits. For now, size the section name dynamically.
*/
ssize = strlen(isp->is_name);
! if ((strncmp(isp->is_name, gisp->is_name, ssize) == 0) &&
(gisp->is_name[ssize] == '.'))
return ((char *)&gisp->is_name[ssize]);
}
return (NULL);
}