Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 279563
Collapse All | Expand All

(-)mono-debugger-2.4.2/backend/arch/Makefile.am (-2 / +10 lines)
Lines 1-15 Link Here
1
if !SYSTEM_LIBBFD
1
SUBDIRS = libiberty bfd opcodes
2
SUBDIRS = libiberty bfd opcodes
2
3
4
libbfd_libs = opcodes/libopcodes.la bfd/libbfd.la
5
libbfd_includes = -I$(srcdir)/bfd -I$(srcdir)/bfd/include -I$(srcdir)/opcodes
6
else
7
libbfd_libs = -lopcodes -lbfd
8
libbfd_includes = 
9
endif
10
3
noinst_LTLIBRARIES = libmonodebuggerbfdglue.la
11
noinst_LTLIBRARIES = libmonodebuggerbfdglue.la
4
12
5
libmonodebuggerbfdglue_la_SOURCES = \
13
libmonodebuggerbfdglue_la_SOURCES = \
6
	bfdglue.c		\
14
	bfdglue.c		\
7
	bfdglue.h
15
	bfdglue.h
8
16
9
libmonodebuggerbfdglue_la_LIBADD = opcodes/libopcodes.la bfd/libbfd.la @BASE_DEPENDENCIES_LIBS@
17
libmonodebuggerbfdglue_la_LIBADD = $(libbfd_libs) @BASE_DEPENDENCIES_LIBS@
10
libmonodebuggerbfdglue_la_LDFLAGS = -no-undefined -module -export-dynamic -shared
18
libmonodebuggerbfdglue_la_LDFLAGS = -no-undefined -module -export-dynamic -shared
11
19
12
INCLUDES = -I$(srcdir)/bfd -I$(srcdir)/bfd/include -I$(srcdir)/opcodes @BASE_DEPENDENCIES_CFLAGS@
20
INCLUDES = $(libbfd_includes) @BASE_DEPENDENCIES_CFLAGS@
13
21
14
CLEANFILES = lib*.a lib*.dll
22
CLEANFILES = lib*.a lib*.dll
15
23
(-)mono-debugger-2.4.2/configure.in (+13 lines)
Lines 57-62 case "$host" in Link Here
57
esac
57
esac
58
AC_MSG_RESULT(ok)
58
AC_MSG_RESULT(ok)
59
59
60
AC_ARG_WITH([system-libbfd],
61
	AS_HELP_STRING([--with-system-libbfd], [Use the system copy of libbfd and libopcodes.]))
62
63
AS_IF([test "x$with_system_libbfd" = "xyes"],
64
  [
65
     AC_CHECK_HEADERS([bfd.h], [], [AC_MSG_ERROR([Missing bfd.h header])])
66
     AC_CHECK_LIB([bfd], [bfd_init], [:], [AC_MSG_ERROR([Missing libbfd library])])
67
     AC_CHECK_LIB([opcodes], [init_disassemble_info], [:], [AC_MSG_ERROR([Missing libopcodes library])], [-liberty])
68
     AC_CHECK_MEMBERS([asection.rawsize], [], [], [[#include <bfd.h>]])
69
  ])
70
71
AM_CONDITIONAL([SYSTEM_LIBBFD], [test "x$with_system_libbfd" = "xyes"])
72
60
AC_ARG_WITH(bfd-target,
73
AC_ARG_WITH(bfd-target,
61
[  --with-bfd-target       Manually override the BFD target],
74
[  --with-bfd-target       Manually override the BFD target],
62
	if test x$with_bfd_target != "x"; then
75
	if test x$with_bfd_target != "x"; then
(-)mono-debugger-2.4.2/backend/arch/bfdglue.c (+6 lines)
Lines 1-3 Link Here
1
#include <config.h>
2
1
#include <bfdglue.h>
3
#include <bfdglue.h>
2
#include <signal.h>
4
#include <signal.h>
3
#include <string.h>
5
#include <string.h>
Lines 227-233 bfd_glue_get_errormsg (void) Link Here
227
guint32
229
guint32
228
bfd_glue_get_section_size (asection *p)
230
bfd_glue_get_section_size (asection *p)
229
{
231
{
232
#ifdef HAVE_ASECTION_RAWSIZE
233
	return p->rawsize ? p->rawsize : p->size;
234
#else
230
	return p->_raw_size;
235
	return p->_raw_size;
236
#endif
231
}
237
}
232
238
233
BfdGlueSectionFlags
239
BfdGlueSectionFlags

Return to bug 279563