mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* write.c (chain_frchains_together_1): Assert that this function
never returns a pointer to the auto variable `dummy'.
This commit is contained in:
parent
ba5f0fda86
commit
033cd5fdcd
@ -3,6 +3,9 @@
|
||||
* dw2gencfi.c (cfi_add_CFA_offset):
|
||||
Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.
|
||||
|
||||
* write.c (chain_frchains_together_1): Assert that this function
|
||||
never returns a pointer to the auto variable `dummy'.
|
||||
|
||||
2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
|
||||
Yukishige Shibata <shibata@rd.scei.sony.co.jp>
|
||||
Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
|
||||
|
@ -394,6 +394,7 @@ chain_frchains_together_1 (segT section, struct frchain *frchp)
|
||||
}
|
||||
}
|
||||
assert (prev_frag->fr_type != 0);
|
||||
assert (prev_frag != &dummy);
|
||||
prev_frag->fr_next = 0;
|
||||
return prev_frag;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user