public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* RE: AS-BUG????????
@ 2000-11-09  9:50 David Korn
  0 siblings, 0 replies; 6+ messages in thread
From: David Korn @ 2000-11-09  9:50 UTC (permalink / raw)
  To: 'paul_pinault', crossgcc

>From: paul_pinault [ mailto:paul_pinault@hotmail.com ]
>
>I had the same matter but I don't know where is the matter, it appends when
>the label doesn't exist in the C source code, but the linker don't give me
>an error it put label at adress 0... I think it can try to identify it like
>a dynamic loaded object... But a don't know more... If you have a idea and
>more, a solution... I'm really interresting :-)

  This is what is meant to happen if you pass the -r flag to the linker.
Are you *absolutely* sure you aren't using the -r flag?

      DaveK
-- 
SEAL Team 6 World Trade Center Serbian Cocaine [Hello to all my fans
in domestic surveillance] cracking KGB nuclear arrangements CIA
counter-intelligence smuggle fissionable ammunition SDI 


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AS-BUG????????
  2000-11-09  3:05 ` AS-BUG???????? Sobhy Gad
@ 2000-11-09  3:16   ` Alexandre Oliva
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 2000-11-09  3:16 UTC (permalink / raw)
  To: Sobhy Gad; +Cc: crossgcc-owner, crossgcc

On Nov  9, 2000, Sobhy Gad <sgad@snafu.de> wrote:

> as I allredy said I as-2.95.2 has a BUG.

There's no such thing as `as-2.95.2'.  2.95.2 is the number of the
latest release of GCC, but GCC and the GNU assembler are separate
projects.  If you want to report a bug in the GNU assembler, get
binutils 2.10.1 and, if it fails, post a bug report to
binutils@sources.redhat.com

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* AS-BUG????????
  2000-11-08  9:41 mips problem: objdump cannot recognize debugging info Ricky Charlet
  2000-11-08 12:15 ` AS-BUG???????? Sobhy Gad
@ 2000-11-09  3:05 ` Sobhy Gad
  2000-11-09  3:16   ` AS-BUG???????? Alexandre Oliva
  1 sibling, 1 reply; 6+ messages in thread
From: Sobhy Gad @ 2000-11-09  3:05 UTC (permalink / raw)
  To: crossgcc-owner, crossgcc

hi again,

as I allredy said I as-2.95.2 has a BUG.
absolut  jumps does not work. only with the verion as-2.9.1 it works
very good.

	.long	label_y
	jmp	label_x
	:
label_x:
	:
label_y:

when I compile it with 2.9.1 it works good. any other verion does NOT
work.
this is the result of as-2.95.2 for jmp label_x is:
41F9 0000 0000. 
as you see >> 0000 0000 << should be a distence to the label
it does not calculate the jump.
the same with     .long label_y    is tranlated as 0000 0000
insted of the addresse of label_y.
but when you load the label to an addresse register let us say a0 and
then

jump	(a0)

it works.

STRANGE, is'nt it ?????????
I think there is a bug with the absolute JUMPS.

best regards
S. Gad


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AS-BUG????????
  2000-11-09  1:11   ` AS-BUG???????? Stefan Petters
