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

Bug#174290: libc6-dev: SHN_UNDEF #define:d twice in <elf.h>



Subject: libc6-dev: SHN_UNDEF #define:d twice in <elf.h>
Package: libc6-dev
Version: 2.2.5-11.2
Severity: minor
Flags: patch

/usr/include/elf.h #define:s SHN_UNDEF within a bunch of SHN_*
captioned "Special section indices." (#define at line 297 in my
version) and then again alone (at line 420 in my version) under
caption "Special section index.".

I suggest removal of the second, redundant definition:

--- elf.h.orig	Wed Dec 25 20:02:20 2002
+++ elf.h	Wed Dec 25 20:02:48 2002
@@ -415,10 +415,6 @@
 #define SYMINFO_NUM		2
 
 
-/* Special section index.  */
-
-#define SHN_UNDEF	0		/* No section, undefined symbol.  */
-
 /* How to extract and insert information held in the st_info field.  */
 
 #define ELF32_ST_BIND(val)		(((unsigned char) (val)) >> 4)

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux akela 2.2.19 #2 Mon Oct 8 22:09:51 EET 2001 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages libc6-dev depends on:
ii  libc6                         2.2.5-11.2 GNU C Library: Shared libraries an



Reply to: