mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* bfd-target.c (target_bfd_reopen): Rename `bfd' to
`abfd'(-Wshadow).
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
|
||||||
|
|
||||||
|
* bfd-target.c (target_bfd_reopen): Rename `bfd' to
|
||||||
|
`abfd'(-Wshadow).
|
||||||
|
|
||||||
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
|
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
|
||||||
|
|
||||||
* annotate.c (annotate_array_section_begin): Rename `index' to
|
* annotate.c (annotate_array_section_begin): Rename `index' to
|
||||||
|
@ -78,14 +78,14 @@ target_bfd_xclose (struct target_ops *t, int quitting)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct target_ops *
|
struct target_ops *
|
||||||
target_bfd_reopen (struct bfd *bfd)
|
target_bfd_reopen (struct bfd *abfd)
|
||||||
{
|
{
|
||||||
struct target_ops *t;
|
struct target_ops *t;
|
||||||
struct target_bfd_data *data;
|
struct target_bfd_data *data;
|
||||||
|
|
||||||
data = XZALLOC (struct target_bfd_data);
|
data = XZALLOC (struct target_bfd_data);
|
||||||
data->bfd = bfd;
|
data->bfd = abfd;
|
||||||
build_section_table (bfd, &data->table.sections, &data->table.sections_end);
|
build_section_table (abfd, &data->table.sections, &data->table.sections_end);
|
||||||
|
|
||||||
t = XZALLOC (struct target_ops);
|
t = XZALLOC (struct target_ops);
|
||||||
t->to_shortname = "bfd";
|
t->to_shortname = "bfd";
|
||||||
|
Reference in New Issue
Block a user