https://sourceware.org/bugzilla/show_bug.cgi?id=24942

Fangrui Song <maskray at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maskray at google dot com

--- Comment #6 from Fangrui Song <maskray at google dot com> ---
+@item --set-section-alignment @var{sectionpattern}=@var{align}
+Set the alignment for any sections matching @var{sectionpattern}.  @var{align}
+specifies the alignment as the exponent for the power of two, i.e. the
+alignment in bytes will be 2^@var{align}.

objcopy -I binary -B i386:x86-64 -O elf64-x86-64 --set-section-alignment
.data=8 a.txt a.o

I would expect the alignment of .data to be 8, instead of 256. Specifying the
exponent for the power of two may be awkward, I hope you can change this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to