at sourceware dot org |amodra at gmail dot com
Status|NEW |RESOLVED
--- Comment #2 from Alan Modra ---
Fixed, at least the main problem resulting in PT_LOAD headers not covering
sections. Other things remain, like sh_link and sh_info not being copied over
: binutils
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
binutils-2.40 and later corrupt solaris binaries. testcase at
https://sourceware.org/bugzilla/show_bug.cgi?id=14493#c6
Commit 45d92439aebd looks to be the culprit
https://sourceware.org/bugzilla/show_bug.cgi?id=31540
--- Comment #8 from Alan Modra ---
Nick, your change to binutils/testsuite/binutils-all/pr25662.ld results in
arc-elf +FAIL: objcopy executable (pr25662)
arc-linux-uclibc +FAIL: objcopy executable (pr25662)
bfin-linux-uclibc +FAIL: objcopy
https://sourceware.org/bugzilla/show_bug.cgi?id=31615
--- Comment #7 from Alan Modra ---
/* gcc -O3 -flto -c xxx.c; gcc -o xxx xxx.o -lm */
#include
#include
#include
int
main (int argc, char **argv)
{
double x = 1.0;
long y = 0;
if (--argc > 0)
x = strtod (*++argv, NULL);
if
https://sourceware.org/bugzilla/show_bug.cgi?id=31615
--- Comment #6 from Alan Modra ---
(In reply to H.J. Lu from comment #4)
> It is caused by
>
> commit e7e05a9dd0c93038fdd5ed1904ca660e52beabdc
Not possible. The real cause must be something else. At most, this patch
exposed another bug
https://sourceware.org/bugzilla/show_bug.cgi?id=31608
--- Comment #4 from Alan Modra ---
Like this. I don't see this problem myself, so kind of untested. You probably
need a libstdc++.so that has been built with -ffunction-sections and thus a
large enough .shstrtab to be mmaped.
diff --git
https://sourceware.org/bugzilla/show_bug.cgi?id=31608
--- Comment #2 from Alan Modra ---
OK, so bfd_get_section_by_name is accessing unmapped memory. I think we just
need to move the call to bfd_free_cached_info in _bfd_delete_bfd before you
unmap.
--
You are receiving this mail because:
You
|--- |2.43
Status|NEW |RESOLVED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #3 from Alan Modra ---
Patch with some tidies applied.
--
You are receiving this mail because:
You are on the CC list
https://sourceware.org/bugzilla/show_bug.cgi?id=30569
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.43
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=30569
--- Comment #6 from Alan Modra ---
Created attachment 15444
--> https://sourceware.org/bugzilla/attachment.cgi?id=15444=edit
patch 2 of 2
These are against current git master source. Please give them a hammering.
I've verified that the
https://sourceware.org/bugzilla/show_bug.cgi?id=30569
Alan Modra changed:
What|Removed |Added
Attachment #15422|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=30569
--- Comment #4 from Alan Modra ---
OK, so I was able to reproduce this problem building from the haproxy-2.6.13
tar file, using
make TARGET=linux-glibc CC=mips-linux-gnu-gcc ARCH=mips CPU_CFLAGS="-Os
-mno-branch-likely -mips32r2 -mtune=24kc
https://sourceware.org/bugzilla/show_bug.cgi?id=31503
--- Comment #9 from Alan Modra ---
(In reply to Andreas Schwab from comment #7)
> That should use ALIGN(8).
ALIGN inside an output section statement doesn't align the section, just the
current *relative* value of dot. So the effect is exacly
|ASSIGNED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Last reconfirmed||2024-03-28
--- Comment #3 from Alan Modra ---
The line for the assertion failure doesn't match up with 2.40 sources.. Is the
assertion this one
https://sourceware.org/bugzilla/show_bug.cgi?id=31466
--- Comment #9 from Alan Modra ---
Perhaps it would be better to just drop the mmap change in
_bfd_elf_link_keep_memory. I did wonder when reviewing that patch whether it
was a good idea to discard things just based on whether mmap was
https://sourceware.org/bugzilla/show_bug.cgi?id=31461
Alan Modra changed:
What|Removed |Added
Target||score-elf
--
You are receiving this
Assignee: unassigned at sourceware dot org
Reporter: amodra at gmail dot com
Target Milestone: ---
score_elf_create_dynamic_relocation accesses rel[1] and rel[2] when there is no
guarantee that there are relocs past rel[0]. Seen when running the ld
testsuite on a number of tests, eg. ld
|--- |2.43
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Resolution|--- |FIXED
--- Comment #2 from Alan Modra ---
Fixed
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=19562
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=19640
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19713
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19715
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19716
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19718
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19717
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=20552
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=20475
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=20427
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=20330
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=20259
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=20088
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=20070
Alan Modra changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
at sourceware dot org |amodra at gmail dot com
Resolution|--- |FIXED
--- Comment #4 from Alan Modra ---
.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=20026
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=19901
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=20529
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=20688
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=20797
--- Comment #1 from Alan Modra ---
NONE relocs not seen on the testcase with current binutils
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=20796
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=20842
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=21252
--- Comment #2 from Alan Modra ---
(In reply to H.J. Lu from comment #1)
> Works for binutils 2.40:
Not for hppa64-linux. The RWE load segment is due to placing .dynamic at the
start of the text segment. .dynamic is read/write.
--
You are
https://sourceware.org/bugzilla/show_bug.cgi?id=21505
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=21677
Alan Modra changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=21700
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=21739
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=21816
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=22037
Alan Modra changed:
What|Removed |Added
Resolution|--- |NOTABUG
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=22249
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22259
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |ccoutant at gmail dot
com
https://sourceware.org/bugzilla/show_bug.cgi?id=22255
Alan Modra changed:
What|Removed |Added
CC||ian at airs dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22346
--- Comment #1 from Alan Modra ---
Yes, I would love to remove the "check-am: all-am: line added by automake.
It's a pain for developers like me who can't resist meddling with the source
while running tests, or who modify the source and
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=22283
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=22335
Alan Modra changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=22360
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=22512
--- Comment #1 from Alan Modra ---
The assertion failure is this one in lm32_elf_relocate_section:
case R_LM32_16_GOT:
/* Relocation is to the entry for this symbol in the global
offset table. */
https://sourceware.org/bugzilla/show_bug.cgi?id=22764
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=22866
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=22953
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=22956
Alan Modra changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
|--- |OBSOLETE
CC|amodra at gmail dot com|
--- Comment #9 from Alan Modra ---
I'm closing this as obsolete since 2.30 is very old, and there has been quite a
lot of work done in catching memory allocation failures.
--
You are receiving this mail because
https://sourceware.org/bugzilla/show_bug.cgi?id=23412
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=2
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23817
Alan Modra changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=23869
Alan Modra changed:
What|Removed |Added
Component|ld |gold
CC|amodra at gmail
https://sourceware.org/bugzilla/show_bug.cgi?id=23877
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=24156
--- Comment #3 from Alan Modra ---
-nostdlib is a gcc flag, not a ld flag. You will probably find that gcc is
passing -pie to ld. PIEs usually have dynamic relocations, so ld adds
PT_INTERP to specify a dynamic linker. This is done in ld
|--- |2.43
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
|--- |FIXED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
--- Comment #4 from Alan Modra ---
.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=23881
Alan Modra changed:
What|Removed |Added
Last reconfirmed||2024-02-28
Ever confirmed|0
https://sourceware.org/bugzilla/show_bug.cgi?id=23928
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23969
Alan Modra changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=24002
Alan Modra changed:
What|Removed |Added
Resolution|--- |MOVED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=24055
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=24156
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24192
Alan Modra changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=24241
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24319
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24326
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24338
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=24447
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24455
--- Comment #3 from Alan Modra ---
This may have been fixed by the patch for pr31208, which was also objcopy/strip
not properly handling the output of patchelf.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24491
--- Comment #2 from Alan Modra ---
What do you expect ld to do here? Warn perhaps? Your script puts the start of
.text at the end of .rodata and not on a page boundary. You're making a demand
paged binary. There isn't any point in trying
https://sourceware.org/bugzilla/show_bug.cgi?id=24701
Alan Modra changed:
What|Removed |Added
Target||mips-sgi-irix6
--
You are receiving
https://sourceware.org/bugzilla/show_bug.cgi?id=24717
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=24730
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=24768
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=24836
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24881
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24893
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24945
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=25061
Alan Modra changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=25063
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=25202
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=25247
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=25315
--- Comment #18 from Alan Modra ---
(In reply to John David Anglin from comment #16)
> I committed a gcc change to trunk and gcc-9 to put references to function
> labels in COMDAT groups in .data.rel.ro.local.
Can this bug be closed then?
--
https://sourceware.org/bugzilla/show_bug.cgi?id=30277
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=28012
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=25333
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.43
Status|ASSIGNED
https://sourceware.org/bugzilla/show_bug.cgi?id=25333
Alan Modra changed:
What|Removed |Added
CC|amodra at gmail dot com|
Status|NEW
1 - 100 of 3672 matches
Mail list logo