[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/15835] binutils can't deal with more than one SHT_SYMTAB_S
From: |
richard at netbsd dot org |
Subject: |
[Bug binutils/15835] binutils can't deal with more than one SHT_SYMTAB_SHNDX section (such as from Solaris or illumos link editor) |
Date: |
Thu, 27 Aug 2015 06:01:10 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=15835
Richard PALO <richard at netbsd dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard at netbsd dot org
--- Comment #6 from Richard PALO <richard at netbsd dot org> ---
(In reply to Nick Clifton from comment #5)
> Hi Rich,
>
> Please could you try out the uploaded patch and let me know if it works
> for you. It should allow the binutils to read files with multiple
> symtab_shndx sections, but it will not make the linker produce them.
>
> Cheers
> Nick
following this issue, tried the patch on binutils 2.25.1, unfortunately:
...
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DCP_ACP=1 -I. -I. -I./../include
-DHAVE_i386_elf32_sol2_vec -DHAVE_i386_coff_vec -DHAVE_x86_64_elf64_sol2_vec
-DHAVE_l1om_elf64_vec -DHAVE_k1om_elf64_vec -DHAVE_elf64_le_vec
-DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec
-DBINDIR=\"/opt/local/bin\" -I/opt/local/include -I/usr/include -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -O2 -I/opt/local/include
-I/usr/include -MT elf.lo -MD -MP -MF .deps/elf.Tpo -c elf.c -o elf.o
elf.c: In function 'assign_file_positions_for_non_load_sections':
elf.c:5075:9: warning: implicit declaration of function 'elf_symtab_shndx'
[-Wimplicit-function-declaration]
|| hdr == i_shdrpp[elf_symtab_shndx (abfd)]
^
elf.c: In function 'assign_file_positions_except_relocs':
elf.c:5333:13: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
|| i == elf_symtab_shndx (abfd)
^
elf.c: In function 'swap_out_syms':
elf.c:6909:39: error: 'struct elf_obj_tdata' has no member named
'symtab_shndx_hdr'
symtab_shndx_hdr = &elf_tdata (abfd)->symtab_shndx_hdr;
^
--
You are receiving this mail because:
You are on the CC list for the bug.