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

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