[Bug gas/6993] Far call/jump aren't supported in Intel mode

2008-10-28 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-10-29 01:54 --- We need to support near16, near32, far16, and far32: http://support.microsoft.com/kb/119517 -- http://sourceware.org/bugzilla/show_bug.cgi?id=6993 --- You are receiving this mail because: --- Y

[Bug gas/6993] New: Far call/jump aren't supported in Intel mode

2008-10-28 Thread hjl dot tools at gmail dot com
[EMAIL PROTECTED] tmp]$ cat jump.s call*(%ebx) lcallw *(%ebx) jmp *(%ebx) ljmpw *(%ebx) [EMAIL PROTECTED] tmp]$ gcc -c -m32 jump.s [EMAIL PROTECTED] tmp]$ objdump -dw -Mintel jump.o jump.o: file format elf32-i386 Disassembly of section .text: 0

[Bug gold/6992] constant strings don't get relocated properly in a relocatable built with gold

2008-10-28 Thread andyc at bluearc dot com
--- Additional Comments From andyc at bluearc dot com 2008-10-28 16:49 --- Created an attachment (id=3034) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3034&action=view) contains the source files that I used to generate the failing program. -- http://sourceware.org/bugzill

[Bug gold/6992] New: constant strings don't get relocated properly in a relocatable built with gold

2008-10-28 Thread andyc at bluearc dot com
Here's a program: # cat main.cpp #include int main() { printf("hello world\n"); return 0; } I have a script that builds that program: # cat buildit.sh LD=${LD:-'ld'} g++ -c main.cpp $LD -r -o relocatable.o --script script.lnk main.o g++ -o main relocatable.o ./main If I build the