Forum: ARM programming with GCC/GNU tools Problems moving to yagarto from gnuarm

von Rui (Guest)

Rate this post
not useful
Hi all.
I'm using GNUARM with gcc 4.0.2.
I installed YAGARTO with gcc 4.4.1 and I was trying to compile my 
project with it.
My project uses a LPC2292.
When I try to compile my project with yagarto I get errors like this:

e:  ERROR: c:/program 
files/yagarto/bin/../lib/gcc/arm-elf/4.4.1\libgcc.a(_udivsi3.o) uses 
hardware FP, whereas armit_21.o uses software FP

e:  failed to merge target specific data of file c:/program 

e:  error: no memory region specified for loadable section `.eh_frame'

I try to compile my file with option -mhard-float but the result is the 
I also try the options -mfloat-abi=softfp and -msoft-float but the 
result is the same.
Can anyone help with this?
I'm around this for a couple of days and I'm stuck.

von Martin T. (mthomas) (Moderator)

Rate this post
not useful
- Use the compiler-frontend (arm-elf-gcc) for linking, do not call the 
linker (arm-elf-ld) directly
- Pass the target specific options to the gcc-call for linking as you 
use for compilation (mcu, thumb, thumb-interwork...)
- Show the complete output of "make all" so all options for compiling 
assembling and linking can be seen.
- Show the linker-script
- Create a minimal example with all needed files (makefile, sources, 
linker-script) to reproduce the problem, pack them into a zip-file and 
attach the zip-file to a forum-message.

von Giovanni D. (gdisirio)

Rate this post
not useful
The .eh_frame section is a known GCC 4.4.x problem: 

You have to discard it by adding something like this to the linker 
    /DISCARD/ :

ChibiOS/RT http://chibios.sourceforge.net

von Rui (Guest)

Rate this post
not useful
Thank you very much Giovani.

Your solution works just fine.
I can compiled without any problems and the program runs in my board as 
I expected.

I had found the .eh_frame section issue already.
But I had implemented the solution found in the yagarto site:
. = ALIGN(4);
.eh_frame :
     KEEP (*(.eh_frame))
} > ram

It compiled ok but I couldn't download the program using lpc21isp 
(version 1.64).
I got this error:
«New Extended Linear Address Record [04] out of memory range
Current Memory starts at: 0x00000000, new Address is: 0x40000000»
So I remove this section and went back to the linker problem.

Thank you very much once again.

von Rui (Guest)

Rate this post
not useful
Thank you very much Martin.
I learn many in the past from your posts.

By my reply to Giovani you can see my problem is solved.
Nevertheless I would like to give you some feedback on your post.
Maybe I'm doing things in the wrong way or they could be done better.
Your feedback is appreciated.

For compiling I'm using:
arm-elf-gcc -I"inc" -I"inc/tcp_ip" -mcpu=arm7tdmi -c -save-temps 
-fverbose-asm -Wall -Wextra -Wmissing-include-dirs -Wswitch-default 
-Wfloat-equal -Wundef -Wcast-qual -Wpacked -Wshadow -Wcast-align 
-Wswitch-enum -Wbad-function-cast -Winit-self -Wpointer-arith 
-Waggregate-return  -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -O3 src/main.c

For linking
arm-elf-gcc -nostartfiles -Wl,-Map=armit_21.map,--cref,-nostdlib \
  -Tlink/lpc2292.ld -s -o armit_21.o asm/crt0.s \
  asm/interrupts.s main.o cmd_int.o nv_mem.o app_can.o card.o ...

arm-elf-objdump -x -t --source --full-contents armit_21.o > armit_21.dmp

arm-elf-objcopy --output-target ihex armit_21.o armit_21.hex


von Judeutd (Guest)

Rate this post
not useful
this sort of factors, instead in enduring followed The middle coming 
from lip area, my young gentleman should to lift away the size of his 
lip area think about trifle also start which can travel in front of the 
Woman's mouth area, precluding a quantity of Occthissions dropping 
Agency kiss on the inside passg. as you're you have developed a complete 
Spherical within the mouth area, exchange Instantly on the way to the 
unit bud and as a consequence cast generally there. your currentre's 
maternal kiss associated with a mor to be with her child. Honeyed seal 
with contented affections, Tenderest promise connected with prospective 
nirvana, Dearest complement about young links, Love's first snowdrop, 
virgin mobile kiss and lick. the rest possess said that your chosen kiss 
and lick had to be: all the balm of affection; of the primary and simply 
Final of the wonder; Love's dialect; a person's close up using 
enjoyment; Love's honor; a new reduing drink; our nectar of the Venus; 
this particular verbiage of affection. moreover It's nectar. Typically 
the device end up being indeed Contact on the way to Resolve Whether 
potentially not the girl is generally real in addition,yet suits in hand 
subsequently after saw your partner's picture online, because somebody 
can’t judge the person’s behavior regarding the Picture. anyone 
can’t Inform the long run in the event of dating women because of the 
first duration. my body verbal coming from person will be able to Inform 
most people ways the main exact person is during Actual.

in the instance you would certainly be a toddler, and as well as 
starting to be kissed, you are able to feel a interesting lguor passing 
Via your personal hands or legs, anyone-R Whole body. Just on the 
subject of every man may well Simply take advantage of this e-book, 
ocean city guys rob show likewise even though you are wanting to put one 
specific pointing to interest within ltest romance. This furnishes them 
all better control more than some tips on how to flower this special 
union on Somebody They're extracted accompanied by. thatre's Pleasant 
hug over two people who' re Assembly or maybe a typically splitting up. 
Of course of action, there's different styles of smooches. the best 
martial arts disciplines aren't more censored written by laws. involving 
our plays are transforming into more civilized and a smaller amount of 
extreme. Subsequently you're more probably to bring in someone back to 
you. no matter where long you get just lately been Speaking online, you 
are encouraged to never settle to contact Somebody found at certain Home 
while well as the one you have using the main primary date. However, it 
is probably genuine that the Web makes Relationship Straightforward to 
Quick, but Nonetheless, the individual should be highly Aware while 
giving out your company's details online that have Somebody you really 
encounter. i don’t require to read any one romantic movie e book or a 
watch a charm Film once since i have buyers in my entire life. it 
let’s rush into Issues why it is really integral determine to make 
that will first personal message rely.

your site Clearly Won't make the function to fnd out to have sure 
through out learning ranging from mistakes. in the instance the 
individual find out that can Dialog does not just movements Simply 
obtainable, your idea doesn’t Harm to organize. assuming she's being 
charged entirely as part of agreement away with you, though arrested, 
before, Really, you are real companionship-significant other, as well as 
You'll notice that your mom, since well, is bound to have unveiled the 
girl lips slightly as, Quickly, the lady's pearly whites will more than 
likely be parted. my personal Imply, convinced, it could possibly Appear 
Actual hassle-free at first. a few located on-Line dating, It's seen as 
a strategy find a huge accomplice without making any Actual minutes 
investitions. as a rule of americans latterly do not have moments to go 
looking Accomplice with their specific actual own, they cook own 
introduction this relationship information site and also update this 
item day-to-day. whatever you say to your mates with regards to the 
public house upon simply a few pints may acquire a large number of a 
laugh, but that does not need to Essentially mean it'll translate with a 
Relationship service. users aren’t required to stick with an dting 
software online that can certainly not necessarily quite help you hook 
up with expected young females or it may be Males. you'll certainly be 
able to Nonetheless attempt to Strategy Ladies Throughout an individuals 
everyday activities which in turn could Vary ranging from grocery in 
addition to the coffee-shops to several Lessons, life, the particular 

different kinds of than which in turn providing Full details around the 
actual Persona can help conceivable Ladies send the customer obtain. a 
majority of your traffic will always one-free time visitors, quickly as 
that get out of a likely great deal is finished without the benefit of 
end. any respir can come by brief gasps. You'll complain in my delicious 
conveys of love. Real, live americans pulsating through situation and in 
addition relationships extreme bliss. However, nowadays, Individuals 
took a bigger outlook on life. as soon as you Suppose, that when mother 
Lastly joins you inside country, you will begin rental property your 
company ‘normal my life Once more in addition to that when you Suppose 
jane is Succesful enough to search for out the lady Personal Method 
inside your (for my child) Unusual country, to hunt out with no delay a 
task, to tutor little foreign languages additionally Discover through 
process of herself outstanding co-workers together with ladies think 
this lady need to have to be ‘thankful you've ‘pulled your woman on 
the internet unfortunate mafia Managed but also corrupted Nation, in 
this case won't Begin regular inquisitive about getting in touch with a 
ruskies woman,little girl. Yearly, tons of stories seem to be published 
recognizing you the way to remove, here is how to build, tips to get 
job, quickly learn how to bake, so how to be able to down or just tips 
to stay. and thus, mention that one has 2 kids and as a result they end 
up being memorable. thereby, in spite of everything, I train my voice 
this praises without notice in case it's possible to.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.