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

[Xen-ia64-devel] [PATCH] create System.map from xen-syms



Having a System.map file for the xen kernel can be handy at times.  This
just does the same thing as the linux/scripts/mksysmap script.

Signed-off-by: Greg Edwards <edwardsg@xxxxxxx>


 xen/arch/ia64/Makefile |    2 ++
 1 files changed, 2 insertions(+)

Index: a/xen/arch/ia64/Makefile
===================================================================
--- a/xen/arch/ia64/Makefile    2005-05-23 10:50:29.902793176 -0500
+++ b/xen/arch/ia64/Makefile    2005-05-23 10:50:48.692622344 -0500
@@ -29,6 +29,8 @@ default: $(OBJS) head.o ia64lib.o xen.ld
        $(LD) $(LDFLAGS) -T $(BASEDIR)/arch/$(TARGET_ARCH)/xen.lds.s -N \
                -Map map.out head.o $(ALL_OBJS) -o $(TARGET)-syms
        $(OBJCOPY) -R .note -R .comment -S $(TARGET)-syms $(TARGET)
+       $(NM) -n $(TARGET)-syms | grep -v '\( [aUw] \)\|\(__crc_\)\|\( 
\$[adt]\)'\
+                > $(BASEDIR)/System.map
 
 asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp
        $(CC) $(CFLAGS) -S -o $@ $<

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.