[Top] [All Lists]

Re: Gcc - can't branch to undefined symbol

To: Jerry Walden <>
Subject: Re: Gcc - can't branch to undefined symbol
From: Ralf Baechle <>
Date: Thu, 29 Jan 2004 23:14:27 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.4.1i
On Thu, Jan 29, 2004 at 12:25:16PM -0800, Jerry Walden wrote:

> I am using gcc 3.3.2 - when I assemble a file that has a branch to a
> label, and the label is not defined in the .S file (i.e. there is no
> extern - the label exists in another .S file) the error "cannot branch
> to an undefined symbol" results.  Using an older version of
> mipsel-gnu-linux-gcc does not report this error.  Any idea what I am
> doing wrong?

This construct is illegal because it cannot be represented in MIPS ELF.


<Prev in Thread] Current Thread [Next in Thread>