18115a4d67
Remove RCS Id string arch/alpha/alpha_linux_process.cc: arch/alpha/alpha_memory.cc: arch/alpha/alpha_memory.hh: arch/alpha/alpha_tru64_process.cc: arch/alpha/aout_machdep.h: arch/alpha/arguments.cc: arch/alpha/arguments.hh: arch/alpha/ecoff_machdep.h: arch/isa_parser.py: arch/alpha/ev5.cc: arch/alpha/ev5.hh: arch/alpha/faults.cc: arch/alpha/faults.hh: arch/alpha/isa_traits.hh: arch/alpha/osfpal.cc: arch/alpha/osfpal.hh: arch/alpha/pseudo_inst.cc: arch/alpha/pseudo_inst.hh: arch/alpha/vptr.hh: arch/alpha/vtophys.cc: arch/alpha/vtophys.hh: base/bitfield.hh: base/callback.hh: base/circlebuf.cc: base/circlebuf.hh: base/cprintf.cc: base/cprintf.hh: base/cprintf_formats.hh: base/crc.cc: base/crc.hh: base/date.cc: base/dbl_list.hh: base/endian.hh: base/fast_alloc.cc: base/fast_alloc.hh: base/fifo_buffer.cc: base/fifo_buffer.hh: base/hashmap.hh: base/hostinfo.cc: base/hostinfo.hh: base/hybrid_pred.cc: base/hybrid_pred.hh: base/inet.cc: base/inet.hh: base/inifile.cc: base/inifile.hh: base/intmath.cc: base/intmath.hh: base/kgdb.h: base/match.cc: base/match.hh: base/misc.cc: base/misc.hh: base/mod_num.hh: base/mysql.cc: base/mysql.hh: base/output.cc: base/output.hh: base/pollevent.cc: base/pollevent.hh: base/predictor.hh: base/random.cc: base/random.hh: base/range.cc: base/range.hh: base/refcnt.hh: base/remote_gdb.cc: base/remote_gdb.hh: base/res_list.hh: base/sat_counter.cc: base/sat_counter.hh: base/sched_list.hh: base/socket.cc: base/socket.hh: base/statistics.cc: base/statistics.hh: base/compression/lzss_compression.cc: base/compression/lzss_compression.hh: base/compression/null_compression.hh: base/loader/aout_object.cc: base/loader/aout_object.hh: base/loader/coff_sym.h: base/loader/coff_symconst.h: base/loader/ecoff_object.cc: base/loader/ecoff_object.hh: base/loader/elf_object.cc: base/loader/elf_object.hh: base/loader/exec_aout.h: base/loader/exec_ecoff.h: base/loader/symtab.cc: base/loader/symtab.hh: base/stats/events.cc: base/stats/events.hh: base/stats/flags.hh: base/stats/mysql.cc: base/stats/mysql.hh: base/stats/mysql_run.hh: base/stats/output.hh: base/stats/statdb.cc: base/stats/statdb.hh: base/stats/text.cc: base/stats/text.hh: base/stats/types.hh: base/stats/visit.cc: base/stats/visit.hh: base/str.cc: base/str.hh: base/time.cc: base/time.hh: base/timebuf.hh: base/trace.cc: base/trace.hh: base/traceflags.py: base/userinfo.cc: base/userinfo.hh: cpu/base.cc: cpu/base.hh: cpu/base_dyn_inst.cc: cpu/base_dyn_inst.hh: cpu/exec_context.cc: cpu/exec_context.hh: cpu/exetrace.cc: cpu/exetrace.hh: cpu/inst_seq.hh: cpu/intr_control.cc: cpu/intr_control.hh: cpu/pc_event.cc: cpu/pc_event.hh: cpu/memtest/memtest.cc: cpu/memtest/memtest.hh: cpu/o3/2bit_local_pred.cc: cpu/o3/2bit_local_pred.hh: cpu/o3/alpha_cpu.cc: cpu/o3/alpha_cpu.hh: cpu/o3/alpha_cpu_builder.cc: cpu/o3/alpha_dyn_inst.cc: cpu/o3/alpha_dyn_inst.hh: cpu/o3/alpha_dyn_inst_impl.hh: cpu/o3/alpha_impl.hh: cpu/o3/alpha_params.hh: cpu/o3/bpred_unit.cc: cpu/o3/bpred_unit.hh: cpu/o3/bpred_unit_impl.hh: cpu/o3/btb.cc: cpu/o3/btb.hh: cpu/o3/comm.hh: cpu/o3/commit.cc: cpu/o3/commit.hh: cpu/o3/commit_impl.hh: cpu/o3/cpu.cc: cpu/o3/cpu.hh: cpu/o3/cpu_policy.hh: cpu/o3/decode.cc: cpu/o3/decode.hh: cpu/o3/decode_impl.hh: cpu/o3/fetch.cc: cpu/o3/fetch.hh: cpu/o3/fetch_impl.hh: cpu/o3/free_list.cc: cpu/o3/free_list.hh: cpu/o3/iew.cc: cpu/o3/iew.hh: cpu/o3/iew_impl.hh: cpu/o3/inst_queue.cc: cpu/o3/inst_queue.hh: cpu/o3/inst_queue_impl.hh: cpu/o3/mem_dep_unit.cc: cpu/o3/mem_dep_unit.hh: cpu/o3/mem_dep_unit_impl.hh: cpu/o3/ras.cc: cpu/o3/ras.hh: cpu/o3/regfile.hh: cpu/o3/rename.cc: cpu/o3/rename.hh: cpu/o3/rename_impl.hh: cpu/o3/rename_map.cc: cpu/o3/rename_map.hh: cpu/o3/rob.hh: cpu/o3/rob_impl.hh: cpu/o3/sat_counter.cc: cpu/o3/sat_counter.hh: cpu/o3/store_set.cc: cpu/o3/store_set.hh: cpu/o3/tournament_pred.cc: cpu/o3/tournament_pred.hh: cpu/ozone/cpu.hh: cpu/simple/cpu.cc: cpu/simple/cpu.hh: cpu/smt.hh: cpu/static_inst.cc: cpu/static_inst.hh: cpu/trace/opt_cpu.hh: cpu/trace/reader/ibm_reader.cc: cpu/trace/reader/ibm_reader.hh: cpu/trace/reader/itx_reader.cc: cpu/trace/reader/itx_reader.hh: cpu/trace/reader/m5_reader.cc: cpu/trace/reader/m5_reader.hh: cpu/trace/reader/mem_trace_reader.cc: cpu/trace/reader/mem_trace_reader.hh: cpu/trace/trace_cpu.cc: cpu/trace/trace_cpu.hh: dev/alpha_access.h: dev/alpha_console.cc: dev/alpha_console.hh: dev/baddev.cc: dev/baddev.hh: dev/disk_image.cc: dev/disk_image.hh: dev/etherbus.cc: dev/etherbus.hh: dev/etherdump.cc: dev/etherdump.hh: dev/etherint.cc: dev/etherint.hh: dev/etherlink.cc: dev/etherlink.hh: dev/etherpkt.cc: dev/etherpkt.hh: dev/ethertap.cc: dev/ethertap.hh: dev/ide_ctrl.cc: dev/ide_ctrl.hh: dev/ide_disk.cc: dev/ide_disk.hh: dev/io_device.cc: dev/io_device.hh: dev/ns_gige.cc: dev/ns_gige.hh: dev/ns_gige_reg.h: dev/pciconfigall.cc: dev/pciconfigall.hh: dev/pcidev.cc: dev/pcidev.hh: dev/pcireg.h: dev/pktfifo.cc: dev/pktfifo.hh: dev/platform.cc: dev/platform.hh: dev/simconsole.cc: dev/simconsole.hh: dev/simple_disk.cc: dev/simple_disk.hh: dev/sinic.cc: dev/sinic.hh: dev/sinicreg.hh: dev/tsunami.cc: dev/tsunami.hh: dev/tsunami_cchip.cc: dev/tsunami_cchip.hh: dev/tsunami_io.cc: dev/tsunami_io.hh: dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: dev/uart.cc: dev/uart.hh: dev/uart8250.cc: dev/uart8250.hh: docs/stl.hh: encumbered/cpu/full/op_class.hh: kern/kernel_stats.cc: kern/kernel_stats.hh: kern/linux/linux.hh: kern/system_events.cc: kern/system_events.hh: kern/linux/linux_syscalls.cc: kern/linux/linux_syscalls.hh: kern/linux/linux_system.cc: kern/linux/linux_system.hh: kern/linux/printk.cc: kern/linux/printk.hh: kern/tru64/dump_mbuf.cc: kern/tru64/dump_mbuf.hh: kern/tru64/mbuf.hh: kern/tru64/printf.cc: kern/tru64/printf.hh: kern/tru64/tru64.hh: kern/tru64/tru64_events.cc: kern/tru64/tru64_events.hh: kern/tru64/tru64_syscalls.cc: kern/tru64/tru64_syscalls.hh: kern/tru64/tru64_system.cc: kern/tru64/tru64_system.hh: sim/async.hh: sim/builder.cc: sim/builder.hh: sim/debug.cc: sim/debug.hh: sim/eventq.cc: sim/eventq.hh: sim/host.hh: sim/main.cc: sim/param.cc: sim/param.hh: sim/root.cc: sim/serialize.cc: sim/serialize.hh: sim/sim_events.cc: sim/sim_events.hh: sim/sim_exit.hh: sim/sim_object.cc: sim/sim_object.hh: sim/startup.cc: sim/startup.hh: sim/stat_control.cc: sim/stat_control.hh: sim/stats.hh: sim/syscall_emul.cc: sim/syscall_emul.hh: sim/system.cc: sim/system.hh: test/Makefile: test/bitvectest.cc: test/circletest.cc: test/cprintftest.cc: test/initest.cc: test/lru_test.cc: test/nmtest.cc: test/offtest.cc: test/paramtest.cc: test/rangetest.cc: test/sized_test.cc: test/stattest.cc: test/strnumtest.cc: test/symtest.cc: test/tokentest.cc: test/tracetest.cc: util/m5/m5.c: util/m5/m5op.h: util/m5/m5op.s: util/tap/Makefile: util/tap/tap.cc: util/term/Makefile: util/term/term.c: Remove RCS Id string --HG-- extra : convert_revision : fc5b0a6ee2a213785bd58c51ce82eb2f769d6b88
170 lines
6.3 KiB
C
170 lines
6.3 KiB
C
/*
|
|
* Taken from binutils-2.14.90.0.5 include/coff/symconst.h
|
|
*/
|
|
|
|
/* Declarations of constants for internal format of MIPS ECOFF symbols.
|
|
Originally contributed by MIPS Computer Systems and Third Eye Software.
|
|
Changes contributed by Cygnus Support are in the public domain.
|
|
|
|
This file is just aggregated with the files that make up the GNU
|
|
release; it is not considered part of GAS, GDB, or other GNU
|
|
programs. */
|
|
|
|
/*
|
|
* |-----------------------------------------------------------|
|
|
* | Copyright (c) 1992, 1991, 1990 MIPS Computer Systems, Inc.|
|
|
* | MIPS Computer Systems, Inc. grants reproduction and use |
|
|
* | rights to all parties, PROVIDED that this comment is |
|
|
* | maintained in the copy. |
|
|
* |-----------------------------------------------------------|
|
|
*/
|
|
|
|
/* (C) Copyright 1984 by Third Eye Software, Inc.
|
|
*
|
|
* Third Eye Software, Inc. grants reproduction and use rights to
|
|
* all parties, PROVIDED that this comment is maintained in the copy.
|
|
*
|
|
* Third Eye makes no claims about the applicability of this
|
|
* symbol table to a particular use.
|
|
*/
|
|
|
|
/* glevels for field in FDR */
|
|
#define GLEVEL_0 2
|
|
#define GLEVEL_1 1
|
|
#define GLEVEL_2 0 /* for upward compat reasons. */
|
|
#define GLEVEL_3 3
|
|
|
|
/* magic number fo symheader */
|
|
#define magicSym 0x7009
|
|
/* The Alpha uses this value instead, for some reason. */
|
|
#define magicSym2 0x1992
|
|
|
|
/* Language codes */
|
|
#define langC 0
|
|
#define langPascal 1
|
|
#define langFortran 2
|
|
#define langAssembler 3 /* one Assembley inst might map to many mach */
|
|
#define langMachine 4
|
|
#define langNil 5
|
|
#define langAda 6
|
|
#define langPl1 7
|
|
#define langCobol 8
|
|
#define langStdc 9 /* FIXME: Collides with SGI langCplusplus */
|
|
#define langCplusplus 9 /* FIXME: Collides with langStdc */
|
|
#define langCplusplusV2 10 /* SGI addition */
|
|
#define langMax 11 /* maximun allowed 32 -- 5 bits */
|
|
|
|
/* The following are value definitions for the fields in the SYMR */
|
|
|
|
/*
|
|
* Storage Classes
|
|
*/
|
|
|
|
#define scNil 0
|
|
#define scText 1 /* text symbol */
|
|
#define scData 2 /* initialized data symbol */
|
|
#define scBss 3 /* un-initialized data symbol */
|
|
#define scRegister 4 /* value of symbol is register number */
|
|
#define scAbs 5 /* value of symbol is absolute */
|
|
#define scUndefined 6 /* who knows? */
|
|
#define scCdbLocal 7 /* variable's value is IN se->va.?? */
|
|
#define scBits 8 /* this is a bit field */
|
|
#define scCdbSystem 9 /* variable's value is IN CDB's address space */
|
|
#define scDbx 9 /* overlap dbx internal use */
|
|
#define scRegImage 10 /* register value saved on stack */
|
|
#define scInfo 11 /* symbol contains debugger information */
|
|
#define scUserStruct 12 /* address in struct user for current process */
|
|
#define scSData 13 /* load time only small data */
|
|
#define scSBss 14 /* load time only small common */
|
|
#define scRData 15 /* load time only read only data */
|
|
#define scVar 16 /* Var parameter (fortran,pascal) */
|
|
#define scCommon 17 /* common variable */
|
|
#define scSCommon 18 /* small common */
|
|
#define scVarRegister 19 /* Var parameter in a register */
|
|
#define scVariant 20 /* Variant record */
|
|
#define scSUndefined 21 /* small undefined(external) data */
|
|
#define scInit 22 /* .init section symbol */
|
|
#define scBasedVar 23 /* Fortran or PL/1 ptr based var */
|
|
#define scXData 24 /* exception handling data */
|
|
#define scPData 25 /* Procedure section */
|
|
#define scFini 26 /* .fini section */
|
|
#define scRConst 27 /* .rconst section */
|
|
#define scMax 32
|
|
|
|
|
|
/*
|
|
* Symbol Types
|
|
*/
|
|
|
|
#define stNil 0 /* Nuthin' special */
|
|
#define stGlobal 1 /* external symbol */
|
|
#define stStatic 2 /* static */
|
|
#define stParam 3 /* procedure argument */
|
|
#define stLocal 4 /* local variable */
|
|
#define stLabel 5 /* label */
|
|
#define stProc 6 /* " " Procedure */
|
|
#define stBlock 7 /* beginnning of block */
|
|
#define stEnd 8 /* end (of anything) */
|
|
#define stMember 9 /* member (of anything - struct/union/enum */
|
|
#define stTypedef 10 /* type definition */
|
|
#define stFile 11 /* file name */
|
|
#define stRegReloc 12 /* register relocation */
|
|
#define stForward 13 /* forwarding address */
|
|
#define stStaticProc 14 /* load time only static procs */
|
|
#define stConstant 15 /* const */
|
|
#define stStaParam 16 /* Fortran static parameters */
|
|
/* These new symbol types have been recently added to SGI machines. */
|
|
#define stStruct 26 /* Beginning of block defining a struct type */
|
|
#define stUnion 27 /* Beginning of block defining a union type */
|
|
#define stEnum 28 /* Beginning of block defining an enum type */
|
|
#define stIndirect 34 /* Indirect type specification */
|
|
/* Pseudo-symbols - internal to debugger */
|
|
#define stStr 60 /* string */
|
|
#define stNumber 61 /* pure number (ie. 4 NOR 2+2) */
|
|
#define stExpr 62 /* 2+2 vs. 4 */
|
|
#define stType 63 /* post-coersion SER */
|
|
#define stMax 64
|
|
|
|
/* definitions for fields in TIR */
|
|
|
|
/* type qualifiers for ti.tq0 -> ti.(itqMax-1) */
|
|
#define tqNil 0 /* bt is what you see */
|
|
#define tqPtr 1 /* pointer */
|
|
#define tqProc 2 /* procedure */
|
|
#define tqArray 3 /* duh */
|
|
#define tqFar 4 /* longer addressing - 8086/8 land */
|
|
#define tqVol 5 /* volatile */
|
|
#define tqConst 6 /* const */
|
|
#define tqMax 8
|
|
|
|
/* basic types as seen in ti.bt */
|
|
#define btNil 0 /* undefined (also, enum members) */
|
|
#define btAdr 1 /* address - integer same size as pointer */
|
|
#define btChar 2 /* character */
|
|
#define btUChar 3 /* unsigned character */
|
|
#define btShort 4 /* short */
|
|
#define btUShort 5 /* unsigned short */
|
|
#define btInt 6 /* int */
|
|
#define btUInt 7 /* unsigned int */
|
|
#define btLong 8 /* long */
|
|
#define btULong 9 /* unsigned long */
|
|
#define btFloat 10 /* float (real) */
|
|
#define btDouble 11 /* Double (real) */
|
|
#define btStruct 12 /* Structure (Record) */
|
|
#define btUnion 13 /* Union (variant) */
|
|
#define btEnum 14 /* Enumerated */
|
|
#define btTypedef 15 /* defined via a typedef, isymRef points */
|
|
#define btRange 16 /* subrange of int */
|
|
#define btSet 17 /* pascal sets */
|
|
#define btComplex 18 /* fortran complex */
|
|
#define btDComplex 19 /* fortran double complex */
|
|
#define btIndirect 20 /* forward or unnamed typedef */
|
|
#define btFixedDec 21 /* Fixed Decimal */
|
|
#define btFloatDec 22 /* Float Decimal */
|
|
#define btString 23 /* Varying Length Character String */
|
|
#define btBit 24 /* Aligned Bit String */
|
|
#define btPicture 25 /* Picture */
|
|
#define btVoid 26 /* void */
|
|
#define btLongLong 27 /* long long */
|
|
#define btULongLong 28 /* unsigned long long */
|
|
#define btMax 64
|