NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/52564: current ofwboot.xcf crashes because of .eh_frame* in .text
The following reply was made to PR port-macppc/52564; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-macppc/52564: current ofwboot.xcf crashes because of
.eh_frame* in .text
Date: Mon, 2 Oct 2017 05:43:18 +0300
On -7 there is .eh_frame, but if I apply my changes from current to
suppress it, I get ELF:
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000eef0 00e00000 00e00000 00000060 2**4
CONTENTS, ALLOC, LOAD, CODE
1 .data 0000024e 00e0f000 00e0f000 0000f060 2**3
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00002750 00e0f250 00e0f250 0000f2ae 2**3
ALLOC
converted to COFF:
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000eef0 00e00000 00e00000 00000130 2**3
CONTENTS, ALLOC, LOAD, CODE
1 .data 00000250 00e0f000 00e0f000 0000f020 2**3
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00002750 00e0f250 00e0f250 00000000 2**3
ALLOC
On current objcopy seems to force extra alignment/padding now, so ELF
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000f6dc 00e00000 00e00000 00000060 2**4
CONTENTS, ALLOC, LOAD, CODE
1 .data 00000256 00e10000 00e10000 00010060 2**3
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00002750 00e10258 00e10258 000102b6 2**3
ALLOC
becomes COFF
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000f6e0 00e00000 00e00000 00001000 2**3
CONTENTS, ALLOC, LOAD, CODE
1 .pad 00000920 00e0f6dc 00e0f6dc 000106e0 2**3
CONTENTS
2 .data 00000258 00e10000 00e10000 00011000 2**3
CONTENTS, ALLOC, LOAD, DATA
3 .bss 00002750 00e10258 00e10258 00000000 2**3
ALLOC
-uwe
Home |
Main Index |
Thread Index |
Old Index