Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 15 Aug 2016 09:51:55 -0400
From: Ovi Nastai <>
Subject: musl gcc compiler generating "udiv" on a A9mp ARM core...


I have  an A9mp based SoC.

My tool generates the “udiv” opcode, that it is not supported by the A9mp.
I also see the “__aeabi_uidiv” at times.

I need to have the tool generating exclusively “__aeabi_uidiv”, on my A9mp

This is the tool’s version:


[onastai@...srv-ott-03 user]$

arm-tzos-musl-gcc (GNU Tools for ARM Embedded Processors) 4.8.4 20140725
(release) [ARM/embedded-4_8-branch revision 213147]

Copyright (C) 2013 Free Software Foundation, Inc.


This is the command line (to show the flags):


-I. -I../../../../kernel/api -MD -MP -mcpu=cortex-a9 -mtune=mpcore
-mfpu=vfpv3 -D__TZOS__ -O2 -g -Wall -Werror  -std=gnu99 -D_POSIX_SOURCE -c
signals_tests.c -o bin/signals_tests.o

bin/signals_tests.o   -o user.elf


Question: are there any flags to instruct the tool to NOT generate the
“udiv” opcodes, and replace them with “sw division” (i.e. “__aeabi_uidiv) ?



Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.