public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: patch for ELF include files
@ 1999-12-09 10:24 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 1999-12-09 10:24 UTC (permalink / raw)
  To: fnf; +Cc: binutils, fnf

Hi 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/.

Thanks for the patch.  I have appleid it to the sources.

Cheers
	Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* patch for ELF include files
@ 1999-12-09  9:32 Fred Fish
  0 siblings, 0 replies; 2+ messages in thread
From: Fred Fish @ 1999-12-09  9:32 UTC (permalink / raw)
  To: binutils; +Cc: fnf

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-09 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-09 10:24 patch for ELF include files Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
1999-12-09  9:32 Fred Fish

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).