[Bug ld/17615] aarch64: ld.bfd generates SHN_ABS instead of SHN_UNDEF

2015-01-17 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17615

Alan Modra  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED
   Assignee|jiwang at gcc dot gnu.org  |amodra at gmail dot com

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/17731] ld: internal error in set_section_addresses, at script-sections.cc:2491

2015-01-17 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17731

--- Comment #4 from Markus Trippelsdorf  ---
I used delta to reduce the linker-script:

trippels@gcc20 linux-3.17.6 % cat vmlinux.lds
SECTIONS {
   .debug_frame 0 : {
   *(.debug_frame) }
   }
trippels@gcc20 linux-3.17.6 % ld -T vmlinux.lds arch/x86/built-in.o
arch/x86/lib/lib.a
ld: internal error in set_section_addresses, at script-sections.cc:2491

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/17852] New: ARM: selected_cpu may stay unset if compiled with CPU_DEFAULT

2015-01-17 Thread daniel-gl at gmx dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=17852

Bug ID: 17852
   Summary: ARM: selected_cpu may stay unset if compiled with
CPU_DEFAULT
   Product: binutils
   Version: 2.25
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: daniel-gl at gmx dot net

If gas is compiled with CPU_DEFAULT defined, it will set selected_cpu in
md_begin() only if neither -march nor -mcpu has been passed.

This error shows itself f.ex. when assembling arch/arm/lib/changebit.S in
current Linux kernels for an armv7-a platform. This file contains an
".arch_extension mp" line that makes s_arm_arch_extension() set cpu_variant to
selected_cpu|ARM_EXT_MP. As selected_cpu was unset, it refuses to assemble
following instructions with "attempt to use an ARM instruction on a Thumb-only
processor" error messages. Setting cpu_variant from selected_cpu IMHO looks
fishy as well, but I didn't file a bug for that one.

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils