This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
tc-xc16x.h redundant define
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Tue, 18 Apr 2006 19:19:10 +0930
- Subject: tc-xc16x.h redundant define
BFD_ASSEMBLER hasn't been defined for quite a while, and in any case
this port never sets linkrelax so the value of TC_LINKRELAX_FIXUP is
irrelevant.
* config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete.
Index: gas/config/tc-xc16x.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xc16x.h,v
retrieving revision 1.1
diff -u -p -r1.1 tc-xc16x.h
--- gas/config/tc-xc16x.h 17 Feb 2006 14:36:24 -0000 1.1
+++ gas/config/tc-xc16x.h 18 Apr 2006 07:53:24 -0000
@@ -25,11 +25,6 @@
#define TARGET_ARCH bfd_arch_xc16x
-#ifdef BFD_ASSEMBLER
-/* Fixup debug sections since we will never relax them. */
-#define TC_LINKRELAX_FIXUP(seg) (seg->flags & SEC_ALLOC)
-#endif
-
#ifdef OBJ_ELF
#define TARGET_FORMAT "elf32-xc16x"
#define LOCAL_LABEL_PREFIX '.'
--
Alan Modra
IBM OzLabs - Linux Technology Centre