OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7798176
)
Check for alignment when emitting constants on the sh-elf target
author
nickc
<nickc>
Thu, 27 Nov 2003 08:29:29 +0000
(08:29 +0000)
committer
nickc
<nickc>
Thu, 27 Nov 2003 08:29:29 +0000
(08:29 +0000)
gas/ChangeLog
patch
|
blob
|
history
gas/config/tc-sh.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index
a5c7f40
..
aaf8b96
100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,3
+1,9
@@
+2003-11-27 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-sh.c (sh_elf_cons): If md_cons_align is defined
+ call it to make sure that the constants that are going to be
+ emitted are correctly aligned.
+
2003-11-27 Alexandre Oliva <aoliva@redhat.com>
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
diff --git
a/gas/config/tc-sh.c
b/gas/config/tc-sh.c
index
0bacdce
..
c499491
100644
(file)
--- 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);