aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-11-27 08:29:29 +0000
committerNick Clifton <nickc@redhat.com>2003-11-27 08:29:29 +0000
commit028f09bd7fce4f25e970a0e006f9241bb055f80b (patch)
treeafa5857e647f5c1c2ec41ee5c2d73469334e1c68 /gas/config
parent195f52b5ec2732cd70b0845810c9dc0e068d0641 (diff)
downloadgdb-028f09bd7fce4f25e970a0e006f9241bb055f80b.zip
gdb-028f09bd7fce4f25e970a0e006f9241bb055f80b.tar.gz
gdb-028f09bd7fce4f25e970a0e006f9241bb055f80b.tar.bz2
Check for alignment when emitting constants on the sh-elf target
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-sh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index 0bacdce..c499491 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -801,6 +801,10 @@ sh_elf_cons (register int nbytes)
return;
}
+#ifdef md_cons_align
+ md_cons_align (nbytes);
+#endif
+
do
{
expression (&exp);