From: Jeff Law Date: Thu, 22 Aug 2002 16:24:24 +0000 (+0000) Subject: * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=dfe0d3fe28b8e6f9e8a43c9aabc09db723b52fc8;hp=75c832834627b7a75a118a8522bf759d965b1a4d;p=deliverable%2Fbinutils-gdb.git * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4a6925fcc8..861ca0696b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2002-08-21 Nitin Gupta + + * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. + 2002-08-21 Elena Zannoni * config/tc-ppc.c (ppc_cleanup): Do something only if format diff --git a/gas/config/tc-h8300.h b/gas/config/tc-h8300.h index e3208f4d9e..79647a637f 100644 --- a/gas/config/tc-h8300.h +++ b/gas/config/tc-h8300.h @@ -26,6 +26,10 @@ #define TARGET_ARCH bfd_arch_h8300 +#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-h8300" #endif