This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
IA64 Linker crashes on bad input in
When I tried pasting that into the IA-64 port, I got no error at all. A bit less than half have/* If tls_sec is NULL, we should have signalled an error already. */ if (elf_hash_table (info)->tls_sec == NULL) return 0;
BFD_ASSERT (elf_hash_table (info)->tls_sec != NULL);like the IA-64 port. The elf32-ppc.c port has no checks for a NULL tls_sec. And the FRV port does this differently, it has this code:
So it looks like the FRV port is the only one that currently handles this correctly.if (! elf_hash_table (info)->tls_sec) { (*info->callbacks->undefined_symbol) (info, "TLS section", elf_hash_table (info)->dynobj, frvfdpic_got_section (info), entry->tlsoff_entry, TRUE); return FALSE; }
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |