[syslinux] ISOLINUX and readdir: Performance

Gene Cumm gene.cumm at gmail.com
Sun Mar 29 17:26:35 PDT 2009


On Sun, Mar 29, 2009 at 2:21 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> Gene Cumm wrote:
>>
>> Which files should I examine to verify this and how?  The .lsr files
>> in the second column (the 32b Hex number with leading 0s) and finding
>> rl_checkpt? It looks like the issue is .adv moving up but I'm
>> uncertain if I'm examining the correct files or examining the files
>> correctly.
>>
>
> What is the error you're observing?
>

>From my e-mail titled "isolinux-debug: Approaching overflow":

$ make all
nasm -O9999 -f elf -g -F stabs -DDATE_STR="'pre11-112-g930881b*'" \
               -DHEXDATE="0x49caaf5b" \
               -l isolinux.lsr -o isolinux.o isolinux.asm
ld -m elf_i386  -T syslinux.ld -M -o isolinux.elf isolinux.o > isolinux.map
objdump -h isolinux.elf > isolinux.sec
perl lstadjust.pl isolinux.lsr isolinux.sec isolinux.lst
objcopy -O binary isolinux.elf isolinux.bin
perl checksumiso.pl isolinux.bin
nasm -O9999 -f elf -g -F stabs -DDATE_STR="'pre11-112-g930881b*'" \
               -DHEXDATE="0x49caaf5b" \
               -l isolinux-debug.lsr -o isolinux-debug.o isolinux-debug.asm
ld -m elf_i386  -T syslinux.ld -M -o isolinux-debug.elf
isolinux-debug.o > isolinux-debug.map
ld: 64K overflow
ld: 64K overflow
isolinux-debug.o: In function `msg_filename':
isolinux-debug.asm:(.text+0x202d): relocation truncated to fit:
R_386_16 against `.bss1'
isolinux-debug.o: In function `msg_viewimage':
isolinux-debug.asm:(.text+0x2049): relocation truncated to fit:
R_386_16 against `.bss1'
ld: 64K overflow
make: *** [isolinux-debug.elf] Error 1

Examining isolinux-debug.map, .bss1 seems to be ending just above the
64kiB mark, mostly because .adv gets incremented up (0xB200 to
0xB400).

-Gene




More information about the Syslinux mailing list