summaryrefslogtreecommitdiff
path: root/gas/subsegs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/subsegs.c')
-rw-r--r--gas/subsegs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/subsegs.c b/gas/subsegs.c
index dfdb0009cb..0fe11e757f 100644
--- a/gas/subsegs.c
+++ b/gas/subsegs.c
@@ -422,6 +422,10 @@ subseg_get (segname, force_new)
else
secptr = bfd_make_section_anyway (stdoutput, segname);
+#ifdef obj_sec_set_private_data
+ obj_sec_set_private_data (stdoutput, secptr);
+#endif
+
seginfo = seg_info (secptr);
if (! seginfo)
{