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: scole_mail <scole_mail%gmx.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-macppc/52564: current ofwboot.xcf crashes because of .eh_frame* in .text
Date: Sun, 01 Oct 2017 09:27:51 -0700
Valery Ushakov <uwe%stderr.spb.ru@localhost> writes:
>
> My uneducated guess is that this has nothing to do with .eh_frame
>
> The .eh_frame just makes .text section not padded up artificially and
> absorbs that padding instead.
>
> Please, can you try this patch? Compile tested only and more of a
> shot in the dark.
>
That patch worked fine for me, had the same size .xcf as 4), and had
these sections:
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000f7b0 00e00000 00e00000 00001000 2**3
CONTENTS, ALLOC, LOAD, CODE
1 .pad 00000850 00e0f7b0 00e0f7b0 000107b0 2**3
CONTENTS
2 .data 00000258 00e10000 00e10000 00011000 2**3
CONTENTS, ALLOC, LOAD, DATA
3 .bss 00002750 00e10258 00e10258 00000000 2**3
ALLOC
I'm not understanding how the padding works, but if you want the fixed
checked in and PR closed I'm fine with it.
Thanks
Home |
Main Index |
Thread Index |
Old Index