summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-09 03:22:27 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-09 03:22:27 +0000
commit667f51773f576c8a43dfe10b96a1c5530f77b538 (patch)
treed07351005d3b3166ec29290d8b7a55e8bff351c3 /ld
parent851edbafcca1e31fba6fb354ed07d5e28e5315ab (diff)
downloadbinutils-gdb-667f51773f576c8a43dfe10b96a1c5530f77b538.tar.gz
* ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
SEC_SMALL_DATA.
Diffstat (limited to 'ld')
-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 a69668e8450..5d808340cad 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 eab4b5f6394..c447f6d29f3 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;