This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Subtraction of two symbols in different sections
- To: egcs-bugs at cygnus dot com
- Subject: Re: Subtraction of two symbols in different sections
- From: Toshiyasu Morita <tm at netcom dot com>
- Date: Fri, 12 Mar 1999 15:00:18 -0800 (PST)
Ooops, I think this was a false bug. Compiler was aborting before
finishing output of the assembly file.
My apologies.
Toshi
>
> version: CVS current
> host: i386-linux
> target: sh-elf
>
> When files from the stress suite are compiled using the options:
>
> -O2 -m4-single-only -ml -fwritable-strings -S -g
>
> I see:
>
> p_inter.s: Assembler messages:
> p_inter.s:27: Error: Subtraction of two symbols in different sections
> ".L_line_e" {*UND* section} - ".L_line_b" {.line section} at file address 0.
> ...
> p_user.s: Assembler messages:
> p_user.s:27: Error: Subtraction of two symbols in different sections
> ".L_line_e" {*UND* section} - ".L_line_b" {.line section} at file address 0.
> ...
> vtkHexahedron.s: Assembler messages:
> vtkHexahedron.s:27: Error: Subtraction of two symbols in different
> sections ".L_line_e" {*UND* section} - ".L_line_b" {.line section} at
> file address 0.
> ...
> polyset.s: Assembler messages:
> polyset.s:27: Error: Subtraction of two symbols in different sections
> ".L_line_e" {*UND* section} - ".L_line_b" {.line section} at file address 0.
> ...
> tcache16.s: Assembler messages:
> tcache16.s:27: Error: Subtraction of two symbols in different sections
> ".L_line_e" {*UND* section} - ".L_line_b" {.line section} at file address 0.
>
> etc.
>
> The stress suite is at:
>
> ftp://shell14.ba.best.com/pub.t/tm2/stress-1.11.tar.gz
>
> Toshi
>
>
>