Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Remove ELFNAME macros which are already de...
details: https://anonhg.NetBSD.org/src/rev/e1339c8c58e2
branches: trunk
changeset: 477567:e1339c8c58e2
user: erh <erh%NetBSD.org@localhost>
date: Thu Oct 21 21:15:04 1999 +0000
description:
Remove ELFNAME macros which are already defines in exec_elf.h
diffstat:
libexec/ld.elf_so/map_object.c | 8 +-------
libexec/ld.elf_so/search.c | 8 +-------
2 files changed, 2 insertions(+), 14 deletions(-)
diffs (44 lines):
diff -r 29b941261585 -r e1339c8c58e2 libexec/ld.elf_so/map_object.c
--- a/libexec/ld.elf_so/map_object.c Thu Oct 21 21:12:37 1999 +0000
+++ b/libexec/ld.elf_so/map_object.c Thu Oct 21 21:15:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: map_object.c,v 1.5 1999/08/06 22:33:49 thorpej Exp $ */
+/* $NetBSD: map_object.c,v 1.6 1999/10/21 21:15:04 erh Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,12 +40,6 @@
#include "rtld.h"
-#define CONCAT(x,y) __CONCAT(x,y)
-#define ELFNAME(x) CONCAT(elf,CONCAT(ELFSIZE,CONCAT(_,x)))
-#define ELFNAME2(x,y) CONCAT(x,CONCAT(_elf,CONCAT(ELFSIZE,CONCAT(_,y))))
-#define ELFNAMEEND(x) CONCAT(x,CONCAT(_elf,ELFSIZE))
-#define ELFDEFNNAME(x) CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
-
static int protflags __P((int)); /* Elf flags -> mmap protection */
/*
diff -r 29b941261585 -r e1339c8c58e2 libexec/ld.elf_so/search.c
--- a/libexec/ld.elf_so/search.c Thu Oct 21 21:12:37 1999 +0000
+++ b/libexec/ld.elf_so/search.c Thu Oct 21 21:15:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: search.c,v 1.5 1999/08/01 19:47:07 kleink Exp $ */
+/* $NetBSD: search.c,v 1.6 1999/10/21 21:15:04 erh Exp $ */
/*
* Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -52,12 +52,6 @@
#include "debug.h"
#include "rtld.h"
-#define CONCAT(x,y) __CONCAT(x,y)
-#define ELFNAME(x) CONCAT(elf,CONCAT(ELFSIZE,CONCAT(_,x)))
-#define ELFNAME2(x,y) CONCAT(x,CONCAT(_elf,CONCAT(ELFSIZE,CONCAT(_,y))))
-#define ELFNAMEEND(x) CONCAT(x,CONCAT(_elf,ELFSIZE))
-#define ELFDEFNNAME(x) CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
-
/*
* Data declarations.
*/
Home |
Main Index |
Thread Index |
Old Index