patch-2.0.13 linux/include/linux/a.out.h

Next file: linux/include/linux/blk.h
Previous file: linux/include/asm-alpha/segment.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.12/linux/include/linux/a.out.h linux/include/linux/a.out.h
@@ -94,15 +94,15 @@
 #endif
 
 #if !defined (N_DRELOFF)
-#define N_DRELOFF(x) (N_TRELOFF(x) + (x).a_trsize)
+#define N_DRELOFF(x) (N_TRELOFF(x) + N_TRSIZE(x))
 #endif
 
 #if !defined (N_SYMOFF)
-#define N_SYMOFF(x) (N_DRELOFF(x) + (x).a_drsize)
+#define N_SYMOFF(x) (N_DRELOFF(x) + N_DRSIZE(x))
 #endif
 
 #if !defined (N_STROFF)
-#define N_STROFF(x) (N_SYMOFF(x) + (x).a_syms)
+#define N_STROFF(x) (N_SYMOFF(x) + N_SYMSIZE(x))
 #endif
 
 /* Address of text segment in memory after it is loaded.  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov