Compile results and segment sizes Nut/OS 4.5.4 AVR-gcc 3.4.1



BASEMON
CALTIME
CANDEMO
EVENTS
FTPD
HTTPD
INETQ
ISP2
LOGTIME
NUTPIPER
PLAYMP3
PORTDIO
PPPC
RS232D
SIMPLE
SNMPD
TCPS
THREADS
TIMERS
UART




basemon



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=basemon.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=caltime.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  caltime.c -o caltime.o
avr-gcc caltime.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=caltime.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutcrt -lnutos -lnutdev -lnutarch -Wl,--end-group -o caltime.c.elf

ELF File Information:

There are 9 section headers, starting at offset 0x5fc0:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .data             PROGBITS        00800100 0059f0 000594 00  WA  0   0  1
  [ 2] .text             PROGBITS        00000000 000094 00595c 00  AX  0   0  2
  [ 3] .bss              NOBITS          00800694 005f84 00008d 00  WA  0   0  1
  [ 4] .noinit           PROGBITS        00800721 005f84 000000 00   W  0   0  1
  [ 5] .eeprom           PROGBITS        00810000 005f84 000000 00   W  0   0  1
  [ 6] .shstrtab         STRTAB          00000000 005f84 00003c 00      0   0  1
  [ 7] .symtab           SYMTAB          00000000 006128 002650 10      8 18f  4
  [ 8] .strtab           STRTAB          00000000 008778 001135 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 0x0
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0x00000000 0x00000000 0x0595c 0x0595c R E 0x1
  LOAD           0x0059f0 0x00800100 0x0000595c 0x00594 0x00594 RW  0x1
  LOAD           0x005f84 0x00800694 0x00800694 0x00000 0x0008d RW  0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text 
   01     .data 
   02     .bss 


canbus



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=candemo.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  candemo.c -o candemo.o
avr-gcc candemo.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=candemo.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutpro -lnutos -lnutarch -lnutdev -lnutnet -lnutfs -lnutcrt -Wl,--end-group -o candemo.c.elf
d:\drv-nut\WinAVR_3.4.1\bin\..\lib\gcc\avr\3.4.1\..\..\..\..\avr\bin\ld.exe: cannot find -lnutpro
make: *** [candemo.c.elf] Error 1

ELF File Information:




events



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=events.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  events.c -o events.o
avr-gcc events.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=events.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutcrt -Wl,--end-group -o events.c.elf

ELF File Information:

There are 9 section headers, starting at offset 0x1f18:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .data             PROGBITS        00800100 001d7a 000162 00  WA  0   0  1
  [ 2] .text             PROGBITS        00000000 000094 001ce6 00  AX  0   0  1
  [ 3] .bss              NOBITS          00800262 001edc 00007a 00  WA  0   0  1
  [ 4] .noinit           PROGBITS        008002dc 001edc 000000 00   W  0   0  1
  [ 5] .eeprom           PROGBITS        00810000 001edc 000000 00   W  0   0  1
  [ 6] .shstrtab         STRTAB          00000000 001edc 00003c 00      0   0  1
  [ 7] .symtab           SYMTAB          00000000 002080 0016b0 10      8  d1  4
  [ 8] .strtab           STRTAB          00000000 003730 000ac9 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 0x0
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0x00000000 0x00000000 0x01ce6 0x01ce6 R E 0x1
  LOAD           0x001d7a 0x00800100 0x00001ce6 0x00162 0x00162 RW  0x1
  LOAD           0x001edc 0x00800262 0x00800262 0x00000 0x0007a RW  0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text 
   01     .data 
   02     .bss 


ftpd



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=ftpserv.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=httpserv.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  httpserv.c -o httpserv.o
In file included from ../.././nut/include/sys/socket.h:169,
                 from httpserv.c:197:
