mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 12:33:36 +08:00
gas/ChangeLog
* dwarf2dbg.c (get_frag_fix): Align last frag size.
This commit is contained in:
parent
d01949b65b
commit
7c2b59d0e8
@ -1,5 +1,7 @@
|
||||
2001-11-15 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* dwarf2dbg.c (get_frag_fix): Align last frag size.
|
||||
|
||||
* config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
|
||||
to operand->insert.
|
||||
(md_assemble): Likewise.
|
||||
|
@ -524,8 +524,9 @@ get_frag_fix (frag)
|
||||
for (fr = frchain_root; fr; fr = fr->frch_next)
|
||||
if (fr->frch_last == frag)
|
||||
{
|
||||
return ((char *) obstack_next_free (&fr->frch_obstack)
|
||||
- frag->fr_literal);
|
||||
long align_mask = -1 << get_recorded_alignment (fr->frch_seg);
|
||||
return (((char *) obstack_next_free (&fr->frch_obstack)
|
||||
- frag->fr_literal) + ~align_mask) & align_mask;
|
||||
}
|
||||
|
||||
abort ();
|
||||
|
Loading…
Reference in New Issue
Block a user