OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /eco32/tags/eco32-0.23/binutils/tests-2/link
    from Rev 7 to Rev 157
    Reverse comparison

Rev 7 → Rev 157

/link1.s
0,0 → 1,7
.data
 
.import func
 
.word 0x12345678
.word 0xDEADBEEF
.word func+2
/link2.s
0,0 → 1,10
.code
 
.export func
 
.word 0x87654321
.word 0xBEEFDEAD
 
func:
.word 0x11223344
.word 0x55667788
/Makefile
0,0 → 1,15
BUILD = ../../../build
 
all:
$(BUILD)/bin/as -o link1.o link1.s
$(BUILD)/bin/as -o link2.o link2.s
$(BUILD)/bin/ld -o link12 link1.o link2.o
$(BUILD)/bin/ld -o link21 link2.o link1.o
@echo -n "Comparing link12 and link21: "
@if cmp link12 link21 ; \
then echo "Files are equal." ; \
else echo "Error found!" ; \
fi
 
clean:
rm -f *~ link1.o link2.o link12 link21

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.