aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
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/ldlang.c
parent851edbafcca1e31fba6fb354ed07d5e28e5315ab (diff)
downloadgdb-667f51773f576c8a43dfe10b96a1c5530f77b538.zip
gdb-667f51773f576c8a43dfe10b96a1c5530f77b538.tar.gz
gdb-667f51773f576c8a43dfe10b96a1c5530f77b538.tar.bz2
* ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
SEC_SMALL_DATA.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c6
1 files changed, 3 insertions, 3 deletions
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;