Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv4972
Modified Files:
elf.py
Log Message:
don't add unrelocated addresses to the linkie when creating relocatable files
Index: elf.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/elf.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- elf.py 14 Apr 2003 00:05:18 -0000 1.25
+++ elf.py 14 Apr 2003 00:26:36 -0000 1.26
@@ -559,7 +559,7 @@
# alignment has been processed already
binary.place_symbol('!' + name)
- binary.paste(-1, section)
+ binary.paste(-1, section, skip_addr = 'r' in flags)
if want_symbols:
symtab = sections['.symtab']
symstr = sections['.symstr']
|