[Bug binutils/28689] p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 --- Comment #5 from Fangrui Song --- (In reply to Fangrui Song from comment #4) > (In reply to H.J. Lu from comment #2) > > One problem: > > [...] > > File offsets are changed. > > For objcopy, it is important to not transform the file to dec

[Bug binutils/28689] p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #4 fro

[Bug ld/26020] R_ARM_NONE dynamic reloc for IE variable

2021-12-13 Thread chengcongxiu at huawei dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26020 chengcongxiu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug binutils/28689] p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 --- Comment #3 from H.J. Lu --- Created attachment 13850 --> https://sourceware.org/bugzilla/attachment.cgi?id=13850&action=edit A patch Does this work? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/28689] p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 --- Comment #2 from H.J. Lu --- One problem: Elf file type is EXEC (Executable file) Entry point 0x60 There are 7 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr Fil

[Bug binutils/26218] Invalid coff/pe arm machine type creating EFI binary

2021-12-13 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26218 --- Comment #7 from Tamar Christina --- The patch for Arm was submitted at the same time as AArch64 but I was asked to do some cleanups in the codebase before it's accepted. I'll certainly get to it before the next binutils release but at the

[Bug binutils/26218] Invalid coff/pe arm machine type creating EFI binary

2021-12-13 Thread kallisti5 at unixzen dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26218 --- Comment #6 from Alexander von Gluck IV --- A relevant note for this one. aarch64 Pe EFI target support was seemingly added in https://sourceware.org/bugzilla/show_bug.cgi?id=26206 That one might be good guidance on how to cleanup and ali

[Bug binutils/26206] Add pei-aarch64 support for native EFI support

2021-12-13 Thread kallisti5 at unixzen dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26206 --- Comment #28 from Alexander von Gluck IV --- it looks like this one was done and can be closed? :-) It'll be a little while until we (Haiku) update our binutils to be able to test this. For future lurkers, https://git.haiku-os.org/haiku/t

[Bug binutils/28689] p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 --- Comment #1 from H.J. Lu --- I think p_align should be set to ELF_MINPAGESIZE by default. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/28691] New: `nm-new -l` output changes per run

2021-12-13 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=28691 Bug ID: 28691 Summary: `nm-new -l` output changes per run Product: binutils Version: 2.38 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component:

[Bug binutils/28690] New: `nm-new -a -l -D` produces inconsistent outputs.

2021-12-13 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=28690 Bug ID: 28690 Summary: `nm-new -a -l -D` produces inconsistent outputs. Product: binutils Version: 2.38 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2

[Bug binutils/28689] p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are rece

[Bug binutils/28689] New: p_align in ELF program headers should not exceed section alignment

2021-12-13 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28689 Bug ID: 28689 Summary: p_align in ELF program headers should not exceed section alignment Product: binutils Version: unspecified Status: NEW Severity: normal

[Bug binutils/28687] New: Undefined behavior in bfd/dwarf1.c

2021-12-13 Thread npv1310 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28687 Bug ID: 28687 Summary: Undefined behavior in bfd/dwarf1.c Product: binutils Version: 2.38 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: