On 8/8/11 7:27 PM, Xiangfu Liu wrote:
Hi
can you compare the 'avr-nm -n softusb-input.elf' result after you apply
this patch.
It didn't compile prior to the patch so I don't have anything to compare
it to. The ouput is below.
it compile just fine here.
$ avr-gcc --version
avr-gcc (GCC) 4.3.4
$ avr-gcc --version
avr-gcc (GCC) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
Note this is on OSX - not that that should make any difference. I don't
have any time at the moment to look into this but I should be able to
starting next week.
$ avr-nm -n ../../../milkymist/softusb-input/softusb-input.elf
U __do_clear_bss
U __do_copy_data
00000000 a __tmp_reg__
00000000 a __tmp_reg__
00000000 a __tmp_reg__
00000000 a __tmp_reg__
00000000 B _edata
00000000 T _start
00000000 b port_a
00000001 a __zero_reg__
00000001 a __zero_reg__
00000001 a __zero_reg__
00000001 a __zero_reg__
00000007 b port_b
0000000e b frame_nr
00000010 B _end
0000001a t banner
0000002e t connect_fs
00000034 a __CCP__
00000034 a __CCP__
00000034 a __CCP__
00000034 a __CCP__
0000003d a __SP_L__
0000003d a __SP_L__
0000003d a __SP_L__
0000003d a __SP_L__
0000003e a __SP_H__
0000003e a __SP_H__
0000003e a __SP_H__
0000003e a __SP_H__
0000003f a __SREG__
0000003f a __SREG__
0000003f a __SREG__
0000003f a __SREG__
00000049 t connect_ls
00000063 t vid
00000069 t pid
00000071 t found
00000078 t unsupported_device
0000008c t keyboard
00000096 t mouse
0000009d t disconnect
000000b8 t control_failed
000000d2 t setup_reply
000000e0 t out_reply
000000eb t in_reply
000000fc t termination
0000010b t transfer_start
0000011c t timeout_error
0000012e t bitstuff_error
00000141 t retry_exceed
0000016a t datax_mismatch
0000017a t nodata
00000185 t hextab
00000196 t crc_table_lo
00000296 t crc_table_hi
00000396 T __ctors_end
00000396 T __ctors_start
00000396 T __dtors_end
00000396 T __dtors_start
00000396 T __trampolines_end
00000396 T __trampolines_start
00000396 t usb_tx
000003ce t usb_rx
0000044a t check_retry
0000046e t make_usb_token
000004a4 t control_transfer
000007ee t port_service
00000bee T main
00000c8a T print_char
00000ca6 T print_string
00000cd8 T print_hex
00000d30 T dump_hex
00000de4 T print_bin
00000e2c T usb_crc5
00000e6c T usb_crc16
00000ebc T memcpy
00000ef2 A __data_load_end
00000ef2 A __data_load_start
00000ef2 T _etext
$
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com