mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Use set_tdata to set the ieee tdata field, avoiding casting left of
assignment.
This commit is contained in:
@ -855,8 +855,8 @@ uint8e_type buffer[512];
|
|||||||
next_byte(&(ieee->h));
|
next_byte(&(ieee->h));
|
||||||
library= read_id(&(ieee->h));
|
library= read_id(&(ieee->h));
|
||||||
if (strcmp(library , "LIBRARY") != 0) {
|
if (strcmp(library , "LIBRARY") != 0) {
|
||||||
bfd_release(abfd, ieee);
|
bfd_release(abfd, ieee);
|
||||||
ieee_ar_data(abfd)= save;
|
set_tdata (abfd, save);
|
||||||
return (bfd_target *)NULL;
|
return (bfd_target *)NULL;
|
||||||
}
|
}
|
||||||
/* Throw away the filename */
|
/* Throw away the filename */
|
||||||
|
Reference in New Issue
Block a user