public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* ASM for symbol references
@ 2001-10-07  5:42 Casper Hornstrup
  2001-10-14  7:52 ` Joern Rennecke
  0 siblings, 1 reply; 3+ messages in thread
From: Casper Hornstrup @ 2001-10-07  5:42 UTC (permalink / raw)
  To: gcc

Hi all.

I'm trying to get gcc to output assembler code for a table with references to 
code segments. I just can't seem to find the right functions to use to output 
the assembler code for (.long <label>). Can someone help?

The assembler code should be similar to the following:

.globl _MYTABLE
	.data
_MYTABLE:
	.long	L1
	.long	L2
	.text
L1:
	...
L2:
	...

Btw. is .long 64-bit compatible?

Casper Hornstrup

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

* Re: ASM for symbol references
  2001-10-07  5:42 ASM for symbol references Casper Hornstrup
@ 2001-10-14  7:52 ` Joern Rennecke
  2001-10-14  8:07   ` Joseph S. Myers
  0 siblings, 1 reply; 3+ messages in thread
From: Joern Rennecke @ 2001-10-14  7:52 UTC (permalink / raw)
  To: Casper Hornstrup; +Cc: gcc

> I'm trying to get gcc to output assembler code for a table with references to 
> code segments. I just can't seem to find the right functions to use to output 
> the assembler code for (.long <label>). Can someone help?

Hmmm, it appears we are missing documentation for ASM_LONG and friends.

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

* Re: ASM for symbol references
  2001-10-14  7:52 ` Joern Rennecke
@ 2001-10-14  8:07   ` Joseph S. Myers
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph S. Myers @ 2001-10-14  8:07 UTC (permalink / raw)
  To: Joern Rennecke; +Cc: Casper Hornstrup, gcc

On Sun, 14 Oct 2001, Joern Rennecke wrote:

> > I'm trying to get gcc to output assembler code for a table with references to 
> > code segments. I just can't seem to find the right functions to use to output 
> > the assembler code for (.long <label>). Can someone help?
> 
> Hmmm, it appears we are missing documentation for ASM_LONG and friends.

As noted in <URL: http://gcc.gnu.org/ml/gcc/2001-06/msg00507.html >.  I'll
repeat my call that we implement Phil Edwards's suggestion
<URL: http://gcc.gnu.org/ml/gcc/2001-05/msg00612.html > of a total freeze on
code until the documentation is brought up to date and my volunteering
<URL: http://gcc.gnu.org/ml/gcc/2001-07/msg00550.html > to maintain the
details of what needs documenting during the freeze.

-- 
Joseph S. Myers
jsm28@cam.ac.uk

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

end of thread, other threads:[~2001-10-14  8:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-07  5:42 ASM for symbol references Casper Hornstrup
2001-10-14  7:52 ` Joern Rennecke
2001-10-14  8:07   ` Joseph S. Myers

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).