mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-18 18:50:23 +08:00
BR 3392657: dwarf: leave .debug_frame empty
Until such time that we have a CFI code generator, leave .debug_frame empty. Reported-by: Philip Craig <philipjcraig@gmail.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
7acbaf523c
commit
a6ea1152bc
@ -3439,9 +3439,14 @@ static void dwarf_generate(void)
|
||||
saa_free(plinesrel);
|
||||
|
||||
/* build frame section */
|
||||
framelen = 4;
|
||||
framebuf = pbuf = nasm_malloc(framelen);
|
||||
WRITELONG(pbuf,framelen-4); /* initial length */
|
||||
if (0) {
|
||||
/* This only applies if there is at least one frame defined */
|
||||
framelen = 4;
|
||||
framebuf = pbuf = nasm_malloc(framelen);
|
||||
WRITELONG(pbuf,framelen-4); /* initial length */
|
||||
} else {
|
||||
framelen = 0;
|
||||
}
|
||||
|
||||
/* build loc section */
|
||||
loclen = 16;
|
||||
|
Loading…
x
Reference in New Issue
Block a user