This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

md_apply_fix when using trick to simulate __attribute__(at())

I am using a "trick" to simulate __attribute__(at()) from the ARM toolchain in GCC. I have a macro defined as 

Then I have something like the following:

When I use this with compilers targeted at arm-none or arm-elf, it works fine and I get the desired result that I can access the "thing" structure instance and it accesses the correct memory location.

However, when I use this with aarch64-none or aarch64-elf compilers, I get the following:

Is anyone aware of any workaround that would me to achieve the result I am looking for? I do not have the option of modifying the linker script for this.

0