https://sourceware.org/bugzilla/show_bug.cgi?id=27905
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- [hjl@gnu-cfl-2 pr27905]$ cat rom.s .code16gcc .text .section .text.default_process_op.isra.0,"ax",@progbits .type default_process_op.isra.0, @function default_process_op.isra.0: ret .section .text.mpt_scsi_process_op,"ax",@progbits .type mpt_scsi_process_op, @function mpt_scsi_process_op: jmp default_process_op.isra.0 [hjl@gnu-cfl-2 pr27905]$ cat rom.lds OUTPUT_FORMAT("elf32-i386") OUTPUT_ARCH("i386") SECTIONS { .text.default_process_op.isra.0 0x737c : { *(.text.default_process_op.isra.0) } .text.mpt_scsi_process_op 0xf869 : { *(.text.mpt_scsi_process_op) } } [hjl@gnu-cfl-2 pr27905]$ make rom gcc -B./ -m32 -c -o rom.o rom.s ld -o rom -T rom.lds rom.o rom.o: in function `mpt_scsi_process_op': (.text.mpt_scsi_process_op+0x1): relocation truncated to fit: R_386_PC16 against `.text.default_process_op.isra.0' make: *** [Makefile:10: rom] Error 1 [hjl@gnu-cfl-2 pr27905]$ -- You are receiving this mail because: You are on the CC list for the bug.