• Caller Function Did Not Keep R3

    Weiting Liu
    Weiting Liu

    Hi,

    I have a "test_fun1()" function call to a inline ASM "test_fun2()". I found that the caller, "test_fun1()" did not keep the R3 before jump to "test_fun2()", which cause the result of the  "test_fun1()" is not correct…

    • Answered
    • 3 months ago
    • Software Tools
    • Arm Compilers forum
  • Significant performance improvements in GCC 10 through Vectorization and In-lining

    Tamar Christina
    Tamar Christina

    This year's GNU Compiler Collection (GCC) release not only contains a plethora of new Architecture features, but is also the most performant GCC release to date. 

    Arm, together with various partners and the GCC community, have been hard at work on…

    • 9 months ago
    • Software Tools
    • Tools, Software and IDEs blog
  • openmp support in aarch64-none-elf-gfortran

    YHuerta
    YHuerta

    Hi,

    I just recently downloaded the gnu toolchain

    when i invoke the openmp flag, it fails

    $ aarch64-none-elf-gfortran -c -o mod_constants.fppized.o -fopenmp -O3 -march=native mod_constants.fppized.f90
    aarch64-none-elf-gfortran: error: unrecognized…

    • 10 months ago
    • Software Tools
    • Arm Compilers forum
  • Strange behaviour of ld saving vma and lma infos into elf

    mastupristi
    mastupristi

    The question concerns the vma and lma that can be expressed in the linker script with the keyword AT.

    let’s take the following linker script:

    /* Entry Point */
    ENTRY(main)
    
    /* Specify the memory areas */
    MEMORY
    {
      FLASH (rx)      : ORIGIN…

    • 10 months ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • printf retargetting for nano-specs Cortex M0

    eugch
    eugch

    With nano-specs I can't get printf statements like this to work where it needs to take in values from a variable.

    printf ("Data1 %d\n", data1);

    A simpler printf with just characters work ok.

    printf ("abc\n");

    Per the standard CMSDK…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Problem with GCC and string.h and stdlib

    nehal nehal
    nehal nehal
    Note: This was originally posted on 8th October 2008 at http://forums.arm.com

    Hi everyone,

    i have following trouble with keil arm gnu compiler. i have recently moved to gnu and now i am having hard time to set it up.

    description of problem: i am using real…
    • over 7 years ago
    • Software Tools
    • Keil forum
  • Invalid assembly instruction MOV PC, R13 Cortex M3

    Umut Umut
    Umut Umut
    Note: This was originally posted on 24th March 2009 at http://forums.arm.com

    Hi,

    I am trying to compile linux kernel 2.27 with CodeSourcery GNU toolchain 4.3.2 and somehow I am getting assembler error for instruction

    MOV PC, R13

    Well, for some reason ARM…
    • over 7 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Spin-lock implementation for Aarch64 -- how to enforce acquire semantics?

    Olivier Delande
    Olivier Delande

    Here is a minimal C implementation of a spinlock "lock" operation using GCC's built-in atomics:

    #include <stdbool.h>
    
    void spin_lock(bool *l) {
      while (__atomic_test_and_set(l, __ATOMIC_ACQUIRE))
        ;
    }
    

    I am concerned…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • coming from AVR 8-bitter,starting ARM CORTEX-M programming

    Luca
    Luca

    Hi everyone, as I wrote in the title, I'm coming from AVR 8-bit MCUs programming and in the last year I learnt a lot about AVR 8-bit architecture,CPU,registers and so on.

    I've done a few projects coding primarily in C and something in Assembly (serial…

    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Is there a list of all opcodes mnemonics understood by each architecture?

    Myy
    Myy

    Greetings,

    I'm currently experimenting with Jekyll and I'm trying to make an GNU ARM Assembly syntax highlighter for Rouge.

    However, the ARM Architecture Reference Manual does not seem to have a simple complete list of mnemonics. They are all…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • How to clean the L1 cache from Linux user space?

    ann
    ann

    There is a requirment for me to clean the L1 cache from Linux user space.

    There is a DMAC in my SoC platform and this DMAC should read its mirco-code from L2 cache all the time.

    When I need to update the DMA mirco-code located in a main-memory, I have two…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Application processor and baseband processor.

    Mazen Ezzeddine
    Mazen Ezzeddine

    Dear all,

    Most mobile phones contain an ARM-like application processor AP for general user applications  and a base band processor for the radio software stack, could you please elaborate on the following:

    1. Do the AP and the baseband processor communicate…

    • over 6 years ago
    • Software Tools
    • Arm Compilers forum
  • ARM 7 TDMI

    Jagath
    Jagath

    Hello I am  new to this forum and new to Arm 7 programming.

    My question is - I have a programming (I think it is a Flash) file in hex ,which I downloaded to Arm 7 MCU through Rlink usb tool to run the programme.

    If I need to modify this programme how…

    • Answered
    • over 6 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Is there a maximum length of compile path ?

    Micheal Kang
    Micheal Kang

    Hi, I have a problem something weird.

    I made some cpp files in my project folder and made a Makefile to compile easier.

    The problem is that if compile path is longer than specific length, the compile error was occured.

    Only difference between success and…

    • Answered
    • over 6 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Code reuse attacks: the compiler story

    Luke Cheeseman
    Luke Cheeseman

    How does a developer prevent an attacker from taking control of a program when the developer is providing the tools to the attacker? What are code reuse attacks and how can the Arm Architecture remove the vulnerabilities? How can someone use these architectural…

    • over 1 year ago
    • Software Tools
    • Tools, Software and IDEs blog
  • multiple definition of `__stack_chk_fail'

    Alexandre Gonzalo
    Alexandre Gonzalo

    Hi,
    I am trying to migrate GCC from 7.2.1 to 8.3.
    To do so, I took the prebuilt binaries from your website
    developer.arm.com/.../downloads

    I used to take the packages from Linaro in the past.
    I am using the bare metal binaries for AArch64.
    I have the following…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Cortex-A Support in MacOS

    b1tflpr
    b1tflpr

    Does anyone know if there will be a release of the GNU-A tools for MacOS anytime soon?

    developer.arm.com/.../downloads

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc),

    nataraju
    nataraju

    GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc) , i need a tool chain of ebi like GNU Tools for ARM Embedded Processors (arm-eabi-gcc) , please any suggestions

    need with eabi ....any other tool chain is available?

    • over 6 years ago
    • System
    • Embedded forum
  • GNU Scientific Library vs CMSIS Library Time and Space complexity

    Laxmi Kant Tiwari
    Laxmi Kant Tiwari

    Hello,

             I have been using CMSIS library for implementation of DSP functions in ARM, however, CMSIS have very limited DSP functions. Although GNU has many DSP functions which CMSIS do not, It only have floating point implementation. I am trying…

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • to size boundary of the structure alignment

    Ras Sharif
    Ras Sharif

    dear All,

    i started an arm cortex m3 project using eclipse+gnu.

    i want to size boundary of the structure alignment.

    where and how i can do it?

     

    thanks and regards,

    Ras

    • Answered
    • over 4 years ago
    • System
    • Embedded forum
  • Compiling Xen for Juno

    armdev
    armdev

    Hi,

    I am trying to run Xen on Juno r0 board and while compiling the Xen code getting following error -

    make xen XEN_ARCH_TARGET=arm64 debug=y CONFIG_EARLY_PRINTK=juno

    make -C xen install

    make[1]: Entering directory `/home/nishaj/Xen/xen/xen'

    make -f Rules…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Xen/dom0 on Juno

    Justin
    Justin

    Hey all,

    I have been playing around with Xen and Dom0 on a Juno r0 board. Currently dom0 is failing to initailize USB. This is an issue because the rootfs depends on the usb.

    usb 1-1: new high-speed USB device number 2 using ehci-platform

    usb 1-1: device…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Exception running Bare metal code on JUNO r0 platform

    Amit
    Amit

    Hi,
    I am using Juno platform to run example Baremetal codes provided by DS-5 software examples. I have followed the steps as suggested in www.community.arm.com/.../tutorial-baremetal-development-on-the-juno. I have used precompiled Image copied on MMC…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Why GNU ARM Toolchain objcopy didn't redefine and strip symbols, what a possible workaround?

    Fgi
    Fgi

    I have Android shared library with armeabi-v7 architecture, and I need to rename some functions inside this.

    Firstly, I tried ARM toolchain v4.9 of Android NDK.

    I tried:

    objcopy --redefine-sym _Z3foo1v=_Z3foo2v libTest.so libTestResult.so

    It throws no…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Issue while building the OpenEmbedded filesysytem from source (ARM Versatile Express Juno r2 Development Platform)

    luismartins
    luismartins

    Similar to this thread, i'm having some hard time building the openembedded filesystem.

    So far I have managed to follow this tutoriall until the "Booting the board" section. After running the board some errors appear during the execution:

    Execution of the PuTTY shell (Part 1)

    Execution of the PuTTY shell (Part 2)

    This…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
>