From 1c5c6c13c255e4c83cbc3c26db61b91fed40f1ea Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Tue, 3 Mar 2009 23:21:52 +0000 Subject: [PATCH] binutils/3807 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with local scope for ELF targets. --- gas/ChangeLog | 6 ++++++ gas/config/tc-hppa.h | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index a52b0550a25..7712668a84c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2009-03-03 John David Anglin + + binutils/3807 + * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with + local scope for ELF targets. + 2009-03-04 Alan Modra * config/tc-ppc.c (md_assemble): APUinfo only for e500. diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h index 05168b150c8..cd8c205d40c 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, - 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -181,8 +181,6 @@ int hppa_fix_adjustable (struct fix *); if ((S_GET_SEGMENT (sym) == &bfd_und_section \ && ! symbol_used_p (sym) \ && ELF_ST_VISIBILITY (S_GET_OTHER (sym)) == STV_DEFAULT) \ - || (S_GET_SEGMENT (sym) == &bfd_abs_section \ - && ! S_IS_EXTERNAL (sym)) \ || strcmp (S_GET_NAME (sym), "$global$") == 0 \ || strcmp (S_GET_NAME (sym), "$segrel$") == 0 \ || strcmp (S_GET_NAME (sym), "$PIC_pcrel$0") == 0 \ -- 2.30.2