* config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
This commit is contained in:
parent
86fff24db3
commit
c1a6351f10
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-07-04 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
|
||||
|
||||
2009-07-02 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* Makefile.am (OBJ_FORMATS): Add macho.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* tc-cr16.h -- Header file for tc-cr16.c, the CR16 GAS port.
|
||||
Copyright 2007 Free Software Foundation, Inc.
|
||||
Copyright 2007, 2009 Free Software Foundation, Inc.
|
||||
|
||||
Contributed by M R Swami Reddy <MR.Swami.Reddy@nsc.com>
|
||||
|
||||
|
@ -49,8 +49,9 @@ extern const struct relax_type md_relax_table[];
|
|||
#define TC_FORCE_RELOCATION(FIXP) cr16_force_relocation (FIXP)
|
||||
extern int cr16_force_relocation (struct fix *);
|
||||
|
||||
/* Fixup debug sections since we will never relax them. */
|
||||
#define TC_LINKRELAX_FIXUP(seg) (seg->flags & SEC_ALLOC)
|
||||
/* Fixup non-code sections since we will never relax them. */
|
||||
#define TC_LINKRELAX_FIXUP(seg) \
|
||||
((seg->flags & (SEC_ALLOC | SEC_CODE)) == (SEC_ALLOC | SEC_CODE))
|
||||
|
||||
/* CR16 instructions, with operands included, are a multiple
|
||||
of two bytes long. */
|
||||
|
|
Loading…
Reference in a new issue