aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-06-20 13:29:07 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-06-20 13:29:07 +0000
commit74459f0e3ead9efad8aa29f2545b53e9c5f9988d (patch)
treecc6e8a64001a4a530b620ca7a1f906cabab653a9 /ld/ldlang.c
parent2ab47eed68c82a9a6d055ba3f49ca6a8a1dd2575 (diff)
downloadgdb-74459f0e3ead9efad8aa29f2545b53e9c5f9988d.zip
gdb-74459f0e3ead9efad8aa29f2545b53e9c5f9988d.tar.gz
gdb-74459f0e3ead9efad8aa29f2545b53e9c5f9988d.tar.bz2
tic54x/ibmc54xdsp target for ld.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index d43140f..6068f51 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -1196,6 +1196,13 @@ wild_doit (ptr, section, output, file)
/* If supplied an aligment, then force it. */
if (output->section_alignment != -1)
output->bfd_section->alignment_power = output->section_alignment;
+
+ if (section->flags & SEC_BLOCK)
+ {
+ section->output_section->flags |= SEC_BLOCK;
+ /* FIXME: This value should really be obtained from the bfd... */
+ output->block_value = 128;
+ }
}
}