This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/4] OpenMP 4.0 offloading to Intel MIC


On Thu, Nov 13, 2014 at 12:53 PM, Ilya Verbin <iverbin@gmail.com> wrote:
> On 13 Nov 2014, at 23:11, H.J. Lu <hjl.tools@gmail.com> wrote:
>>
>> Section Headers:
>>  [Nr] Name              Type            Address          Off    Size
>> ES Flg Lk Inf Al
>>  [ 0]                   NULL            0000000000000000 000000
>> 000000 00      0   0  0
>>  [ 1] .text             PROGBITS        0000000000000000 000040
>> 000204 00  AX  0   0 16
>>  [ 2] .rela.text        RELA            0000000000000000 001a60
>> 0000d8 18   I 29   1  8
>>  [ 3] .data             PROGBITS        0000000000000000 000260
>> 000040 00  WA  0   0 32
>>  [ 4] .bss              NOBITS          0000000000000000 0002a0
>> 000000 00  WA  0   0  1
>>  [ 5] .gnu.offload_lto_.profile.50035f9931394ed4 PROGBITS
>> 0000000000000000 0002a0 000013 00   E  0   0  1
>>  [ 6] .gnu.offload_lto_.icf.50035f9931394ed4 PROGBITS
>> 0000000000000000 0002b3 00001e 00   E  0   0  1
>>  [ 7] .gnu.offload_lto_.jmpfuncs.50035f9931394ed4 PROGBITS
>> 0000000000000000 0002d1 000019 00   E  0   0  1
>>  [ 8] .gnu.offload_lto_.inline.50035f9931394ed4 PROGBITS
>> 0000000000000000 0002ea 00006c 00   E  0   0  1
>>  [ 9] .gnu.offload_lto_.pureconst.50035f9931394ed4 PROGBITS
>> 0000000000000000 000356 000013 00   E  0   0  1
>>  [10] .gnu.offload_lto_vec_mult._omp_fn.1.50035f9931394ed4 PROGBITS
>>     0000000000000000 000369 0004ab 00   E  0   0  1
>>  [11] .gnu.offload_lto_vec_mult._omp_fn.0.50035f9931394ed4 PROGBITS
>>     0000000000000000 000814 00035d 00   E  0   0  1
>>  [12] .gnu.offload_lto_.symbol_nodes.50035f9931394ed4 PROGBITS
>> 0000000000000000 000b71 000055 00   E  0   0  1
>>  [13] .gnu.offload_lto_.refs.50035f9931394ed4 PROGBITS
>> 0000000000000000 000bc6 000014 00   E  0   0  1
>>  [14] .gnu.offload_lto_.offload_table.50035f9931394ed4 PROGBITS
>> 0000000000000000 000bda 000011 00   E  0   0  1
>>  [15] .gnu.offload_lto_.decls.50035f9931394ed4 PROGBITS
>> 0000000000000000 000beb 00043d 00   E  0   0  1
>>  [16] .gnu.offload_lto_.symtab.50035f9931394ed4 PROGBITS
>> 0000000000000000 001028 000000 00   E  0   0  1
>>  [17] .gnu.offload_lto_.opts PROGBITS        0000000000000000 001028
>> 0000a9 00   E  0   0  1
>>
>> Don't you need another plugin to claim those offload IR sections?
>
> No, the plan was that a regular plugin will just ignore offload IR sections by default.  In your configuration ld detects a __gnu_lto_slim symbol and decided that the object file contains only LTO IR without asm.  I am going to investigate where is the difference with my configuration and fix the bug.
>

You may need to install the current binutils to see it.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]