GCC for PowerPC does not align .note sections to 4 bytes. When
running ctfmerge on its objects, libelf asserts as it expects .note sections to be 4-byte aligned. Change that expectation. Approved by: jkoshy@ Obtained from: Juniper Networks, Inc.
This commit is contained in:
parent
11888da8d9
commit
5da7d44acb
@ -109,7 +109,7 @@ static struct align falign[ELF_T_NUM] = {
|
||||
[ELF_T_LWORD] = FALIGN(8,8),
|
||||
[ELF_T_MOVE] = FALIGN(8,8),
|
||||
[ELF_T_MOVEP] = UNSUPPORTED(),
|
||||
[ELF_T_NOTE] = FALIGN(4,4),
|
||||
[ELF_T_NOTE] = FALIGN(1,1),
|
||||
[ELF_T_OFF] = FALIGN(4,8),
|
||||
[ELF_T_PHDR] = FALIGN(4,8),
|
||||
[ELF_T_REL] = FALIGN(4,8),
|
||||
|
Loading…
x
Reference in New Issue
Block a user