tc-xc16x.h redundant define

Alan Modra amodra@bigpond.net.au
Tue Apr 18 09:54:00 GMT 2006


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



More information about the Binutils mailing list