This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ASM for symbol references
- To: gcc at gcc dot gnu dot org
- Subject: ASM for symbol references
- From: Casper Hornstrup <chorns at users dot sourceforge dot net>
- Date: Sun, 7 Oct 2001 14:40:48 +0200
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