Re: [U-Boot] [PATCH] x86: Force 32-bit jumps in interrupt handlers

2017-02-20 Thread Bin Meng
On Fri, Feb 10, 2017 at 11:46 AM, Bin Meng wrote: > On Fri, Feb 10, 2017 at 10:54 AM, J. Tang wrote: >> Depending upon the compiler used, IRQ entries could vary in sizes. With >> GCC 5.x, the code generator will use short jumps for some IRQ entries >> but near jumps for others. For example, GCC 5

Re: [U-Boot] [PATCH] x86: Force 32-bit jumps in interrupt handlers

2017-02-09 Thread Bin Meng
On Fri, Feb 10, 2017 at 10:54 AM, J. Tang wrote: > Depending upon the compiler used, IRQ entries could vary in sizes. With > GCC 5.x, the code generator will use short jumps for some IRQ entries > but near jumps for others. For example, GCC 5.4.0 generates the > following: > > $ objdump -d interru

[U-Boot] [PATCH] x86: Force 32-bit jumps in interrupt handlers

2017-02-09 Thread J. Tang
Depending upon the compiler used, IRQ entries could vary in sizes. With GCC 5.x, the code generator will use short jumps for some IRQ entries but near jumps for others. For example, GCC 5.4.0 generates the following: $ objdump -d interrupt.o 0207 : 207: 6a 12 push $0x12