diff mbox series

x86: drop use of CONSTRUCTORS from linker script

Message ID 1791edb8-030f-1009-c392-ce793baace5a@suse.com (mailing list archive)
State New, archived
Headers show
Series x86: drop use of CONSTRUCTORS from linker script | expand

Commit Message

Jan Beulich March 2, 2022, 2:15 p.m. UTC
Current binutils document this for use by a.out only. Plus we deal with
.ctors and alike sections elsewhere in the script anyway.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Roger Pau Monné March 2, 2022, 2:46 p.m. UTC | #1
On Wed, Mar 02, 2022 at 03:15:29PM +0100, Jan Beulich wrote:
> Current binutils document this for use by a.out only. Plus we deal with
> .ctors and alike sections elsewhere in the script anyway.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Roger Pau Monné <roger.pau@citrix.com>

Thanks, Roger.
diff mbox series

Patch

--- a/xen/arch/x86/xen.lds.S
+++ b/xen/arch/x86/xen.lds.S
@@ -292,7 +292,6 @@  SECTIONS
        *(.data)
        *(.data.rel)
        *(.data.rel.*)
-       CONSTRUCTORS
   } PHDR(text)
 
   DECL_SECTION(.bss) {