@ 2000-11-09  1:29     ` paul_pinault
  0 siblings, 0 replies; 6+ messages in thread
From: paul_pinault @ 2000-11-09  1:29 UTC (permalink / raw)
  To: crossgcc-owner, crossgcc

I had the same matter but I don't know where is the matter, it appends when
the label doesn't exist in the C source code, but the linker don't give me
an error it put label at adress 0... I think it can try to identify it like
a dynamic loaded object... But a don't know more... If you have a idea and
more, a solution... I'm really interresting :-)

CU,
Paul

----- Original Message -----
From: Stefan Petters <petters@lpr.e-technik.tu-muenchen.de>
To: Sobhy Gad <sgad@snafu.de>
Cc: <crossgcc-owner@sources.redhat.com>; <crossgcc@sourceware.cygnus.com>
Sent: Thursday, November 09, 2000 10:11 AM
Subject: Re: AS-BUG????????


> Hi,
>
> Sobhy Gad wrote:
> > I get in the bin file that the list fiel:
> > 41F9 0000 0000. insted fo 0000 0000 should be a distence to the label
> > it does not calculate the jump.
> > also .long label_y is tranlated as 0000 0000
> > ################################################
> > when i compile it with the version 2.9.1 IT WORKS very well.
> > #################################################
> >
> > STRANGE...could any one help
> Hmmm, normally this (interpreting the labels to real adresses) is done
> by the linker. Have you passed your object file to the linker?
>
> Regards,
> Stefan.
> --
> -----------------------------------------------------------------------
> Dipl.-Ing. Stefan M. Petters                   http://www.rcs.ei.tum.de
> Institute for Real-Time Computersystems (RCS)      fon +49/89-289-23556
> Technische Universitaet Muenchen, D-80290 Muenchen fax +49/89-289-23555
>
> ------
> Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: AS-BUG????????
  2000-11-08 12:15 ` AS-BUG???????? Sobhy Gad
@ 2000-11-09  1:11   ` Stefan Petters
  2000-11-09  1:29     ` AS-BUG???????? paul_pinault
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Petters @ 2000-11-09  1:11 UTC (permalink / raw)
  To: Sobhy Gad; +Cc: crossgcc-owner, crossgcc

Hi,

Sobhy Gad wrote:
> I get in the bin file that the list fiel:
> 41F9 0000 0000. insted fo 0000 0000 should be a distence to the label
> it does not calculate the jump.
> also .long label_y is tranlated as 0000 0000
> ################################################
> when i compile it with the version 2.9.1 IT WORKS very well.
> #################################################
> 
> STRANGE...could any one help
Hmmm, normally this (interpreting the labels to real adresses) is done
by the linker. Have you passed your object file to the linker?

Regards,
	Stefan.
-- 
-----------------------------------------------------------------------    
Dipl.-Ing. Stefan M. Petters                   http://www.rcs.ei.tum.de
Institute for Real-Time Computersystems (RCS)      fon +49/89-289-23556 
Technische Universitaet Muenchen, D-80290 Muenchen fax +49/89-289-23555

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* AS-BUG????????
  2000-11-08  9:41 mips problem: objdump cannot recognize debugging info Ricky Charlet
@ 2000-11-08 12:15 ` Sobhy Gad
  2000-11-09  1:11   ` AS-BUG???????? Stefan Petters
  2000-11-09  3:05 ` AS-BUG???????? Sobhy Gad
  1 sibling, 1 reply; 6+ messages in thread
From: Sobhy Gad @ 2000-11-08 12:15 UTC (permalink / raw)
  To: crossgcc-owner, crossgcc

I try to compile an asm-file with as-2.9.5.2 for m68k (cpu32 built for
win32) but it.
does not really work:

	jmp	label_x
	:
	:
label_x:
	:
	:
I get in the bin file that the list fiel:
41F9 0000 0000. insted fo 0000 0000 should be a distence to the label
it does not calculate the jump.
also .long label_y is tranlated as 0000 0000
################################################
when i compile it with the version 2.9.1 IT WORKS very well.
#################################################

STRANGE...could any one help

best regards
S. Gad


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-11-09  9:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-09  9:50 AS-BUG???????? David Korn
  -- strict thread matches above, loose matches on Subject: below --
2000-11-08  9:41 mips problem: objdump cannot recognize debugging info Ricky Charlet
2000-11-08 12:15 ` AS-BUG???????? Sobhy Gad
2000-11-09  1:11   ` AS-BUG???????? Stefan Petters
2000-11-09  1:29     ` AS-BUG???????? paul_pinault
2000-11-09  3:05 ` AS-BUG???????? Sobhy Gad
2000-11-09  3:16   ` AS-BUG???????? Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).