Richard Sandiford
a58ec95a7e
* opcode/mips.h (INSN_GP32): Remove.
...
(OPCODE_IS_MEMBER): Remove gp32 parameter.
(M_MOVE): New macro identifier.
2001-08-10 16:20:43 +00:00
Keith Seitz
fd969be2aa
* gdb-events.sh: Deal with event notifications with no
...
arguments.
2001-08-10 16:05:30 +00:00
Andreas Jaeger
0218d1e4c2
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
...
to build warnings.
* configure: Regenerate.
2001-08-10 10:56:47 +00:00
Orjan Friberg
fb6e5c5520
2001-08-10 Orjan Friberg <orjanf@axis.com>
...
* remote.c (read_frame): Correct off-by-one error in condition.
2001-08-10 09:59:33 +00:00
Alan Modra
cc55aec9b7
* elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
...
warning if not BFD64. Add braces so emacs auto format works.
(bfd_elf_fprintf_vma): Likewise.
2001-08-10 08:06:23 +00:00
Alan Modra
814fa6ab15
* libxcoff.h (struct xcoff_backend_data_rec): Constify src param
...
of _xcoff_swap_ld*.
* coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
param to agree with libxcoff.h.
(xcoff_swap_ldhdr_out): Likewise.
(xcoff_swap_ldsym_in): Likewise.
(xcoff_swap_ldsym_out): Likewise.
(xcoff_swap_ldrel_in): Likewise.
(xcoff_swap_ldrel_out): Likewise.
(xcoff_create_csect_from_smclas): Likewise.
* coff64-rs6000.c: Add missing prototypes.
(xcoff64_swap_ldhdr_in): Modify type of external param to agree
with libxcoff.h.
(xcoff64_swap_ldhdr_out): Likewise.
(xcoff64_swap_ldsym_in): Likewise.
(xcoff64_swap_ldsym_out): Likewise.
(xcoff64_swap_ldrel_in): Likewise.
(xcoff64_swap_ldrel_out): Likewise.
(xcoff64_ppc_relocate_section): Make static.
(xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_sizeof_headers): Likewise.
(xcoff64_is_lineno_count_overflow): Likewise.
(xcoff64_is_reloc_count_overflow): Likewise.
(xcoff64_loader_symbol_offset): Likewise.
(xcoff64_loader_reloc_offset): Likewise.
* elf64-gen.c: Add missing prototypes.
2001-08-10 06:00:53 +00:00
Alan Modra
fa6e93186b
* as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
...
Comment indentation of #pragma.
* macro.c (alloca): Likewise.
2001-08-10 02:49:27 +00:00
Alan Modra
8a543126f7
Move one entry from gas/ChangeLog to gas/testsuite/ChangeLog.
...
Remove gas/ from file names. Fix FOPEN_W comment.
2001-08-10 02:46:48 +00:00
Alan Modra
11b37b7b84
Revert 2001-08-08 changes.
2001-08-10 01:34:47 +00:00
gdbadmin
4e4210bf78
*** empty log message ***
2001-08-10 00:00:02 +00:00
H.J. Lu
d3b05f8d41
2001-08-09 H.J. Lu <hjl@gnu.org>
...
* elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
(bfd_elf_fprintf_vma): Likewise.
2001-08-09 21:10:25 +00:00
H.J. Lu
d69bb69b89
2001-08-09 H.J. Lu <hjl@gnu.org>
...
* bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
to ...
* elf-bfd.h: Here.
* bfd-in2.h: Regenerated.
2001-08-09 16:46:02 +00:00
H.J. Lu
ae4221d7c2
2001-08-09 H.J. Lu <hjl@gnu.org>
...
* bfd-in.h (bfd_sprintf_vma): New prototype.
(bfd_fprintf_vma): Likewise.
(bfd_elf_sprintf_vma): Likewise.
(bfd_elf_fprintf_vma): Likewise.
(bfd_printf_vma): New. Defined with bfd_fprintf_vma.
* bfd-in2.h: Regenerated.
* bfd.c (bfd_sprintf_vma): New. Defined.
(bfd_fprintf_vma): Likewise.
* elf.c (bfd_elf_sprintf_vma): New. Defined.
(bfd_elf_fprintf_vma): Likewise.
2001-08-09 16:00:21 +00:00
Alan Modra
5789ecea4c
* alpha.c: Add missing prototypes.
...
* sparc.c: Likewise.
* tahoe.c: Likewise.
* vax.c: Likewise.
* i386.c: Likewise.
(i386_iscall): Don't use DEFUN.
2001-08-09 14:57:42 +00:00
Alan Modra
badaf34c72
* dis-buf.c (generic_strcat_address): Add missing prototype.
...
#if 0 the functions as it is unused.
2001-08-09 14:52:56 +00:00
Alan Modra
2863d58a18
* readelf.c: Add missing prototypes.
...
* objdump.c: Likewise. Format existing prototypes.
2001-08-09 14:46:50 +00:00
Alan Modra
738108961e
* emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2001-08-09 14:44:18 +00:00
Alan Modra
8d28c9d7be
* symbols.c: Add missing prototypes.
...
* config/e-i386elf.c: Likewise.
* config/e-i386coff.c: Likewise.
* config/e-i386aout.c: Likewise.
* config/obj-coff.c: Likewise.
(def_symbol_in_progress, stack): Move definition.
* config/obj-elf.c: Add missing prototypes.
(obj_elf_change_section): Make static.
(obj_elf_parse_section_letters): Likewise.
(obj_elf_section_word): Likewise.
(obj_elf_section_type): Likewise.
2001-08-09 14:42:07 +00:00
Alan Modra
a7b97311da
* coff-rs6000.c: Add missing prototypes.
...
(xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
xcoff_loader_reloc_offset): Make static.
* dwarf1.c: Add missing prototypes.
* dwarf2.c: Add missing prototypes.
(struct abbrev_info): Move definition.
(struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
* elf.c: Add missing prototypes.
* elf32-gen.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-ppc.c: Likewise.
(ppc_elf_sort_rela): Use PTR instead of "void *".
* elflink.h: Add missing prototypes. Formatting fixes.
* merge.c: Add missing prototypes.
(last4_eq): Use PTR instead of "void *".
(last_eq): Likewise.
* syms.c: Add missing prototypes.
2001-08-09 14:38:04 +00:00
Alan Modra
5253f23b62
* scripttempl/elf.sc: Move non-text .dynamic section before
...
.plt/.got/.sdata* group.
(OTHER_GOT_SECTIONS): Move to immediately after .got.
(OTHER_SDATA_SECTIONS): Add.
* emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
OTHER_GOT_SECTIONS.
* emulparams/crislinux.sh: Likewise.
* emulparams/elf32b4300.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise.
* emulparams/elf32bmipn32.sh: Likewise.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32elmip.sh: Likewise.
* emulparams/elf32l4300.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Likewise.
* emulparams/elf64bmip.sh: Likewise.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Likewise.
2001-08-09 14:25:59 +00:00
Nick Clifton
55ab10f0ee
Fix formatting
2001-08-09 09:09:03 +00:00
Nick Clifton
1c26dc27b5
Change 'partial_inplace' to true (this target uses REL relocations) and
...
'pcrel_offset' to false (the PC is implied, not stored in the offset).
2001-08-09 09:00:58 +00:00
DJ Delorie
e7e9b06936
merge from gcc
2001-08-09 00:05:37 +00:00
gdbadmin
f45d83bbaa
*** empty log message ***
2001-08-09 00:00:02 +00:00
Don Howard
a1bab801d9
2001-08-08 Don Howard <dhoward@redhat.com>
...
* stabsread.c (read_type): Add support for const and volatile
modifiers.
2001-08-08 16:15:38 +00:00
Alan Modra
fce3099f60
* config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
...
determining reloc type with code reading operands->reloc field.
2001-08-08 13:23:07 +00:00
Alan Modra
0f1bac05bb
* ppc.h (struct powerpc_operand): New field `reloc'.
...
* ppc-opc.c: Include "bfd.h".
(powerpc_operands): Add new field for reloc type.
2001-08-08 13:19:36 +00:00
Alan Modra
179c732cf6
* genscripts.sh: Source the emulparams script before each output
...
script is generated so that variables like `RELOCATING' may affect
variables defined in the emulparams script.
2001-08-08 13:14:38 +00:00
Alan Modra
8fd3e36b84
* config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
...
function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
* config/obj-elf.h (elf_copy_symbol_attributes): Declare.
(OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
2001-08-08 13:11:58 +00:00
Alan Modra
2517a57fdf
* elf-bfd.h (struct elf_backend_data): Add want_got_sym.
...
* elfxx-target.h (elf_backend_want_got_sym): Define.
(elfNN_bed): Add elf_backend_want_got_sym.
* elflink.c (_bfd_elf_create_got_section): Define
_GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.
2001-08-08 13:09:33 +00:00
Alexandre Oliva
c0e047e0e5
* readelf.c (display_debug_info): Add to abbrev_offset the addend
...
of any RELA relocation for the abbrev_offset memory location that
refers to the .debug_abbrev section symbol.
2001-08-08 11:17:46 +00:00
Alexandre Oliva
f2363ce55b
* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
...
(find_rela_addend): New function.
(parse_comp_unit): Call it to find the abbrev offset addend.
(_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
members of dwarf2_debug as debugging information is read.
2001-08-08 11:17:34 +00:00
Alan Modra
d959c450df
* output-file.c (output_file_create): Don't try to open using
...
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.
2001-08-08 01:10:17 +00:00
gdbadmin
1b4ca90e3f
*** empty log message ***
2001-08-08 00:00:01 +00:00
H.J. Lu
ff78d6d660
2001-08-07 H.J. Lu <hjl@gnu.org>
...
* readelf.c (process_file): Return 0 if OK, otherwise return 1.
(main): Return process_file ().
2001-08-07 20:15:00 +00:00
Nick Clifton
993e9275d7
Support relocs for sh-coff targets as well as sh-pe.
2001-08-07 18:32:07 +00:00
Thiemo Seufer
38487616e6
Replace a bunch of magic constants in tc-mips.c with their proper
...
defines from mips.h.
2001-08-07 13:22:46 +00:00
Thiemo Seufer
9a41af6410
Some formatting fixes and assorted cleanup in tc-mips.c.
2001-08-07 13:15:26 +00:00
Thiemo Seufer
6dce9e24b3
* config/tc-mips.c (md_begin): Take -mcpu value into account even when
...
-mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
mutually exclusive (if they are different).
(md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
set more than once.
2001-08-07 12:46:22 +00:00
Thiemo Seufer
21d34b1c68
* mips-dis.c (print_insn_arg): Don't use software integer registers
...
for coprocessor registers.
(_print_insn_mips): Get distinction between old ABI and new ABI right.
2001-08-07 12:36:13 +00:00
gdbadmin
9ee7cc8691
*** empty log message ***
2001-08-07 00:00:02 +00:00
Michael Snyder
0521c418a2
2001-08-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/completion.exp: Remove the symbol "a64l" from
the expect string; this is target-specific, and not related
to what is being tested.
2001-08-06 22:08:12 +00:00
gdbadmin
710bbc9572
*** empty log message ***
2001-08-06 00:00:04 +00:00
Phil Blundell
c36774d6aa
2001-08-05 Philip Blundell <philb@gnu.org>
...
* doc/binutils.texi: Use "Thumb" not "THUMB".
2001-08-05 21:01:26 +00:00
H.J. Lu
25a7b89f8b
2001-08-04 H.J. Lu <hjl@gnu.org>
...
* gas/cris/operand-err-1.s: Updated.
2001-08-05 02:22:09 +00:00
H.J. Lu
aea2ae6e48
2001-08-04 H.J. Lu <hjl@gnu.org>
...
Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/e32-rel4.s: Removed.
* gas/mips/e32-rel4.d: Use elf-rel4.s.
* gas/mips/mips.exp: Use the same rel4 test for litte endian.
* gas/mips/mips-abi32-pic.d: Add lines for objdump.
* gas/mips/mips-abi32.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp32.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-gp32-fp64.d: Likewise.
* gas/mips/mips-gp64-fp32-pic.d: Likewise.
* gas/mips/mips-gp64-fp32.d: Likewise.
* gas/mips/mips-gp64-fp64-pic.d: Likewise.
* gas/mips/mips-gp64-fp64.d: Likewise.
* gas/mips/mips-abi32-pic.s: Add space for objdump.
* gas/mips/mips-abi32.s: Likewise.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp32.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp32-fp64.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp32.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp64.s: Likewise.
* gas/mips/mips-abi32-pic.s: Add the missing .end.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
2001-08-05 00:53:28 +00:00
gdbadmin
f59dda3d78
*** empty log message ***
2001-08-05 00:00:02 +00:00
Dave Brolley
74a9a58ab5
2001-08-02 Dave Brolley <brolley@redhat.com>
...
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-08-04 15:56:41 +00:00
Alan Modra
20713691c2
* emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
...
order.
2001-08-04 04:14:10 +00:00
Alan Modra
3fd367102d
* emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
...
ie. iterate over wild_statement.section_list.
(gld${EMULATION_NAME}_place_orphan): Likewise.
2001-08-04 01:21:43 +00:00