[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |2.40 CC||gjl at gcc dot gnu.org -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=78cd9188d0fb3ab8b1c33b4cb54ad85ffa444192 commit 78cd9188d0fb3ab8b1c33b4cb54ad85ffa444192 Author: Nick Clifton Date: Thu Nov 3 09:20:37 2022 + AVR Linker: Allow the start of the data region to be specified on the linker command line. [Fix PR number in ChangeLog entry] PR 29741 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value has not been provided on the command line then use DATA_ORIGIN. (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 Nick Clifton changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #4 from Nick Clifton --- OK - I have applied the patch. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 --- Comment #3 from Konrad Rosenbaum --- The patch worked. I applied it to vanilla binutils 2.39 (git: b51c2fec1da2) and recompiled binutils and GCC (12.2.0). The combination is able to compile and link. And the resulting binary works on the actual MCU (tested with AtMega1608, which is the most troublesome one I had handy). Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 --- Comment #2 from Nick Clifton --- Created attachment 14430 --> https://sourceware.org/bugzilla/attachment.cgi?id=14430&action=edit Proposed patch -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 Nick Clifton changed: What|Removed |Added Last reconfirmed||2022-11-02 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED CC||nickc at redhat dot com Assignee|unassigned at sourceware dot org |nickc at redhat dot com --- Comment #1 from Nick Clifton --- Hi Konrad, Are you able to test out a patch and see if it solves the problem for you ? If so, please try the patch that I am about to upload. It implements your idea, allowing the user to define __DATA_REGION_ORIGIN__ on the linker command line, overriding the built-in default value. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29741] AVR ld unable to link for 0-series MCUs
https://sourceware.org/bugzilla/show_bug.cgi?id=29741 Konrad Rosenbaum changed: What|Removed |Added Target||avr Host||x86_64 Component|binutils|ld CC||konrad at silmor dot de -- You are receiving this mail because: You are on the CC list for the bug.