aboutsummaryrefslogtreecommitdiff
path: root/Build-A-Release.mk
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-17 21:37:32 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-17 21:37:32 +0000
commit5e65fbc84bb16a38fce7ac6fcd5786795437d65a (patch)
tree5a96c70ad65b7406f1182f69edf76cb9d35f0343 /Build-A-Release.mk
parent42f62ead47a3896f99481a015703c225975a1423 (diff)
downloadgdb-5e65fbc84bb16a38fce7ac6fcd5786795437d65a.zip
gdb-5e65fbc84bb16a38fce7ac6fcd5786795437d65a.tar.gz
gdb-5e65fbc84bb16a38fce7ac6fcd5786795437d65a.tar.bz2
Some support for PowerPC ELF, although it isn't in BFD yet.
* configure.in: If cpu is powerpc*, use ppc. (ppc-*-sysv4*): Use object format elf. * config/tc-ppc.h: Only declare a number of things if OBJ_COFF is defined. (TARGET_ARCH): Make it call ppc_arch. (ppc_arch): Declare. (TARGET_FORMAT): Set based on OBJ_COFF or OBJ_ELF. (NO_STRING_ESCAPES): Define. (LOCAL_LABEL, FAKE_LABEL_NAME): Define for OBJ_ELF. * config/tc-ppc.c: Only define a number of functions of OBJ_COFF is defined. (md_pseudo_table): Most pseudo-ops are OBJ_COFF specific. Added OBJ_COFF specific "bi" and "ei". (md_parse_option): Fix handling of -u. Make -m601 set PPC_OPCODE_601. If OBJ_ELF, accept -V and -Q. (ppc_set_cpu): New function. (ppc_arch): New function. (md_begin): Call ppc_set_cpu. (ppc_insert_operand): For a signed operand accept an unsigned value, for IBM compatibility. (ppc_byte): Don't call stringer for strings; instead, treat two double quotes as a single double quote. (ppc_comm): Set sy_tc.output for a .lcomm symbol. (ppc_biei): New function. (ppc_tc): If not OBJ_COFF, ignore first argument. (ppc_fix_adjustable): Call as_bad_where, not as_bad. (ppc_is_toc_sym): New function. (md_apply_fix): Use ppc_is_toc_sym. Handle BFD_RELOC_16 and BFD_RELOC_8.
Diffstat (limited to 'Build-A-Release.mk')
0 files changed, 0 insertions, 0 deletions