This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gold: Properly align the NT_GNU_PROPERTY_TYPE_0 note


On 08/16/2018 07:46 PM, H.J. Lu wrote:
+  // The NT_GNU_PROPERTY_TYPE_0 note conforms to gABI.
+  const int align_size
+    = ((note_type == elfcpp::NT_GNU_PROPERTY_TYPE_0)
+       ? parameters->target().get_size()
+       : size);

Shouldn't the segment alignment be the same as the section alignment?

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]