http://sourceware.org/bugzilla/show_bug.cgi?id=12950

           Summary: unnecessary warning for .iplt section for statically
                    linked program
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ld
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: david.me...@icron.com


I'm building for a 32bit sparc target with no support for dynamic linking, and
I use my own linker script file, which only contain the basic sections: .text,
.rodata, .stack, .bss, & .data

When I switched from binutils 2.20.1 to 2.21.1, I now get the warning "changing
start of section .iplt by 3 bytes".  This only happens when I use the argument
--warn-section-align.  I have no .iplt section in any source object file, or
specified in my linker script, so I wouldn't expect the linker to output any
warning messages.

I can make the warning go away by adding an .iplt section to my linker script,
but this shouldn't be necessary.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to