OSDN Git Service

pf3gnuchains/sourceware.git
19 years ago2005-03-21 Nicholas Wourms <nwourms@netscape.net>
jjohnstn [Mon, 21 Mar 2005 22:34:34 +0000 (22:34 +0000)]
2005-03-21  Nicholas Wourms  <nwourms@netscape.net>

        * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
        since _WANT_IO_POS_ARGS is now defined in there.  Remove duplicate
        reent.h include.

19 years ago* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
macro [Mon, 21 Mar 2005 21:59:32 +0000 (21:59 +0000)]
* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
relocations correctly as well.
(mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
relocations in mergeable sections section-relative either.

19 years ago * configure.ac (stat.st_blksize): Check for it.
mmitchel [Mon, 21 Mar 2005 21:23:32 +0000 (21:23 +0000)]
* configure.ac (stat.st_blksize): Check for it.
(getuid): Likewise.
(getgid): Likewise.
* configure: Regenerated.
* config.in: Likewise.
* remote-fileio.c (remote_fileio_to_fio_stat): Check
HAVE_STRUCT_STAT_ST_BLKSIZE.

19 years ago* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
cgf [Mon, 21 Mar 2005 19:54:15 +0000 (19:54 +0000)]
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.

19 years ago* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
cgf [Mon, 21 Mar 2005 19:54:06 +0000 (19:54 +0000)]
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.

19 years ago * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
bwilson [Mon, 21 Mar 2005 19:45:57 +0000 (19:45 +0000)]
* config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.

19 years ago2005-03-21 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 21 Mar 2005 19:31:43 +0000 (19:31 +0000)]
2005-03-21  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
instead of pc addr for frame_id.  Otherwise "until" won't work.

19 years ago * fhandler.h (class cygthread): Remove forward declaration.
corinna [Mon, 21 Mar 2005 19:10:43 +0000 (19:10 +0000)]
* fhandler.h (class cygthread): Remove forward declaration.

