GNU Info

Info Node: (nasm.info)Section 6.5.5

(nasm.info)Section 6.5.5


Next: Section 6.6 Prev: Section 6.5.4 Up: Section 6.5
Enter node , (file) or (file)node

6.5.5. 16-bit code and ELF
--------------------------

   The `ELF32' specification doesn't provide relocations for 8- and 16-
bit values, but the GNU `ld' linker adds these as an extension. NASM
can generate GNU-compatible relocations, to allow 16-bit code to be
linked as ELF using GNU `ld'. If NASM is used with the
`-w+gnu-elf-extensions' option, a warning is issued when one of these
relocations is generated.


automatically generated by info2www version 1.2.2.9