From: Russ D. <Rus...@as...> - 2002-02-26 08:33:30
|
this commit broke blob CVS for me: blob_rest_elf32_LDFLAGS += \ + @BLOB_CHKMEM_OBJS@ \ + @BLOB_CLOCK_OBJS@ \ + @BLOB_CRAMFS_OBJS@ \ + @BLOB_FLASH_OBJS@ \ + @BLOB_JFFS2_OBJS@ \ + @BLOB_PLATFORM_OBJS@ \ + @BLOB_UUCODEC_OBJS@ \ + @BLOB_XMODEM_OBJS@ \ -Wl,-T,rest-ld-script \ -Wl,-Map,blob-rest-elf32.map with my version of autmake (1.4-p4) the following command in the Makefile is generated: blob-rest-elf32: $(blob_rest_elf32_OBJECTS) $(blob_rest_elf32_DEPENDENCIES) @rm -f blob-rest-elf32 $(LINK) $(blob_rest_elf32_LDFLAGS) $(blob_rest_elf32_OBJECTS) \ $(blob_rest_elf32_LDADD) $(LIBS) (line continuation added) this causes amd32.o to be the first thing in blob-rest, which in turn, causes an undefined instruction exception. russ:~/jtag/blob.sf/src/blob$ arm-linux-objdump blob-rest-elf32 -D blob-rest-elf32: file format elf32-littlearm Disassembly of section .text: c0000400 <flash_erase_amd32>: c0000400: e92d41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} c0000404: e59f70d4 ldr r7, [pc, #d4] ; c00004e0 <flash_erase_amd32+0xe0> ... |