19 years ago * fhandler.h (class cygthread): Forward declare.
corinna [Mon, 21 Mar 2005 18:56:47 +0000 (18:56 +0000)]
* fhandler.h (class cygthread): Forward declare.
(fhandler_socket::sec_pipe): Remove.
(fhandler_socket::eid_pipe_name): Remove.
(fhandler_socket::eid_setblocking): New private method.
(fhandler_socket::eid_unsetblocking): Ditto
(fhandler_socket::eid_recv): Ditto
(fhandler_socket::eid_send): Ditto
(fhandler_socket::eid_accept): Ditto
(fhandler_socket::eid_connect): New public method.
* fhandler_socket.cc (ASYNC_MASK): Move to beginning of file.
(fhandler_socket::eid_pipe_name): Remove.
(fhandler_socket::set_socketpair_eids): Move down to fhandler_socket
methods.
(fhandler_socket::fhandler_socket): Drop initializing sec_pipe.
(fhandler_socket::~fhandler_socket): Drop closing sec_pipe.
(fhandler_socket::eid_setblocking): New method.
(fhandler_socket::eid_unsetblocking): New method.
(fhandler_socket::eid_recv): New method.
(fhandler_socket::eid_send): New method.
(fhandler_socket::eid_connect): New method.
(fhandler_socket::eid_accept): New method.
(fhandler_socket::dup): Drop sec_pipe handling.
(fhandler_socket::connect): Fix WinSock error handling. Prepare
eid credential transaction. Call eid_connect on successful connect.
(fhandler_socket::listen): Drop creating sec_pipe.
(fhandler_socket::accept): Slightly simplify code. Call eid_accept
on accepted socket.
(fhandler_socket::getpeereid): Reshuffle code for readability. Fix
test for invalid pid.
* select.cc (set_bits): Call eid_connect on successfully connected
socket.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
kevinb [Mon, 21 Mar 2005 18:09:47 +0000 (18:09 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
kevinb [Mon, 21 Mar 2005 18:09:28 +0000 (18:09 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.

19 years ago(coff_link_hash_entry): Only define for non WINCE targets.
nickc [Mon, 21 Mar 2005 15:43:34 +0000 (15:43 +0000)]
(coff_link_hash_entry): Only define for non WINCE targets.
(t2a1_bx_pc_insn): Likewise.
(t2a2_noop_insn): Likewise.
(t2a3_b_insn): Likewise.
(t2a1_push_insn): Likewise.
(t2a2_ldr_insn): Likewise.
(t2a3_mov_insn): Likewise.
(t2a4_bx_insn): Likewise.
(t2a5_pop_insn): Likewise.
(t2a6_bx_insn): Likewise.
(coff_arm_relocate_section): Only declare the high_address variable for non
WINCE targets.

19 years ago(sh_elf_final_processing): Fix compile time warning by providing a prototype
nickc [Mon, 21 Mar 2005 15:35:24 +0000 (15:35 +0000)]
(sh_elf_final_processing): Fix compile time warning by providing a prototype
for sh_symbian_find_elf_flags.

19 years agoFix typo introduced byprevious delta.
nickc [Mon, 21 Mar 2005 15:31:32 +0000 (15:31 +0000)]
Fix typo introduced byprevious delta.

19 years agoUpdate instructions that use the "never" value in the conditional field to use
nickc [Mon, 21 Mar 2005 15:19:51 +0000 (15:19 +0000)]
Update instructions that use the "never" value in the conditional field to use
"le" instead.  This is so that the disassembler will disassemble them.

19 years agobfd/
amodra [Mon, 21 Mar 2005 13:56:39 +0000 (13:56 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss
SEC_LINKER_CREATED.  Attach to dynobj.
(ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size.
ld/
* scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
ld/testsuite/
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.

19 years agobfd/
amodra [Mon, 21 Mar 2005 13:23:10 +0000 (13:23 +0000)]
bfd/
* elf32-ppc.c (struct elf_linker_section): Remove sym_hash and
sym_offset.  Add name, bss_name, sym_name, sym_val.
(struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers.
Add sdata array of elf_linker_section_t.
(ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name.
(enum elf_linker_section_enum): Delete.
(ppc_elf_create_linker_section): Rewrite.  Don't create syms here.
(ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until
the special sections are needed.  Adjust htab->sdata refs.
Ensure dynobj is set in sreloc code.
(ppc_elf_size_dynamic_sections): Strip sdata sections.
(ppc_elf_set_sdata_syms): New function.
(elf_finish_pointer_linker_section): Use 0x8000 for sym_offset.
(ppc_elf_relocate_section): Adjust references to htab->sdata.  Use
sym_val instead of sym_hash.
* elf32-ppc.h (ppc_elf_set_sdata_syms): Declare.
ld/
* emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
function.
(LDEMUL_AFTER_ALLOCATION): Define.

19 years ago * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
amodra [Mon, 21 Mar 2005 12:24:07 +0000 (12:24 +0000)]
* elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
(ppc_elf_merge_private_bfd_data): Likewise.

19 years ago * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
amodra [Mon, 21 Mar 2005 12:09:13 +0000 (12:09 +0000)]
* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
(ppc_elf_create_linker_section): Don't create rel_section.
(elf_create_pointer_linker_section): Don't size relocs.
(elf_finish_pointer_linker_section): Remove relative_reloc parm.
Don't generate relocs.
(ppc_elf_relocate_section): Adjust calls to
elf_finish_pointer_linker_section.

19 years ago * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
amodra [Mon, 21 Mar 2005 12:09:02 +0000 (12:09 +0000)]
* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
(ppc_elf_create_linker_section): Don't create rel_section.
(elf_create_pointer_linker_section): Don't size relocs.
(elf_finish_pointer_linker_section): Remove relative_reloc parm.
Don't generate relocs.
(ppc_elf_relocate_section): Adjust calls to
elf_finish_pointer_linker_section.

19 years ago * elf32-ppc.c (is_ppc_elf_target): New function.
amodra [Mon, 21 Mar 2005 11:22:20 +0000 (11:22 +0000)]
* elf32-ppc.c (is_ppc_elf_target): New function.
(ppc_elf_merge_private_bfd_data): Use it rather than just testing
for bfd_target_elf_flavour.  Do this test before endian check.
(ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
(ppc_elf_size_dynamic_sections): Likewise.

19 years ago * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
amodra [Mon, 21 Mar 2005 10:26:18 +0000 (10:26 +0000)]
* configure.tgt: Handle setting of bfd_gas for fmt=multi targets
along with other formats that set bfd_gas.  Remove unnecessary
setting of bfd_gas.  Delete strongarm cases in generic_target
switch.

19 years agold/
amodra [Mon, 21 Mar 2005 09:39:52 +0000 (09:39 +0000)]
ld/
* emultempl/ppc64elf.em (ppc_finish): Rename from
gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
(LDEMUL_FINISH): Update.
* emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
* emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

19 years ago PR gas/780
amodra [Mon, 21 Mar 2005 02:25:21 +0000 (02:25 +0000)]
PR gas/780
* config/tc-m68k.c (TRUNC, SEXT): Define.
(issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
(m68k_ip): Truncate or sign extend expressions as appropriate.
(get_num): Likewise.
(md_apply_fix3): Use SEXT.

19 years ago * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
amodra [Mon, 21 Mar 2005 02:00:31 +0000 (02:00 +0000)]
* Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
(OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
(obj-vms.o): Delete rule.
Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Mon, 21 Mar 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 20 Mar 2005 23:36:13 +0000 (23:36 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add int to
elf_backend_section_from_shdr.
(bfd_elf_section_data): Update comment for this_idx.
(_bfd_elf_make_section_from_shdr): Add int.
* elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.

* elf.c (_bfd_elf_make_section_from_shdr): Take section index
and use it to set this_idx in bfd_elf_section_data.
(bfd_section_from_shdr): Pass shindex to
_bfd_elf_make_section_from_shdr.
(_bfd_elf_section_from_bfd_section): Use this_idx in
bfd_elf_section_data to find section index.

* elf32-arm.c (elf32_arm_section_from_shdr): Take section
index and pass it to _bfd_elf_make_section_from_shdr.
* elf32-i370.c(i370_elf_section_from_shdr): Likewise.
* elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
* elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
* elf32-v850.c (v850_elf_section_from_shdr): Likewise.
* elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
* elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
* elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.

19 years agodaily update
amodra [Sun, 20 Mar 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
kettenis [Sun, 20 Mar 2005 20:30:30 +0000 (20:30 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.

19 years agoFix typo.
kettenis [Sun, 20 Mar 2005 20:15:56 +0000 (20:15 +0000)]
Fix typo.

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 20 Mar 2005 17:12:16 +0000 (17:12 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* mmix-opc.c (O): Revert the last change.
(Z): Likewise.

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 20 Mar 2005 17:00:13 +0000 (17:00 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* ld-mmix/bpo-1.d: Updated for empty section removal.
* ld-mmix/bpo-10.d: Likewise.
* ld-mmix/bpo-11.d: Likewise.
* ld-mmix/bpo-14.d: Likewise.
* ld-mmix/bpo-16.d: Likewise.
* ld-mmix/bpo-17.d: Likewise.
* ld-mmix/bpo-18.d: Likewise.
* ld-mmix/bpo-19.d: Likewise.
* ld-mmix/bpo-2.d: Likewise.
* ld-mmix/bpo-3.d: Likewise.
* ld-mmix/bpo-4.d: Likewise.
* ld-mmix/bpo-5.d: Likewise.
* ld-mmix/bpo-6.d: Likewise.
* ld-mmix/bpo-9.d: Likewise.
* ld-mmix/bspec1.d: Likewise.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/greg-1.d: Likewise.
* ld-mmix/greg-19.d: Likewise.
* ld-mmix/greg-2.d: Likewise.
* ld-mmix/greg-3.d: Likewise.
* ld-mmix/greg-4.d: Likewise.
* ld-mmix/greg-5.d: Likewise.
* ld-mmix/greg-5s.d: Likewise.
* ld-mmix/greg-6.d: Likewise.
* ld-mmix/greg-7.d: Likewise.
* ld-mmix/loc1.d: Likewise.
* ld-mmix/loc2.d: Likewise.
* ld-mmix/loc3.d: Likewise.
* ld-mmix/loc4.d: Likewise.
* ld-mmix/loc6.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local12.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/locdo-1.d: Likewise.
* ld-mmix/loct-1.d: Likewise.
* ld-mmix/locto-1.d: Likewise.
* ld-mmix/start-1.d: Likewise.
* ld-mmix/undef-3.d: Likewise.

19 years ago* cp-names.y: Add prototype for yylex.
kettenis [Sun, 20 Mar 2005 16:26:44 +0000 (16:26 +0000)]
* cp-names.y: Add prototype for yylex.

19 years ago* cp-names.y: Add prototype for yylex.
kettenis [Sun, 20 Mar 2005 16:22:44 +0000 (16:22 +0000)]
* cp-names.y: Add prototype for yylex.

19 years ago*** empty log message ***
gdbadmin [Sun, 20 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* how-programming.texinfo: Remove incorrect libm.a note.
joshuadfranklin [Sat, 19 Mar 2005 23:33:04 +0000 (23:33 +0000)]
* how-programming.texinfo: Remove incorrect libm.a note.

19 years agodaily update
amodra [Sat, 19 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* child_info.h (fork_info): Use different method to alias variable.
cgf [Sat, 19 Mar 2005 21:45:13 +0000 (21:45 +0000)]
* child_info.h (fork_info): Use different method to alias variable.
(spawn_info): Ditto.
* cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x).
(__cxa_guard_release): Ditto.
* devices.in: Make sure stuff is correctly bracketed (for gcc 4.x).
* devices.cc: Regenerate.
* fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x).
* smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use
of regparm, for some reason.
* sync.h (sync::init_lock): Remove.
* sync.cc (sync::init_lock): Ditto.

19 years ago * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
drow [Sat, 19 Mar 2005 19:44:07 +0000 (19:44 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
VALADDR.

19 years ago2005-03-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 19 Mar 2005 18:29:14 +0000 (18:29 +0000)]
2005-03-19  H.J. Lu  <hongjiu.lu@intel.com>

* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long.
(Z): Likewise.

19 years ago * peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
dannysmith [Sat, 19 Mar 2005 06:48:25 +0000 (06:48 +0000)]
* peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX
cases.  Add comment.

19 years ago * mmix-opc.c (O, Z): Force expression as unsigned long.
hp [Sat, 19 Mar 2005 04:23:23 +0000 (04:23 +0000)]
* mmix-opc.c (O, Z): Force expression as unsigned long.

19 years ago*** empty log message ***
gdbadmin [Sat, 19 Mar 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Mar 2005 23:51:15 +0000 (23:51 +0000)]
2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): Remove check for special
sections.

19 years agodaily update
amodra [Fri, 18 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* net.cc (cygwin_getprotobyname): Don't try to be fancy with return values.
cgf [Fri, 18 Mar 2005 22:42:50 +0000 (22:42 +0000)]
* net.cc (cygwin_getprotobyname): Don't try to be fancy with return values.
(cygwin_getprotobynumber): Ditto.

19 years ago * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
schwab [Fri, 18 Mar 2005 21:31:30 +0000 (21:31 +0000)]
* elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
from bfd_vma to ia64_insn, remove broken cast.

19 years agoMove printing of TLS related error messages to dwarf2loc.c.
kevinb [Fri, 18 Mar 2005 21:03:38 +0000 (21:03 +0000)]
Move printing of TLS related error messages to dwarf2loc.c.

19 years agoMove printing of TLS related error messages to dwarf2loc.c.
kevinb [Fri, 18 Mar 2005 21:03:27 +0000 (21:03 +0000)]
Move printing of TLS related error messages to dwarf2loc.c.

19 years ago* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
kettenis [Fri, 18 Mar 2005 20:46:32 +0000 (20:46 +0000)]
* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell.  Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise.  Adjust for changed calling convention of
decimal2str and octal2str.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
kevinb [Fri, 18 Mar 2005 20:23:28 +0000 (20:23 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
kevinb [Fri, 18 Mar 2005 20:23:16 +0000 (20:23 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.

19 years agoFrom Ralf Corsepius <ralf.corsepius@rtems.org>
kettenis [Fri, 18 Mar 2005 18:59:11 +0000 (18:59 +0000)]
From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.

19 years agoAdd support for generating PLT lookups for the ColdFire.
nickc [Fri, 18 Mar 2005 17:20:22 +0000 (17:20 +0000)]
Add support for generating PLT lookups for the ColdFire.

19 years ago2005-03-18 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Fri, 18 Mar 2005 17:18:58 +0000 (17:18 +0000)]
2005-03-18  Hans-Peter Nilsson  <hp@axis.com>
            Corinna Vinschen  <corinna@vinschen.de>

        * libc/include/ctype.h: Remove invalid +1 offset from
        ctype macro references to __ctype_ptr.
        (_ctype_): Move declaration outside #ifndef __cplusplus.

19 years ago * elf32-arm.c (elf32_arm_modify_segment_map): New function.
mmitchel [Fri, 18 Mar 2005 17:06:12 +0000 (17:06 +0000)]
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.

* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.

* arm.h (PT_ARM_EXIDX): Define.

19 years ago * elf32-arm.c (elf32_arm_modify_segment_map): New function.
mmitchel [Fri, 18 Mar 2005 17:06:02 +0000 (17:06 +0000)]
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.

* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.

* arm.h (PT_ARM_EXIDX): Define.

19 years ago * ld/scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
jules [Fri, 18 Mar 2005 16:55:42 +0000 (16:55 +0000)]
* ld/scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
.rel.fini_array.
(.rela.dyn): Add .rela.init_array, .rela.fini_array.
(SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.

19 years ago2005-03-18 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 18 Mar 2005 16:28:10 +0000 (16:28 +0000)]
2005-03-18  Paul Brook  <paul@codesourcery.com>

* objdump.c (objdump_print_addr): Avoid uninitialized warning.

19 years agoChange wording of error message to "percent-operand" from "%operand" as the
nickc [Fri, 18 Mar 2005 16:12:35 +0000 (16:12 +0000)]
Change wording of error message to "percent-operand" from "%operand" as the
latter confuses xgettext into thinking that it is a C printf formating directive,
which prevents proper translation.

19 years ago2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Mar 2005 15:56:25 +0000 (15:56 +0000)]
2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
bfd_section when removing unused empty output sections for
non-relocatable link.

19 years ago2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Mar 2005 15:46:21 +0000 (15:46 +0000)]
2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): Check bfd_is_const_section
for special sections.

19 years ago * ldlang.c (lang_insert_orphan): Use old section_tail rather than
amodra [Fri, 18 Mar 2005 13:56:25 +0000 (13:56 +0000)]
* ldlang.c (lang_insert_orphan): Use old section_tail rather than
traversing the bfd section list to find pointer to new section.

19 years ago * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
amodra [Fri, 18 Mar 2005 13:21:06 +0000 (13:21 +0000)]
* elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
section_sym_count param, and return number of section symbols.
(bfd_elf_size_dynamic_sections): Clear section symbol area of
.dynsym contents.  Don't bother calling swap_symbol_out on the
first all-zero dynsym.
(elf_mark_used_section): Formatting.  Avoid twiddling flags in
special sections like bfd_abs_section.
(bfd_elf_gc_sections): Spelling fix.

19 years ago * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
corinna [Fri, 18 Mar 2005 09:46:26 +0000 (09:46 +0000)]
* libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
evaluate first parameter only once.
(siglongjmp): Ditto.

19 years ago*** empty log message ***
gdbadmin [Fri, 18 Mar 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 17 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
amodra [Thu, 17 Mar 2005 22:51:07 +0000 (22:51 +0000)]
* scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
input sections into .sdata and .sbss output respectively.

19 years ago* defs.h (xsnprintf): New prototype.
kettenis [Thu, 17 Mar 2005 22:11:07 +0000 (22:11 +0000)]
* defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.

19 years ago* corelow.c (get_core_register_section): Replace usage of sprintf
kettenis [Thu, 17 Mar 2005 22:07:42 +0000 (22:07 +0000)]
* corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.

19 years ago* corelow.c (get_core_register_section): Replace usage of sprintf
kettenis [Thu, 17 Mar 2005 22:07:33 +0000 (22:07 +0000)]
* corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.

19 years ago * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
bwilson [Thu, 17 Mar 2005 21:49:45 +0000 (21:49 +0000)]
    * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
        xg_apply_fix_value and return a value to indicate success.
        (md_pcrel_from): Skip check of fx_done.  Return 0 if not PC-relative.
        (xtensa_force_relocation): Remove checks for VTABLE relocs.
        (xtensa_validate_fix_sub): New.
        (xtensa_fix_adjustable): Remove check for external or weak symbols.
        (tc_gen_reloc): Move code to handle difference of symbols and code to
        apply tentative fix values to ...
        (md_apply_fix3): ...here.  Enable standard overflow checks for simple
        8, 16, and 32 bit relocations.  Apply fixes for slot-specific
        relocations when linkrelax flag is not set.
        * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
        (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.

19 years ago2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 17 Mar 2005 20:11:16 +0000 (20:11 +0000)]
2005-03-17  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Add new check to see if compiler supports
        aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * newlib.hin: Add _HAVE_ARRAY_ALIASING.
        * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
        aliasing the _ctype_ array to _ctype_b.
        * libc/include/ctype.h: Change macros to use __ctype_ptr.  Mark
        _ctype_ as deprecated.

19 years ago* mips-tdep.c (mips_single_step_through_delay): Put back check for
kettenis [Thu, 17 Mar 2005 18:07:40 +0000 (18:07 +0000)]
* mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.

19 years ago2005-03-17 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 17 Mar 2005 17:44:14 +0000 (17:44 +0000)]
2005-03-17  Paul Brook  <paul@codesourcery.com>

* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.

19 years ago2005-03-17 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 17 Mar 2005 17:43:59 +0000 (17:43 +0000)]
2005-03-17  Paul Brook  <paul@codesourcery.com>

* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.

19 years agold/ChangeLog:
bwilson [Thu, 17 Mar 2005 16:20:35 +0000 (16:20 +0000)]
ld/ChangeLog:
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
        (lang_check_section_addresses): Ignore zero size sections here.
ld/testsuite/ChangeLog:
        * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp,
        ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test.

19 years agold/ChangeLog:
bwilson [Thu, 17 Mar 2005 16:20:16 +0000 (16:20 +0000)]
ld/ChangeLog:
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
        (lang_check_section_addresses): Ignore zero size sections here.
ld/testsuite/ChangeLog:
        * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp,
        ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test.

19 years ago * MAINTAINERS: Remove self as maintainer of x86 intel
dnovillo [Thu, 17 Mar 2005 13:21:31 +0000 (13:21 +0000)]
* MAINTAINERS: Remove self as maintainer of x86 intel
mode.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::utimes): Handle opening
corinna [Thu, 17 Mar 2005 12:53:43 +0000 (12:53 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::utimes): Handle opening
directories under 9x gracefully.

19 years agogas/
jbeulich [Thu, 17 Mar 2005 12:05:20 +0000 (12:05 +0000)]
gas/
2005-03-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (i386_scale): Beautify error message.
(Intel syntax comments): Update.
(struct intel_parser_s): Add fields in_offset, in_bracket, and
next_operand.
(intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
Remove declarations.
(intel_bracket_expr): Declare.
(i386_intel_operand): Initialize new intel_parser fields. Wrap most
of the function body in a loop allowing to split an operand into two.
Replace calls to malloc and checks of it returning non-NULL with
calls to xmalloc/xstrdup.
(intel_expr): SHORT no longer handled here. Add comment indicating
comparison ops need implementation.
(intel_e04, intel_e04_1): Combine, replace recursion with loop.
Check right operand of - does not specify a register when parsing
the address of a memory reference.
(intel_e05, intel_e05_1): Combine, replace recursion with loop.
Check operands do not specify a register when parsing the address of
a memory reference.
(intel_e06, intel_e06_1): Likewise.
(intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
handle SHORT as well as unary + and -. Don't accept : except for
segment overrides or in direct far jump/call insns.
(intel_brack_expr): New.
(intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
intel_brack_expr.
(intel_e11): Replace chain of if/else-if by switch, alloing fall-
through in certain cases. Use intel_brack_expr. Add new diagnostics.
Allow symbolic constants as register scale value.
(intel_get_token): Replace call to malloc and check of return value
with call to xmalloc. Change handling for FLAT to match MASM's.
(intel_putback_token): Don't try to back up/free current token if
that is T_NIL.

gas/testsuite/
2005-03-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.d: Add stderr directive.
* gas/i386/intel.e: New.
* gas/i386/intel16.d: Add stderr directive. Adjust for changed
source.
* gas/i386/intel16.e: New.
* gas/i386/intel16.s: Add instances of addressing forms with base
and index specified in reverse order.
* gas/i386/intelbad.l: Adjust for changed source.
* gas/i386/intelbad.s: Add more operand forms to check.
* gas/i386/intelok.d: Remove -r from objdump options. Add stderr
directive. Adjust for changed source.
* gas/i386/intelok.e: New.
* gas/i386/intelok.s: Define MASM constants byte, word, etc. Add
more operand forms to check.
* gas/i386/x86_64.d: Add stderr directive.
* gas/i386/x86_64.e: New.
* gas/i386/x86_64.s: Adjust for parser changes.

19 years ago * fhandler_socket.cc (fhandler_socket::connect): Always set sun_path
corinna [Thu, 17 Mar 2005 11:56:27 +0000 (11:56 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Always set sun_path
in case of a successful or pending connect.
(fhandler_socket::accept): Don't run secret event and eid credential
transactions if OS accept returned WSAEWOULDBLOCK.

19 years agoUpdated Vietnamese translation.
nickc [Thu, 17 Mar 2005 08:38:14 +0000 (08:38 +0000)]
Updated Vietnamese translation.

19 years ago(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
nickc [Thu, 17 Mar 2005 08:24:21 +0000 (08:24 +0000)]
(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
not dwarf_abbrev_buffer.

19 years ago * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
hp [Thu, 17 Mar 2005 02:31:57 +0000 (02:31 +0000)]
* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
-DCOMPACT_CTYPE.

19 years ago2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 17 Mar 2005 02:21:48 +0000 (02:21 +0000)]
2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cris/hiddef1.d: Updated for empty section removal.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-2.d: Likewise.

19 years ago*** empty log message ***
gdbadmin [Thu, 17 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 16 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agocomplete a sentenc
cgf [Wed, 16 Mar 2005 22:08:33 +0000 (22:08 +0000)]
complete a sentenc

19 years agobfd/
hjl [Wed, 16 Mar 2005 21:52:37 +0000 (21:52 +0000)]
bfd/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): New.
(bfd_elf_gc_sections): Call elf_gc_mark_section for
non-relocatable link if we don't do GC.

include/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Add gc_sections.

ld/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
unused empty output sections for non-relocatable link.

* ld.h (args_type): Remove gc_sections.

* ldlang.c (lang_mark_used_section): New.
(lang_gc_sections): Use link_info.gc_sections instead of
command_line.gc_sections.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.
* ldlang.c (lang_process): Call lang_mark_used_section.

* ldmain.c (main): Initialize link_info.gc_sections to FALSE.

ld/testsuite/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-alpha/tlsbin.rd: Updated for empty section removal.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-arm/mixed-lib.sym: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/apuinfo.rd: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.

19 years ago* fhandler_tape.cc (get_ll): This is a generally useful function so move it
cgf [Wed, 16 Mar 2005 21:51:59 +0000 (21:51 +0000)]
* fhandler_tape.cc (get_ll): This is a generally useful function so move it
* winsup.h (get_ll): to here
* security.cc (get_token_group_sidlist): Use get_ll to figure out the long long
version of the luid since QuadPart is not part of the standard Windows API.

19 years ago* winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.
cgf [Wed, 16 Mar 2005 21:50:13 +0000 (21:50 +0000)]
* winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.

19 years agomissing file from previous checkin.
cgf [Wed, 16 Mar 2005 21:21:18 +0000 (21:21 +0000)]
missing file from previous checkin.

19 years ago* dir.cc: Rename opendir_* to dirent_* throughout.
cgf [Wed, 16 Mar 2005 21:20:55 +0000 (21:20 +0000)]
* dir.cc: Rename opendir_* to dirent_* throughout.
(opendir_states): Move and rename.
* fhandler.h (dirent_states): to here.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Use raw readdir when
skipping through entries since it is keeping track of "." and "..".
(fhandler_cygdrive::seekdir): Use fhandler_disk_file::readdir to do everything.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set flag indicating that we
provide .  and ..
(fhandler_virtual::seekdir): Ditto.
(fhandler_virtual::rewinddir): Ditto.
* fhandler_registry.cc (fhandler_registry::rewinddir): Ditto.

19 years ago(gas_cgen_parse_operand): Copy opinfo parameter into a local variable in case
nickc [Wed, 16 Mar 2005 18:09:01 +0000 (18:09 +0000)]
(gas_cgen_parse_operand): Copy opinfo parameter into a local variable in case
it is clobbered by the setjmp.

19 years ago* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
dj [Wed, 16 Mar 2005 17:46:18 +0000 (17:46 +0000)]
* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
* Makefile.in: Regenerate.

19 years agomerge from gcc
dj [Wed, 16 Mar 2005 17:44:39 +0000 (17:44 +0000)]
merge from gcc

19 years ago * configure.tgt: Set emulation for arm-*-eabi*.
drow [Wed, 16 Mar 2005 17:27:14 +0000 (17:27 +0000)]
* configure.tgt: Set emulation for arm-*-eabi*.
* config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
* config/te-armeabi.h: New file.
* config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
* config/te-symbian.h: Include "te-armeabi.h".

19 years agoFix typo introduced by previous delta
nickc [Wed, 16 Mar 2005 17:26:21 +0000 (17:26 +0000)]
Fix typo introduced by previous delta

19 years agoRename switch to enable/disable -Werror to --enable-werror/--disable-werror
nickc [Wed, 16 Mar 2005 17:18:14 +0000 (17:18 +0000)]
Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
for compatibility with gcc.