Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb.old/lib/libbfd Adjust for aarch64eb; it ne...



details:   https://anonhg.NetBSD.org/src/rev/321ad1a8fdeb
branches:  trunk
changeset: 976949:321ad1a8fdeb
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Oct 09 23:55:48 2020 +0000

description:
Adjust for aarch64eb; it needs elf32-aarch64.c.

diffstat:

 external/gpl3/gdb.old/lib/libbfd/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 2bc29d37f6a4 -r 321ad1a8fdeb external/gpl3/gdb.old/lib/libbfd/Makefile
--- a/external/gpl3/gdb.old/lib/libbfd/Makefile Fri Oct 09 23:54:12 2020 +0000
+++ b/external/gpl3/gdb.old/lib/libbfd/Makefile Fri Oct 09 23:55:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2020/09/14 00:40:37 christos Exp $
+#      $NetBSD: Makefile,v 1.9 2020/10/09 23:55:48 rin Exp $
 
 .include <bsd.own.mk>
 .include "../Makefile.inc"
@@ -22,7 +22,7 @@
                elf32-ia64.c elf64-ia64.c elf64-aarch64.c \
                peigen.c pex64igen.c
 CLEANFILES+=   elf32-target.h elf64-target.h targmatch.h \
-               elf32-ia64.c elf64-ia64.c elf64-aarch64.c \
+               elf32-ia64.c elf64-ia64.c elf64-aarch64.c elf32-aarch64.c \
                peigen.c pex64igen.c
 
 .PATH: ${DIST}/bfd
@@ -54,6 +54,10 @@
        ${_MKTARGET_CREATE}
        ${TOOL_SED} -e s/NN/64/g < $> > $@
 
+elf32-aarch64.c: elfnn-aarch64.c
+       ${_MKTARGET_CREATE}
+       ${TOOL_SED} -e s/NN/32/g < $> > $@
+
 elf64-aarch64.c: elfnn-aarch64.c
        ${_MKTARGET_CREATE}
        ${TOOL_SED} -e s/NN/64/g < $> > $@



Home | Main Index | Thread Index | Old Index