* i386-go32
@ 1997-12-15 13:03 Joel Sherrill
1997-12-15 13:08 ` i386-go32 Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Joel Sherrill @ 1997-12-15 13:03 UTC (permalink / raw)
To: gas2
Whether or not the name is right, it still does not work in gas-971208 but
did in binutils 2.8.1. I checked the i386-go32 configuration against
i386-go32-rtems and did not spot anything. I have tracked the problem
down and it appears that the BFD vector is somehow misspecified. I have
grep'ed all the configuration files but do not see the problem. gas
prints a fatal error message because it can't find the target vector. I
traced it with gdb and found:
bfd_openw (filename=0x80793b5 "a.out", target=0x8082bc4 "coff-go32")
at ../../src/bfd/opncls.c:348
348 bfd_set_error (bfd_error_system_call);
(gdb) n
353 nbfd = _bfd_new_bfd ();
(gdb)
354 if (nbfd == NULL)
(gdb)
357 target_vec = bfd_find_target (target, nbfd);
(gdb) s
bfd_find_target (target_name=0x8082bc4 "coff-go32", abfd=0x80e9080)
at ../../src/bfd/targets.c:958
958 if (target_name != NULL)
(gdb) s
959 targname = target_name;
(gdb) n
964 if (targname == NULL || strcmp (targname, "default") == 0)
(gdb)
974 abfd->target_defaulted = false;
(gdb)
976 target = find_target (targname);
(gdb)
977 if (target == NULL)
(gdb)
978 return NULL;
(gdb)
982 }
(gdb)
bfd_openw (filename=0x80793b5 "a.out", target=0x8082bc4 "coff-go32")
at ../../src/bfd/opncls.c:358
358 if (target_vec == NULL)
(gdb)
371 objalloc_free ((struct objalloc *) nbfd->memory);
(gdb)
372 free (nbfd);
(gdb)
373 return NULL;
(gdb)
377 }
(gdb)
write_object_file () at ../../src/gas/config/obj-coff.c:3128
3128 if (abfd == 0)
(gdb)
3130 as_perror ("FATAL: Can't create %s", out_file_name);
What do I have wrong in one of the configuration files?
Thanks.
--joel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: i386-go32
1997-12-15 13:03 i386-go32 Joel Sherrill
@ 1997-12-15 13:08 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1997-12-15 13:08 UTC (permalink / raw)
To: joel; +Cc: gas2
Date: Mon, 15 Dec 1997 15:03:43 -0600 (CST)
From: Joel Sherrill <joel@OARcorp.com>
Whether or not the name is right, it still does not work in gas-971208 but
did in binutils 2.8.1.
Sounds like you are hitting a bug, but I don't know what the problem
is.
The coff-go32 should be defined by compiling bfd/coff-go32.c. That
should be included if go32coff_vec is in the list of supported
targets. go32coff_vec is the default target for the i386-go32
configuration.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-15 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-15 13:03 i386-go32 Joel Sherrill
1997-12-15 13:08 ` i386-go32 Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).