mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 21:19:54 +00:00
Use set_tdata to set the ieee tdata field, avoiding casting left of
assignment.
This commit is contained in:
parent
2a8afebabf
commit
295cce3ca6
@ -855,8 +855,8 @@ uint8e_type buffer[512];
|
||||
next_byte(&(ieee->h));
|
||||
library= read_id(&(ieee->h));
|
||||
if (strcmp(library , "LIBRARY") != 0) {
|
||||
bfd_release(abfd, ieee);
|
||||
ieee_ar_data(abfd)= save;
|
||||
bfd_release(abfd, ieee);
|
||||
set_tdata (abfd, save);
|
||||
return (bfd_target *)NULL;
|
||||
}
|
||||
/* Throw away the filename */
|
||||
|
Loading…
Reference in New Issue
Block a user