minix/tools/binutils/patches/patch-ag

22 lines
670 B
Plaintext
Raw Normal View History

$NetBSD$
--- bfd/aoutx.h.orig Thu Mar 16 12:20:15 2006
+++ bfd/aoutx.h
@@ -383,6 +383,7 @@ DESCRIPTION
Swap the information in an internal exec header structure
@var{execp} into the buffer @var{raw_bytes} ready for writing to disk.
*/
+#ifndef NAME_swap_exec_header_out
void
NAME (aout, swap_exec_header_out) (bfd *abfd,
struct internal_exec *execp,
@@ -398,6 +399,8 @@ NAME (aout, swap_exec_header_out) (bfd *abfd,
PUT_WORD (abfd, execp->a_trsize, bytes->e_trsize);
PUT_WORD (abfd, execp->a_drsize, bytes->e_drsize);
}
+#define NAME_swap_exec_header_out NAME(aout,swap_exec_header_out)
+#endif
/* Make all the section for an a.out file. */