[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-11-28 Thread bisa25018 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 Isa Bella changed: What|Removed |Added CC||bisa25018 at gmail dot com --- Comment

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-10-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #16 from Nick Clifton --- Created attachment 12014 --> https://sourceware.org/bugzilla/attachment.cgi?id=12014=edit Another patch Hi Guys, Sorry for dropping the ball on this one. I have now applied a slight variation on

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-10-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #15 from cvs-commit at gcc dot gnu.org --- The binutils-2_33-branch branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=146a3bb9cc78c459e63c23259d766b01c32df705 commit

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-10-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #14 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=de4859eacb74a440d9fd61e4a0f051e3737a05dd commit

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-10-02 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #13 from Fangrui Song --- Ping:) FWIW, I have a patch to implement --set-section-alignment in llvm-objcopy https://reviews.llvm.org/D67656 . I don't want to cause gratuitous differences from GNU objcopy, so I haven't committed

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-25 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #12 from Fangrui Song --- > Created attachment 12002 [details] if (palign <= 0 || palign & (palign-1)) can be used to simplify the code. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-24 Thread profclonk at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #11 from Niklas Gürtler --- Created attachment 12002 --> https://sourceware.org/bugzilla/attachment.cgi?id=12002=edit Patch for specifying powers of two instead of exponents Okay, here is a patch for specifying the alignment as

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-24 Thread jh7370 at my dot bristol.ac.uk
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 James Henderson changed: What|Removed |Added CC||jh7370 at my dot bristol.ac.uk ---

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-23 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #9 from Fangrui Song --- I don't require the support for non power-of-2 alignment. I just want to say --set-section-alignment .foo=8 => sh_addralign=256 is counterintuitive. It is not what readelf -S displays. (objdump -h

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-17 Thread profclonk at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #8 from Niklas Gürtler --- I think not all BFD targets support arbitrary alignment, some may only support powers of 2. The internal representation in the BFD library stores only the exponent, so there would have to be a conversion

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-17 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #7 from Fangrui Song --- In addition, have you thought about its interaction with --rename-section? Which command should I use: objcopy --rename-section=.foo=.foo2 --set-section-alignment .foo=8 a.o b.o or objcopy

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-09-17 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 Fangrui Song changed: What|Removed |Added CC||maskray at google dot com --- Comment

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-08-28 Thread profclonk at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #5 from Niklas Gürtler --- Hi Nick, awesome, thank you! Now just to wait for the release... :) Have a nice day, Niklas -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-08-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-08-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa463e9fc644e7a3bad39aa73bf6be72ea865805 commit

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-08-28 Thread profclonk at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 --- Comment #2 from Niklas Gürtler --- Hi Nick, I knew about "incbin" but needing an (additional) assembly file seems somewhat clunky. There are even more possibilities: Putting each converted .o file into its own section, and aligning those

[Bug binutils/24942] objcopy: Add option for setting section alignment

2019-08-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24942 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment