[M16C-ELF] : S-REC file generated by ObjCopy is greater than input file (*.x or *.out)
Prafulla Thakare
PrafullaT@KPITCummins.com
Thu Dec 22 09:29:00 GMT 2005
More information about the Binutils mailing list
Thu Dec 22 09:29:00 GMT 2005
- Previous message (by thread): [binutils-or32 1/7] bfd: fix partial_inplace,
- Next message (by thread): [M16C-ELF] : S-REC file generated by ObjCopy is greater than input file (*.x or *.out)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
We have downloaded the latest FSF sources for GCC and binutils for M16C
port.
We could successfully build the cross toolchain i.e. m32c-elf-*.
However, we are facing a strange problem while using binary utility
"m32c-elf-objcopy". The file size for S-REC file generated using objcopy
is
greater than the input file size.
Following are the commands used,
#m32c-elf-gcc foo.c -o my.x -mcpu=m16c -msim -g
Output File -> my.x {Size = 114KB}
#m32c-elf-objcopy -O srec my.x big.mot
Output File -> big.mot {Size = 227KB}
We are using binutils snapshot dated 21st December 2005,
"GNU objcopy 051221 20051221".
What could be the reason for above behavior?
Is it a bug with objcopy?
We have these observations with default linker script as well as custom
linker script.
Thanks in advance.
Regards,
Prafulla Thakare
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on October 12, 2005.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Previous message (by thread): [binutils-or32 1/7] bfd: fix partial_inplace,
- Next message (by thread): [M16C-ELF] : S-REC file generated by ObjCopy is greater than input file (*.x or *.out)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list