From da6b876ee6e7599e1fd07514b77f1c4a6ae7dca6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 16 Mar 2008 23:16:03 +0000 Subject: [PATCH] PR 5946 * config/tc-hppa.c (is_same_frag): Delete. --- gas/ChangeLog | 5 +++++ gas/config/tc-hppa.c | 18 ------------------ 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 148ffb15279..7fb71a2e716 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-03-17 Adrian Bunk + + PR 5946 + * config/tc-hppa.c (is_same_frag): Delete. + 2008-03-14 Sterling Augustine * 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 9e9a669d57c..d31d527a68c 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 -- 2.30.2