mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Update elf-objfmt.c (#148)
This commit is contained in:
parent
ce56a6f924
commit
0799f381d5
1 changed files with 4 additions and 0 deletions
|
|
@ -1077,6 +1077,10 @@ elf_objfmt_section_switch(yasm_object *object, yasm_valparamhead *valparams,
|
|||
align = 0;
|
||||
data.type = SHT_PROGBITS;
|
||||
data.flags = 0;
|
||||
} else if (strcmp(sectname, ".note.gnu.property") == 0) {
|
||||
align = 8;
|
||||
data.type = SHT_NOTE;
|
||||
data.flags = 0;
|
||||
} else {
|
||||
/* Default to code */
|
||||
align = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue