[RFC PATCH] ld/emulparams: elf32lriscv-defs: Add support tune the text segment start address
Nelson Chu
nelson@rivosinc.com
Thu Dec 22 02:12:19 GMT 2022
More information about the Binutils mailing list
Thu Dec 22 02:12:19 GMT 2022
- Previous message (by thread): [RFC PATCH] ld/emulparams: elf32lriscv-defs: Add support tune the text segment start address
- Next message (by thread): [RFC PATCH] ld/emulparams: elf32lriscv-defs: Add support tune the text segment start address
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Dec 22, 2022 at 4:15 AM Lad, Prabhakar <prabhakar.csengg@gmail.com> wrote: > >> I think it should be similar to what nds32 did in the >> ld/emulparams/nds32elf_linux.sh, but I'm not really sure how it works. >> When should the DEFAULT_TEXT_START_ADDR be defined? Maybe when >> configure or make, not sure about that. But at least I only see the >> changes in nds32, all of the other targets won't do that, so this must >> be a handy little trick, but there are always other ways to do the >> >DEFAULT_TEXT_START_ADDR needs to be exported in the shell before doing >configure && make.. For example for testing I bbappended the binutils >yocto recipe and exported the variable in do_configure() so that it >picks up the new offset. Thanks, that pretty clear to explain how this works. > > same things - for example, what maskray said should be the general way > > to do. I don't have any opinion on this change, if it won't break the > > general build, then probably acceptable. Just that it seems need to > > introduce the DEFAULT_TEXT_START_ADDR or whatever configure options, > > so this isn't only be the riscv gnu ld's issue, this will also be the > > issue of lld, so if the maintainers of lld already have some > > suggestions, then it will definitely worth to referring to. > > > Is there a mailing list for lld so that we could include them in this > mail thread (I couldn't find one)? Not really sure which mailing list is the right place to discuss this for llvm, I only know that they have a patch review system - Phabricator. But anyway, Maskray (Fangrui) is the lld maintainer, so he is already here ;) Thanks Nelson
- Previous message (by thread): [RFC PATCH] ld/emulparams: elf32lriscv-defs: Add support tune the text segment start address
- Next message (by thread): [RFC PATCH] ld/emulparams: elf32lriscv-defs: Add support tune the text segment start address
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list