Working ELF GCC

Peter Naulls peter at chocky.org
Mon Oct 6 03:15:12 PDT 2003


In message <3F81355F.3040108 at dsvr.net>
          Nick Burrett <nick at dsvr.net> wrote:

> The problem was detailed in 'Common AREAs and libfile'.
> 
> The minimal test case is:
> 
> ---- snip ----
> 	AREA |__common|, DATA, COMMON
> 	EXPORT	|__common|
> 
> 	% 12
> 	END
> ----- snip ----
> 
> 'as' doesn't export the __common symbol properly


Unfortunately, it causes other problems:

  [peter at bug:/usr/src/temp] /home/riscos/gcc33/cross/bin/gcc -c test.c
  Error: Redefinition of main at line 38
  Error: Symbol main cannot be evaluated
  gcc: Internal error: Unknown signal (program as)
  Please submit a full bug report.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  [peter at bug:/usr/src/temp] 

'as' throws a wobbly at any symbols it sees.

-- 
Peter Naulls - peter at chocky.org        | http://www.chocky.org/
----------------------------------------------------------------------------
GCC for RISC OS                        | http://hard-mofo.dsvr.net/gcc/




More information about the gcc mailing list