mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-04 15:54:25 +08:00
* read.c: Warning fixes.
* config/obj-elf.c: Likewise.
This commit is contained in:
parent
dc3c06c291
commit
b7712f8d34
@ -1,3 +1,8 @@
|
|||||||
|
2005-02-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* read.c: Warning fixes.
|
||||||
|
* config/obj-elf.c: Likewise.
|
||||||
|
|
||||||
2005-02-22 Maciej W. Rozycki <macro@mips.com>
|
2005-02-22 Maciej W. Rozycki <macro@mips.com>
|
||||||
|
|
||||||
* config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
|
* config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
|
||||||
|
@ -1936,7 +1936,7 @@ elf_frob_file (void)
|
|||||||
|
|
||||||
size = 4 * (list.elt_count[i] + 1);
|
size = 4 * (list.elt_count[i] + 1);
|
||||||
bfd_set_section_size (stdoutput, s, size);
|
bfd_set_section_size (stdoutput, s, size);
|
||||||
s->contents = frag_more (size);
|
s->contents = (unsigned char *) frag_more (size);
|
||||||
frag_now->fr_fix = frag_now_fix_octets ();
|
frag_now->fr_fix = frag_now_fix_octets ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4410,7 +4410,7 @@ void
|
|||||||
emit_leb128_expr (expressionS *exp, int sign)
|
emit_leb128_expr (expressionS *exp, int sign)
|
||||||
{
|
{
|
||||||
operatorT op = exp->X_op;
|
operatorT op = exp->X_op;
|
||||||
int nbytes;
|
unsigned int nbytes;
|
||||||
|
|
||||||
if (op == O_absent || op == O_illegal)
|
if (op == O_absent || op == O_illegal)
|
||||||
{
|
{
|
||||||
@ -4442,7 +4442,7 @@ emit_leb128_expr (expressionS *exp, int sign)
|
|||||||
|
|
||||||
/* Let check_eh_frame know that data is being emitted. nbytes == -1 is
|
/* Let check_eh_frame know that data is being emitted. nbytes == -1 is
|
||||||
a signal that this is leb128 data. It shouldn't optimize this away. */
|
a signal that this is leb128 data. It shouldn't optimize this away. */
|
||||||
nbytes = -1;
|
nbytes = (unsigned int) -1;
|
||||||
if (check_eh_frame (exp, &nbytes))
|
if (check_eh_frame (exp, &nbytes))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user