../.././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:197:
../.././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
httpserv.c: In function `ShowQuery':
httpserv.c:295: warning: int format, different type arg (arg 6)
make: *** [httpserv.o] Error 1

ELF File Information:




inetq



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=inetq.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=logtime.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  logtime.c -o logtime.o
avr-gcc logtime.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=logtime.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutpro -lnutnet -lnutcrt -lnutos -lnutdev -lnutarch -lnutos -lnutdev -lnutnet -Wl,--end-group -o logtime.c.elf
d:\drv-nut\WinAVR_3.4.1\bin\..\lib\gcc\avr\3.4.1\..\..\..\..\avr\bin\ld.exe: cannot find -lnutpro
make: *** [logtime.c.elf] Error 1

ELF File Information:




nutpiper



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=nutpiper.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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
make: *** [nutpiper.o] Error 1

ELF File Information:




playmp3



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=playmp3.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  playmp3.c -o playmp3.o
crurom -r -ourom.c sounds
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=urom.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  urom.c -o urom.o
avr-gcc playmp3.o urom.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=playmp3.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutfs -lnutos -lnutcrt -lnutdev -lnutarch -Wl,--end-group -o playmp3.c.elf
d:\drv-nut\WinAVR_3.4.1\bin\..\lib\gcc\avr\3.4.1\..\..\..\..\avr\bin\ld.exe: cannot find -lnutfs
make: *** [playmp3.c.elf] Error 1

ELF File Information:




portdio



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=portdio.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=pppc.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  pppc.c -o pppc.o
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
make: *** [pppc.o] Error 1

ELF File Information:




rs232d



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=rs232d.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=simple.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  simple.c -o simple.o
avr-gcc simple.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=simple.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutcrt  -Wl,--end-group -o simple.c.elf

ELF File Information:

There are 9 section headers, starting at offset 0x165c:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .data             PROGBITS        00800100 001604 00001a 00  WA  0   0  1
  [ 2] .text             PROGBITS        00000000 000094 001570 00  AX  0   0  1
  [ 3] .bss              NOBITS          0080011a 00161e 00006e 00  WA  0   0  1
  [ 4] .noinit           PROGBITS        00800188 00161e 000000 00   W  0   0  1
  [ 5] .eeprom           PROGBITS        00810000 00161e 000000 00   W  0   0  1
  [ 6] .shstrtab         STRTAB          00000000 00161e 00003c 00      0   0  1
  [ 7] .symtab           SYMTAB          00000000 0017c4 000fa0 10      8  74  4
  [ 8] .strtab           STRTAB          00000000 002764 00095f 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 0x0
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0x00000000 0x00000000 0x01570 0x01570 R E 0x1
  LOAD           0x001604 0x00800100 0x00001570 0x0001a 0x0001a RW  0x1
  LOAD           0x00161e 0x0080011a 0x0080011a 0x00000 0x0006e RW  0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text 
   01     .data 
   02     .bss 


snmpd



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=snmpd.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=tcps.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/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



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=threads.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  threads.c -o threads.o
avr-gcc threads.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=threads.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutos -lnutcrt  -Wl,--end-group -o threads.c.elf

ELF File Information:

There are 9 section headers, starting at offset 0x301c:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .data             PROGBITS        00800100 002f12 0000ce 00  WA  0   0  1
  [ 2] .text             PROGBITS        00000000 000094 002e7e 00  AX  0   0  2
  [ 3] .bss              NOBITS          008001ce 002fe0 000075 00  WA  0   0  1
  [ 4] .noinit           PROGBITS        00800243 002fe0 000000 00   W  0   0  1
  [ 5] .eeprom           PROGBITS        00810000 002fe0 000000 00   W  0   0  1
  [ 6] .shstrtab         STRTAB          00000000 002fe0 00003c 00      0   0  1
  [ 7] .symtab           SYMTAB          00000000 003184 001a40 10      8  ff  4
  [ 8] .strtab           STRTAB          00000000 004bc4 000d39 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 0x0
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0x00000000 0x00000000 0x02e7e 0x02e7e R E 0x1
  LOAD           0x002f12 0x00800100 0x00002e7e 0x000ce 0x000ce RW  0x1
  LOAD           0x002fe0 0x008001ce 0x008001ce 0x00000 0x00075 RW  0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text 
   01     .data 
   02     .bss 


timers



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=timers.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  timers.c -o timers.o
avr-gcc timers.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=timers.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutos -lnutarch -lnutdev -lnutarch -lnutcrt -Wl,--end-group -o timers.c.elf

ELF File Information:

There are 9 section headers, starting at offset 0x2aa8:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .data             PROGBITS        00800100 002858 000212 00  WA  0   0  1
  [ 2] .text             PROGBITS        00000000 000094 0027c4 00  AX  0   0  1
  [ 3] .bss              NOBITS          00800312 002a6a 000078 00  WA  0   0  1
  [ 4] .noinit           PROGBITS        0080038a 002a6a 000000 00   W  0   0  1
  [ 5] .eeprom           PROGBITS        00810000 002a6a 000000 00   W  0   0  1
  [ 6] .shstrtab         STRTAB          00000000 002a6a 00003c 00      0   0  1
  [ 7] .symtab           SYMTAB          00000000 002c10 001930 10      8  ec  4
  [ 8] .strtab           STRTAB          00000000 004540 000be0 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 0x0
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0x00000000 0x00000000 0x027c4 0x027c4 R E 0x1
  LOAD           0x002858 0x00800100 0x000027c4 0x00212 0x00212 RW  0x1
  LOAD           0x002a6a 0x00800312 0x00800312 0x00000 0x00078 RW  0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text 
   01     .data 
   02     .bss 


uart



avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Wa,-ahlms=uart.lst -DETHERNUT2 -D__HARVARD_ARCH__ -I../.././nutbld_avr_3.4.1/include  -I../.././nut/include  uart.c -o uart.o
avr-gcc uart.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=uart.map,--cref -L../.././nutbld_avr_3.4.1/lib -Wl,--start-group ../.././nutbld_avr_3.4.1/lib/nutinit.o -lnutcrt -lnutarch -lnutdev -lnutos -lnutdev -lnutarch  -Wl,--end-group -o uart.c.elf

ELF File Information:

There are 9 section headers, starting at offset 0x3874:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .data             PROGBITS        00800100 0036fc 00013a 00  WA  0   0  1
  [ 2] .text             PROGBITS        00000000 000094 003668 00  AX  0   0  2
  [ 3] .bss              NOBITS          0080023a 003836 0000f5 00  WA  0   0  1
  [ 4] .noinit           PROGBITS        0080032f 003836 000000 00   W  0   0  1
  [ 5] .eeprom           PROGBITS        00810000 003836 000000 00   W  0   0  1
  [ 6] .shstrtab         STRTAB          00000000 003836 00003c 00      0   0  1
  [ 7] .symtab           SYMTAB          00000000 0039dc 001da0 10      8 12e  4
  [ 8] .strtab           STRTAB          00000000 00577c 000e5a 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 0x0
There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000094 0x00000000 0x00000000 0x03668 0x03668 R E 0x1
  LOAD           0x0036fc 0x00800100 0x00003668 0x0013a 0x0013a RW  0x1
  LOAD           0x003836 0x0080023a 0x0080023a 0x00000 0x000f5 RW  0x1

 Section to Segment mapping:
  Segment Sections...
   00     .text 
   01     .data 
   02     .bss