Re: [Bug binutils/19421] New: Missing weak symbols in kernel modules on ppc64el

2016-01-08 Thread Nick Clifton

Hi Alan,

  Have you seen this bug report:


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



Summary: Missing weak symbols in kernel modules on ppc64el



Quite a few symbols in kernel modules on ppc64el are dropped after upgrading to
binutils 2.25.  This in turn completely breaks module loading on ppc64el
systems, per this Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808246


It seems that the cause of this was the patch for PR 4317:

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

Perhaps we need to allow some targets to require that undefined locals 
are preserved ?


Cheers
  Nick

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


[Bug binutils/19421] [2.26 Regression] Missing weak symbols in kernel modules on powerpc64le-linux-gnu

2016-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19421

--- Comment #2 from Nick Clifton  ---
Hi Alan,

   Have you seen this bug report:

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

> Summary: Missing weak symbols in kernel modules on ppc64el

> Quite a few symbols in kernel modules on ppc64el are dropped after upgrading 
> to
> binutils 2.25.  This in turn completely breaks module loading on ppc64el
> systems, per this Debian bug report:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808246

It seems that the cause of this was the patch for PR 4317:

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

Perhaps we need to allow some targets to require that undefined locals 
are preserved ?

Cheers
   Nick

-- 
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 ld/19368] [2.26/2.27 regression] IFUNC support not working on arm-linux-gnueabi*

2016-01-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19368

--- Comment #7 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Jiong Wang :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=109575d7ebac21a0eb67980001ecd4173d696f88

commit 109575d7ebac21a0eb67980001ecd4173d696f88
Author: Jiong Wang 
Date:   Fri Jan 8 09:47:24 2016 +

[ARM] PR ld/19368: Add missing relocation type class for R_ARM_IRELATIVE

2016-01-08  Richard Sandiford  
Jiong Wang  

PR ld/19368
bfd/
* elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
reloc_class_ifunc.

ld/
* testsuite/ld-arm/ifunc-3.rd: Update expected result.
* testsuite/ld-arm/ifunc-4.rd: Likewise.
* testsuite/ld-arm/ifunc-9.rd: Likewise.
* testsuite/ld-arm/ifunc-10.rd: Likewise.
* testsuite/ld-arm/ifunc-12.rd: Likewise.
* testsuite/ld-arm/ifunc-13.rd: Likewise.

-- 
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 binutils/19435] objdump receives SIGABRT when disassembling Mach O binary on OS X

2016-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19435

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #3 from Nick Clifton  ---
Hi Ian,

  Unfortunately I am unable to reproduce this problem using an x86_64 Linux
hosted cross compiler.  Possibly the problem is Mach-O specific.

  Please could you check to see if the problem is still present with the
current mainline binutils development sources.

  If the problem does still exist, please you try to narrow down where the  bug
is occurring.  Ie where is the free() happening ?

Cheers
  Nick

-- 
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 ld/19368] [2.26/2.27 regression] IFUNC support not working on arm-linux-gnueabi*

2016-01-08 Thread jiwang at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19368

Jiong Wang  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jiong Wang  ---
fixed on master.

-- 
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 binutils/19435] objdump receives SIGABRT when disassembling Mach O binary on OS X

2016-01-08 Thread iankronquist at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19435

--- Comment #4 from Ian Kronquist  ---
Nick,
The problem is mach-o specific. The problem persists under mainline
binutils built on OS X. I attached a problematic mach-o which you could try
to disassemble as described previously. The problem is in the function
bfd_mach_o_close_and_cleanup, probably in the only invocation of free in
that function. My guess is that some of the bfd metadata is messed up and
never properly allocated, but I'm not sure. I'll have to do some more
investigation. I'm willing to try to help fix the bug and submit a patch if
I can get some guidance.

Thanks,
Ian
On Jan 8, 2016 1:53 AM, "nickc at redhat dot com" <
sourceware-bugzi...@sourceware.org> wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=19435
>
> Nick Clifton  changed:
>
>What|Removed |Added
>
> 
>  CC||nickc at redhat dot com
>
> --- Comment #3 from Nick Clifton  ---
> Hi Ian,
>
>   Unfortunately I am unable to reproduce this problem using an x86_64 Linux
> hosted cross compiler.  Possibly the problem is Mach-O specific.
>
>   Please could you check to see if the problem is still present with the
> current mainline binutils development sources.
>
>   If the problem does still exist, please you try to narrow down where
> the  bug
> is occurring.  Ie where is the free() happening ?
>
> Cheers
>   Nick
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.

-- 
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/13050] move.b (2,a0,d0.l),1(%a1) should fail for all ColdFire targets

2016-01-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13050

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Andreas Schwab :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=83c3256ef5afe10625fd55dda2df5fc56b9b7393

commit 83c3256ef5afe10625fd55dda2df5fc56b9b7393
Author: Andreas Schwab 
Date:   Fri Jan 8 11:38:00 2016 +0100

m68k: fix constraints of move.[bw] for ISA_B/C

For ISA_B/C only the combination #,d(An) is allowed in addition to the
ISA_A combinations for move.b and move.w (and pc-relative is never
allowed as destination).

opcodes/
PR gas/13050
* m68k-opc.c (moveb, movew): For ISA_B/C only allow #,d(An) in
addition to ISA_A.

gas/
PR gas/13050
* testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
* testsuite/gas/m68k/p13050-1.s: New file.
* testsuite/gas/m68k/p13050-2.d: New file.
* testsuite/gas/m68k/p13050-2.s: New file.

-- 
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/13050] move.b (2,a0,d0.l),1(%a1) should fail for all ColdFire targets

2016-01-08 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13050

Andreas Schwab  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |2.27

--- Comment #2 from Andreas Schwab  ---
Fixed for 2.27.

-- 
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