Move rtld_db.h
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Wed, 7 Jan 2009 02:30:35 +0000 (21:30 -0500)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Wed, 7 Jan 2009 04:09:03 +0000 (23:09 -0500)
rtld_db/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/rtld_db.h [deleted file]
sysdeps/unix/sysv/solaris2/kopensolaris-gnu/rtld_db.h [new file with mode: 0644]

diff --git a/rtld_db/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/rtld_db.h b/rtld_db/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/rtld_db.h
deleted file mode 100644 (file)
index 49e4156..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-/* Copyright (C) 2008 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-   Contributed by David Bartley <dtbartle@csclub.uwaterloo.ca>, 2008.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
-
-#ifndef _RTLD_DB_H
-#define _RTLD_DB_H
-
-#include <sys/types.h>
-#include <features.h>
-#include <proc_service.h>
-#include <sys/link.h>
-#include <dlfcn.h>
-
-#define RD_VERSION1    1
-#define RD_VERSION2    2
-#define RD_VERSION3    3
-#define RD_VERSION4    4
-#define RD_VERSION     RD_VERSION4
-
-typedef enum
-  {
-       RD_ERR,
-       RD_OK,
-       RD_NOCAPAB,
-       RD_DBERR,
-       RD_NOBASE,
-       RD_NODYNAM,
-       RD_NOMAPS
-  } rd_err_e;
-
-typedef struct rd_agent rd_agent_t;
-
-typedef struct rd_loadobj
-  {
-       psaddr_t rl_nameaddr;
-       unsigned int rl_flags;
-       psaddr_t rl_base;
-       psaddr_t rl_data_base;
-       Lmid_t rl_lmident;
-       psaddr_t rl_refnameaddr;
-       psaddr_t rl_plt_base;
-       unsigned int rl_plt_size;
-       psaddr_t rl_bend;
-       psaddr_t rl_padstart;
-       psaddr_t rl_padend;
-       psaddr_t rl_dynamic;
-       unsigned long rl_tlsmodid;
-  } rd_loadobj_t;
-
-/* r_flags values.  */
-#define RD_FLG_MEM_OBJECT      0x0001
-
-typedef int rl_iter_f (const rd_loadobj_t *, void *);
-
-typedef enum
-  {
-       RD_NOTIFY_BPT,
-       RD_NOTIFY_AUTOBPT,
-       RD_NOTIFY_SYSCALL
-  } rd_notify_e;
-
-typedef struct rd_notify
-  {
-       rd_notify_e type;
-       union
-         {
-               psaddr_t bptaddr;
-               long syscallno;
-         } u;
-  } rd_notify_t;
-
-typedef enum
-  {
-       RD_NOSTATE = 0,
-       RD_CONSISTENT,
-       RD_ADD,
-       RD_DELETE
-  } rd_state_e;
-
-typedef struct rd_event_msg
-  {
-       rd_event_e type;
-       union
-         {
-               rd_state_e state;
-         } u;
-  } rd_event_msg_t;
-
-#endif /* _RTLD_DB_H */
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/rtld_db.h b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/rtld_db.h
new file mode 100644 (file)
index 0000000..49e4156
--- /dev/null
@@ -0,0 +1,104 @@
+/* Copyright (C) 2008 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by David Bartley <dtbartle@csclub.uwaterloo.ca>, 2008.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#ifndef _RTLD_DB_H
+#define _RTLD_DB_H
+
+#include <sys/types.h>
+#include <features.h>
+#include <proc_service.h>
+#include <sys/link.h>
+#include <dlfcn.h>
+
+#define RD_VERSION1    1
+#define RD_VERSION2    2
+#define RD_VERSION3    3
+#define RD_VERSION4    4
+#define RD_VERSION     RD_VERSION4
+
+typedef enum
+  {
+       RD_ERR,
+       RD_OK,
+       RD_NOCAPAB,
+       RD_DBERR,
+       RD_NOBASE,
+       RD_NODYNAM,
+       RD_NOMAPS
+  } rd_err_e;
+
+typedef struct rd_agent rd_agent_t;
+
+typedef struct rd_loadobj
+  {
+       psaddr_t rl_nameaddr;
+       unsigned int rl_flags;
+       psaddr_t rl_base;
+       psaddr_t rl_data_base;
+       Lmid_t rl_lmident;
+       psaddr_t rl_refnameaddr;
+       psaddr_t rl_plt_base;
+       unsigned int rl_plt_size;
+       psaddr_t rl_bend;
+       psaddr_t rl_padstart;
+       psaddr_t rl_padend;
+       psaddr_t rl_dynamic;
+       unsigned long rl_tlsmodid;
+  } rd_loadobj_t;
+
+/* r_flags values.  */
+#define RD_FLG_MEM_OBJECT      0x0001
+
+typedef int rl_iter_f (const rd_loadobj_t *, void *);
+
+typedef enum
+  {
+       RD_NOTIFY_BPT,
+       RD_NOTIFY_AUTOBPT,
+       RD_NOTIFY_SYSCALL
+  } rd_notify_e;
+
+typedef struct rd_notify
+  {
+       rd_notify_e type;
+       union
+         {
+               psaddr_t bptaddr;
+               long syscallno;
+         } u;
+  } rd_notify_t;
+
+typedef enum
+  {
+       RD_NOSTATE = 0,
+       RD_CONSISTENT,
+       RD_ADD,
+       RD_DELETE
+  } rd_state_e;
+
+typedef struct rd_event_msg
+  {
+       rd_event_e type;
+       union
+         {
+               rd_state_e state;
+         } u;
+  } rd_event_msg_t;
+
+#endif /* _RTLD_DB_H */