Use set_tdata to set the ieee tdata field, avoiding casting left of
authorJohn Gilmore <gnu@cygnus>
Sat, 6 Jul 1991 08:37:45 +0000 (08:37 +0000)
committerJohn Gilmore <gnu@cygnus>
Sat, 6 Jul 1991 08:37:45 +0000 (08:37 +0000)
assignment.

bfd/ieee.c

index 801f6eee88f707a6c55df81b2293fd5b7e7193b5..060eeea2005e8e68e810381a22dc1541e16244c7 100644 (file)
@@ -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 */