[binutils-gdb] ld: Move "-O 0" option to binutils 2.47 section

H.J. Lu hjl@sourceware.org
Thu Apr 16 01:47:07 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c51032987a85195602d23366aa45b3a34d3a420d

commit c51032987a85195602d23366aa45b3a34d3a420d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 16 09:43:46 2026 +0800

    ld: Move "-O 0" option to binutils 2.47 section
    
    Since "-O 0" option is added to binutils 2.47, move it to binutils 2.47
    section.
    
            * NEWS: Move "-O 0" option to binutils 2.47 section.
    
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

Diff:
---
 ld/NEWS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/NEWS b/ld/NEWS
index aa7a9251821..2de87ae227c 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -1,12 +1,12 @@
 -*- text -*-
 
+Changes in 2.47:
+
 * Add a linker optimization level of zero.  Using "-O 0" on the linker command
   line will stop it from combining the contents of mergeable sections.  This
   can significantly speed up the link process at the cost of producing larger
   binaries.
 
-Changes in 2.47:
-
 * Add linker support for --start-lib/--end-lib options and LIB linker script
   statement for treating a list of object files as members of an artificial
   archive.


More information about the Binutils-cvs mailing list