[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/link: Don't merge .init.text and .init.data



>>> On 26.02.18 at 20:01, <andrew.cooper3@xxxxxxxxxx> wrote:
>> Putting all init-time code and data in a single section is a perfectly
>> valid thing to do imo.
> 
> Having our debug symbols borderline unusable, isn't valid.
> 
> Certainly not to work around what you yourself identify as a theoretical
> issue in the first place.

I wonder what theoretical issue you refer to here. I didn't say
anything like that on this thread afaics, nor in the description
of the patch that you want to partly undo. EFI implementations
write-protecting r/o sections is not just a theoretical issue afaict.

> Other option would be to #ifdef the section handing based on EFI, or
> attempt to merge the sections with objcopy before passing mkreloc?

Well, as much as I dislike such #ifdef-ary, I think I could (rather
hesitantly) accept that.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.