bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Linker Utility Assert


From: Charles_Triemstra
Subject: GNU Linker Utility Assert
Date: Thu, 21 Mar 2002 14:25:34 -0500

Hi,

I'm reporting a bug in the linker.  When you attempt to build the
following, the following assert occurs:

assert "(hds->flags&(040) == 0 && (h->flags & (010000)) == 0" failed file
"/cm/src/cygnus/98r2/src/frozen/bfd/xcofflink.c" line 2417

The attach file is a tar ball make the creates the problem.  The problem
occurs when I mistakely call the toc reference of the c routine
instead of the actual name of the function.  That is, in the assembler code
I called "test_func"  instead of ".test_func".

The bug is the linker should not assert, even though I've made a coding
mistake.

The tool chain is running on a Windows machine, cross compiling for a
powerpc processor.

/Chuck

(See attached file: ldassert.tar)

Attachment: ldassert.tar
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]