[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/4479] objcopy --only-keep-debug broken
From: |
schwab at suse dot de |
Subject: |
[Bug binutils/4479] objcopy --only-keep-debug broken |
Date: |
9 May 2007 16:55:12 -0000 |
------- Additional Comments From schwab at suse dot de 2007-05-09 17:55 -------
To reproduce the bug (where objcopy.old has the patch for PR4144 reverted):
$ cat hello.c
#include <stdio.h>
int
main (void)
{
printf ("Hello, world!\n");
}
$ gcc -g hello.c -o hello
$ objcopy.old --only-keep-debug hello hello.debug.1
$ objcopy --only-keep-debug hello hello.debug.2
$ diff -u <(readelf -l hello.debug.{1,2})
--- /dev/fd/63 2007-05-09 18:54:19.226345354 +0200
+++ /dev/fd/62 2007-05-09 18:54:19.218345356 +0200
@@ -12,9 +12,9 @@
0x0000000000000000 0x0000000000000018 R 1
[Requesting program interpreter: ]
LOAD 0x0000000000000000 0x4000000000000000 0x4000000000000000
- 0x0000000000000238 0x0000000000000b40 R E 10000
+ 0x0000000000000238 0x000000000000380c R E 10000
LOAD 0x0000000000000b40 0x6000000000000b40 0x6000000000000b40
- 0x0000000000000000 0x00000000000002d0 RW 10000
+ 0x0000000000000000 0x000000000000169c RW 10000
DYNAMIC 0x0000000000000b40 0x6000000000000b68 0x6000000000000b68
0x0000000000000000 0x00000000000001f0 RW 8
NOTE 0x0000000000000238 0x4000000000000250 0x4000000000000250
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4479
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/4479] New: objcopy --only-keep-debug broken, schwab at suse dot de, 2007/05/09
- [Bug binutils/4479] objcopy --only-keep-debug broken,
schwab at suse dot de <=
- [Bug binutils/4479] objcopy --only-keep-debug broken, amodra at bigpond dot net dot au, 2007/05/09
- [Bug binutils/4479] objcopy --only-keep-debug broken, amodra at bigpond dot net dot au, 2007/05/10
- [Bug binutils/4479] objcopy --only-keep-debug broken, amodra at bigpond dot net dot au, 2007/05/10
- [Bug binutils/4479] objcopy --only-keep-debug broken, amodra at bigpond dot net dot au, 2007/05/10
- [Bug binutils/4479] objcopy --only-keep-debug broken, bernhard dot walle at gmx dot de, 2007/05/10
- [Bug binutils/4479] objcopy --only-keep-debug broken, schwab at suse dot de, 2007/05/11
- [Bug binutils/4479] objcopy --only-keep-debug broken, amodra at bigpond dot net dot au, 2007/05/11
- [Bug binutils/4479] objcopy --only-keep-debug broken, schwab at suse dot de, 2007/05/14
- [Bug binutils/4479] objcopy --only-keep-debug broken, schwab at suse dot de, 2007/05/14
- [Bug binutils/4479] objcopy --only-keep-debug broken, hjl at lucon dot org, 2007/05/14