aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips/tm-mips.h
diff options
context:
space:
mode:
authorZdenek Radouch <radouch@cygnus>1998-09-01 16:24:23 +0000
committerZdenek Radouch <radouch@cygnus>1998-09-01 16:24:23 +0000
commite01b4200251c5922f8295cca58b23f316fb779a4 (patch)
tree78ba2944a04b9a5482555032d0699d68324ec249 /gdb/config/mips/tm-mips.h
parent0339ba4376e7ef1a1f4dfe180af63fd97f7c740c (diff)
downloadgdb-e01b4200251c5922f8295cca58b23f316fb779a4.zip
gdb-e01b4200251c5922f8295cca58b23f316fb779a4.tar.gz
gdb-e01b4200251c5922f8295cca58b23f316fb779a4.tar.bz2
Modifications/fixes to support the ARM/ELF port.
Diffstat (limited to 'gdb/config/mips/tm-mips.h')
-rw-r--r--gdb/config/mips/tm-mips.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 4d01254..cfd8fe3 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -576,7 +576,8 @@ typedef unsigned long t_inst; /* Integer big enough to hold an instruction */
being used to store the symbol size, so the assumption is
that the symbol size cannot exceed 2^31.
- MAKE_MSYMBOL_SPECIAL tests whether an ELF symbol is "special", i.e. refers
+ ELF_MAKE_MSYMBOL_SPECIAL
+ tests whether an ELF symbol is "special", i.e. refers
to a 16-bit function, and sets a "special" bit in a
minimal symbol to mark it as a 16-bit function
MSYMBOL_IS_SPECIAL tests the "special" bit in a minimal symbol
@@ -584,9 +585,9 @@ typedef unsigned long t_inst; /* Integer big enough to hold an instruction */
the "info" field with the "special" bit masked out
*/
-#define MAKE_MSYMBOL_SPECIAL(sym,msym) \
+#define ELF_MAKE_MSYMBOL_SPECIAL(sym,msym) \
{ \
- if (((elf_symbol_type *) sym) -> internal_elf_sym.st_other == STO_MIPS16) { \
+ if (((elf_symbol_type *)(sym))->internal_elf_sym.st_other == STO_MIPS16) { \
MSYMBOL_INFO (msym) = (char *) (((long) MSYMBOL_INFO (msym)) | 0x80000000); \
SYMBOL_VALUE_ADDRESS (msym) |= 1; \
} \