aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2002-12-28daily updateAlan Modra1-1/+1
2002-12-28 * elf.c (elf_sort_sections): Don't reorder .tbss.Jakub Jelinek3-12/+55
(assign_file_positions_for_segments): Only adjust off/voff for increased alignment in PT_LOAD or PT_NOTE segment, but adjust p_filesz for .tbss too. in PT_LOAD consider .tbss to have zero memory size. (copy_private_bfd_data) [SECTION_SIZE]: Define. [IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it. [INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections into PT_TLS segment. Never put SHF_TLS sections in segments other than PT_TLS or PT_LOAD. * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt sh_entsize.
2002-12-27daily updateAlan Modra1-1/+1
2002-12-26daily updateAlan Modra1-1/+1
2002-12-25daily updateAlan Modra1-1/+1
2002-12-24daily updateAlan Modra1-1/+1
2002-12-24* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.DJ Delorie2-1/+5
2002-12-23daily updateAlan Modra1-1/+1
2002-12-23 * elflink.h (elf_link_output_extsym): Heed strip_discarded.Alan Modra2-5/+14
2002-12-23Change linker's default behaviour - it will now reject binary files whoesNick Clifton4-15/+35
architecture it does not recognise, unless it has explicitly told to accept them.
2002-12-22daily updateAlan Modra1-1/+1
2002-12-21daily updateAlan Modra1-1/+1
2002-12-21Disable WINCE workaround that subtracted 8 from pc relative relocations.Nick Clifton2-0/+8
2002-12-20daily updateAlan Modra1-1/+1
2002-12-20 * coff-h8300.c: Fix comment typos.Kazu Hirata10-12/+24
* coffcode.h: Likewise. * cpu-cris.c: Likewise. * elf32-vax.c: Likewise. * genlink.h: Likewise. * linker.c: Likewise. * som.c: Likewise. * tekhex.c: Likewise. * vms-misc.c: Likewise.
2002-12-20* reloc.c: Add BFD_RELOC_XSTORMY16_12.DJ Delorie5-1/+29
* libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. (xstormy16_reloc_map): Add R_XSTORMY16_12.
2002-12-20 * doc/bfdint.texi: Fix typos.Kazu Hirata2-2/+6
2002-12-20 * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".Alan Modra6-517/+490
* configure.in (build-warnings): Likewise. (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
2002-12-19daily updateAlan Modra1-1/+1
2002-12-19 * coff-h8300.c: Include libiberty.h.Alan Modra2-34/+62
(h8300_reloc16_extra_cases): Check the hash table creator before referencing h8300 specific fields. Stash the hash table pointer in a local var. Comment typo fixes. (h8300_bfd_link_add_symbols): Likewise.
2002-12-18daily updateAlan Modra1-1/+1
2002-12-18 * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask andAlan Modra3-22/+26
dst_mask comments. * bfd-in2.h: Regenerate.
2002-12-18 * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic relocAlan Modra2-6/+15
code a little. Comment on dynamic relocs against section symbols.
2002-12-17daily updateAlan Modra1-1/+1
2002-12-17 * configure.host (ia64-*-hpux*): Support 64 bit targets usingAlan Modra2-1/+10
the HP compiler's "long long".
2002-12-17* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16DJ Delorie2-1/+41
and R_XSTORMY16_HI16) howto entries. (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16. (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to determine the start of the second reloc table.
2002-12-16daily updateAlan Modra1-1/+1
2002-12-16Fix the reading of the debugging information of Tru64/Alpha binaries thatNick Clifton2-42/+169
are produced by recent Compaq compilers.
2002-12-15daily updateAlan Modra1-1/+1
2002-12-14daily updateAlan Modra1-1/+1
2002-12-13daily updateAlan Modra1-1/+1
2002-12-12daily updateAlan Modra1-1/+1
2002-12-12* elf-m10300.c (elf32_mn10300_link_hash_newfunc): ReorderAlexandre Oliva2-1/+6
initializers to match struct declaration.
2002-12-12Comment typo fixes.Alan Modra6-6/+15
2002-12-12 * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offsetAlan Modra4-42/+79
to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and DT_RELSZ adjustment, not output section. Avoid writing tags when unchanged. Don't assume linker script is sane, adjust DT_REL too. * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw size of srelplt for DT_PLTRELSZ. Use srelplt input section size for DT_RELASZ adjustment, not output section. Avoid writing tags when unchanged. Adjust DT_RELA. * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better formatting. Avoid writing tags when unchanged. Adjust DT_RELA.
2002-12-12* elfxx-mips.c (mips_elf_calculate_relocation): Don't divideAlexandre Oliva2-1/+5
addend by 4.
2002-12-12* elfxx-mips.c (struct mips_got_entry): New.Alexandre Oliva2-87/+144
(struct mips_got_info): Added got_entries field. (mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions. (mips_elf_local_got_index, mips_elf_got_page, mips_elf_got16_entry): Re-implement in terms of new... (mips_elf_create_local_got_entry): Rewrite to use got_entries. Change return type. (mips_elf_highest): Warning clean-up. (mips_elf_create_got_section): Initialize got_entries. (_bfd_mips_elf_check_relocs): Use got_entries to estimate local got size. (_bfd_mips_elf_size_dynamic_sections): Do not account for GOT_PAGE entries, since we now reuse GOT16 entries.
2002-12-11daily updateAlan Modra1-1/+1
2002-12-10daily updateAlan Modra1-1/+1
2002-12-10Allow an otherwise unrepresentable read-only section that lies after .textNick Clifton3-36/+76
and before .data to be written into the output file and included in a_text.
2002-12-09daily updateAlan Modra1-1/+1
2002-12-08daily updateAlan Modra1-1/+1
2002-12-08 * bfd-in.h: Comment typo fix. Formatting.Alan Modra6-51/+61
* bfd-in2.h: Regenerate. * coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix. * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype. * elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
2002-12-07daily updateAlan Modra1-1/+1
2002-12-06daily updateAlan Modra1-1/+1
2002-12-06 * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.Richard Henderson2-32/+53
Only send PCREL21B though the plt. Fix installed reloc type. (elfNN_ia64_relocate_section): Give error for dynamic reloc against PCREL22 or PCREL64I; clean up error messages for branch relocs.
2002-12-05daily updateAlan Modra1-1/+1
2002-12-05Add n64 core file support for Linux/MIPS.Kevin Buettner2-0/+78
2002-12-05Patch to update IA-64 port to SDM 2.1.Jim Wilson2-0/+5
bfd/ChangeLog * cpu-ia64-opc.c: Add operand constant "ar.csd". gas/ChangeLog * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" instruction. (emit_one_bundle): Handle "hint" instruction. (operand_match): Match IA64_OPND_AR_CSD. gas/testsuite/ChangeLog * gas/ia64/opc-b.d: Update for instructions added by SDM2.1. * gas/ia64/opc-b.s: Ditto. * gas/ia64/opc-f.d: Ditto. * gas/ia64/opc-f.s: Ditto. * gas/ia64/opc-i.d: Ditto. * gas/ia64/opc-i.s: Ditto. * gas/ia64/opc-m.d: Ditto. * gas/ia64/opc-m.s: Ditto. * gas/ia64/opc-x.d: Ditto. * gas/ia64/opc-x.s: Ditto. include/opcode/ChangeLog * ia64.h: Fix copyright message. (IA64_OPND_AR_CSD): New operand kind. opcodes/ChangeLog * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction. * ia64-opc-b.c: Add "hint.b" instruction. * ia64-opc-f.c: Add "hint.f" instruction. * ia64-opc-i.c: Add "hint.i" instruction. * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and "cmp8xchg16" instructions. * ia64-opc-x.c: Add "hint.x" instruction. * ia64-opc.h (AR_CSD): New macro. * ia64-ic.tbl: Update according to SDM2.1. * ia64-raw.tbl: Ditto. * ia64-waw.tbl: Ditto. * ia64-gen.c (in_iclass): Handle "hint" like "nop". (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD], AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR]. * ia64-asmtab.c: Regenerate.
2002-12-042002-12-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-11/+12
* elfxx-ia64.c (get_local_sym_hash): Use section ID instead of BFD address when constructing local name.