Re: Link-time resolved constant

2025-01-07 Thread Trampas Stern via Gcc
I am a newbie, but if you want my opinion you are welcome to it. My thoughts are that for growth to happen you often need creative destruction. That is to destroy or tear down the old ways and create something better. In that respect the old way of doing things will never agree to self destructi

Re: GDB debugging showing wrong code

2024-12-27 Thread Trampas Stern via Gcc
Thanks Richard! I have requested an account with the gcc bugzilla system. Trampas On Fri, Dec 27, 2024 at 5:05 AM Richard Biener wrote: > > > > Am 27.12.2024 um 02:50 schrieb Trampas Stern via Gcc : > > > > I am doing embedded development on an arm cortex-m processor

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread Trampas Stern via Gcc
I had about the same thought 20 some years ago. I also wanted a more advanced preprocessor which had more scripting capabilities, with knowledge of the C lexical output. For example write a preprocessor script that would call a macro every time a function call was entered. I also always wondere

GDB debugging showing wrong code

2024-12-26 Thread Trampas Stern via Gcc
I am doing embedded development on an arm cortex-m processor using arm-none-eabi-gcc. I have run into a bug where GDB is showing that the code executing is code from a function that is not used. The code is removed as it is not called, and hence -ffunction-sections -fdata-sections -Wl,--gc-sectio

Re: Link-time resolved constant

2025-01-08 Thread Trampas Stern via Gcc
Go do it! Do it so well and with such high quality that no one can ignore the results! On Tue, Jan 7, 2025 at 1:26 PM The Cuthour wrote: > Thank you. > > My plan is to make a higher compatibility version of ELF. > You may be able to call it ELF2.0 >