Paul Brook
ccf5f61012
2005-02-08 Paul Brook <paul@codesourcery.com>
...
* elflink.c (elf_link_input_bfd): Ignore symbols from null input
sections.
2005-02-08 13:33:56 +00:00
Andrew Cagney
91294c8386
2005-02-08 Andrew Cagney <cagney@gnu.org>
...
* value.c (struct value): Move to here ...
* value.h (struct value): ... from here. Copy comments to
corresponding function declarations, re-order.
2005-02-08 05:41:10 +00:00
Andrew Cagney
9bbda50381
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.c (set_value_bitpos, set_value_bitsize): Define.
* value.h (set_value_bitpos, set_value_bitsize): Declare.
* ada-lang.c, valarith.c: Update.
2005-02-08 04:57:03 +00:00
Jim Blandy
0a40490e6a
cgen/ChangeLog:
...
2005-02-07 Jim Blandy <jimb@redhat.com>
* cgen-opc.scm: Don't load fixup.scm here. (See corresponding
changes in the opcodes directory.)
opcodes/ChangeLog:
2005-02-07 Jim Blandy <jimb@redhat.com>
* Makefile.am (CGEN): Load guile.scm before calling the main
application script.
* Makefile.in: Regenerated.
* cgen.sh: Be prepared for the 'cgen' argument to contain spaces.
Simply pass the cgen-opc.scm path to ${cgen} as its first
argument; ${cgen} itself now contains the '-s', or whatever is
appropriate for the Scheme being used.
2005-02-08 04:52:24 +00:00
Andrew Cagney
5086187cf9
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
value_contents_writeable, include note that there are problems.
* breakpoint.c, infcall.c: Use VALUE_LVAL.
2005-02-08 04:15:39 +00:00
Hans-Peter Nilsson
300475fe9d
* ldmain.c (warning_callback, warning_find_reloc): Prepend
...
"warning: " to warning messages.
2005-02-08 03:51:32 +00:00
Hans-Peter Nilsson
370a0e1bf4
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
...
prefix here.
2005-02-08 03:50:08 +00:00
Andrew Cagney
f5cf64a727
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (set_value_offset): Declare.
* value.c (set_value_offset): Declare.
* gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
* findvar.c: Update.
2005-02-08 02:29:18 +00:00
Andrew Cagney
17cf0ecde3
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (value_next): Declare.
* value.c (value_next): Define.
* breakpoint.c: Update.
2005-02-08 01:59:38 +00:00
Andrew Cagney
88e3b34b7c
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (deprecated_set_value_modifiable)
(deprecated_value_modifiable): Declare.
* value.c (deprecated_set_value_modifiable): Define.
(deprecated_value_modifiable): Define.
* ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
2005-02-08 00:25:31 +00:00
gdbadmin
8082c5a8f1
*** empty log message ***
2005-02-08 00:00:32 +00:00
Andrew Cagney
0462458390
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (deprecated_set_value_type): Declare.
* value.c (deprecated_set_value_type): Define.
* hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
* c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
* infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
* ax-gdb.c, tracepoint.c: Update.
2005-02-07 23:51:03 +00:00
Alan Modra
55bc2f369c
daily update
2005-02-07 23:00:04 +00:00
Andrew Cagney
7d71e29cb3
Fix typo _hack_hack -> _hack.
2005-02-07 21:49:36 +00:00
Andrew Cagney
13bb5560e2
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (deprecated_value_lval_hack)
(deprecated_value_address_hack)
(deprecated_value_internalvar_hack_hack)
(deprecated_value_regnum_hack): Declare.
(VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
(VALUE_FRAME_ID, VALUE_REGNUM): Use.
* value.c (deprecated_value_lval_hack)
(deprecated_value_address_hack)
(deprecated_value_internalvar_hack_hack)
(deprecated_value_regnum_hack): Define.
2005-02-07 21:42:36 +00:00
Andrew Cagney
b44d461b0e
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (VALUE_POINTED_TO_OFFSET): Delete.
(set_value_pointed_to_offset, value_pointed_to_offset): Declare.
* value.c (set_value_pointed_to_offset): Define
(value_pointed_to_offset): Define.
* valops.c: Update.
2005-02-07 20:17:28 +00:00
Nathan Sidwell
4ee4d24937
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
...
* subsegs.c (seg_not_empty_p): Likewise.
2005-02-07 17:53:26 +00:00
Andrew Cagney
caadb61db9
Oops, fix previous, ChangeLog. Missing set_value_embedded_offset.
2005-02-07 17:08:54 +00:00
Andrew Cagney
13c3b5f5bb
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (value_embedded_offset): Delete.
(value_embedded_offset): Declare.
* value.c (value_embedded_offset): Define.
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
* cp-abi.h: Update.
2005-02-07 17:06:29 +00:00
Nick Clifton
c4cf382105
Add Inderpreet Singh as maintainer of MAXQ.
2005-02-07 16:05:11 +00:00
Nick Clifton
9f5083a4b6
Correct the relative jump calculation.
2005-02-07 16:00:10 +00:00
Maciej W. Rozycki
992771964f
* elf64-mips.c: Fix formatting throughout.
2005-02-07 15:50:16 +00:00
Maciej W. Rozycki
6422fbef5f
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
2005-02-07 15:18:05 +00:00
Andrew Cagney
dfa52d88e7
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (VALUE_LAZY): Delete
(set_value_lazy): Declare.
* value.c (set_value_lazy): Define.
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
2005-02-07 15:04:43 +00:00
Alexandre Oliva
303e4c21e7
bfd/ChangeLog:
...
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
*ABS*/*UND* sections.
(elf32_frv_relocate_section): Move zero-addend-required error...
(_frv_emit_got_relocs_plt_entries): ... here. Report error for
missing needed TLS section.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-shared-8-fail.d: Tweak error messages.
2005-02-07 07:59:34 +00:00
gdbadmin
7e990d8e52
*** empty log message ***
2005-02-07 07:00:05 +00:00
Andrew Cagney
feb13ab03f
2005-02-06 Andrew Cagney <cagney@gnu.org>
...
* value.h (VALUE_OPTIMIZED_OUT): Delete.
(value_optimized_out, set_value_optimized_out): Declare.
* value.c (set_value_optimized_out, value_optimized_out): Define.
* valprint.c, findvar.c, dwarf2loc.c: Update.
2005-02-07 04:50:28 +00:00
Hans-Peter Nilsson
a779d8fa13
* ld-cris/libdso-13.d: Adjust for being identified as warning.
2005-02-07 03:41:26 +00:00
Hans-Peter Nilsson
00de87cddb
* ld-cris/globsymw2.s: New file.
...
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.
2005-02-07 03:16:43 +00:00
Hans-Peter Nilsson
aaac53f5a1
* write.c (write_object_file): Recognize warning-symbol construct
...
and skip object- and target- handling for the second symbol.
2005-02-07 03:13:10 +00:00
Hans-Peter Nilsson
769946806e
* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
...
Adjust for being identified as warnings.
2005-02-07 03:09:10 +00:00
Hans-Peter Nilsson
8537fc01f3
* ld-cris/stabs1.s: New file.
...
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.
2005-02-07 03:00:55 +00:00
Hans-Peter Nilsson
9f400ee952
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
...
symbol was last.
2005-02-07 02:58:27 +00:00
Hans-Peter Nilsson
abcb776f28
* ld-cris/stabs1.s: New file.
...
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.
2005-02-07 02:53:32 +00:00
Hans-Peter Nilsson
c386442122
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
...
being the last symbol.
2005-02-07 02:51:28 +00:00
Hans-Peter Nilsson
b80f2c6aab
* ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
...
ld-elf/warn1.d: New test.
2005-02-07 02:46:15 +00:00
Maciej W. Rozycki
765f2ef695
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
...
R_MIPS_GPREL32 relocations against external symbols.
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
comment.
2005-02-07 02:44:59 +00:00
Mark Kettenis
74e5ef4498
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
2005-02-07 02:39:45 +00:00
Hans-Peter Nilsson
bb00e2846a
* lib/ld-lib.exp: Support new directive "warning".
2005-02-07 02:38:43 +00:00
Hans-Peter Nilsson
cfdf4aaa1d
* lib/gas-defs.exp: Support new directive "warning".
2005-02-07 02:29:11 +00:00
Andrew Cagney
0fd88904d9
2005-02-06 Andrew Cagney <cagney@gnu.org>
...
* 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-07 00:09:56 +00:00
Alan Modra
1b3a857543
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
...
* 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-06 23:21:44 +00:00
Alan Modra
7fd26c52da
daily update
2005-02-06 23:00:04 +00:00
H.J. Lu
90f487dfe0
2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
...
* 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-06 18:11:30 +00:00
Andrew Cagney
5b90c7b5eb
2005-02-03 Andrew Cagney <cagney@gnu.org>
...
* 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 16:22:14 +00:00
Alan Modra
c4f68ce31b
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
...
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-06 10:29:39 +00:00
Kevin Buettner
83761cbd36
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
2005-02-03 16:11:38 +00:00
Alan Modra
908b32fcc9
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
...
(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-03 14:48:53 +00:00
Alan Modra
4ea42fb74f
bfd/
...
* 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 14:12:54 +00:00
Alan Modra
10d86c8a5c
* linker.c (_bfd_link_hash_newfunc): Set all local fields.
2005-02-03 13:54:30 +00:00