From: SourceForge.net <no...@so...> - 2010-03-19 20:34:15
|
Bugs item #2970808, was opened at 2010-03-15 12:10 Message generated for change (Comment added) made by hpa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106208&aid=2970808&group_id=6208 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Assembler Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: unneccesary "one-byte relocation attempted" error Initial Comment: when assembling "db external_symbol" the assembler quits on error, although this is possible, at least when using gnu elf extensions for relocation (and for example "push byte external_symbol" assembles just fine.) Tested with nasm v2.08 on osX Disabling the test at assemble.c:368 seems to work for me and generate working code. ---------------------------------------------------------------------- >Comment By: H. Peter Anvin (hpa) Date: 2010-03-19 13:34 Message: In the case of ELF32, there is no support for generating R_386_8 or R_386_PC8 relocations at the moment. ---------------------------------------------------------------------- Comment By: H. Peter Anvin (hpa) Date: 2010-03-19 13:33 Message: To support the important subcase of relative relocations, we'd also need a new backend atom, OUT_REL1ADR. ---------------------------------------------------------------------- Comment By: H. Peter Anvin (hpa) Date: 2010-03-19 13:31 Message: This is quite a bit more complicated than disabling a test. The backends don't support generate the requisite relocations. ---------------------------------------------------------------------- Comment By: Cyrill Gorcunov (cyrillos) Date: 2010-03-18 10:59 Message: Thanks for report. Will take a look as only get spare time. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106208&aid=2970808&group_id=6208 |