[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/16690] New: BFD: b-qoriq_core_1/app.elf: section `.data' c
From: |
address@hidden |
Subject: |
[Bug binutils/16690] New: BFD: b-qoriq_core_1/app.elf: section `.data' can't be allocated in segment 2 |
Date: |
Tue, 11 Mar 2014 15:03:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16690
Bug ID: 16690
Summary: BFD: b-qoriq_core_1/app.elf: section `.data' can't be
allocated in segment 2
Product: binutils
Version: 2.25 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: address@hidden
Created attachment 7463
--> https://sourceware.org/bugzilla/attachment.cgi?id=7463&action=edit
Evil ELF file.
I have an ELF file that looks ok to me, but I cannot strip it:
powerpc-rtems4.11-objcopy -S app.exe app.elf
BFD: app.elf: section `.data' can't be allocated in segment 2
LOAD: .data .sdata .sbss .bss .rwextra .work
BFD: app.elf: section `.sdata' can't be allocated in segment 2
LOAD: .data .sdata .sbss .bss .rwextra .work
BFD: app.elf: section `.sbss' can't be allocated in segment 2
LOAD: .data .sdata .sbss .bss .rwextra .work
BFD: app.elf: section `.bss' can't be allocated in segment 2
LOAD: .data .sdata .sbss .bss .rwextra .work
BFD: app.elf: section `.rwextra' can't be allocated in segment 2
LOAD: .data .sdata .sbss .bss .rwextra .work
BFD: app.elf: section `.work' can't be allocated in segment 2
LOAD: .data .sdata .sbss .bss .rwextra .work
readelf -l app.exe
Elf file type is EXEC (Executable file)
Entry point 0x4000000
There are 3 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x0000a0 0x04000000 0x04000000 0x753dc 0x1000000 RWE 0x20
LOAD 0x075480 0x05000000 0x05000000 0x0cdcc 0x1000000 RW 0x8
LOAD 0x082260 0x06000000 0x06000000 0x01fbc 0x2000000 RW 0x20
Section to Segment mapping:
Segment Sections...
00 .start .text .init .fini .robarrier
01 .rodata .eh_frame .ctors .dtors .jcr .got2 .rtemsroset .rwbarrier
02 .data .sdata .sbss .bss .rwextra .work
readelf -l app.elf
Elf file type is EXEC (Executable file)
Entry point 0x4000000
There are 3 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x0000a0 0x04000000 0x04000000 0x753dc 0x1000000 RWE 0x20
LOAD 0x075480 0x05000000 0x05000000 0x0cdcc 0x1000000 RW 0x8
LOAD 0x08225c 0x07fff51c 0x06000000 0x01fbc 0x2000000 RW 0x20
Section to Segment mapping:
Segment Sections...
00 .start .text .init .fini .robarrier
01 .rodata .eh_frame .ctors .dtors .jcr .got2 .rtemsroset .rwbarrier
02
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/16690] New: BFD: b-qoriq_core_1/app.elf: section `.data' can't be allocated in segment 2,
address@hidden <=