[Bug]: non-static arrays stored in object file
Mike Stump
mrs@wrs.com
Tue Aug 31 22:45:00 GMT 1999
> Date: Mon, 02 Aug 1999 22:15:11 -0600
> From: Jeffrey A Law <law@cygnus.com>
> However, I wouldn't characterize it as a "simple bug in the port
> file" like mrs suggests. Some systems simply don't have the
> capability to uninitialized, but not common symbols.
:-) True. But, these can be emulated in the port file simply, even
when the machine doesn't have BSS per se. And, if we wanted, this
emulation could in fact be put into the mi parts of the compiler if we
wanted. No one has wanted to yet. But I still remained convinced it
is `simple' to do. The _hard_ part about this are the totally
unreadable error messages:
common foo, 4
.data
__protect_foo:
multiple definitions of __protect__foo...
:-(
Anyway, yes, I agree, if you consider the implications of the error
messages, then it really isn't so simple to fix after all. But, those
systems can be taken out and shot, but I digress.
More information about the Gcc-bugs
mailing list