Elf: Drop never used SOC helper
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 9 Apr 2010 10:21:45 +0000 (14:21 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Fri, 9 Apr 2010 20:10:07 +0000 (00:10 +0400)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outelf32.c
output/outelf64.c

index 8f8e707..07ad916 100644 (file)
@@ -124,8 +124,6 @@ static uint8_t elf_abiver = 0;  /* Current ABI version */
 extern struct ofmt of_elf32;
 extern struct ofmt of_elf;
 
-#define SOC(ln,aa) ln - line_base + (line_range * aa) + opcode_base
-
 static struct ELF_SECTDATA {
     void *data;
     int32_t len;
index 810845a..3447830 100644 (file)
@@ -60,8 +60,6 @@
 
 #ifdef OF_ELF64
 
-#define SOC(ln,aa) ln - line_base + (line_range * aa) + opcode_base
-
 struct Reloc {
     struct Reloc *next;
     int64_t address;            /* relative to _start_ of section */