mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Check for alignment when emitting constants on the sh-elf target
This commit is contained in:
@ -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>
|
2003-11-27 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
|
* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
|
||||||
|
@ -801,6 +801,10 @@ sh_elf_cons (register int nbytes)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef md_cons_align
|
||||||
|
md_cons_align (nbytes);
|
||||||
|
#endif
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
expression (&exp);
|
expression (&exp);
|
||||||
|
Reference in New Issue
Block a user