This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
patch for ELF include files
- To: binutils at sourceware dot cygnus dot com
- Subject: patch for ELF include files
- From: Fred Fish <fnf at ninemoons dot com>
- Date: Thu, 9 Dec 1999 10:34:43 -0700 (MST)
- Cc: fnf at cygnus dot com
All of the files that include reloc-macros.h use a relative pathname
in the #include, except for three of them. This patch fixes those
three files so that they are all consistent in how reloc-macros.h is
included. I actually ran into a case where the compiler (Metrowerks)
failed to find the include file without this change.
-Fred
1999-12-09 Fred Fish <fnf@cygnus.com>
* i960.h (reloc-macros.h): Include using relative dir elf/.
* i386.h (reloc-macros.h): Include using relative dir elf/.
* hppa.h (reloc-macros.h): Include using relative dir elf/.
Index: elf/hppa.h
===================================================================
RCS file: /cvs/binutils/binutils/include/elf/hppa.h,v
retrieving revision 1.7
diff -c -p -r1.7 hppa.h
*** hppa.h 1999/10/12 04:48:23 1.7
--- hppa.h 1999/12/09 17:05:47
*************** Foundation, Inc., 59 Temple Place - Suit
*** 99,105 ****
/* ELF/HPPA relocation types */
/* Note: PA-ELF is defined to use only RELA relocations. */
! #include "reloc-macros.h"
START_RELOC_NUMBERS (elf_hppa_reloc_type)
RELOC_NUMBER (R_PARISC_NONE, 0) /* No reloc */
--- 99,105 ----
/* ELF/HPPA relocation types */
/* Note: PA-ELF is defined to use only RELA relocations. */
! #include "elf/reloc-macros.h"
START_RELOC_NUMBERS (elf_hppa_reloc_type)
RELOC_NUMBER (R_PARISC_NONE, 0) /* No reloc */
Index: elf/i386.h
===================================================================
RCS file: /cvs/binutils/binutils/include/elf/i386.h,v
retrieving revision 1.1.1.1
diff -c -p -r1.1.1.1 i386.h
*** i386.h 1999/05/03 07:29:03 1.1.1.1
--- i386.h 1999/12/09 17:05:47
***************
*** 20,26 ****
#ifndef _ELF_I386_H
#define _ELF_I386_H
! #include "reloc-macros.h"
START_RELOC_NUMBERS (elf_i386_reloc_type)
RELOC_NUMBER (R_386_NONE, 0) /* No reloc */
--- 20,26 ----
#ifndef _ELF_I386_H
#define _ELF_I386_H
! #include "elf/reloc-macros.h"
START_RELOC_NUMBERS (elf_i386_reloc_type)
RELOC_NUMBER (R_386_NONE, 0) /* No reloc */
Index: elf/i960.h
===================================================================
RCS file: /cvs/binutils/binutils/include/elf/i960.h,v
retrieving revision 1.1
diff -c -p -r1.1 i960.h
*** i960.h 1999/05/27 21:29:05 1.1
--- i960.h 1999/12/09 17:05:47
***************
*** 20,26 ****
#ifndef _ELF_I960_H
#define _ELF_I960_H
! #include "reloc-macros.h"
START_RELOC_NUMBERS (elf_i960_reloc_type)
RELOC_NUMBER (R_960_NONE, 0)
--- 20,26 ----
#ifndef _ELF_I960_H
#define _ELF_I960_H
! #include "elf/reloc-macros.h"
START_RELOC_NUMBERS (elf_i960_reloc_type)
RELOC_NUMBER (R_960_NONE, 0)