[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29860] New: [2.40 Regression] Can't convert from 64-bit EL
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/29860] New: [2.40 Regression] Can't convert from 64-bit ELF to 32-bit ELF with 32-bit objcopy |
Date: |
Tue, 06 Dec 2022 20:21:49 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29860
Bug ID: 29860
Summary: [2.40 Regression] Can't convert from 64-bit ELF to
32-bit ELF with 32-bit objcopy
Product: binutils
Version: 2.40 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: amodra at gmail dot com
Target Milestone: ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7b5f66a118a6e252a56c472c082a29d39ede68c6
caused
/export/build/gnu/tools-build/binutils-x32/build-x86_64-linux-gnux32/gas/as-new
/export/gnu/import/git/sources/binutils-gdb/binutils/testsuite/binutils-all/dw2-3.S
--compress-debug-sections=zlib-gabi --64 -o tmpdir/dw2-3.o
/export/build/gnu/tools-build/binutils-x32/build-x86_64-linux-gnux32/binutils/objcopy
-O elf32-x86-64 tmpdir/dw2-3.o tmpdir/debug_str.copy.o
readelf -SW tmpdir/debug_str.copy.o
There are 13 section headers, starting at offset 0x2d4:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf
Al
[ 0] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 1] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 2] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 3] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 4] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 5] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 6] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 7] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 8] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[ 9] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[10] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[11] <no-strings> NULL 00000000 000000 000000 00 0 0
0
[12] <no-strings> NULL 00000000 000000 000000 00 0 0
0
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
D (mbind), l (large), p (processor specific)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/29860] New: [2.40 Regression] Can't convert from 64-bit ELF to 32-bit ELF with 32-bit objcopy,
hjl.tools at gmail dot com <=