mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
outlib: fix infinite recursion due to incorrect wrapping
recursion: see recursion. A wrapper function needs to call the function being wrapped, not itself. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
1939b69fdf
commit
1b50fec496
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ static inline uint64_t ol_nsects(void)
|
|||
extern int32_t _ol_new_subsection(struct ol_sect *sect);
|
||||
static inline int32_t ol_new_subsection(O_Section *sect)
|
||||
{
|
||||
return ol_new_subsection((struct ol_sect *)sect);
|
||||
return _ol_new_subsection((struct ol_sect *)sect);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue