diff options
author | cvs2svn <> | 2003-10-14 22:28:30 +0000 |
---|---|---|
committer | cvs2svn <> | 2003-10-14 22:28:30 +0000 |
commit | 2e8953822c8ac277eb9807a0c1d790d787c34821 (patch) | |
tree | c849ca1331632ef94c68d18b7bc17c22871fdf37 /include/elf/m68hc11.h | |
parent | 41fa5e20a48fc3cd64754c03111c849ec6dd9c68 (diff) | |
download | newlib-carlton_dictionary-20021223-merge.zip newlib-carlton_dictionary-20021223-merge.tar.gz newlib-carlton_dictionary-20021223-merge.tar.bz2 |
This commit was manufactured by cvs2svn to create tagcarlton_dictionary-20021223-merge
'carlton_dictionary-20021223-merge'.
Sprout from drow-cplus-branch 2003-10-14 22:28:29 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'drow-cplus-'
Cherrypick from master 2002-12-23 11:53:12 UTC Alan Modra <modra@gmail.com> ' * bfdlink.h (struct bfd_link_info): Add "strip_discarded".':
COPYING.NEWLIB
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
config/ChangeLog
config/mh-cygwin
configure
configure.in
include/ChangeLog
include/ansidecl.h
include/bfdlink.h
include/coff/ChangeLog
include/coff/ecoff.h
include/coff/xcoff.h
include/elf/ChangeLog
include/elf/dwarf2.h
include/elf/internal.h
include/elf/m68hc11.h
include/elf/mmix.h
include/elf/sh.h
include/elf/xstormy16.h
include/getopt.h
include/libiberty.h
include/opcode/ChangeLog
include/opcode/arc.h
include/opcode/cgen.h
include/opcode/h8300.h
include/opcode/hppa.h
include/opcode/i860.h
include/opcode/ia64.h
include/opcode/m88k.h
include/opcode/ns32k.h
include/opcode/pj.h
include/opcode/tic4x.h
include/partition.h
ltcf-c.sh
ltcf-gcj.sh
src-release
Delete:
config/acx.m4
config/gettext.m4
config/mpw-mh-mpw
config/mpw/ChangeLog
config/mpw/MoveIfChange
config/mpw/README
config/mpw/forward-include
config/mpw/g-mpw-make.sed
config/mpw/mpw-touch
config/mpw/mpw-true
config/mpw/null-command
config/mpw/open-brace
config/mpw/tr-7to8-src
config/mpw/true
config/no-executables.m4
config/progtest.m4
include/elf/iq2000.h
include/elf/msp430.h
include/elf/ppc64.h
include/elf/xtensa.h
include/gdb/fileio.h
include/opcode/msp430.h
include/xtensa-config.h
include/xtensa-isa-internal.h
include/xtensa-isa.h
Diffstat (limited to 'include/elf/m68hc11.h')
-rw-r--r-- | include/elf/m68hc11.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/elf/m68hc11.h b/include/elf/m68hc11.h index c4ef37d..1902f7f 100644 --- a/include/elf/m68hc11.h +++ b/include/elf/m68hc11.h @@ -64,6 +64,24 @@ END_RELOC_NUMBERS (R_M68HC11_max) /* Uses 68HC12 memory banks. */ #define E_M68HC12_BANKS 0x000000004 +#define EF_M68HC11_MACH_MASK 0xF0 +#define EF_M68HC11_GENERIC 0x00 /* Generic 68HC12/backward compatibility. */ +#define EF_M68HC12_MACH 0x10 /* 68HC12 microcontroller. */ +#define EF_M68HCS12_MACH 0x20 /* 68HCS12 microcontroller. */ +#define EF_M68HC11_MACH(mach) ((mach) & EF_M68HC11_MACH_MASK) + +/* True if we can merge machines. A generic HC12 can work on any proc + but once we have specific code, merge is not possible. */ +#define EF_M68HC11_CAN_MERGE_MACH(mach1, mach2) \ + ((EF_M68HC11_MACH (mach1) == EF_M68HC11_MACH (mach2)) \ + || (EF_M68HC11_MACH (mach1) == EF_M68HC11_GENERIC) \ + || (EF_M68HC11_MACH (mach2) == EF_M68HC11_GENERIC)) + +#define EF_M68HC11_MERGE_MACH(mach1, mach2) \ + (((EF_M68HC11_MACH (mach1) == EF_M68HC11_MACH (mach2)) \ + || (EF_M68HC11_MACH (mach1) == EF_M68HC11_GENERIC)) ? \ + EF_M68HC11_MACH (mach2) : EF_M68HC11_MACH (mach1)) + /* Special values for the st_other field in the symbol table. These are used for 68HC12 to identify far functions (must be called with |