aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-03-16 23:16:03 +0000
committerAlan Modra <amodra@gmail.com>2008-03-16 23:16:03 +0000
commitda6b876ee6e7599e1fd07514b77f1c4a6ae7dca6 (patch)
treea5bf651c4a6a4dec29a88ea36cd4bee38e78a7cd /gas
parent23fe836302c159cc6a26087669018ac49c0c6199 (diff)
downloadbinutils-da6b876ee6e7599e1fd07514b77f1c4a6ae7dca6.zip
binutils-da6b876ee6e7599e1fd07514b77f1c4a6ae7dca6.tar.gz
binutils-da6b876ee6e7599e1fd07514b77f1c4a6ae7dca6.tar.bz2
PR 5946
* config/tc-hppa.c (is_same_frag): Delete.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-hppa.c18
2 files changed, 5 insertions, 18 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 148ffb1..7fb71a2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-17 Adrian Bunk <bunk@stusta.de>
+
+ PR 5946
+ * config/tc-hppa.c (is_same_frag): Delete.
+
2008-03-14 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 9e9a669..d31d527 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -5898,24 +5898,6 @@ pa_call (int unused ATTRIBUTE_UNUSED)
demand_empty_rest_of_line ();
}
-/* Return TRUE if FRAG1 and FRAG2 are the same. */
-
-static bfd_boolean
-is_same_frag (fragS *frag1, fragS *frag2)
-{
-
- if (frag1 == NULL)
- return FALSE;
- else if (frag2 == NULL)
- return FALSE;
- else if (frag1 == frag2)
- return TRUE;
- else if (frag2->fr_type == rs_fill && frag2->fr_fix == 0)
- return (is_same_frag (frag1, frag2->fr_next));
- else
- return FALSE;
-}
-
#ifdef OBJ_ELF
/* Build an entry in the UNWIND subspace from the given function
attributes in CALL_INFO. This is not needed for SOM as using