Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Palmer Dabbelt
On Wed, 14 Mar 2018 10:11:49 PDT (-0700), s...@shealevy.com wrote: Palmer Dabbelt writes: On Wed, 14 Mar 2018 05:07:09 PDT (-0700), s...@shealevy.com wrote: Palmer Dabbelt writes: On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote: Hi Palmer, Palmer Dabbelt writes: On T

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Palmer Dabbelt writes: > On Wed, 14 Mar 2018 05:07:09 PDT (-0700), s...@shealevy.com wrote: >> Palmer Dabbelt writes: >> >>> On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote: Hi Palmer, Palmer Dabbelt writes: > On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Palmer Dabbelt
On Wed, 14 Mar 2018 04:54:14 PDT (-0700), s...@shealevy.com wrote: Palmer Dabbelt writes: On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: 2018-03-14 5:30 GMT+08:00 Shea Levy : Hi Palmer, Palmer Dabbelt writes: On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.co

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Palmer Dabbelt
On Wed, 14 Mar 2018 05:07:09 PDT (-0700), s...@shealevy.com wrote: Palmer Dabbelt writes: On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote: Hi Palmer, Palmer Dabbelt writes: On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: These patches resolve the som

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Zong Li
2018-03-14 19:56 GMT+08:00 Shea Levy : > Zong Li writes: > >> 2018-03-14 11:07 GMT+08:00 Palmer Dabbelt : >>> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: 2018-03-14 5:30 GMT+08:00 Shea Levy : > > Hi Palmer, > > Palmer Dabbelt writes: > >> O

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Palmer Dabbelt writes: > On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote: >> Hi Palmer, >> >> Palmer Dabbelt writes: >> >>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: These patches resolve the some issues of loadable module. - symbol out of

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Zong Li writes: > 2018-03-14 11:07 GMT+08:00 Palmer Dabbelt : >> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: >>> >>> 2018-03-14 5:30 GMT+08:00 Shea Levy : Hi Palmer, Palmer Dabbelt writes: > On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andest

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Palmer Dabbelt writes: > On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: >> 2018-03-14 5:30 GMT+08:00 Shea Levy : >>> Hi Palmer, >>> >>> Palmer Dabbelt writes: >>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: > These patches resolve the some iss

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Zong Li
2018-03-14 11:07 GMT+08:00 Palmer Dabbelt : > On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: >> >> 2018-03-14 5:30 GMT+08:00 Shea Levy : >>> >>> Hi Palmer, >>> >>> Palmer Dabbelt writes: >>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: > > Th

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Palmer Dabbelt
On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote: Hi Palmer, Palmer Dabbelt writes: On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: These patches resolve the some issues of loadable module. - symbol out of ranges - unknown relocation types The refere

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Palmer Dabbelt
On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: 2018-03-14 5:30 GMT+08:00 Shea Levy : Hi Palmer, Palmer Dabbelt writes: On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: These patches resolve the some issues of loadable module. - symbol out of ranges

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Zong Li
2018-03-14 5:30 GMT+08:00 Shea Levy : > Hi Palmer, > > Palmer Dabbelt writes: > >> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: >>> These patches resolve the some issues of loadable module. >>> - symbol out of ranges >>> - unknown relocation types >>> >>> The reference o

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Shea Levy
Hi Palmer, Palmer Dabbelt writes: > On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: >> These patches resolve the some issues of loadable module. >> - symbol out of ranges >> - unknown relocation types >> >> The reference of external variable and function symbols >> cannot

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Shea Levy
Hello! You may be interested in my recent patchset [1], which has known issues but addresses the same problems yours does. It differs in the approach taken here in that, rather than supporting GOT/PLT handling which we can't really take advantage of anyway, we simply build non-PIC modules instead

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Palmer Dabbelt
On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: These patches resolve the some issues of loadable module. - symbol out of ranges - unknown relocation types The reference of external variable and function symbols cannot exceed 32-bit offset ranges in kernel module. The mod

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-13 Thread Zong Li
2018-03-13 16:35 GMT+08:00 Zong Li : > > These patches resolve the some issues of loadable module. > - symbol out of ranges > - unknown relocation types > > The reference of external variable and function symbols > cannot exceed 32-bit offset ranges in kernel module. > The module only can work