Subject: pkg/33723: file command doesn't show 'executable' for statically linked sun3 exec
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 06/13/2006 20:50:01
>Synopsis: file command doesn't show 'executable' for statically linked sun3 exec
>Arrival-Date: Tue Jun 13 20:50:00 +0000 2006
>Originator: Arthur Townsend
NetBSD 3.0 NetBSD 3.0 (WITHSUNOS) #0: Mon Jun 12 22:40:11 EDT 2006 root@:/usr/src/sys/arch/sun3/compile/WITHSUNOS sun3
When doing a 'file' on a sun3 dynamically linked executable, both SunOS NetBSD report the same thing: mc68020 demand paged dynamically linked executable not stripped.
But when doing a 'file' on a sun3 statically linked executable, NetBSD does not document that the file is 'executable'. NetBSD shows: mc68020 demand paged not stripped, while SunOS shows: mc68020 demand paged executable not stripped". Although its a pretty good hint that the file is an exectuble, being that NetBSD shows "mc68020", I believe that the magic file could be improved by having it say "mc68020 executable" or such for statically linked executables.
Create statically linked executable under Sun3 SunOS 4.1.1, then copy to any NetBSD system.
Update the magic file to change "mc68020" to "mc68020 executable" and change "dynamically linked executable" to "dynamically linked".