aboutsummaryrefslogtreecommitdiff
path: root/binutils/NEWS
diff options
context:
space:
mode:
authorNiklas G?rtler <profclonk@gmail.com>2019-08-28 12:33:41 +0100
committerNick Clifton <nickc@redhat.com>2019-08-28 12:33:41 +0100
commitfa463e9fc644e7a3bad39aa73bf6be72ea865805 (patch)
tree8cf65d7b31acaa739e104787a35dcf7022d3cc9f /binutils/NEWS
parenta1c110a3fe02f5cb8de18137f6615005288e849e (diff)
downloadgdb-fa463e9fc644e7a3bad39aa73bf6be72ea865805.zip
gdb-fa463e9fc644e7a3bad39aa73bf6be72ea865805.tar.gz
gdb-fa463e9fc644e7a3bad39aa73bf6be72ea865805.tar.bz2
Add an option to objcopy to change the alignment of sections.
PR 24942 * objcopy.c (SECTION_CONTEXT_SET_ALIGNMENT): New constant. (struct section_list): Add alignment field. (command_line_switch): Add OPTION_SET_SECTION_ALIGNMENT. (copy_options): Add --set-section-alignment. (copy_usage): Describe --set-section-alignment. (find_section_list): Initialise the alignment field. (setup_section): Handle the alignment field. (copy_main): Handle OPTION_SET_SECTION_ALIGNMENT. * doc/binutils.texi: Document the new feature. * NEWS: Mention the new feature.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r--binutils/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS
index c6c4e29..349af31 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -2,6 +2,9 @@
* Add --source-comment[=<txt>] option to objdump which if present,
provides a prefix to source code lines displayed in a disassembly.
+* Add --set-section-alignment <section-name>=<align> option to objcopy to allow
+ the changing of section alignments.
+
* Add --verilog-data-width option to objcopy for verilog targets to control
width of data elements in verilog hex format.