diff options
author | Ali Bahrami <Ali.Bahrami@Sun.COM> | 2009-03-18 13:28:28 -0600 |
---|---|---|
committer | Ali Bahrami <Ali.Bahrami@Sun.COM> | 2009-03-18 13:28:28 -0600 |
commit | 7e16fca05dfbcfd32c2ebc9e4d1abdac1cd8657c (patch) | |
tree | 5033ac748bcd6544a0981e069919df2d213acead /usr/src/cmd/sgs/libld/common/sections.c | |
parent | c13e065d8ffc8eafc02caf1091e66e146a2b2ce4 (diff) | |
download | illumos-gate-7e16fca05dfbcfd32c2ebc9e4d1abdac1cd8657c.tar.gz |
6813909 generalize eh_frame support to non-amd64 platforms
--HG--
rename : usr/src/cmd/sgs/libld/common/unwind.amd.c => usr/src/cmd/sgs/libld/common/unwind.c
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); } |