This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: COMMITTED: Add support for STT_IFUNC


On Wed, Dec 3, 2008 at 7:36 AM, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
>> From: Nick Clifton <nickc@redhat.com>
>> Date: Wed, 03 Dec 2008 14:47:04 +0000
>
>>   I am applying the patch below to add support for a new ELF symbol
>>   type.
>
>>   Tested against all sorts of toolchains without any regressions.
>
> My autotester complains; it looks like this introduces a test
> failure for cris-axis-elf:
>
> Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/elf/elf.exp ...
> FAIL: elf type list
>
> gas.log:
> /tmp/hpautotest-binutils/cris-axis-elf/gas/testsuite/../../binutils/readelf -s dump.o | grep "1 \[FIONTC\]" > dump.out
> Executing on host: sh -c {/tmp/hpautotest-binutils/cris-axis-elf/gas/testsuite/../../binutils/readelf -s dump.o >readelf
> .out 2>gas.stderr}  /dev/null  (timeout = 300)
> regexp_diff match failure
> regexp "^     .: 0+1     1 IFUNC   LOCAL  DEFAULT    . indirect_function$"
> line   "     6: 00000000     1 OBJECT  LOCAL  DEFAULT    2 object"
> regexp_diff match failure
> regexp "^     .: 0+0     1 OBJECT  LOCAL  DEFAULT    . object$"
> line   "     7: 00000001     1 TLS     LOCAL  DEFAULT    2 tls_object"
> regexp_diff match failure
> regexp "^     .: 0+1     1 TLS     LOCAL  DEFAULT    . tls_object$"
> line   "     8: 00000002     1 NOTYPE  LOCAL  DEFAULT    2 notype"
> regexp_diff match failure
> regexp "^     .: 0+2     1 NOTYPE  LOCAL  DEFAULT    . notype$"
> line   "     9: 00000001     1 OBJECT  GLOBAL DEFAULT  COM common"
> extra regexps in /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/elf/type.e starting with "^    ..: 0+1     1 (COMMO
> N|OBJECT)  GLOBAL DEFAULT  COM common$"
>
> brgds, H-P
>

Some linker tests also fail on Linux/x86-64:

FAIL: elf type list
FAIL: Generatiion of dynamic relocs for STT_IFUNC symbols


-- 
H.J.


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