From 6620d1aa6d703c0c6bfbca551157d0768d24e781 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 9 Apr 2010 14:21:45 +0400 Subject: [PATCH] Elf: Drop never used SOC helper Signed-off-by: Cyrill Gorcunov --- output/outelf32.c | 2 -- output/outelf64.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/output/outelf32.c b/output/outelf32.c index 8f8e7075..07ad9161 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -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; diff --git a/output/outelf64.c b/output/outelf64.c index 810845a1..34478303 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -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 */ -- 2.11.4.GIT