This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch/committed]: Explain PEF and XSYM files
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Thu, 19 Jan 2012 12:45:14 +0100
- Subject: [Patch/committed]: Explain PEF and XSYM files
Hi,
I am committing this patch that explains (in a few words) what are the PEF and XSYM files.
Just in case (like me) you were/are wondering.
I haven't found any pointers to the now mysterious per xlib format.
Tristan.
bfd/
2012-01-19 Tristan Gingold <gingold@adacore.com>
* pef.c: Add a comment.
* xsym.c: Likewise.
Index: pef.c
===================================================================
RCS file: /cvs/src/src/bfd/pef.c,v
retrieving revision 1.33
diff -c -r1.33 pef.c
*** pef.c 11 Jul 2011 15:03:07 -0000 1.33
--- pef.c 19 Jan 2012 11:41:44 -0000
***************
*** 19,24 ****
--- 19,28 ----
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+ /* PEF (Preferred Executable Format) is the binary file format for late
+ classic Mac OS versions (before Darwin). It is supported by both m68k
+ and PowerPc. It is also called CFM (Code Fragment Manager). */
+
#include "sysdep.h"
#include "safe-ctype.h"
#include "pef.h"
Index: xsym.c
===================================================================
RCS file: /cvs/src/src/bfd/xsym.c,v
retrieving revision 1.30
diff -c -r1.30 xsym.c
*** xsym.c 11 Jul 2011 15:03:07 -0000 1.30
--- xsym.c 19 Jan 2012 11:41:45 -0000
***************
*** 19,24 ****
--- 19,26 ----
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+ /* xSYM is the debugging format used by CodeWarrior on Mac OS classic. */
+
#include "alloca-conf.h"
#include "sysdep.h"
#include "xsym.h"