bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30743] New: FAIL: ld-elf/now-3 for hppa64-*-linux* target


From: danglin at gcc dot gnu.org
Subject: [Bug ld/30743] New: FAIL: ld-elf/now-3 for hppa64-*-linux* target
Date: Thu, 10 Aug 2023 16:31:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30743

            Bug ID: 30743
           Summary: FAIL: ld-elf/now-3 for hppa64-*-linux* target
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-linux*
            Target: hppa64-*-linux*
             Build: hppa*-*-linux*

/home/dave/gnu/binutils/objdir64/ld/../gas/as-new  --defsym ALIGN=3    -o
tmpdir
/start.o /home/dave/gnu/binutils/src/ld/testsuite/ld-elf/start.s
Executing on host: sh -c {/home/dave/gnu/binutils/objdir64/ld/../gas/as-new 
--d
efsym ALIGN=3    -o tmpdir/start.o
/home/dave/gnu/binutils/src/ld/testsuite/ld-e
lf/start.s 2>&1}  /dev/null dump.tmp (timeout = 300)
spawn [open ...]
./ld-new   -L/home/dave/gnu/binutils/src/ld/testsuite/ld-elf  -shared -z now
--d
isable-new-dtags -o tmpdir/dump tmpdir/start.o
Executing on host: sh -c {./ld-new  
-L/home/dave/gnu/binutils/src/ld/testsuite/
ld-elf  -shared -z now --disable-new-dtags -o tmpdir/dump tmpdir/start.o  2>&1}
 /dev/null dump.tmp (timeout = 300)
spawn [open ...]
/home/dave/gnu/binutils/objdir64/ld/../binutils/readelf  -d -W tmpdir/dump >
tmpdir/dump.out
Executing on host: sh -c
{/home/dave/gnu/binutils/objdir64/ld/../binutils/readelf  -d -W tmpdir/dump >
tmpdir/dump.out 2>dump.tmp}  /dev/null  (timeout = 300)
spawn [open ...]
fail if no difference
FAIL: ld-elf/now-3

dave@mx3210:~/gnu/binutils/objdir64/ld/tmpdir$ cat dump.out

Dynamic section at offset 0xe8 contains 12 entries:
  Tag        Type                         Name/Value
 0x0000000000000004 (HASH)               0x1f8
 0x000000006ffffef5 (GNU_HASH)           0x228
 0x0000000000000005 (STRTAB)             0x2f0
 0x0000000000000006 (SYMTAB)             0x260
 0x000000000000000a (STRSZ)              15 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000060000001 (HP_DLD_FLAGS)       0
 0x000000000000001e (FLAGS)              BIND_NOW
 0x0000000000000003 (PLTGOT)             0x1308
 0x0000000000000018 (BIND_NOW)
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x0000000000000000 (NULL)               0x0

I believe the FLAGS line is incorrect.

dave@mx3210:~/gnu/binutils/src/ld/testsuite/ld-elf$ cat now-3.d
#source: start.s
#readelf: -d -W
#ld: -shared -z now --disable-new-dtags
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
#xfail: ![check_shared_lib_support]

#failif
#...
 0x[0-9a-f]+ +\(FLAGS\) +BIND_NOW
#pass

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]