mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Fix behaviour of unaligned data directives
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
|
||||||
|
|
||||||
|
* config/tc-sparc.c (cons_fix_new_sparc): Move
|
||||||
|
`sparc_no_align_cons = 0;' to...
|
||||||
|
(s_uacons): ...here so that sparc_no_align_cons will get
|
||||||
|
cleared properly.
|
||||||
|
|
||||||
2001-08-11 Kazu Hirata <kazu@hxi.com>
|
2001-08-11 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
* config/tc-mips.c: Fix a comment typo.
|
* config/tc-mips.c: Fix a comment typo.
|
||||||
|
@ -3920,6 +3920,7 @@ s_uacons (bytes)
|
|||||||
/* Tell sparc_cons_align not to align this value. */
|
/* Tell sparc_cons_align not to align this value. */
|
||||||
sparc_no_align_cons = 1;
|
sparc_no_align_cons = 1;
|
||||||
cons (bytes);
|
cons (bytes);
|
||||||
|
sparc_no_align_cons = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This handles the native word allocation pseudo-op .nword.
|
/* This handles the native word allocation pseudo-op .nword.
|
||||||
@ -4213,8 +4214,7 @@ cons_fix_new_sparc (frag, where, nbytes, exp)
|
|||||||
case 8: r = BFD_RELOC_SPARC_UA64; break;
|
case 8: r = BFD_RELOC_SPARC_UA64; break;
|
||||||
default: abort ();
|
default: abort ();
|
||||||
}
|
}
|
||||||
sparc_no_align_cons = 0;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
fix_new_exp (frag, where, (int) nbytes, exp, 0, r);
|
fix_new_exp (frag, where, (int) nbytes, exp, 0, r);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user