[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16643] New: ARM: BFD_ASSERT when only ref to a GC'd symbol is in
From: |
roland at gnu dot org |
Subject: |
[Bug ld/16643] New: ARM: BFD_ASSERT when only ref to a GC'd symbol is in a stripped section |
Date: |
Thu, 27 Feb 2014 22:49:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16643
Bug ID: 16643
Summary: ARM: BFD_ASSERT when only ref to a GC'd symbol is in a
stripped section
Product: binutils
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: roland at gnu dot org
This is similar to https://sourceware.org/bugzilla/show_bug.cgi?id=13990, which
see.
$ head gc-hidden-strip-{main,unused}.s
==>
/usr/local/google/home/mcgrathr/local/gnu/binutils/ld/testsuite/ld-arm/gc-hidden-strip-main.s
<==
.text
.globl foo
.type foo, %function
foo:
bx lr
.size foo, . - foo
==>
/usr/local/google/home/mcgrathr/local/gnu/binutils/ld/testsuite/ld-arm/gc-hidden-strip-unused.s
<==
.section .data.unused_item,"aw",%progbits
.p2align 2
.global unused_item
.hidden unused_item
.type unused_item, %object
.size unused_item, 4
unused_item:
.word 1
.section .debug_blah,"",%progbits
$ ./gas/as-new -o gc-hidden-strip-main.o
~/local/gnu/binutils/ld/testsuite/ld-arm/gc-hidden-strip-main.s
$ ./gas/as-new -o gc-hidden-strip-unused.o
~/local/gnu/binutils/ld/testsuite/ld-arm/gc-hidden-strip-unused.s
$ ./ld/ld-new -shared --strip-all --gc-sections gc-hidden-strip-main.o
gc-hidden-strip-unused.o
./ld/ld-new: BFD (GNU Binutils) 2.24.51.20140227 assertion fail
../../../binutils/bfd/elf32-arm.c:12445
$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/16643] New: ARM: BFD_ASSERT when only ref to a GC'd symbol is in a stripped section,
roland at gnu dot org <=