This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Conditionally define TARGET_SYMBOL_FIELDS


I have a port which needs to sue TARGET_SYMBOL_FIELDS.
This patch conditionally defines this macro in obj-elf.h.
Okay to install?

Thanks,
Catherine

2002-06-17  Catherine Moore <clm@redhat.com>

	* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.

Index: obj-elf.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-elf.h,v
retrieving revision 1.17
diff -p -r1.17 obj-elf.h
*** obj-elf.h   14 Jun 2002 14:08:51 -0000      1.17
--- obj-elf.h   17 Jun 2002 14:51:57 -0000
***************
*** 1,5 ****
  /* ELF object file format.
!    Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     Free Software Foundation, Inc.
  
     This file is part of GAS, the GNU Assembler.
--- 1,5 ----
  /* ELF object file format.
!    Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
     Free Software Foundation, Inc.
  
     This file is part of GAS, the GNU Assembler.
*************** struct elf_obj_sy
*** 86,92 ****
--- 86,94 ----
  #define ELF_TARGET_SYMBOL_FIELDS int local:1;
  
  /* Don't change this; change ELF_TARGET_SYMBOL_FIELDS instead.  */
+ #ifndef TARGET_SYMBOL_FIELDS
  #define TARGET_SYMBOL_FIELDS ELF_TARGET_SYMBOL_FIELDS
+ #endif
  
  /* #include "targ-cpu.h" */
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]