Compile results and segment sizes Nut/OS 4.6.4 ARM-gcc 3.4.3
BASEMON
CALTIME
CANDEMO
EVENTS
FTPD
HTTPD
INETQ
ISP2
LOGTIME
NUTPIPER
PLAYMP3
PORTDIO
PPPC
RS232D
SIMPLE
SNMPD
TCPS
THREADS
TIMERS
UART
basemon
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=basemon.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include basemon.c -o basemon.o
In file included from ../.././nut/include/sys/socket.h:169,
from basemon.c:158:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from basemon.c:158:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [basemon.o] Error 1
ELF File Information:
caltime
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=caltime.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include caltime.c -o caltime.o
arm-elf-gcc caltime.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=caltime.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutcrt -lnutos -lnutdev -lnutarch -Wl,--end-group -o caltime.c.elf
ELF File Information:
There are 15 section headers, starting at offset 0x1130c:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 008000 007c84 00 AX 0 0 4
[ 2] .rodata PROGBITS 00007c84 00fc84 000628 00 A 0 0 4
[ 3] .ctors PROGBITS 000082ac 0108b8 000000 00 W 0 0 1
[ 4] .dtors PROGBITS 000082ac 0108b8 000000 00 W 0 0 1
[ 5] .data PROGBITS 000082ac 0102ac 00060c 00 WA 0 0 4
[ 6] .bss NOBITS 000088b8 0108b8 000490 00 WA 0 0 4
[ 7] .comment PROGBITS 00000000 0108b8 000438 00 0 0 1
[ 8] .debug_aranges PROGBITS 00000000 010cf0 0000a0 00 0 0 8
[ 9] .debug_info PROGBITS 00000000 010d90 000244 00 0 0 1
[10] .debug_abbrev PROGBITS 00000000 010fd4 000064 00 0 0 1
[11] .debug_line PROGBITS 00000000 011038 000253 00 0 0 1
[12] .shstrtab STRTAB 00000000 01128b 000080 00 0 0 1
[13] .symtab SYMTAB 00000000 011564 002790 10 14 439 4
[14] .strtab STRTAB 00000000 013cf4 000faf 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Elf file type is EXEC (Executable file)
Entry point 0x38
There are 1 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x088b8 0x08d48 RWE 0x8000
Section to Segment mapping:
Segment Sections...
00 .text .rodata .data .bss
canbus
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=candemo.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include candemo.c -o candemo.o
candemo.c: In function `main':
candemo.c:86: warning: unused variable `i'
candemo.c:87: warning: unused variable `result'
arm-elf-gcc candemo.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=candemo.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutpro -lnutos -lnutarch -lnutdev -lnutnet -lnutfs -lnutcrt -Wl,--end-group -o candemo.c.elf
d:\drv-d\winarm_3.4.3\winarm\bin\..\lib\gcc\arm-elf\3.4.3\..\..\..\..\arm-elf\bin\ld.exe: cannot find -lnutpro
collect2: ld returned 1 exit status
make: *** [candemo.c.elf] Error 1
ELF File Information:
events
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=events.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include events.c -o events.o
arm-elf-gcc events.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=events.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutcrt -Wl,--end-group -o events.c.elf
ELF File Information:
There are 15 section headers, starting at offset 0xcc18:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 008000 0043c0 00 AX 0 0 4
[ 2] .rodata PROGBITS 000043c0 00c3c0 000150 01 AMS 0 0 4
[ 3] .ctors PROGBITS 00004510 00c5d0 000000 00 W 0 0 1
[ 4] .dtors PROGBITS 00004510 00c5d0 000000 00 W 0 0 1
[ 5] .data PROGBITS 00004510 00c510 0000c0 00 WA 0 0 4
[ 6] .bss NOBITS 000045d0 00c5d0 000478 00 WA 0 0 4
[ 7] .comment PROGBITS 00000000 00c5d0 000276 00 0 0 1
[ 8] .debug_aranges PROGBITS 00000000 00c848 000060 00 0 0 8
[ 9] .debug_info PROGBITS 00000000 00c8a8 00015c 00 0 0 1
[10] .debug_abbrev PROGBITS 00000000 00ca04 00003c 00 0 0 1
[11] .debug_line PROGBITS 00000000 00ca40 000155 00 0 0 1
[12] .shstrtab STRTAB 00000000 00cb95 000080 00 0 0 1
[13] .symtab SYMTAB 00000000 00ce70 0019b0 10 14 258 4
[14] .strtab STRTAB 00000000 00e820 000a90 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Elf file type is EXEC (Executable file)
Entry point 0x38
There are 1 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x045d0 0x04a48 RWE 0x8000
Section to Segment mapping:
Segment Sections...
00 .text .rodata .data .bss
ftpd
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=ftpserv.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include ftpserv.c -o ftpserv.o
In file included from ../.././nut/include/sys/socket.h:169,
from ftpserv.c:87:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from ftpserv.c:87:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [ftpserv.o] Error 1
ELF File Information:
httpd
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=httpserv.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include httpserv.c -o httpserv.o
In file included from ../.././nut/include/sys/socket.h:169,
from httpserv.c:210:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from httpserv.c:210:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [httpserv.o] Error 1
ELF File Information:
inetq
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=inetq.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include inetq.c -o inetq.o
In file included from ../.././nut/include/sys/socket.h:169,
from inetq.c:103:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from inetq.c:103:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [inetq.o] Error 1
ELF File Information:
isp2
makefile:55: Makedefs.isp: No such file or directory
makefile:70: Makerules.isp: No such file or directory
make: *** No rule to make target `Makerules.isp'. Stop.
ELF File Information:
logtime
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=logtime.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include logtime.c -o logtime.o
arm-elf-gcc logtime.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=logtime.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutpro -lnutnet -lnutcrt -lnutos -lnutdev -lnutarch -lnutos -lnutdev -lnutnet -Wl,--end-group -o logtime.c.elf
d:\drv-d\winarm_3.4.3\winarm\bin\..\lib\gcc\arm-elf\3.4.3\..\..\..\..\arm-elf\bin\ld.exe: cannot find -lnutpro
collect2: ld returned 1 exit status
make: *** [logtime.c.elf] Error 1
ELF File Information:
nutpiper
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=nutpiper.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include nutpiper.c -o nutpiper.o
In file included from ../.././nut/include/sys/socket.h:169,
from scanner.h:45,
from nutpiper.c:95:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from scanner.h:45,
from nutpiper.c:95:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
nutpiper.c: In function `main':
nutpiper.c:396: warning: unused variable `mac'
nutpiper.c:398: warning: unused variable `ip_addr'
nutpiper.c:400: warning: unused variable `ip_mask'
nutpiper.c:402: warning: unused variable `ip_gate'
make: *** [nutpiper.o] Error 1
ELF File Information:
playmp3
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=playmp3.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include playmp3.c -o playmp3.o
playmp3.c:71: warning: 'PlayMp3File' declared `static' but never defined
crurom -r -ourom.c sounds
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=urom.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include urom.c -o urom.o
arm-elf-gcc playmp3.o urom.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=playmp3.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutfs -lnutos -lnutcrt -lnutdev -lnutarch -Wl,--end-group -o playmp3.c.elf
d:\drv-d\winarm_3.4.3\winarm\bin\..\lib\gcc\arm-elf\3.4.3\..\..\..\..\arm-elf\bin\ld.exe: cannot find -lnutfs
collect2: ld returned 1 exit status
make: *** [playmp3.c.elf] Error 1
ELF File Information:
portdio
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=portdio.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include portdio.c -o portdio.o
In file included from ../.././nut/include/sys/socket.h:169,
from portdio.c:113:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from portdio.c:113:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [portdio.o] Error 1
ELF File Information:
pppc
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=pppc.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include pppc.c -o pppc.o
pppc.c:107:2: warning: #warning "Works on ATmega128 only."
In file included from ../.././nut/include/sys/socket.h:169,
from pppc.c:130:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from pppc.c:130:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
pppc.c: In function `ProcessRequests':
pppc.c:224: warning: unsigned int format, size_t arg (arg 3)
pppc.c:252: warning: cast from pointer to integer of different size
pppc.c: In function `main':
pppc.c:305: warning: unused variable `dcb'
pppc.c:306: warning: unused variable `lctl'
pppc.c:307: warning: unused variable `rc'
make: *** [pppc.o] Error 1
ELF File Information:
rs232d
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=rs232d.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include rs232d.c -o rs232d.o
In file included from ../.././nut/include/sys/socket.h:169,
from rs232d.c:88:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from rs232d.c:88:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [rs232d.o] Error 1
ELF File Information:
simple
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=simple.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include simple.c -o simple.o
arm-elf-gcc simple.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=simple.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutcrt -Wl,--end-group -o simple.c.elf
ELF File Information:
There are 15 section headers, starting at offset 0xbf10:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 008000 003970 00 AX 0 0 4
[ 2] .rodata PROGBITS 00003970 00b970 00001c 01 AMS 0 0 4
[ 3] .ctors PROGBITS 0000398c 00b9b4 000000 00 W 0 0 1
[ 4] .dtors PROGBITS 0000398c 00b9b4 000000 00 W 0 0 1
[ 5] .data PROGBITS 0000398c 00b98c 000028 00 WA 0 0 4
[ 6] .bss NOBITS 000039b4 00b9b4 000458 00 WA 0 0 4
[ 7] .comment PROGBITS 00000000 00b9b4 00018c 00 0 0 1
[ 8] .debug_aranges PROGBITS 00000000 00bb40 000060 00 0 0 8
[ 9] .debug_info PROGBITS 00000000 00bba0 00015c 00 0 0 1
[10] .debug_abbrev PROGBITS 00000000 00bcfc 00003c 00 0 0 1
[11] .debug_line PROGBITS 00000000 00bd38 000155 00 0 0 1
[12] .shstrtab STRTAB 00000000 00be8d 000080 00 0 0 1
[13] .symtab SYMTAB 00000000 00c168 0014b0 10 14 207 4
[14] .strtab STRTAB 00000000 00d618 000915 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Elf file type is EXEC (Executable file)
Entry point 0x38
There are 1 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x039b4 0x03e0c RWE 0x8000
Section to Segment mapping:
Segment Sections...
00 .text .rodata .data .bss
snmpd
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=snmpd.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include snmpd.c -o snmpd.o
In file included from ../.././nut/include/sys/socket.h:169,
from ../.././nut/include/pro/snmp_agent.h:46,
from snmpd.c:51:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from ../.././nut/include/pro/snmp_agent.h:46,
from snmpd.c:51:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [snmpd.o] Error 1
ELF File Information:
tcps
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=tcps.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include tcps.c -o tcps.o
In file included from ../.././nut/include/sys/socket.h:169,
from tcps.c:97:
../.././nut/include/sys/sock_var.h:122:20: stdint.h: No such file or directory
In file included from ../.././nut/include/sys/socket.h:169,
from tcps.c:97:
../.././nut/include/sys/sock_var.h:166: error: parse error before "uint_fast8_t"
../.././nut/include/sys/sock_var.h:166: warning: function declaration isn't a prototype
make: *** [tcps.o] Error 1
ELF File Information:
threads
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=threads.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include threads.c -o threads.o
arm-elf-gcc threads.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=threads.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutos -lnutcrt -Wl,--end-group -o threads.c.elf
ELF File Information:
There are 15 section headers, starting at offset 0xddc0:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 008000 0055d0 00 AX 0 0 4
[ 2] .rodata PROGBITS 000055d0 00d5d0 000040 01 AMS 0 0 4
[ 3] .ctors PROGBITS 00005610 00d744 000000 00 W 0 0 1
[ 4] .dtors PROGBITS 00005610 00d744 000000 00 W 0 0 1
[ 5] .data PROGBITS 00005610 00d610 000134 00 WA 0 0 4
[ 6] .bss NOBITS 00005744 00d744 000464 00 WA 0 0 4
[ 7] .comment PROGBITS 00000000 00d744 0002ac 00 0 0 1
[ 8] .debug_aranges PROGBITS 00000000 00d9f0 000060 00 0 0 8
[ 9] .debug_info PROGBITS 00000000 00da50 00015c 00 0 0 1
[10] .debug_abbrev PROGBITS 00000000 00dbac 00003c 00 0 0 1
[11] .debug_line PROGBITS 00000000 00dbe8 000155 00 0 0 1
[12] .shstrtab STRTAB 00000000 00dd3d 000080 00 0 0 1
[13] .symtab SYMTAB 00000000 00e018 001df0 10 14 327 4
[14] .strtab STRTAB 00000000 00fe08 000cb1 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Elf file type is EXEC (Executable file)
Entry point 0x38
There are 1 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x05744 0x05ba8 RWE 0x8000
Section to Segment mapping:
Segment Sections...
00 .text .rodata .data .bss
timers
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=timers.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include timers.c -o timers.o
arm-elf-gcc timers.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=timers.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutcrt -Wl,--end-group -o timers.c.elf
ELF File Information:
There are 15 section headers, starting at offset 0xd970:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 008000 004eec 00 AX 0 0 4
[ 2] .rodata PROGBITS 00004eec 00ceec 0001f8 01 AMS 0 0 4
[ 3] .ctors PROGBITS 000050e4 00d1c4 000000 00 W 0 0 1
[ 4] .dtors PROGBITS 000050e4 00d1c4 000000 00 W 0 0 1
[ 5] .data PROGBITS 000050e4 00d0e4 0000e0 00 WA 0 0 4
[ 6] .bss NOBITS 000051c4 00d1c4 000474 00 WA 0 0 4
[ 7] .comment PROGBITS 00000000 00d1c4 0002be 00 0 0 1
[ 8] .debug_aranges PROGBITS 00000000 00d488 000080 00 0 0 8
[ 9] .debug_info PROGBITS 00000000 00d508 0001d0 00 0 0 1
[10] .debug_abbrev PROGBITS 00000000 00d6d8 000050 00 0 0 1
[11] .debug_line PROGBITS 00000000 00d728 0001c7 00 0 0 1
[12] .shstrtab STRTAB 00000000 00d8ef 000080 00 0 0 1
[13] .symtab SYMTAB 00000000 00dbc8 001c10 10 14 284 4
[14] .strtab STRTAB 00000000 00f7d8 000b44 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Elf file type is EXEC (Executable file)
Entry point 0x38
There are 1 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x051c4 0x05638 RWE 0x8000
Section to Segment mapping:
Segment Sections...
00 .text .rodata .data .bss
uart
arm-elf-gcc -c -mcpu=arm7tdmi -Os -mthumb-interwork -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=uart.lst -DETHERNUT3 -I../.././nutbld_arm_3.4.3/include -I../.././nut/include uart.c -o uart.o
arm-elf-gcc uart.o -mcpu=arm7tdmi -nostartfiles -T../.././nut/arch/arm/ldscripts/at91_ram.ld -Wl,-Map=uart.map,--cref,--no-warn-mismatch -L../.././nutbld_arm_3.4.3/lib -Wl,--start-group ../.././nutbld_arm_3.4.3/lib/nutinit.o -lnutcrt -lnutarch -lnutdev -lnutos -lnutdev -lnutarch -Wl,--end-group -o uart.c.elf
ELF File Information:
There are 15 section headers, starting at offset 0xe898:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 008000 005e94 00 AX 0 0 4
[ 2] .rodata PROGBITS 00005e94 00de94 0000b8 00 A 0 0 4
[ 3] .ctors PROGBITS 00005f4c 00e0a4 000000 00 W 0 0 1
[ 4] .dtors PROGBITS 00005f4c 00e0a4 000000 00 W 0 0 1
[ 5] .data PROGBITS 00005f4c 00df4c 000158 00 WA 0 0 4
[ 6] .bss NOBITS 000060a4 00e0a4 0004e0 00 WA 0 0 4
[ 7] .comment PROGBITS 00000000 00e0a4 000306 00 0 0 1
[ 8] .debug_aranges PROGBITS 00000000 00e3b0 000080 00 0 0 8
[ 9] .debug_info PROGBITS 00000000 00e430 0001d0 00 0 0 1
[10] .debug_abbrev PROGBITS 00000000 00e600 000050 00 0 0 1
[11] .debug_line PROGBITS 00000000 00e650 0001c7 00 0 0 1
[12] .shstrtab STRTAB 00000000 00e817 000080 00 0 0 1
[13] .symtab SYMTAB 00000000 00eaf0 001f50 10 14 345 4
[14] .strtab STRTAB 00000000 010a40 000d2c 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
Elf file type is EXEC (Executable file)
Entry point 0x38
There are 1 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x008000 0x00000000 0x00000000 0x060a4 0x06584 RWE 0x8000
Section to Segment mapping:
Segment Sections...
00 .text .rodata .data .bss