summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/alleyoop/files')
-rw-r--r--dev-util/alleyoop/files/alleyoop-0.8.2.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/alleyoop/files/alleyoop-0.8.2.patch b/dev-util/alleyoop/files/alleyoop-0.8.2.patch
new file mode 100644
index 000000000000..18e26be5783a
--- /dev/null
+++ b/dev-util/alleyoop/files/alleyoop-0.8.2.patch
@@ -0,0 +1,19 @@
+--- src/symtab.c.orig 2005-02-08 20:39:13.046982560 +0930
++++ src/symtab.c 2005-02-08 20:43:31.046751024 +0930
+@@ -34,6 +34,7 @@
+ #include "symtab.h"
+ #include "process.h"
+ #include "ldd.h"
++#include <bfd.h>
+
+ #define d(x)
+ #define w(x) x
+@@ -115,7 +116,7 @@
+
+ map->text_section = section;
+ map->text_start = load_addr + bfd_section_vma (map->abfd, section);
+- map->text_end = map->text_start + bfd_get_section_size_before_reloc (section);
++ map->text_end = map->text_start + bfd_section_size(map->abfd, section);
+
+ map->filename = g_strdup (filename);
+ map->libname = g_strdup (libname);