aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-08-13 07:24:31 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-08-13 07:24:44 -0700
commit98641896ad52915448c0dd1ab4b4bbe23148a582 (patch)
tree21e40c3d8d77142a6ba812d66f8bc5877f52440f /bfd/Makefile.in
parent0c76e06d5cc83a42ec05a377c3b3c211c8e85151 (diff)
downloadgdb-98641896ad52915448c0dd1ab4b4bbe23148a582.zip
gdb-98641896ad52915448c0dd1ab4b4bbe23148a582.tar.gz
gdb-98641896ad52915448c0dd1ab4b4bbe23148a582.tar.bz2
bfd: Move elf-properties.lo to BFD32_LIBS
commit 6404ab993797d1d6cd3d9e97cc281e3cb6226c12 Author: H.J. Lu <hjl.tools@gmail.com> Date: Wed Aug 8 21:00:04 2018 -0700 Convert .note.gnu.property section between ELF32 and ELF64 updated bfd_convert_section_size and bfd_convert_section_contents in bfd.c to call _bfd_elf_convert_gnu_property_size and _bfd_elf_convert_gnu_properties, which are defined in elf-properties.c. It led to bfd.c:2484: undefined reference to `_bfd_elf_convert_gnu_property_size' for non-ELF targets. Since elf-properties.c is a generic implementation and doesn't reference any ELF specific functions directly, this patch moves elf-properties.lo BFD32_LIBS. Tested for many ELF and non-ELF targets. PR binutils/23494 * Makefile.am (BFD32_LIBS): Add elf-properties.lo. (BFD32_LIBS_CFILES): Add elf-properties.c. (BFD32_BACKENDS): Remove elf-properties.lo. (BFD32_BACKENDS_CFILES): Remove elf-properties.c. * configure.ac (elf): Remove elf-properties.lo. * Makefile.in: Regenerated. * configure: Likewise.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in21
1 files changed, 10 insertions, 11 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index c1c0292..e63d63a 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -182,10 +182,11 @@ am__installdirs = "$(DESTDIR)$(bfdlibdir)" \
LTLIBRARIES = $(bfdlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
am__DEPENDENCIES_1 =
am__objects_1 = archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \
- cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo \
- init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \
- section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo \
- binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
+ cache.lo coff-bfd.lo compress.lo corefile.lo elf-properties.lo \
+ format.lo hash.lo init.lo libbfd.lo linker.lo merge.lo \
+ opncls.lo reloc.lo section.lo simple.lo stab-syms.lo stabs.lo \
+ syms.lo targets.lo binary.lo ihex.lo srec.lo tekhex.lo \
+ verilog.lo
am_libbfd_la_OBJECTS = $(am__objects_1)
libbfd_la_OBJECTS = $(am_libbfd_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
@@ -493,16 +494,16 @@ BFD_H = bfd.h
# need two copies of the executable, one to download and one for the
# debugger).
BFD32_LIBS = \
- archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \
- cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo \
- init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \
+ archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo \
+ coff-bfd.lo compress.lo corefile.lo elf-properties.lo format.lo \
+ hash.lo init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \
section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo \
binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
BFD64_LIBS = archive64.lo
BFD32_LIBS_CFILES = \
- archive.c archures.c bfd.c bfdio.c bfdwin.c \
- cache.c coff-bfd.c compress.c corefile.c format.c hash.c \
+ archive.c archures.c bfd.c bfdio.c bfdwin.c cache.c coff-bfd.c \
+ compress.c corefile.c elf-properties.c format.c hash.c \
init.c libbfd.c linker.c merge.c opncls.c reloc.c \
section.c simple.c stab-syms.c stabs.c syms.c targets.c \
binary.c ihex.c srec.c tekhex.c verilog.c
@@ -716,7 +717,6 @@ BFD32_BACKENDS = \
elf-m10200.lo \
elf-m10300.lo \
elf-nacl.lo \
- elf-properties.lo \
elf-strtab.lo \
elf-vxworks.lo \
elf.lo \
@@ -854,7 +854,6 @@ BFD32_BACKENDS_CFILES = \
elf-m10200.c \
elf-m10300.c \
elf-nacl.c \
- elf-properties.c \
elf-strtab.c \
elf-vxworks.c \
elf.c \