Working ELF GCC

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

In message <3F81355F.3040108 at>
          Nick Burrett <nick at> 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:> for instructions.
  [peter at bug:/usr/src/temp] 

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

Peter Naulls - peter at        |
GCC for RISC OS                        |

More information about the gcc mailing list