aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog3
-rw-r--r--ld/ldlang.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a69668e..5d80834 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,8 @@
1999-08-08 Ian Lance Taylor <ian@zembu.com>
+ * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
+ SEC_SMALL_DATA.
+
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP. Rebuild dependencies.
* Makefile.in: Rebuild.
diff --git a/ld/ldlang.c b/ld/ldlang.c
index eab4b5f..c447f6d 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -1108,9 +1108,9 @@ wild_doit (ptr, section, output, file)
break;
}
- /* Copy over SEC_SHORT. */
- if (section->flags & SEC_SHORT)
- section->output_section->flags |= SEC_SHORT;
+ /* Copy over SEC_SMALL_DATA. */
+ if (section->flags & SEC_SMALL_DATA)
+ section->output_section->flags |= SEC_SMALL_DATA;
if (section->alignment_power > output->bfd_section->alignment_power)
output->bfd_section->alignment_power = section->alignment_power;