aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xgate.h
diff options
context:
space:
mode:
authorSean Keys <skeys@ipdatasys.com>2012-06-28 21:36:35 +0000
committerSean Keys <skeys@ipdatasys.com>2012-06-28 21:36:35 +0000
commitfe540416272cd7791a82793a395a4cb65f9fce16 (patch)
tree0cd41e84d87ff1cd0d031a0eb42ee150318e234d /gas/config/tc-xgate.h
parenta743abeb908daaecb24afa7be5f418ce6f228439 (diff)
downloadfsf-binutils-gdb-fe540416272cd7791a82793a395a4cb65f9fce16.zip
fsf-binutils-gdb-fe540416272cd7791a82793a395a4cb65f9fce16.tar.gz
fsf-binutils-gdb-fe540416272cd7791a82793a395a4cb65f9fce16.tar.bz2
gas/config/
* tc-xgate.h: Defined tc_frob_symbol. * tc-xgate.c (xgate_frob_symbol): Wrote new function to mark symbols as being XGATE by setting st_target_internal value. bfd/ * elf32-xgate.c (elf32_xgate_add_symbol_hook): Added a temp patch that forces st_target_internal to equal 1, since tc_frob_symbol seems to need adjusting.
Diffstat (limited to 'gas/config/tc-xgate.h')
-rw-r--r--gas/config/tc-xgate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-xgate.h b/gas/config/tc-xgate.h
index 7f414e5..04349a7 100644
--- a/gas/config/tc-xgate.h
+++ b/gas/config/tc-xgate.h
@@ -105,6 +105,10 @@ extern int tc_xgate_fix_adjustable (struct fix *);
#define elf_tc_final_processing xgate_elf_final_processing
extern void xgate_elf_final_processing (void);
+/* Mark the symbol as being from XGATE. */
+#define tc_frob_symbol(sym, punt) punt = xgate_frob_symbol (sym)
+extern int xgate_frob_symbol (symbolS *);
+
#if 0
#define tc_print_statistics(FILE) xgate_print_statistics (FILE)
extern void xgate_print_statistics (FILE *);