aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-02-07 * ld-cris/libdso-13.d: Adjust for being identified as warning.Hans-Peter Nilsson2-11/+15
2005-02-07 * ld-cris/globsymw2.s: New file.Hans-Peter Nilsson4-0/+42
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.
2005-02-07 * write.c (write_object_file): Recognize warning-symbol constructHans-Peter Nilsson2-0/+21
and skip object- and target- handling for the second symbol.
2005-02-07 * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:Hans-Peter Nilsson4-3/+12
Adjust for being identified as warnings.
2005-02-07 * ld-cris/stabs1.s: New file.Hans-Peter Nilsson6-0/+58
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.
2005-02-07 * aoutx.h (aout_link_add_symbols): Just return TRUE if a warningHans-Peter Nilsson2-2/+5
symbol was last.
2005-02-07 * ld-cris/stabs1.s: New file.Hans-Peter Nilsson4-0/+41
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.
2005-02-07 * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SOHans-Peter Nilsson2-1/+6
being the last symbol.
2005-02-07 * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,Hans-Peter Nilsson5-0/+33
ld-elf/warn1.d: New test.
2005-02-07* elf32-mips.c (mips_elf_gprel32_reloc): RejectMaciej W. Rozycki3-2/+18
R_MIPS_GPREL32 relocations against external symbols. * elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect comment.
2005-02-07* gdb.base/interp.exp: Remove trailing n in gdb_test commands.Mark Kettenis2-2/+6
2005-02-07 * lib/ld-lib.exp: Support new directive "warning".Hans-Peter Nilsson2-6/+42
2005-02-07 * lib/gas-defs.exp: Support new directive "warning".Hans-Peter Nilsson2-9/+49
2005-02-072005-02-06 Andrew Cagney <cagney@gnu.org>Andrew Cagney43-229/+273
* value.c (value_contents, value_contents_writeable): New functions. * value.h (VALUE_CONTENTS): Delete macro. (value_contents, value_contents_writeable): Declare. * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update. * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update. * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update. * rs6000-tdep.c, p-valprint.c, printcmd.c: Update. * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update. * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update. * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update. * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update. * c-valprint.c, cris-tdep.c, cp-valprint.c: Update. * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update. * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update. * ada-valprint.c, ada-lang.c: Update.
2005-02-06 * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.Alan Modra4-66/+94
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of elf_string_from_elf_strtab. (_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise. (bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too if it exists. Don't do the reverse for SHT_SYMTAB_SHNDX. For SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by looking at cached symtab info first, before iterating over headers. For SHT_REL and SHT_RELA, load dynsymtab if needed. * elfcode.h (elf_object_p): Don't load section header stringtab
2005-02-06daily updateAlan Modra1-1/+1
2005-02-062005-02-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+64
* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF against protected function when building shared library. PR 584 * elf64-x86-64.c (is_32bit_relative_branch): New. (elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a protected function symbol when building shared library for 32bit relative branch instruction.
2005-02-062005-02-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+19
* utils.c (xzalloc): New function. * defs.h (XZALLOC): Use xzalloc. (xzalloc): Declare. * value.c (allocate_value): Allocate a zeroed buffer. * mdebugread.c (xzalloc): Delete.
2005-02-06 * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptorAlan Modra2-10/+35
syms when doing a relocatable link. (ppc64_elf_gc_mark_hook): Check that syms are defined before looking at u.def.section. (ppc64_elf_tls_setup): Likewise. (ppc64_elf_edit_opd): Don't use an undefined func desc sym.
2005-02-03 * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.Kevin Buettner2-0/+37
2005-02-03 * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".Alan Modra2-18/+44
(link_hash_newfunc): Clear all locals using memset. (make_fdh): Remove flags param. Always create fake func desc weak. Link the descriptor with the code entry sym. (ppc64_elf_archive_symbol_lookup): Don't return fake syms. (add_symbol_adjust): Adjust make_fdh call. (func_desc_adjust): Likewise. Twiddle any pre-existing fake descriptor to strong undefined if code entry is strong.
2005-02-03bfd/Alan Modra4-18/+24
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol lookup here. Set to new before calling bfd_link_repair_undef_list. (elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd. ld/ emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't look up symbol for etree_provide here.
2005-02-03 * linker.c (_bfd_link_hash_newfunc): Set all local fields.Alan Modra2-1/+7
2005-02-03 * gdb.ada/gnat_ada.gpr: New file.Joel Brobecker12-17/+41
* gdb.ada/gnat_ada.gin: Delete, no longer used. * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file. * configure.ac: No longer generate gnat_ada.gpr. * configure: Regenerate. * gdb.ada/Makefile.in: Minor adaptations due to new project file. * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada. * gdb.ada/null_record/bar.ads: Likewise. * gdb.ada/null_record/bar.adb: Likewise. * gdb.ada/fixed_points/fixed_points.adb: Likewise. * gdb.ada/null_record.exp (testdir): New variable. (testfile): executable is now in testdir subdirectory. (srcfile): Use full path to the main compilation unit. * gdb.ada/fixed_points.exp: Same changes as above.
2005-02-03include/Alan Modra5-0/+32
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak. bfd/ * linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak. * elflink.c (elf_smash_syms): Restore symbols that were undefweak before the as-needed lib was loaded. Abort on unexpected refs.
2005-02-03*** empty log message ***gdbadmin1-1/+1
2005-02-02daily updateAlan Modra1-1/+1
2005-02-022005-02-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney14-31/+42
* value.h (value_lazy): Declare. * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update. * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
2005-02-022005-02-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-24/+38
* value.h (VALUE_CONTENTS_ALL): Delete. (value_contents_all): Declare. * value.c (value_contents_all): New function. * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update. * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
2005-02-02New test for interpreter-exec command.Nick Roberts1-0/+28
2005-02-02*** empty log message ***Nick Roberts1-0/+4
2005-02-022005-02-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-40/+56
* value.c (value_enclosing_type): New function. * value.h (VALUE_ENCLOSING_TYPE): Delete. (value_enclosing_type): Declare. * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update. * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
2005-02-02 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.Daniel Jacobowitz2-1/+5
2005-02-02 * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move commentsDaniel Jacobowitz4-9/+21
after test commands. * ld-mips-elf/mips-elf.exp: Skip multi-got-1 on non-GNU/Linux systems.
2005-02-02gas/Jan Beulich5-16/+64
2005-02-02 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed designators along with quoted ones. Free copy of quoted designator when done. gas/testsuite/ 2005-02-02 Jan Beulich <jbeulich@novell.com> * gas/ia64/pred-rel.s: New. * gas/ia64/ia64.exp: Run new test.
2005-02-02 * elflink.c (elf_smash_syms): Expand comments.Alan Modra2-6/+18
(elf_link_add_object_symbols): Only call elf_smash_syms for as-needed dynamic objects.
2005-02-02 * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Don't clear everything,Alan Modra2-5/+7
just the fields specific to hppa64.
2005-02-02 * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clearAlan Modra2-5/+7
everything, just the field specific to ia64.
2005-02-022005-02-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-77/+102
* value.c (value_contents_all_raw) (value_contents_raw): New functions. * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete. (value_contents_raw, value_contents_all_raw): Declare functions. (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update. * std-regs.c, valarith.c, valops.c, eval.c: Update. * tracepoint.c, findvar.c: Update.
2005-02-02*** empty log message ***gdbadmin1-1/+1
2005-02-01daily updateAlan Modra1-1/+1
2005-02-01Add a description of how to access linker script defined variables from sourceNick Clifton2-1/+115
code.
2005-02-012005-02-01 Orjan Friberg <orjanf@axis.com>Orjan Friberg3-0/+94
* regformats/reg-cris.dat: New file with register definitions for CRIS. * regformats/reg-crisv32.dat: Ditto for CRISv32.
2005-02-01bfd/Alan Modra5-34/+90
* elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to.. (make_fdh): ..here. New function. Don't set BSF_OBJECT for undefined syms. (struct add_symbol_adjust_data): New. (add_symbol_adjust): Make an undefweak func desc for old ABI objects to link with --as-needed shared libs. Return fail status. Don't adjust old ABI func entry sym to weak if func desc syms isn't defined. (ppc64_elf_check_directives): Adjust call to add_symbol_adjust, and return status. ld/testsuite/ * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
2005-02-01 * cpu-cris.c (get_compatible): Rearrange disabled code and commentHans-Peter Nilsson2-7/+11
for clarity.
2005-02-01include/Alan Modra11-76/+202
* bfdlink.h (bfd_link_repair_undef_list): Declare. bfd/ * elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup.. * linker.c (bfd_link_repair_undef_list): ..to new function, but don't remove anything but new and undefweak. * elflink.c (_bfd_elf_link_create_dynamic_sections): Override any existing _DYNAMIC. (_bfd_elf_create_dynamic_sections): Formatting. (bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list. (_bfd_elf_merge_symbol): Don't handle as-needed syms here. (struct elf_smash_data): New. (elf_smash_syms): New function. (elf_link_add_object_symbols): Call elf_smash_syms. Don't add unneeded dynamic objects to loaded list. (elf_link_output_extsym): Don't handle as-needed here. Strip bfd_link_hash_new symbols. * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't delref when dynindx is already -1. * elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new symbols. * elfxx-mips.c (mips_elf_output_extsym): Likewise. ld/ * ld.texinfo: Clarify --as-needed operation.
2005-02-01*** empty log message ***gdbadmin1-1/+1
2005-01-31 * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine.Ben Elliston2-0/+8
2005-01-31 * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,Ben Elliston40-1453/+23
config/obj-ieee.c, config/obj-som.c, config/obj-vms.c, config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c, config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c, config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c, config/tc-i370.c, config/tc-i386.c, config/tc-i960.c, config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h, config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c, config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c, config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c, config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c, config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove #if 0'd code throughout.
2005-01-31 * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c,Ben Elliston64-2748/+87
bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c, coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c, coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c, cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c, elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c, elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c, i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c, nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c, pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c, sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c, hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code throughout. Similarly, collapse #if 1'd code.