[Bug binutils/25750] GNU as has inconsistent behavior when expanding .macro that takes as input directives with arguments

2020-04-03 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25750

--- Comment #5 from Nick Clifton  ---
Hi Jian,

> Sorry I just realized my question was misleading. What I really meant was if
> vararg would work on a macro taking as input multiple directives with
> arguments, such as the one below. vararg seemed to not work with such case
> in my experiment. 
> 
> .macro foo insn1, insn2
> \insn1
> \insn2
> .endm
> 
> foo .section .sec1
> foo .section .sec2

Well now that particular example would not work[1], but then it is not using
the :vararg suffix either.  You are correct however in assuming that you cannot
have two :vararg suffixes in a macro definition.  So for example this does not
work:

  .macro foo insn1:vararg insn2:vararg
  \insn1
  \insn2
  .endm

  foo .section .sec1 .section .sec2

In fact only the last macro argument can have the :vararg suffix, which is why
it can only be used once.

Cheers
  Nick

[1]  Just to be pedantic, your example would work if you put the two insns on
the same line.  So this:

  .macro foo insn1 insn2
  \insn1 \insn2
  .endm

  foo .section .sec1

Does work.

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


[Bug ld/25665] aarch64 veneers not inserted with large .text object between caller and target

2020-04-03 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25665

Tamar Christina  changed:

   What|Removed |Added

 CC||tnfchris at sourceware dot org
   Last reconfirmed||2020-04-03
   Assignee|unassigned at sourceware dot org   |tnfchris at sourceware 
dot org
 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED

--- Comment #2 from Tamar Christina  ---
I'll take a look at this next week, thanks!

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


[Bug binutils/25371] [objcopy] add support for setting SHF_EXCLUDE flag for sections

2020-04-03 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25371

Nick Clifton  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED
 CC||nickc at redhat dot com

--- Comment #5 from Nick Clifton  ---
The patch has now been applied. (Commit: 3a5d12fbb4f)

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


Issue 21011 in oss-fuzz: binutils:fuzz_bfd: Heap-double-free in alpha_vms_free_private

2020-04-03 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #4 on issue 21011 by sheriffbot: binutils:fuzz_bfd: Heap-double-free in 
alpha_vms_free_private
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21011#c4

This bug has been fixed for 30 days. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 21034 in oss-fuzz: binutils:fuzz_bfd: Null-dereference READ in objalloc_free

2020-04-03 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #2 on issue 21034 by sheriffbot: binutils:fuzz_bfd: Null-dereference 
READ in objalloc_free
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21034#c2

This bug has been fixed for 30 days. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 21014 in oss-fuzz: binutils:fuzz_bfd: Abrt in alpha_vms_free_private

2020-04-03 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 21014 by sheriffbot: binutils:fuzz_bfd: Abrt in 
alpha_vms_free_private
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21014#c3

This bug has been fixed for 30 days. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

[Bug ld/25767] Zero-sized relocation section causes linker assert

2020-04-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25767

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

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

commit 3349112e380712432d5818154d67ab4660af056f
Author: H.J. Lu 
Date:   Fri Apr 3 19:06:29 2020 -0700

elf: Remove zero-sized relocation section from section group

Remove zero-sized relocation section from a section group since it has
been removed from the output.

PR ld/25767
* elf.c (_bfd_elf_fixup_group_sections): Remove zero-sized
relocation section from section group.

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


[Bug ld/25767] Zero-sized relocation section causes linker assert

2020-04-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25767

H.J. Lu  changed:

   What|Removed |Added

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

--- Comment #2 from H.J. Lu  ---
Fixed for 2.35.

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