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

2019-08-27 Thread profclonk at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: profclonk at gmail dot com Target Milestone: --- Created attachment 11965 --> https://sourceware.org/bugzilla/attachment.cgi?id=11965&action=edit Patch for adding --set-section-alignmen

[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 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-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-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&action=edit Patch for specifying powers of two instead of exponents Okay, here is a patch for specifying the alignm