[Top][All Lists]

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

[Bug binutils/23947] objcopy refuses to copy !(SEC_LOAD|SEC_ALLOC) secti

From: ppluzhnikov at google dot com
Subject: [Bug binutils/23947] objcopy refuses to copy !(SEC_LOAD|SEC_ALLOC) sections
Date: Thu, 20 Feb 2020 16:10:07 +0000


--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
A similar bug showed up here: https://stackoverflow.com/a/60322580

$ echo "void zork() {}" | gcc -xc - -c -o foo.o
$ readelf -x.strtab foo.o

Hex dump of section '.strtab':
  0x00000000 007a6f72 6b00                       .zork.

# Using current trunk:

$ objdump -sj.strtab foo.o

foo.o:     file format elf64-x86-64

/build/binutils/objdump: section '.strtab' mentioned in a -j option, but not
found in any input file

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]