[uClinux-dev] file(1) bflt entry

David McCullough davidm at snapgear.com
Wed Mar 26 06:07:28 EST 2003


Hi Philippe,

You might want to add some of the other fields that are output by flthdr ?
Relocs,  Entry point ...

Not sure if that much detail fits with the file way of doing things
though :-),

Cheers,
Davidm

Jivin Philippe De Muyter lays it down ...
> I would like to submit to the file(1) maintainer an entry for the bflt
> file format.
> 
> Here is my proposal for public review :
> 
> #------------------------------------------------------------------------------
> # bFLT: file(1) magic for BFLT uclinux binary files
> #
> # From Philippe De Muyter <phdm at macqel.be>
> #
> 0       string          bFLT            BFLT executable
> >4      belong          x               - version %ld,
> >4      belong          4
> >>68    belong          0x4e714e71      m68k,
> # I do not know what the other magic values and platforms are (arm e.g.)
> >>36    belong&0x1      0x1             ram
> >>36    belong&0x2      0x2             gotpic
> >>36    belong&0x4      0x4             gzip
> >>36    belong&0x8      0x8             gzdata
> 
> To test it, put that at the end of your /etc/magic file, compile it if needed
> using file -C, and then issue
> 
> 	file yourfile
> 
> where yourfile is a bflt-format file.
> 
> Feedback is welcome
> 
> Philippe
> 
> Philippe De Muyter  phdm at macqel.be  Tel +32 27029044
> Macq Electronique SA  rue de l'Aeronef 2  B-1140 Bruxelles  Fax +32 27029077
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security



More information about the uClinux-dev mailing list