aboutsummaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-10 03:58:22 +0000
committerRoland McGrath <roland@gnu.org>1995-03-10 03:58:22 +0000
commitd8cc5f0c6a4c3efe88076c05c4e42cf2108b3763 (patch)
tree748e9634275100169a5f7a9a87de5025332944d9 /elf/elf.h
parentdf4999e1afde87987decf13b4fe4f9e8663fd920 (diff)
downloadglibc-d8cc5f0c6a4c3efe88076c05c4e42cf2108b3763.zip
glibc-d8cc5f0c6a4c3efe88076c05c4e42cf2108b3763.tar.gz
glibc-d8cc5f0c6a4c3efe88076c05c4e42cf2108b3763.tar.bz2
Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo). (DT_NUM): New macro. * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos. * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity. * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define MAP_COPY to MAP_PRIVATE.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 452b5c9..b5a3baf 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -190,7 +190,7 @@ typedef struct
/* Special symbol index. */
-#define STN_UNDEF 0 /* Undefined symbol */
+#define SHN_UNDEF 0 /* Undefined symbol */
/* How to extract and insert information held in the st_info field. */
@@ -309,6 +309,7 @@ typedef struct
#define DT_DEBUG 21 /* For debugging; unspecified */
#define DT_TEXTREL 22 /* Reloc might modify .text */
#define DT_JMPREL 23 /* Address of PLT relocs */
+#define DT_NUM 24 /* Number used. */
#define DT_LOPROC 0x70000000 /* Start of processor-specific */
#define DT_HIPROC 0x7fffffff /* End of processor-specific */