This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC assembler bug
- From: "Piotr Wyderski" <piotr dot wyderski at hoga dot pl>
- To: <gcc at gcc dot gnu dot org>
- Date: Sat, 26 Apr 2003 01:32:03 +0200
- Subject: GCC assembler bug
Hello,
it seems there's a bug in the GCC assembler. The ".equ"
directive can be used to define an address of a function:
.equ FN,myfunction1
call FN
If there are multiple and different definitions of FN, like this:
.equ FN,myfunction1
call FN
.equ FN,myfunction2
call FN
then only the first one is used and GCC generates
call myfunction1
call myfunction1
instead of
call myfunction1
call myfunction2
I use the version 3.2 and the host computer is i386 at Linux dot
Best regards
Piotr Wyderski
Zobacz nasz nowy serwis - wczasy za granicą - http://hoga.travelplanet.pl/
------------------------------------------------------------
Wiosną wirusy rosną bez pamięci!dlatego do pakietów wielostanowiskowych
mks_vir dokładamy Mobile Disks. Sprawdź:
http://www.mks.com.pl/promocja-mobile.html