Jeremy Fitzhardinge <jeremy at goop.org> writes: > Eric W. Biederman wrote: >> Reasonable and it's probably worth letting the binutils developer know. >> I do agree that it is weird. It might be that something in binutils >> doesn't like us dropping some of the notes. >> > > What do you mean by "dropping some of the notes"? I think the only > notes (at least in this case) are the Xen ones, and they're all included. I'm pretty certain we explicitly drop the weird GNU note that is automatically generated by gcc and specifies something informational. Basically into .note we include *(.note.*) but not *(.note). I don't think anything we are doing is wrong but ld gets confused easily in the corner cases. I'm modestly surprised we didn't have to mark our .note.xxx scions as ".section .note.xxx @note" or whatever the proper gas syntax is. Eric