[Bug binutils/23595] "simple objcopy of executable" failure for msp430-elf with -mlarge

2018-08-30 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23595 --- Comment #1 from Jozef Lawrynowicz --- Proposed patch, lightly tested without regressions in the binutils, gas, ld testsuites for msp430-elf/-mlarge and x86_64-pc-linux-gnu. diff --git a/bfd/elf.c b/bfd/elf.c index b8860c4..14612bd 100644

[Bug binutils/23595] New: "simple objcopy of executable" failure for msp430-elf with -mlarge

2018-08-30 Thread jozef.l at mittosystems dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: jozef.l at mittosystems dot com Target Milestone: --- Created attachment 11217 --> https://sourceware.org/bugzilla/attachment.cgi?id=11217&action=e

[Bug binutils/23595] "simple objcopy of executable" failure for msp430-elf with -mlarge

2018-09-04 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23595 --- Comment #5 from Jozef Lawrynowicz --- Thanks! -- 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.or

[Bug binutils/24044] New: FTB with GCC libiberty: binutils/stabs.c:3042: undefined reference to `cplus_mangle_opname'

2018-12-29 Thread jozef.l at mittosystems dot com
tatus: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: jozef.l at mittosystems dot com Target Milestone: --- When building GCC trunk in a unified source tree with binutils, the bui

[Bug ld/25064] New: FTB "ld/ldlang.h:299:3: error: unknown type name ‘ctf_archive_t’"

2019-10-04 Thread jozef.l at mittosystems dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: jozef.l at mittosystems dot com Target Milestone: --- The binutils-gdb master branch is failing to build since: commit 1ff6de031241c59d0ff9fa01d3c0a4049b0e

[Bug ld/25064] FTB "ld/ldlang.h:299:3: error: unknown type name ‘ctf_archive_t’"

2019-10-05 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25064 --- Comment #2 from Jozef Lawrynowicz --- (In reply to Alan Modra from comment #1) > You are somehow using an old version of a generated file, ld/ldlex.c. This > should be generated from ldlex.l if you have flex/bison installed, a > requireme

[Bug binutils/25662] New: objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers

2020-03-12 Thread jozef.l at mittosystems dot com
: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: jozef.l at mittosystems dot com Target Milestone: --- The Binutils "simple objcopy of executable" test is failing for

[Bug binutils/25662] objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers

2020-03-12 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25662 --- Comment #1 from Jozef Lawrynowicz --- Created attachment 12368 --> https://sourceware.org/bugzilla/attachment.cgi?id=12368&action=edit patch The attached patch fixes the issue, although I haven't been able to totally convince myself of

[Bug binutils/25662] objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers

2020-03-13 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25662 --- Comment #3 from Jozef Lawrynowicz --- Created attachment 12370 --> https://sourceware.org/bugzilla/attachment.cgi?id=12370&action=edit original executable Attached the original executable file. -- You are receiving this mail because:

[Bug binutils/25662] objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers

2020-03-24 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25662 --- Comment #5 from Jozef Lawrynowicz --- (In reply to Alan Modra from comment #4) > Created attachment 12403 [details] > Alternate patch > > This also fixes the testcase. I'm inclined to go this way since it's really > the lack of sh_offset

[Bug binutils/25662] objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers

2020-03-25 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25662 --- Comment #8 from Jozef Lawrynowicz --- Created attachment 12404 --> https://sourceware.org/bugzilla/attachment.cgi?id=12404&action=edit testcase (In reply to Alan Modra from comment #7) > Updated patch applied. Jozef, perhaps you could

[Bug binutils/25662] objcopy sets invalid sh_offset for the first section in a no_contents segment containing program headers

2020-03-26 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25662 --- Comment #10 from Jozef Lawrynowicz --- (In reply to Alan Modra from comment #9) > The testcase patch looks mostly good, thanks. At first I thought you had > the remote host file names wrong, but it doesn't seem too important what > file n

[Bug gas/26722] New: arm-unknown-elf sets inconsistent ELF OSABI values

2020-10-09 Thread jozef.l at mittosystems dot com
Component: gas Assignee: unassigned at sourceware dot org Reporter: jozef.l at mittosystems dot com Target Milestone: --- When assembling an SHF_GNU_MBIND section for arm-unknown-elf, gas/config/obj-elf.c:obj_elf_section will set elf_backend_data->elf_osabi

[Bug gas/26722] arm-unknown-elf sets inconsistent ELF OSABI values

2020-10-09 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26722 Jozef Lawrynowicz changed: What|Removed |Added Target||arm-unknown-elf -- You are recei

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-16 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #1 from Jozef Lawrynowicz --- Created attachment 12972 --> https://sourceware.org/bugzilla/attachment.cgi?id=12972&action=edit bss_lma_adjust.ld -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/26907] New: objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-16 Thread jozef.l at mittosystems dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: jozef.l at mittosystems dot com Target Milestone: --- Created attachment 12971 --> https://sourceware.org/bugzilla/attachment.cgi?id=12971&acti

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-16 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 Jozef Lawrynowicz changed: What|Removed |Added Target||x86_64-pc-linux-gnu -- You are r

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-16 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 Jozef Lawrynowicz changed: What|Removed |Added Target|x86_64-pc-linux-gnu | -- You are receiving this mail

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-27 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #3 from Jozef Lawrynowicz --- (In reply to Alan Modra from comment #2) > It's not just the objcopy going wrong here. ld shouldn't be creating two > PT_LOAD headers where one would suffice. Is it intended that empty .bss sections

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-30 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #6 from Jozef Lawrynowicz --- Created attachment 13010 --> https://sourceware.org/bugzilla/attachment.cgi?id=13010&action=edit pr26907-2.ld Thanks. However, I'm getting a similar issue with the attached linker script - an empty

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-30 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #7 from Jozef Lawrynowicz --- Created attachment 13011 --> https://sourceware.org/bugzilla/attachment.cgi?id=13011&action=edit pr26907-2.out -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-11-30 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #8 from Jozef Lawrynowicz --- Created attachment 13012 --> https://sourceware.org/bugzilla/attachment.cgi?id=13012&action=edit pr26907-2.s -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-12-01 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #10 from Jozef Lawrynowicz --- (In reply to Alan Modra from comment #9) > Yes, if you play games with lma and vma you can easily create layouts that > _bfd_elf_map_sections_to_segments won't handle very well. A section that > has

[Bug binutils/26907] objcopy gives memsiz to segment containing empty SHT_NOBITS section

2020-12-01 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26907 --- Comment #11 from Jozef Lawrynowicz --- (In reply to Jozef Lawrynowicz from comment #10) > (In reply to Alan Modra from comment #9) > > I'm not interested in trying to make every weird user script produce the > > minimum number of load head