summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.Alan Modra2002-06-2511-86/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-hppa.c (hppa_add_stub): Likewise. * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. * elflink.h (elf_add_default_symbol): Fix comment typo. (elf_add_default_symbol): Replace strcpy and strncpy with memcpy. (elf_link_add_object_symbols): Likewise. (elf_link_assign_sym_version): Likewise. * hash.c (bfd_hash_lookup): Likewise. * linker.c (_bfd_generic_link_add_one_symbol): Likewise. * section.c (bfd_get_unique_section_name): Likewise. * syms.c (_bfd_stab_section_find_nearest_line): Likewise. * elf.c (_bfd_elf_make_section_from_phdr): Likewise. (assign_section_numbers): Likewise. (_bfd_elfcore_make_pseudosection): Likewise. (elfcore_grok_lwpstatus): Likewise. (elfcore_grok_win32pstatus): Likewise. (elfcore_write_note): Constify input params. Use PTR instead of void *. Include terminating NUL in namesz. Correct padding. Support NULL "name" param. Use memcpy instead of strcpy. (elfcore_write_prpsinfo): Constify input params. (elfcore_write_prstatus): Likewise. Use PTR instead of void *. (elfcore_write_lwpstatus): Likewise. (elfcore_write_pstatus): Likewise. (elfcore_write_prfpreg): Likewise. (elfcore_write_prxfpreg): Likewise. * elf-bfd.h (elfcore_write_note): Update declaration. (elfcore_write_prpsinfo): Likewise. (elfcore_write_prstatus): Likewise. (elfcore_write_pstatus): Likewise. (elfcore_write_prfpreg): Likewise. (elfcore_write_prxfpreg): Likewise. (elfcore_write_lwpstatus): Likewise.
* Set BSF_FUNCTION for symbols of type stProc and stStaticProc.Nick Clifton2002-06-252-99/+87
| | | | Formatting tidy ups.
* * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.Alan Modra2002-06-252-1/+5
|
* * aout-adobe.c: Don't compare against "true" or "false.Alan Modra2002-06-2556-271/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aout-target.h: Likewise. * aoutx.h: Likewise. * archive.c: Likewise. * bout.c: Likewise. * cache.c: Likewise. * coff-a29k.c: Likewise. * coff-alpha.c: Likewise. * coff-i386.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cpu-ns32k.c: Likewise. * ecoff.c: Likewise. * ecofflink.c: Likewise. * elf.c: Likewise. * elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-d30v.c: Likewise. * elf32-i386.c: Likewise. * elf32-mcore.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh.c: Likewise. * elf32-sh64.c: Likewise. * elf32-v850.c: Likewise. * elf64-alpha.c: Likewise. * elf64-sh64.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.h: Likewise. * elfxx-mips.c: Likewise. * i386os9k.c: Likewise. * ieee.c: Likewise. * libbfd.c: Likewise. * linker.c: Likewise. * mmo.c: Likewise. * nlm32-alpha.c: Likewise. * nlm32-i386.c: Likewise. * nlm32-ppc.c: Likewise. * nlm32-sparc.c: Likewise. * nlmcode.h: Likewise. * oasys.c: Likewise. * pdp11.c: Likewise. * peicode.h: Likewise. * reloc.c: Likewise. * som.c: Likewise. * srec.c: Likewise. * tekhex.c: Likewise. * vms.c: Likewise. * xcofflink.c: Likewise. * elf64-sparc.c: Edit comment to not use "== false". * aoutf1.h: Don't use "? true : false". * ecoff.c: Likewise. * format.c: Likewise. * ieee.c: Likewise. * linker.c: Likewise. * mmo.c: Likewise. * oasys.c: Likewise.
* daily updateAlan Modra2002-06-251-1/+1
|
* daily updateAlan Modra2002-06-241-1/+1
|
* * elflink.h (elf_link_add_archive_symbols): For the defaultAlan Modra2002-06-232-7/+26
| | | | version, check references with only one `@' first.
* * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): NewAlan Modra2002-06-232-20/+65
| | | | | | | | | | | function. (allocate_global_data_dlt): Don't add millicode symbols to dynamic symbol table. (allocate_global_data_opd, allocate_dynrel_entries): Likewise. (elf64_hppa_size_dynamic_sections): Revise to use elf64_hppa_mark_milli_and_exported_functions. (elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode symbols out of dynamic symbol table.
* * Makefile.in: Regenerate.Alan Modra2002-06-236-54/+559
| | | | | | | * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate.
* 2002-06-23 Alan Modra <amodra@bigpond.net.au>Alan Modra2002-06-234-7/+177
| | | | | | | | | | | | * elflink.h: Comment typo fixes. 2002-06-23 H.J. Lu <hjl@gnu.org> * elf-bfd.h (elf_link_loaded_list): New structure. (elf_link_hash_table): Add "loaded". * elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded". * elflink.h (elf_link_check_versioned_symbol): New function. (elf_link_output_extsym): Call elf_link_check_versioned_symbol.
* daily updateAlan Modra2002-06-231-1/+1
|
* daily updateAlan Modra2002-06-221-1/+1
|
* daily updateAlan Modra2002-06-211-1/+1
|
* daily updateAlan Modra2002-06-201-1/+1
|
* If the target does not support an ELF style has table, return true, indicatingNick Clifton2002-06-192-1/+8
| | | | | that nothing needed to be done, rather than false, indicating that the section's size could not be computed.
* daily updateAlan Modra2002-06-191-1/+1
|
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-1813-5/+1563
| | | | | | | | | | | | | | | | | | From Catherine Moore, Michael Meissner, Dave Brolley: * po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c * targets.c: Support bfd_elf32_frv_vec. * reloc.c: Add FRV relocs. * configure.in: Add support for bfd-elf32-frv-vec. * config.bfd (targ_cpu): Add support for frv-*-elf. * archures.c: Add frv arch and machines. * Makefile.am (ALL_MACHINES): Add cpu-frv.lo. (ALL_MACHINES_CFILES): Add cpu-frv.c. (BFD32_BACKENDS): Add elf32-frv.lo. (BFD32_BACKENDS_CFILES): Add elf32-frv.c (cpu-frv.lo): New target. (elf32-frv.lo): New target. * cpu-frv.c: New file. * elf32-frv.c: New file.
* binutils/Jakub Jelinek2002-06-182-18/+32
| | | | | | | | | | | * readelf.c (get_file_header): Only read the first section header if e_shoff is non-zero. bfd/ * elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies e_shnum == 0. Only read the first section header if e_shoff is non-zero. Don't consider e_shstrndx if there are no sections.
* daily updateAlan Modra2002-06-181-1/+1
|
* Fix pc relocations.Tom Rix2002-06-172-7/+13
|
* * opncls.c (bfd_openr): Remove redundant bfd_set_error.Alan Modra2002-06-172-6/+7
| | | | | | (bfd_fdopenr): Likewise. (bfd_openstreamr): Likewise. (bfd_openw): Likewise.
* * targets.c: Sort target vecs.Alan Modra2002-06-174-200/+252
| | | | | | | | | (_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec, bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec. * configure.in: Sort target vecs. Add m88kmach3_vec. * configure: Regenerate.
* daily updateAlan Modra2002-06-171-1/+1
|
* * elf64-mmix.c (bpo_reloc_request_sort_fn): Use memberHans-Peter Nilsson2002-06-162-2/+11
| | | | bpo_reloc_no to break sort order ties, not address of items.
* * elf-hppa.h (elf_hppa_final_link): Fix formatting in comment.Jeff Law2002-06-163-39/+51
| | | | | | | | | | Skip excluded sections in determing __gp value. (elf_hppa_final_link_relocate): Use the symbol's address in R_PARISC_FPTR64 relocations that don't need an opd entry. * elf64-hppa.c (allocate_dynrel_entries): Simplify code. (elf64_hppa_finalize_dynreloc): Likewise. (elf64_hppa_size_dynamic_sections): Move comments and fix typo. (elf64_hppa_finish_dynamic_symbol): Break up assert.
* daily updateAlan Modra2002-06-161-1/+1
|
* daily updateAlan Modra2002-06-151-1/+1
|
* Enable 16 byte alignment for .bss, .data and .text sections so that sse andNick Clifton2002-06-143-27/+46
| | | | sse2 code will work.
* daily updateAlan Modra2002-06-141-1/+1
|
* Individual processor configurations for sh-elf / sh-linux:Joern Rennecke2002-06-132-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*. * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros. (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise. (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise. (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise. (SELECT_SH5_COMPACT_NOFPU): Likewise. (TARGET_SWITCHES): Use them. (TARGET_CPU_DEFAULT): Define if not already defined. (TARGET_DEFAULT): Use it. (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT. * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN. * config/sh/t-monolib: New file. bfd: config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, sh[1234]*-elf*. ld: * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. Still outstanding: config.sub: * config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele, shle, sh[1234]le, sh3ele, sh64le.
* daily updateAlan Modra2002-06-131-1/+1
|
* * elflink.h (elf_bfd_final_link): Improve error handling for missingJeff Law2002-06-122-2/+17
| | | | dynamic sections.
* * elf64-hppa.c (allocate_global_data_opd): We don't need an opd entryJeff Law2002-06-122-19/+29
| | | | | | | | | | for a symbol that has no output section. (allocate_dynrel_entries): Correct comment. (elf64_hppa_finalize_dynreloc): Likewise. Don't create an opd entry unless we want one. (elf64_hppa_finalize_opd): Prevent segfault if dyn_h is NULL. (elf64_hppa_finalize_dlt): Likewise. Prevent segfault for symbols with no section. Remove unnecessary parentheses.
* Change text alignement to 4 bytes.Tom Rix2002-06-123-8/+20
|
* daily updateAlan Modra2002-06-121-1/+1
|
* daily updateAlan Modra2002-06-111-1/+1
|
* * section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDERichard Sandiford2002-06-102-0/+6
| | | | for removed output sections.
* Use htab_create_alloc with calloc, not htab_alloc.Nick Clifton2002-06-103-3/+11
|
* daily updateAlan Modra2002-06-101-1/+1
|
* 2002-06-08 H.J. Lu <hjl@gnu.org>H.J. Lu2002-06-092-1/+8
| | | | | * elf.c (copy_private_bfd_data): Don't cast to bfd_size_type to work around a long long bug in gcc 2.96 on mips.
* daily updateAlan Modra2002-06-091-1/+1
|
* * Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo.Jason Thorpe2002-06-089-529/+111
| | | | | | | | | | | | | | | (BFD32_BACKENDS_CFILES): Add vax1knetbsd.c. Regenerate dependency lists. * Makefile.in: Regenerate. * config.bfd (vax-*-netbsdelf*, vax-*-netbsdaout*): Add vax1knetbsd_vec to targ_selvecs. * configure.in: Add vax1knetbsd_vec. * configure: Regenerate. * targets.c (_bfd_target_vector): Add vax1knetbsd_vec. * vax1knetbsd.c: New file. * vaxnetbsd.c: Update copyright years. (TARGET_PAGE_SIZE): Set to 0x1000. (DEFAULT_MID): Set to M_VAX4K_NETBSD.
* 2002-06-08 Matt Thomas <matt@3am-software.com>Jason Thorpe2002-06-082-0/+5
| | | | * libaout.h (enum machine_type): Add M_VAX4K_NETBSD.
* * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.Alan Modra2002-06-082-2/+6
|
* * Makefile.am: Fix quote style in last change.Alan Modra2002-06-083-6/+11
| | | | * Makefile.in: Regenerate.
* * Makefile.am: Run "make dep-am".Alan Modra2002-06-083-30/+518
| | | | * Makefile.in: Regenerate.
* * armnetbsd.c: Replace CONST with const.Alan Modra2002-06-087-30/+37
| | | | | | | | * corefile.c: Likewise. * elf32-dlx.c: Likewise. * elf64-mips.c: Likewise. * mmo.c: Likewise. * ns32knetbsd.c: Likewise.
* * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hashAlan Modra2002-06-082-1/+6
| | | | table is elf64-sparc.
* daily updateAlan Modra2002-06-081-1/+1
|
* * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code.Thiemo Seufer2002-06-072-29/+28
| | | | | Fix RELA addends to get not shifted in the result. Don't do special handling of R_MIPS_64 for NewABI.
OpenPOWER on IntegriCloud