aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-01-23 23:17:57 +0000
committerAlan Modra <amodra@gmail.com>2003-01-23 23:17:57 +0000
commitd4c7c971467909060a7e4f397a0516f0253f6119 (patch)
tree8e946ae27268b3fd002a8856e5f2a4d6474fd06b
parentcb3c37b24c829cd182c27036c080b3cf2fdb9bdb (diff)
downloadgdb-d4c7c971467909060a7e4f397a0516f0253f6119.zip
gdb-d4c7c971467909060a7e4f397a0516f0253f6119.tar.gz
gdb-d4c7c971467909060a7e4f397a0516f0253f6119.tar.bz2
* config/tc-hppa.h (DIFF_EXPR_OK): Define.
(MD_APPLY_SYM_VALUE): Move.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-hppa.h12
2 files changed, 12 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 25d5f13..5a5bad3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-24 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-hppa.h (DIFF_EXPR_OK): Define.
+ (MD_APPLY_SYM_VALUE): Move.
+
2003-01-23 Nick Clifton <nickc@redhat.com>
NEWS: Announce sh2e support.
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 842ff31..8420147 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -1,6 +1,6 @@
/* tc-hppa.h -- Header file for the PA
- Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002
- Free Software Foundation, Inc.
+ Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002,
+ 2003 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -140,6 +140,9 @@ int hppa_fix_adjustable PARAMS((struct fix *));
normally appear safe to handle it completely within GAS. */
#define TC_FORCE_RELOCATION(FIX) hppa_force_relocation (FIX)
+/* Values passed to md_apply_fix3 don't include the symbol value. */
+#define MD_APPLY_SYM_VALUE(FIX) 0
+
#ifdef OBJ_SOM
/* If a symbol is imported, but never used, then the symbol should
*not* end up in the symbol table. Likewise for absolute symbols
@@ -161,10 +164,9 @@ int hppa_fix_adjustable PARAMS((struct fix *));
#define UNDEFINED_DIFFERENCE_OK
#endif
-/* Values passed to md_apply_fix3 don't include the symbol value. */
-#define MD_APPLY_SYM_VALUE(FIX) 0
-
#ifdef OBJ_ELF
+#define DIFF_EXPR_OK 1
+
/* Handle .type psuedo. Given a type string of `millicode', set the
internal elf symbol type to STT_PARISC_MILLI, and return
BSF_FUNCTION for the BFD symbol type. */