search for: ldlang

Displaying 3 results from an estimated 3 matches for "ldlang".

Did you mean: dlang
2005 Mar 09
1
Cross compiling klibc for arm and linking shared stuff
...etting this: ----- armv4-unknown-linux-gnu-ld -o tests/fcntl.shared -e main interp.o tests/fcntl.o -R libc.so /usr/lib/gcc-lib/armv4-unknown-linux-gnu/3.3.5/libgcc.a armv4-unknown-linux-gnu-ld: internal error: aborting at /space/var/tmp/portage/binutils-2.15.90.0.3-r4/work/binutils-2.15.90.0.3/ld/ldlang.c line 3835 in lang_place_orphans armv4-unknown-linux-gnu-ld: please report this bug ----- When trying to cross compile for armv4, and was wondering if anybody know of a patch to fix that ... I have tried different versions of binutils as well. Thanks, -- Martin Schlemmer -- --------------...
2019 Dec 05
2
GC for defsym'd symbols in LLD
...#39; --gc-sections -o a => GNU ld retains .text_foo ld.bfd a.o --defsym 'd=foo+3' --gc-sections -o a => GNU ld drops .text_foo ld.bfd a.o --defsym 'd=bar-bar+foo' --gc-sections -o a => GNU ld drops .text_foo I traced its logic under a debugger. Here is the stack trace: ld/ldlang.c:lang_gc_sections bfd/elflink.c:bfd_elf_gc_sections bfd/elflink.c:_bfd_elf_gc_mark_reloc ... bfd/elflink.c:_bfd_elf_gc_mark_hook asection * _bfd_elf_gc_mark_hook (asection *sec, ... case bfd_link_hash_defined: case bfd_link_hash_defweak: // It points to .text_foo for --defsym d=foo, but...
2019 Dec 04
2
GC for defsym'd symbols in LLD
On Wed, 4 Dec 2019 at 07:05, Fāng-ruì Sòng <maskray at google.com> wrote: > > On Tue, Dec 3, 2019 at 7:02 PM Shoaib Meenai via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > LLD treats any symbol referenced from a linker script as a GC root, which makes sense. Unfortunately, it also processes --defsym as a linker script fragment internally, so all target