From: K. Richard Pixley Date: Thu, 4 Apr 1991 18:19:55 +0000 (+0000) Subject: new gas main line X-Git-Tag: gdb-4_18~2895^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb4edf5df2ec5960a3b7ad76f5be23ddd7278516;p=platform%2Fupstream%2Fbinutils.git new gas main line --- diff --git a/gas/config/obj-generic.c b/gas/config/obj-generic.c new file mode 100644 index 0000000..86eac73 --- /dev/null +++ b/gas/config/obj-generic.c @@ -0,0 +1,27 @@ +/* + * This file is obj-generic.c and is intended to be a template for + * object format specific source files. + * + * Last Mod Thu Jan 3 19:30:50 PST 1991, by rich@sendai + */ + +/* Chars that can be used to separate mant from exp in floating point nums */ +char EXP_CHARS[] = "eE"; + +/* Chars that mean this number is a floating point constant */ +/* As in 0f12.456 */ +/* or 0d1.2345e12 */ +char FLT_CHARS[] = "rRsSfFdDxXpP"; + +/* These chars start a comment anywhere in a source file (except inside + another comment */ +const char comment_chars[] = "#"; + +/* + * Local Variables: + * comment-column: 0 + * fill-column: 131 + * End: + */ + +/* end of obj-generic.c */ diff --git a/gas/config/obj-generic.h b/gas/config/obj-generic.h new file mode 100644 index 0000000..d9e03dc --- /dev/null +++ b/gas/config/obj-generic.h @@ -0,0 +1,61 @@ +/* + * This file is obj-generic.h and is intended to be a template for + * object format specific header files. + */ + + /* define an obj specific macro off which target cpu back ends may key. */ +#define OBJ_GENERIC 1 + + /* include whatever target cpu is appropriate. */ +#include "targ-cpu.h" + +/* + * SYMBOLS + */ + +/* + * If your object format needs to reorder symbols, define this. When + * defined, symbols are kept on a doubly linked list and functions are + * made available for push, insert, append, and delete. If not defined, + * symbols are kept on a singly linked list, only the append and clear + * facilities are available, and they are macros. + */ + + /* #define SYMBOLS_NEED_PACKPOINTERS */ + + /* */ +typedef struct { + void *nothing; +} obj_symbol_type; /* should be the format's symbol structure */ + +typedef void *object_headers; + + /* symbols have names */ +#define S_GET_NAME(s) ("foo") /* get the name of a symbolP */ +#define S_SET_NAME(s,v) ; + /* symbols have segments */ +#define S_GET_SEGMENT(s) (SEG_UNKNOWN) +#define S_SET_SEGMENT(s,v) ; + /* symbols have a value */ +#define S_GET_VALUE(s) (0) +#define S_SET_VALUE(s,v) ; + /* symbols may be external */ +#define S_IS_EXTERNAL(s) (0) +#define S_SET_EXTERNAL(s) ; + + /* symbols may or may not be defined */ +#define S_IS_DEFINED(s) (0) + + +#define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (0) /* your magic number */ + +#define OBJ_EMIT_LINENO(a,b,c) /* must be *something*. This no-op's it out. */ + +/* + * Local Variables: + * comment-column: 0 + * fill-column: 131 + * End: + */ + +/* end of obj-generic.h */ diff --git a/gas/config/te-dpx2.h b/gas/config/te-dpx2.h new file mode 100644 index 0000000..00ca020 --- /dev/null +++ b/gas/config/te-dpx2.h @@ -0,0 +1,10 @@ +/* Machine specific defines for the dpx2 machine */ +#define dpx2 +#define TC_M68K + +/* Preserve leading underscore in symbol names. */ +#define STRIP_UNDERSCORE 0 + +/* The magic number is not the usual MC68MAGIC. */ +#define FILE_HEADER_MAGIC MC68KBCSMAGIC + diff --git a/gas/link.cmd b/gas/link.cmd new file mode 100644 index 0000000..a035ca8 --- /dev/null +++ b/gas/link.cmd @@ -0,0 +1,10 @@ +ALIGN=1024 +RESNUM 0x0000, 0x8000 +; Putting in .lit1 gives errors. +ORDER .data=0x80002000, .data1, .lit, .bss +; Let's put this on the command line so it goes first, which is what +; GDB expects. +; LOAD /s2/amd/29k/lib/crt0.o +LOAD /s2/amd/29k/lib/libqcb0h.lib +LOAD /s2/amd/29k/lib/libscb0h.lib +LOAD /s2/amd/29k/lib/libacb0h.lib