x86 mov to/from segment registers
Josh Vanderhoof
josh.vanderhoof@verizon.net
Tue Nov 22 00:45:00 GMT 2005
More information about the Binutils mailing list
Tue Nov 22 00:45:00 GMT 2005
- Previous message (by thread): R_MIPS_PC16, again
- Next message (by thread): Patch: Fix elf_find_function () on a corner case
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It has just been brought to my attention that something I wrote
(sf.net/projects/lrmi) is not compiling on Fedora Core development
(gcc 4.0.2, binutils 2.16.91.0.3). The problem is with inline asms
like this:
asm volatile ("movl %%gs, %0" : "=rm" (old_gs));
asm volatile ("movl %0, %%gs" :: "rm" (old_gs));
Apparently changing the "movl" to "mov" makes it compile. What is the
correct way to get a segment register move without a size prefix?
- Previous message (by thread): R_MIPS_PC16, again
- Next message (by thread): Patch: Fix elf_find_function () on a corner case
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list