diff -uNr linux-1.0.9hch1/kernel/ksyms.S linux-1.0.9hch1-fixed/kernel/ksyms.S --- linux-1.0.9hch1/kernel/ksyms.S Wed Feb 16 08:30:21 1994 +++ linux-1.0.9hch1-fixed/kernel/ksyms.S Mon Apr 1 16:24:00 2002 @@ -7,24 +7,24 @@ * Jon. */ -_register_chrdev -_unregister_chrdev -_register_blkdev -_unregister_blkdev -_wake_up_interruptible +register_chrdev +unregister_chrdev +register_blkdev +unregister_blkdev +wake_up_interruptible -_wp_works_ok -___verify_write +wp_works_ok +__verify_write -_current -_jiffies -_printk -_schedule +current +jiffies +printk +schedule #ifdef CONFIG_FTAPE # # The next labels are needed for ftape driver. # -_ftape_big_buffer -_do_floppy +ftape_big_buffer +do_floppy #endif diff -uNr linux-1.0.9hch1/kernel/ksyms.sh linux-1.0.9hch1-fixed/kernel/ksyms.sh --- linux-1.0.9hch1/kernel/ksyms.sh Fri Feb 18 15:54:02 1994 +++ linux-1.0.9hch1-fixed/kernel/ksyms.sh Mon Apr 1 16:24:16 2002 @@ -15,12 +15,22 @@ sed -e '/^#/d' -e '/^[ ]*$/d' ksyms.lst | sort > ksyms.tmp echo ' .data +#ifdef __ELF__ + .globl symbol_table_size, symbol_table + +symbol_table_size: +#else .globl _symbol_table_size, _symbol_table -_symbol_table_size:' +_symbol_table_size: +#endif' echo " .long" `wc -l < ksyms.tmp` echo ' -_symbol_table:' +#ifdef __ELF__ +symbol_table: +#else +_symbol_table: +#endif' awk 'BEGIN {stringloc = 0} {print " .long " $1; print " .long strings+" stringloc; \ stringloc += length($1) + 1;}' ksyms.tmp