|
From: | S Akhtar |
Subject: | Bug Report |
Date: | Wed, 6 Jul 2011 08:59:07 +0500 |
1. Version of the Utility: GNU Binutils 2.20.1
2. Patches applied to the source: binutils-2.20.1-rtems4.10-20100826.diff
Patch file is attached for reference
3. Type of machine: Intel Core2Duo
4. Operating system: Ubuntu
5. Operating System Version number: 11.04
6. Compiler and its version: GCC 4.4.5
7. Command arguments to utility to observe the bug:
unhex –o hello.bin hello.hex
While hello.hex was obtained by:
i386-rtems4.10-objcopy –O ihex hello.exe hello.hex
Where, hello.exe has been tested and verified for the correct execution.
No output file is obtained but an error. Whereas an input file hello.hex and hello.exe are attached for review.
8. A patch gcc-core-4.4.5-rtems4.10-20110301.man is applied to the gcc source. The file is attached as well. GCC is configured as:
../gcc-4.4.5/configure --target=i386-rtems4.10 --prefix=/opt/rtems4.10 --with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads --enable-languages=c --with-mpc --with-mpfr
9. A description of error encountered:
Unhex: unknown Intel-hex record type: 0x04
Unhex: line ‘:020000040010EA’::
From file ‘hello.hex’; Unrecognized record type
binutils-2.20.1-rtems4.10-20100826.diff
Description: Text document
gcc-core-4.4.5-rtems4.10-20110301.man
Description: Unix manual page
hello.hex
Description: Text document
unhex-bug.JPG
Description: JPEG image
hello_exe
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |