http://sourceware.org/bugzilla/show_bug.cgi?id=12516
Summary: BFD: The first section in the PT_DYNAMIC segment is
not the .dynamic section
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ cat dynamic.s
.section .data1,"aw"
.balign 16
$ cat dynamic.ld
SECTIONS
{
. = SIZEOF_HEADERS;
.text : { *(.text) }
.data : { *(.data) }
.data1 : { KEEP (*(.data1)) }
.dynamic : { *(.dynamic) }
}
$ gcc -c dynamic.s
$ ld -shared -T dynamic.ld dynamic.o
$ objcopy -S a.out b.out
BFD: b.out: The first section in the PT_DYNAMIC segment is not the .dynamic
section
objcopy:b.out[.dynsym]: Bad value
BFD: b.out: The first section in the PT_DYNAMIC segment is not the .dynamic
section
objcopy:b.out: Bad value
--
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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils