aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2001-02-14fixes for elf_find_nearest_lineNick Clifton2-39/+82
2001-02-14Fix initialisation of asection structureNick Clifton2-15/+24
2001-02-14Apply changes to Makefile.in to Makefile.amNick Clifton6-625/+358
2001-02-142001-02-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+8
* libcoff-in.h (pe_tdata): Add members target_subsystem and force_minimum_alignment.
2001-02-142001-02-14 Bo Thorsen <bo@suse.de>Andreas Jaeger2-95/+164
* elf64-x86-64.c: Small formatting fixes and rearrangements of code. (elf64_86_64_size_info): Struct added to fix a problem with the hashtable string entries. (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. (elf64_x86_64_size_dynamic_sections): A FIXME removed. (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and remove the FIXME for this. (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt section. Also removed the FIXME for it. (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
2001-02-13It is SYMTAB, not STMTAB.H.J. Lu1-1/+1
2001-02-13 * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if requiredRichard Henderson2-0/+12
and not user provided.
2001-02-132001-02-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-26/+28
* rs6000-core.c: Fix formatting.
2001-02-132001-02-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-2/+4
* vms.c (vms_print_symbol): Remove unreachable code.
2001-02-13RegenerateDJ Delorie1-278/+267
2001-02-13* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: DefineDJ Delorie9-93/+225
as _bfd_XXi_only_swap_filehdr_out. (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set pe->force_minimum_alignment to TRUE. (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to PEI_TARGET_SUBSYSTEM. (pe_print_private_bfd_data): Call _bfd_XX_print_private_bfd_data_common() instead of _bfd_pe_print_private_bfd_data_common(). (pe_bfd_copy_private_bfd_data): Call _bfd_XX_bfd_copy_private_bfd_data_common() instead of _bfd_pe_bfd_copy_private_bfd_data_common(). (coff_bfd_copy_private_section_data): Define as _bfd_XX_bfd_copy_private_section_data instead of _bfd_pe_bfd_copy_private_section_data. (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead of a _bfd_pe_get_symbol_info. * peigen.c: Delete. * peXXigen.c: Renamed from peigen.c. (COFF_WITH_XX): Define this macro (will get expanded into COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being compiled as peigen.c or pepigen.c. [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to define the canonical PEP structures and definitions. (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in effect, enforce minimum file and section alignments. If extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, so, by default, this is a no-op). * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to _bfd_pefoo if it's not defined. Use these macros to define coff swap macros. * libcoff.h (pe_tdata): Add members target_subsystem and force_minimum_alignment. * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to COFF_WITH_pep. (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of peigen.lo. * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and PEPAOUTHDR. * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. (BFD64_BACKENDS_CFILES): Mention pepigen.c (peigen.c): Add rule to generate from peXXigen.c. (pepigen.c): Ditto. (pepigen.lo): List dependencies for pepigen.lo. * unwind-ia64.c (unw_decode_x1): Declare code arg with ATTRIBUTE_UNUSED. (unw_decode_x2): Ditto. (unw_decode_x3): Ditto. (unw_decode_x4): Ditto. * pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ. Rename from PEPAOUTHDR.
2001-02-13(elf32_hppa_set_gp): Handle weak $global$.Alan Modra2-1/+18
If $global$ referenced but not defined, set its value here.
2001-02-122001-02-09 Bo Thorsen <bo@suse.de>Jan Hubicka2-9/+90
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section alignment to 3. (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry and relocation. (elf64_x86_64_relocate_section): Fix formatting. (elf64_x86_64_relocate_section): Fix addend for relocation of R_X86_64_(8|16|32|PC8|PC16|PC32).
2001-02-12 * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.Jan Hubicka2-1/+5
* tc-i386.c (i386_displacement): Fix handling of BFD_RELOC_X86_64_GOTPCREL. (i386_validate_fix): Likewise.
2001-02-122001-02-11 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* elflink.h (elf_bfd_final_link): Use file_align for STMTAB alignment.
2001-02-11fix formattingNick Clifton1-4/+4
2001-02-11oops - omitted from previous deltaNick Clifton1-2/+2
2001-02-11Apply several patches from Maciej W. RozyckiNick Clifton2-36/+110
2001-02-11 * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.Michael Sokolov3-3/+10
* Makefile.in: Regenerate.
2001-02-10 * elfxx-ia64.c (is_unwind_section_name): New function. ReturnsRichard Henderson2-28/+133
true if section name is an unwind table section name. (elfNN_ia64_additional_program_headers): Count each unwind section separately. (elfNN_ia64_modify_segment_map): Install one unwind program header for each unwind separate section. Note: normally the linker script merges the unwind sections that go into a single segment, so this still generates at most one unwind program header per segment. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section name for SHT_IA_64_UNWIND, not just .IA_64.unwind. (elfNN_ia64_fake_sections): Mark sections with names that start with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 unwind section. * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. Use it to make sh_info in unwind section point to the text section it applies to.
2001-02-10Add s390 supportNick Clifton17-42/+4676
2001-02-09Suppress extra addition of ImageBase.Nick Clifton2-1/+8
2001-02-09 * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.Jakub Jelinek2-1/+26
2001-02-09 * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.Jakub Jelinek2-2/+9
(sparc64_elf_relocate_section): Likewise.
2001-02-09* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32Mark Kettenis3-4/+10
similar to R_SPARC_32. * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
2001-02-092001-02-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+14
* elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 relocation entries for weak definitions when building DSO with -Bsymbolic.
2001-02-09 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weaknessRichard Henderson2-5/+18
before visibility. Locally defined protected symbols are not dynamic.
2001-02-09 * config.bfd: Enable coff64 for rs6000-*. Patch fromGeoffrey Keating2-5/+6
<hzoli@austin.ibm.com>.
2001-02-07If stabs info is successfully found, do not attempt to find dwarf2 infoNick Clifton2-3/+8
before returning.
2001-02-07ignore common definitions of function symbols in unlinked archivesNick Clifton2-4/+15
2001-02-07Change bfd_target_vector from an array to a pointerNick Clifton5-8/+18
2001-02-072001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+18
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and internal symbols are not dynamic. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
2001-02-07Remove elf64-ia64.c from list of backend C files - it is auto-generated.Nick Clifton4-171/+615
2001-02-062001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-44/+37
* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic checking. (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.
2001-02-062001-02-06 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-96/+96
* elf-m10200.c: Fix formatting.
2001-02-04Do not convert reloc addend to PC rel, it will be handled later on.Nick Clifton2-1/+21
2001-02-03Fix typoNick Clifton2-1/+5
2001-02-012001-02-01 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-145/+144
* elf-m10300.c: Fix formatting.
2001-01-31(elf64_hppa_object_p): Set architecture and machine from elf header flags.Alan Modra2-2/+17
2001-01-30Write out millicode functions with the right elf symbol type.Alan Modra2-0/+22
2001-01-30 * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2Richard Henderson2-0/+11
before mdebug.
2001-01-27 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return falseRichard Henderson3-9/+42
for non-default visibility. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but delete ugly macro and replace with pretty function.
2001-01-25DJGPP config tweaksNick Clifton3-7/+15
2001-01-252001-01-25 Kazu Hirata <kazu@hxi.com>Kazu Hirata3-123/+108
* bfd-in2.h: Fix formatting. * libbfd.h: Likewise.
2001-01-252001-01-25 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-13/+23
* chew.c: Do not output trailing whitespaces in type and functionname. Update copyright.
2001-01-242001-01-24 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-0/+8
* chew.c: Do not output a trailing whitespace.
2001-01-242001-01-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-60/+72
* bfd-in2.h: Rebuild.
2001-01-232001-01-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) is NULL or PRIV(vms_rec) is outside of the buffer.
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata15-150/+127
* aoutx.h: Fix formatting. * bfd.c: Likewise. * bfd-in2.h: Likewise. * bfd-in.h: Likewise. * cpu-i386.c: Likewise. * cpu-m68hc11.c: Likewise. * dwarf2.c: Likewise. * elf64-x86-64.c: Likewise. * format.c: Likewise. * freebsd.h: Likewise. * hash.c: Likewise. * hp300hpux.c: Likewise. * hppabsd-core.c: Likewise. * hpux-core.c: Likewise.
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata27-81/+29
* coff64-rs6000.c: Fix formatting. * coff-arm.c: Likewise. * coffgen.c: Likewise. * cofflink.c: Likewise. * coff-mcore.c: Likewise. * coff-mips.c: Likewise. * coff-pmac.c: Likewise. * coff-ppc.c: Likewise. * coff-rs6000.c: Likewise. * elf32.c: Likewise. * elf32-fr30.c: Likewise. * elf32-i370.c: Likewise. * elf32-i860.c: Likewise. * elf32-m32r.c: Likewise. * elf32-m68k.c: Likewise. * elf32-mcore.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh.c: Likewise. * elf32-v850.c: Likewise. * elf64-alpha.c: Likewise. * elf64-sparc.c: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elf-m10200.c: Likewise. * elf-m10300.c: Likewise. * elfxx-ia64.c: Likewise.