diff options
Diffstat (limited to 'ld/ldwrite.c')
-rw-r--r-- | ld/ldwrite.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldwrite.c b/ld/ldwrite.c index 1296a7d..e5949c1 100644 --- a/ld/ldwrite.c +++ b/ld/ldwrite.c @@ -233,7 +233,9 @@ build_link_order (statement) ASSERT (output_section->owner == output_bfd); - if ((output_section->flags & SEC_HAS_CONTENTS) != 0) + if ((output_section->flags & SEC_HAS_CONTENTS) != 0 + || ((output_section->flags & SEC_LOAD) != 0 + && (output_section->flags & SEC_THREAD_LOCAL))) { struct bfd_link_order *link_order; |