Thread View: gnu.g++.bug
2 messages
2 total messages
Started by Andrew Klossner
Tue, 01 Aug 1989 23:28
bug in collect.c COFF support
Author: Andrew Klossner
Date: Tue, 01 Aug 1989 23:28
Date: Tue, 01 Aug 1989 23:28
6 lines
687 bytes
687 bytes
In collect.c, when COFF is defined, procedure process() doesn't
initialize local variable "ldptr". It should be initialized to NULL
for the system V ldopen() routine to work correctly.
-=- Andrew Klossner (uunet!tektronix!frip.WV.TEK!andrew) [UUCP]
(andrew%frip.wv.tek.com@relay.cs.net) [ARPA]
Re: bug in collect.c COFF support
Author: Dirk Grunwald
Date: Wed, 02 Aug 1989 03:18
Date: Wed, 02 Aug 1989 03:18
34 lines
1579 bytes
1579 bytes
argle - sorry about that. As a side note, I wonder if other people
have noticed a problem with collect when you use -g0 on COFF systems;
an old (I think 1.35 had it, because I had to re-find the bug)
sdbout.c in g++ produced negative sizes for certain structs; this
caused COFF on the Encore multimax. to barf. Do other people have
this problem? I've fixed sdbout.c & the patches will be in 1.36, but
I'm wondering if this is somethat that should be reported to Encore as
well.
here's a patch for MDT.
*** collect.c Tue Aug 1 22:14:04 1989
--- collect.c.orig Tue Aug 1 22:13:47 1989
***************
*** 258,264 ****
FILE *fp;
char *filename;
{
! LDFILE *ldptr = NULL;
do {
if ((ldptr = ldopen(filename, ldptr)) != NULL ) {
--- 258,264 ----
FILE *fp;
char *filename;
{
! LDFILE *ldptr;
do {
if ((ldptr = ldopen(filename, ldptr)) != NULL ) {
--
Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads