Script started on Thu 02 Oct 2003 09:56:28 PM EDT linuxserver1% nasm -f elf sep3.asm linuxserver1% linuxserver1% objdump -t sep3.o sep3.o: file format elf32-i386 SYMBOL TABLE: 00000000 l df *ABS* 00000000 sep3.asm 00000000 l d *ABS* 00000000 00000000 l d .data 00000000 00000000 l d .text 00000000 00000000 l .data 00000000 lvar1 00000000 l .text 00000000 test3 00000000 *UND* 00000000 _start 00000000 *UND* 00000000 add_these linuxserver1% linuxserver1% ld sep1.o sep2.o sep3.o linuxserver1% objdump -t a.out a.out: file format elf32-i386 SYMBOL TABLE: 08048080 l d .text 00000000 080490e8 l d .data 00000000 080490fc l d .bss 00000000 00000000 l d .comment 00000000 00000000 l d *ABS* 00000000 00000000 l d *ABS* 00000000 00000000 l d *ABS* 00000000 00000000 l df *ABS* 00000000 sep1.asm 080490ec l .data 00000000 lvar1 00000000 l df *ABS* 00000000 sep2.asm 080490f4 l .data 00000000 lvar1 00000000 l df *ABS* 00000000 sep3.asm 080490f8 l .data 00000000 lvar1 080480d0 l .text 00000000 test3 080480b0 g .text 00000000 add_these 08048080 g .text 00000000 _start 080490f0 g .data 00000000 gvar2 080490fc g *ABS* 00000000 __bss_start 080490e8 g .data 00000000 gvar1 080490fc g *ABS* 00000000 _edata 080490fc g *ABS* 00000000 _end linuxserver1% objdump -d a.out a.out: file format elf32-i386 Disassembly of section .text: 08048080 <_start>: 8048080: a1 e8 90 04 08 mov 0x80490e8,%eax 8048085: 8b 1d f0 90 04 08 mov 0x80490f0,%ebx 804808b: 8b 0d ec 90 04 08 mov 0x80490ec,%ecx 8048091: e8 1a 00 00 00 call 80480b0 8048096: 8b 1d e8 90 04 08 mov 0x80490e8,%ebx 804809c: b8 01 00 00 00 mov $0x1,%eax 80480a1: cd 80 int $0x80 80480a3: 90 nop 80480a4: 90 nop 80480a5: 90 nop 80480a6: 90 nop 80480a7: 90 nop 80480a8: 90 nop 80480a9: 90 nop 80480aa: 90 nop 80480ab: 90 nop 80480ac: 90 nop 80480ad: 90 nop 80480ae: 90 nop 80480af: 90 nop 080480b0 : 80480b0: c7 05 e8 90 04 08 00 movl $0x0,0x80490e8 80480b7: 00 00 00 80480ba: 01 05 e8 90 04 08 add %eax,0x80490e8 80480c0: 01 1d e8 90 04 08 add %ebx,0x80490e8 80480c6: 01 0d e8 90 04 08 add %ecx,0x80490e8 80480cc: c3 ret 80480cd: 90 nop 80480ce: 90 nop 80480cf: 90 nop 080480d0 : 80480d0: 81 3d f8 90 04 08 07 cmpl $0x7,0x80490f8 80480d7: 00 00 00 80480da: 0f 85 a0 ff ff ff jne 8048080 <_start> 80480e0: e9 cb ff ff ff jmp 80480b0 linuxserver1% exit exit Script done on Thu 02 Oct 2003 09:58:30 PM EDT