public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* tc-xc16x.h redundant define
@ 2006-04-18  9:54 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2006-04-18  9:54 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-18  9:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-18  9:54 tc-xc16x.h redundant define Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).