https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
Antoni changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #9 from CVS Commits ---
The master branch has been updated by Antoni Boucher :
https://gcc.gnu.org/g:0b52083ea2c2dd9897031fdc3802a68fd4aa45ef
commit r12-5917-g0b52083ea2c2dd9897031fdc3802a68fd4aa45ef
Author: Antoni Boucher
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #7 from David Malcolm ---
One other thing: the docs should make it clear about the leading ".".
If I want to create the equivalent of:
__attribute__((section(".section")))
do I call it with:
gcc_jit_lvalue_set_link_section(
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #6 from David Malcolm ---
Thanks for the patch; I like the idea; various nits below:
> diff --git a/gcc/jit/docs/topics/expressions.rst
> b/gcc/jit/docs/topics/expressions.rst
> index 396259ef07e..b39f6c02527 100644
> --- a/gcc/jit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #5 from Antoni ---
This is much less work as I'm reusing the rustc front-end.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #4 from Andrew Pinski ---
Hmm, now I am curious why you are using the jit framework rather than doing a
normal GCC front-end; like was done for the other rust gcc front-end
https://github.com/Rust-GCC/gccrs .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #3 from Antoni ---
I develop a gcc codegen for the Rust compiler and it's a feature of Rust to be
able to set the link section:
https://github.com/antoyo/rustc_codegen_gcc/commit/999f768526d72e19e3eafdc963dcb6af8a1afe60#diff-6bbb0145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #2 from Andrew Pinski ---
I am curious what is the use case here?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688
--- Comment #1 from Antoni ---
Created attachment 50847
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50847&action=edit
Patch adding support for setting the link section
10 matches
Mail list logo