mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[]. (md_assemble): Initialize size to 0. (md_section_align): Mark parameter seg as unused.
This commit is contained in:
@ -5,6 +5,10 @@
|
|||||||
accordingly. Stabilize frag by updating fix part and resetting
|
accordingly. Stabilize frag by updating fix part and resetting
|
||||||
variant part.
|
variant part.
|
||||||
<undefined symbol, unconditional jump>: Ditto.
|
<undefined symbol, unconditional jump>: Ditto.
|
||||||
|
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
|
||||||
|
indexing is_end_of_line[].
|
||||||
|
(md_assemble): Initialize size to 0.
|
||||||
|
(md_section_align): Mark parameter seg as unused.
|
||||||
|
|
||||||
2000-11-28 Kazu Hirata <kazu@hxi.com>
|
2000-11-28 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ sh_elf_cons (nbytes)
|
|||||||
input_line_pointer--; /* Put terminator back into stream. */
|
input_line_pointer--; /* Put terminator back into stream. */
|
||||||
if (*input_line_pointer == '#' || *input_line_pointer == '!')
|
if (*input_line_pointer == '#' || *input_line_pointer == '!')
|
||||||
{
|
{
|
||||||
while (! is_end_of_line[*input_line_pointer++]);
|
while (! is_end_of_line[(unsigned char) *input_line_pointer++]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
demand_empty_rest_of_line ();
|
demand_empty_rest_of_line ();
|
||||||
@ -1861,7 +1861,7 @@ md_assemble (str)
|
|||||||
unsigned char *op_end;
|
unsigned char *op_end;
|
||||||
sh_operand_info operand[3];
|
sh_operand_info operand[3];
|
||||||
sh_opcode_info *opcode;
|
sh_opcode_info *opcode;
|
||||||
unsigned int size;
|
unsigned int size = 0;
|
||||||
|
|
||||||
opcode = find_cooked_opcode (&str);
|
opcode = find_cooked_opcode (&str);
|
||||||
op_end = str;
|
op_end = str;
|
||||||
@ -2505,7 +2505,7 @@ md_convert_frag (headers, seg, fragP)
|
|||||||
|
|
||||||
valueT
|
valueT
|
||||||
md_section_align (seg, size)
|
md_section_align (seg, size)
|
||||||
segT seg;
|
segT seg ATTRIBUTE_UNUSED;
|
||||||
valueT size;
|
valueT size;
|
||||||
{
|
{
|
||||||
#ifdef BFD_ASSEMBLER
|
#ifdef BFD_ASSEMBLER
|
||||||
|
Reference in New Issue
Block a user