bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25570] New: [ld] Duplicate "warning: changing start of section"


From: i at maskray dot me
Subject: [Bug ld/25570] New: [ld] Duplicate "warning: changing start of section"
Date: Mon, 17 Feb 2020 22:53:35 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25570

            Bug ID: 25570
           Summary: [ld] Duplicate "warning: changing start of section"
           Product: binutils
           Version: 2.35 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: i at maskray dot me
  Target Milestone: ---

cat > a.x <<e
 SECTIONS {
  .text 0x1000 : {}
  .data.rel.ro . : ALIGN(16) {}
  .data 0x2000 : {}
  .bss . : ALIGN(16) {}
 }
e
cat > a.s <<e
 .globl _start; _start: ret
 .section .data.rel.ro; .balign 16; .byte 0
 .section .data; .balign 32; .byte 0
 .section .bss; .byte 0
e

as a.s -o a.o
ld.bfd -T a.x a.o

ld.bfd: warning: changing start of section .data.rel.ro by 15 bytes
ld.bfd: warning: changing start of section .bss by 15 bytes
ld.bfd: warning: changing start of section .data.rel.ro by 15 bytes
ld.bfd: warning: changing start of section .bss by 15 bytes

ld/ldlang.c:lang_size_sections_1 runs multiple times. lang_size_sections_1
should record the changed sections. When the addresses are finalized, print the
warnings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]