flat assembler
Message board for the users of flat assembler.
Index
> Linux > A problem (SegFault) |
Author |
|
Patrick_ 13 Mar 2006, 23:51
Anyone? I keep getting Segmentation Faults if I use "format ELF", but don't if I use "format ELF executable"... however, with the "executable", I can't use sections like '.bss'... how would I do this?
|
|||
13 Mar 2006, 23:51 |
|
okasvi 14 Mar 2006, 00:38
Patrick_ wrote: Anyone? I keep getting Segmentation Faults if I use "format ELF", but don't if I use "format ELF executable"... however, with the "executable", I can't use sections like '.bss'... how would I do this? im just guessing here, you cant name the section with 'format ELF executable', but without you can and maybe section names are for linkers... just guessing... anyway, why do you have(want) to assign name for the section? _________________ When We Ride On Our Enemies support reverse smileys |: |
|||
14 Mar 2006, 00:38 |
|
Tomasz Grysztar 14 Mar 2006, 08:10
The SECTION directive is kept in "format ELF executable" only for backward compatiblity - i the latest manual and examples you can notice it's a SEGMENT directive used istead it. It was done to reduce the confusion between ELF's sections (for the linker purpose) and the run-time segments.
|
|||
14 Mar 2006, 08:10 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.