This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ARM platform porting problem



On 28-Oct-99 Grant Edwards wrote:
> On Thu, Oct 28, 1999 at 02:08:58PM -0500, Grant Edwards wrote:
> 
>> I'd like to compare the machien code I see in memory with what the
>> assembler thinks it generated.  I tried to get the assembler to
>> generate a listing for vectors.S, but it won't show the machine
>> code for the routine in question.
> 
> How come you cat work on something all day an never get anywhere, but
> 30 seconds after you post a question about it, you have to say:
> 
> "never mind, I got it to work"
> 
> I'm not sure what I was doing wrong before, but now I've got listings
> that show what I expect them to.
> 

Any ideas what you did to change the results?  I ask because I saw the
same errant behaviour as you. Here's how I got my listing:

arm-elf-gcc  -c  -I/work/xx_test/install/include -I. -I/work/ecc-v1_2_9/ecc/hal/arm/arch/current/src -mcpu=arm7tdmi -D__CL7211 
-Wall -Wpointer-arith
-Wstrict-prototypes -Winline -Wundef -ffunction-sections -fdata-sections -g -O2 -Wp,-MD,hal_arm_vectors.tmp -o hal_arm_vectors.
o
/work/ecc-v1_2_9/ecc/hal/arm/arch/current/src/vectors.S -save-temps
arm-elf-as -al vectors.s -o vectors.o >out 2>&1
more out

Note: I didn't invent the first line.  I just cut&pasted it from my 
normal eCos kernel build.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]