binary to elf conversion
Mike Frysinger
vapier@gentoo.org
Sun Aug 19 17:10:00 GMT 2007
More information about the Binutils mailing list
Sun Aug 19 17:10:00 GMT 2007
- Previous message (by thread): binary to elf conversion
- Next message (by thread): binary to elf conversion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 17 August 2007, Maciej W. Rozycki wrote: > On Thu, 16 Aug 2007, Mike Frysinger wrote: > > > Why doesn't it default to the default architecture binutils was > > > built for? > > > > i think a similar question was posed for default -EB/-EL selection and > > the answer was no one really cared enough to fix it ;) > > One issue is for some architectures you cannot set some ELF file header > flags that may be needed for some uses of the resulting object file. For > example for MIPS/Linux you cannot set the PIC flag which makes the file > less that useful if you want it to become a part of userland binary. A > better solution these days is often to use `gas' (through the `gcc' driver > and hence accepting all the usual target-specific and less so object > generation options) and its .incbin directive instead... i'd say this is to be expected ... the binary only contains so much information so the resulting ELF is only as useful as what the binary contains and what you give it in other words, i dont think this sort of thing is enough to say the default behavior of objcopy should remain the same -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 827 bytes Desc: This is a digitally signed message part. URL: <https://sourceware.org/pipermail/binutils/attachments/20070819/2bb1cd67/attachment.sig>
- Previous message (by thread): binary to elf conversion
- Next message (by thread): binary to elf conversion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list