From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Link errors with Debug switch on Date: 18 Jun 2001 10:22:33 GMT Organization: Aachen University of Technology (RWTH) Lines: 15 Message-ID: <9gkkp9$g77$1@nets3.rz.RWTH-Aachen.DE> References: <3791-Sat16Jun2001160700+0300-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 992859753 16615 137.226.32.75 (18 Jun 2001 10:22:33 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 18 Jun 2001 10:22:33 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > So it looks like Gas is not the problem. But I admit that I'm not > familiar with all the details of "gcc -S" output, so perhaps I'm > missing something. From what familiarity with GCC assembler output I have, I would second Andris' opinion that this is a GAS bug. There's no way the assembler can be correct in interpreting .def directives (which are for *debugging* symbols only) to override the .globl ones that define an externally visible function or variable name. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.