aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-03-10 10:06:05 +0000
committerAlan Modra <amodra@gmail.com>2011-03-10 10:06:05 +0000
commit293855c8bb376c8dc7cb43bdbb5a6460df27a0c0 (patch)
treef0b3030ab1384c628a367bb44ee156363b848d9c /gas
parente11840f950f6459e8a28198d4268cdb7e5e1c6a9 (diff)
downloadgdb-293855c8bb376c8dc7cb43bdbb5a6460df27a0c0.zip
gdb-293855c8bb376c8dc7cb43bdbb5a6460df27a0c0.tar.gz
gdb-293855c8bb376c8dc7cb43bdbb5a6460df27a0c0.tar.bz2
* gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
TARGET_SYMBOL_FIELDS): Don't define. * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/obj-elf.h11
-rw-r--r--gas/config/tc-arc.c4
3 files changed, 10 insertions, 11 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bd8600d..970cbd9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-10 Alan Modra <amodra@gmail.com>
+
+ * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
+ TARGET_SYMBOL_FIELDS): Don't define.
+ * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
+
2011-03-09 Michael Snyder <msnyder@vmware.com>
* dwarf2dbg.c (out_file_list): Free malloced 'dir'.
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index ccfa8d2..0721654 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -1,6 +1,7 @@
/* ELF object file format.
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
+ 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011
+ Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -80,14 +81,6 @@ struct elf_obj_sy
#define OBJ_SYMFIELD_TYPE struct elf_obj_sy
-/* Symbol fields used by the ELF back end. */
-#define ELF_TARGET_SYMBOL_FIELDS unsigned int local:1;
-
-/* Don't change this; change ELF_TARGET_SYMBOL_FIELDS instead. */
-#ifndef TARGET_SYMBOL_FIELDS
-#define TARGET_SYMBOL_FIELDS ELF_TARGET_SYMBOL_FIELDS
-#endif
-
#ifndef FALSE
#define FALSE 0
#define TRUE !FALSE
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index b5d073e..8d2da96 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -1,6 +1,6 @@
/* tc-arc.c -- Assembler for the ARC
Copyright 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- 2006, 2007, 2009 Free Software Foundation, Inc.
+ 2006, 2007, 2009, 2011 Free Software Foundation, Inc.
Contributed by Doug Evans (dje@cygnus.com).
This file is part of GAS, the GNU Assembler.
@@ -934,7 +934,7 @@ arc_common (int localScope)
S_SET_SIZE (symbolP, size);
S_SET_SEGMENT (symbolP, bss_section);
S_CLEAR_EXTERNAL (symbolP);
- symbolP->local = 1;
+ symbol_get_obj (symbolP)->local = 1;
subseg_set (old_sec, old_subsec);
}
else