diff options
Diffstat (limited to 'usr/src/cmd/sgs/libld/common/sections.c')
-rw-r--r-- | usr/src/cmd/sgs/libld/common/sections.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/sgs/libld/common/sections.c b/usr/src/cmd/sgs/libld/common/sections.c index a4cd691c3b..a8119ecb61 100644 --- a/usr/src/cmd/sgs/libld/common/sections.c +++ b/usr/src/cmd/sgs/libld/common/sections.c @@ -2771,11 +2771,8 @@ ld_make_sections(Ofl_desc *ofl) return (S_ERROR); if (make_dynsym(ofl) == S_ERROR) return (S_ERROR); -#if defined(_ELF64) - if ((ld_targ.t_uw.uw_make_unwindhdr != NULL) && - ((*ld_targ.t_uw.uw_make_unwindhdr)(ofl) == S_ERROR)) + if (ld_unwind_make_hdr(ofl) == S_ERROR) return (S_ERROR); -#endif if (make_dynsort(ofl) == S_ERROR) return (S_ERROR); } |