Commit Graph

16198 Commits

Author SHA1 Message Date
Ian Lance Taylor
0e3bd85ee7 * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a
filename or N_SO symbol past the offset, and use it to indicate
	that there is no line number or function when appropriate.
1996-06-12 18:18:23 +00:00
Ian Lance Taylor
1154821182 * objdump.c (dump_reloc_set): Add sec parameter. Change all
callers.  If with_line_numbers is set, display line numbers of
	relocation entries.
	* binutils.texi, objdump.1: Document -l with -r.
1996-06-12 03:14:14 +00:00
Fred Fish
9d11165670 From Michael Snyder <Michael_Snyder@next.com>:
* bcache.c (print_bcache_statistics): Avoid divide-by-zero
	exception if one or more objfile has no symbols, such as when
	a dynamic library has been stripped.
1996-06-12 03:10:51 +00:00
Ian Lance Taylor
a5c7acea2f * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a
common symbol defined by the linker.  Don't export function code
	even if export_defineds is set.
PR 9856.
1996-06-11 22:25:55 +00:00
Stu Grossman
4915acadd4 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
* configure configure.in:  Only make sol-thread.o for native.
	Also, switch to dlopened libthread_db.so.1.
	* sol-thread.c:  Switch to using dlopen to get the thread_db
	library.
1996-06-11 19:21:42 +00:00
Fred Fish
f023ce5c80 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
Change from 0xE0000000 to 0xC0000000.
PR 9792
1996-06-11 00:35:19 +00:00
Ian Lance Taylor
92e61d3111 * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
d0{24:1},d0' works without an immediate prefix on the bit numbers.
	(md_begin): Add digits to alt_notend_table.
	(md_parse_option): Make s a const pointer.
1996-06-10 23:32:34 +00:00
Ian Lance Taylor
b91e85c27d * config/tc-sparc.c (md_pseudo_table): Add "empty".
(s_empty): New static function.
1996-06-10 21:07:57 +00:00
Ian Lance Taylor
a57e71e6e0 * gas/all/cofftag.s, gas/all/cofftag.d: New test for COFF enum tag
with the same name as a global variable.
	* gas/all/gas.exp: Run cofftag test for any COFF target.
1996-06-10 19:29:51 +00:00
Ian Lance Taylor
e789e620dd * config/obj-coff.c (struct filename_list): Only define if not
BFD_ASSEMBLER.
	(filename_list_head, filename_list_tail): Likewise.
	(c_section_symbol): Remove unused BFD_ASSEMBLER version.
	(obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
	flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
	have a section of N_ABS rather than N_DEBUG.  If we do a merge,
	remove the new symbol from the list.
 	(obj_coff_endef, both versions): Call tag_insert even if there is
	an old symbol with the same name, if the old symbol does not
	happen to be a tag.
	(coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
	the SF_GET_DEBUG condition.  Don't call SA_SET_SYM_ENDNDX with a
	symbol that will be moved to the end of the symbol list.
	(coff_adjust_section_syms): Always call section_symbol for .text,
	.data, and .bss.
	(coff_frob_section): Likewise.  Also, remove unused variable
	strname.
1996-06-10 19:29:25 +00:00
Michael Meissner
c992cf9b28 Add .lcomm directive 1996-06-10 18:54:38 +00:00
Ian Lance Taylor
0670452eae * config/tc-ns32k.c (convert_iif): Call frag_grow rather than
manipulating frags directly.
	(md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
	defined.
1996-06-10 16:29:54 +00:00
Ian Lance Taylor
41822c41ed * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
whether the next character is '*' before checking whether we are
	at the start of a line.  Permit LINE_COMMENT_START to start a
	comment in state 1 (seen some whitespace) as well, to match the
	documentation.
1996-06-10 16:15:05 +00:00
Ian Lance Taylor
1ba7661587 * gasp.c (do_align): Permit a fill value for .align. 1996-06-10 15:51:26 +00:00
Jeff Law
890f5b7f5a Opps. 1996-06-09 22:40:13 +00:00
Jeff Law
fd7c5d73ce * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing
problems.
        (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot"
        correctly for the two variants.  Allow relaxing if the target
        is 128 bytes away since after relaxation it'll be 126 bytes away.
        (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust
        "dot" and "value".  Allow relaxing if the target is 128 bytes
        away since after relaxation it'll be 126 bytes away.
        * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing
        the given section until nothing changes.
Improving corner case relaxing for jmp:16->bra:8, jmp:24->bra:8 and
bCC:16->bCC:8.

Re-relax a section if something changes; more relaxing opportunities
may be available.
1996-06-09 22:38:09 +00:00
Jim Wilson
f98286385f Kill r16/rce/acp stuff. 1996-06-08 03:52:13 +00:00
Jim Wilson
4906b2a367 Kill r16/rce/acp stuff. 1996-06-08 03:45:18 +00:00
Jim Wilson
ed381b6719 Kill r16/rce/acp stuff. 1996-06-08 03:18:15 +00:00
Jim Wilson
1b79e6e2cd Kill r16/rce/acp stuff. 1996-06-08 03:06:36 +00:00
Per Bothner
1b5484af26 * config.guess (i?86-ncr-sysv*): Emit minor release numbers.
Recognize the NCR 4850 machine and NCR Pentium-based platforms.
1996-06-08 01:26:46 +00:00
Per Bothner
45d03d1196 * config.guess: Combine mips-mips-riscos cases, and use cpp to
distinguish sysv/svr4/bsd variants.
	Based on a patch from Harlan Stenn <harlan@clark.net>.
1996-06-08 01:13:04 +00:00
Tom Tromey
85f533f7f9 * configure.in: Added copyright notice.
* move-if-change: Added copyright notice.
1996-06-07 21:30:04 +00:00
Ian Lance Taylor
b72b1a0c52 * emultempl/sunos.em: Include libiberty.h.
(gld${EMULATION_NAME}_set_symbols): New static function to add
	LD_LIBRARY_PATH to the list of search directories.
	(ld_${EMULATION_NAME}_emulation): Add new set_symbols routine.
1996-06-07 15:29:36 +00:00
Ian Lance Taylor
bbf7c3352c * ieee.c (ieee_write_object_contents): Put a timestamp in the file
to keep the HP emulator database happy.
PR 9493.
1996-06-06 23:57:18 +00:00
Michael Meissner
ef0e1cc5e8 do not build tk under Solaris Powerpc 1996-06-06 23:30:06 +00:00
Michael Meissner
5cadf51b51 Add missing file for solaris on powerpc 1996-06-06 21:11:52 +00:00
Michael Meissner
59d95e8132 Do not build pieces needing shared libs on PPC Solaris 1996-06-06 20:45:30 +00:00
Ian Lance Taylor
0593fc16c4 Thu Jun 6 15:24:45 1996 Richard Henderson <rth@tamu.edu>
* ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA
 	alignment hack--we can get the lnnoptr info another way without
 	suddenly increasing the alignment requirements.  Set the flags for
	the _PDATA section.
	(ecoff_compute_section_file_positions): Do so.
1996-06-06 19:51:04 +00:00
Ian Lance Taylor
7d1f346446 * README: Add notes on how to build if you don't have ar. 1996-06-06 19:14:16 +00:00
Tom Tromey
f255b19d70 .Sanitize cleanups for IDK 1996-06-06 16:34:49 +00:00
Ian Lance Taylor
3f3accf86a * gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s
test.
1996-06-06 16:31:03 +00:00
Ian Lance Taylor
1760b4aeab * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
rather than . when computing _gp value.  From Per Fogelstrom.
	* emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.
1996-06-06 16:23:04 +00:00
Ian Lance Taylor
39e6bc339f * ldmain.c (main): Don't close and unlink the file on error, since
remove_output will do it anyhow.
	* ldlang.c (open_output): Set boolean variable to true, not 1.
1996-06-06 16:07:23 +00:00
Ian Lance Taylor
9b263b79b7 * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.
From Kevin Buettner <kev@primenet.com>.
1996-06-06 15:30:28 +00:00
Gordon Irlam
843115fae5 Remove cygnus local comments from install-sh and install.sh. 1996-06-05 19:38:35 +00:00
Michael Meissner
8477437c17 Latest changes from Andrew 1996-06-05 16:02:54 +00:00
Jackie Smith Cashion
911026aa8b Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
* configure.in (configdirs): Force 4100 builds to use 4300 GDB
  	target.
	* configure: Rebuild.

	* config/mips/vr4300el.mt (SIM_OBS): Include simulator in
 	little-endian builds.
1996-06-05 15:11:10 +00:00
Jackie Smith Cashion
c98ec95dba Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
* configure.in: Define @SIMCONF@ depending on mips target.
	* configure: Rebuild.
	* Makefile.in (run): Add @SIMCONF@ to control simulator
 	construction.
	* gencode.c: Change LOADDRMASK to 64bit memory model only.
	* interp.c: Remove some debugging, provide more detailed error
 	messages, update memory accesses to use LOADDRMASK.
1996-06-05 08:16:16 +00:00
Per Bothner
60bcbf8d51 * config.guess: Merge with FSF:
Mon Jun  3 08:49:14 1996  Karl Heuer  <kwzh@gnu.ai.mit.edu>
	* config.guess (*:Linux:*:*): Add guess for sparc-unknown-linux.

	Fri May 24 18:34:53 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
	* config.guess (AViiON:dgux:*:*): Fix typo in recognizing mc88110.

	Fri Apr 12 20:03:59 1996  Per Bothner  <bothner@spiff.gnu.ai.mit.edu>
	* config.guess:  Combine two OSF1 rules.
	Also recognize field test versions.  From mjr@zk3.dec.com.
	* config.guess (dgux):  Use /usr/bin/uname rather than uname,
	because GNU uname does not support -p.  From pmr@pajato.com.
1996-06-05 03:48:09 +00:00
Gordon Irlam
5d95c4740e Add install.sh copyright terms from X11R5. 1996-06-05 01:24:52 +00:00
Ian Lance Taylor
07acd23b77 * ldcref.c: New file.
* ld.h (add_cref, output_cref): Declare.
	* ldmain.c (main): Initialize notice_all field.  If it is set at
	end of link, call output_cref.
	(notice): Rename from notice_ysym.  Check notice_all.
	* ldmisc.c (finfo): Make globally visible.
	* ldmisc.h (finfo): Declare.
	* lexsup.c (OPTION_CREF): Define.
	(ld_options): Add "cref".
	(parse_args): Handle OPTION_CREF.
	* Makefile.in: Rebuild dependencies.
	(CFILES): Add ldcref.c.
	(OFILES): Add ldcref.o.
	* ld.texinfo, ld.1: Document --cref.
1996-06-04 23:37:13 +00:00
Ian Lance Taylor
26145b159a * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is
set, always call the notice callback.

	* VERSION: Increment for bfdlink.h change.
1996-06-04 23:11:00 +00:00
Tom Tromey
2c7aeec634 * Makefile.in (install): Don't check to see if tooldir exists.
Make $(tooldir) and $(tooldir)/bin.
1996-06-04 22:16:01 +00:00
Tom Tromey
af34f1a9f6 * Makefile.in (MAKEDIRS): Removed $(tooldir). 1996-06-04 21:35:58 +00:00
Michael Meissner
527b83247e Do not turn on -mregnames by default 1996-06-04 15:02:47 +00:00
Michael Meissner
5ea7fa7abb Build psim on ppc SVR4, Solaris, and Elf targets. 1996-06-04 13:27:31 +00:00
Michael Meissner
eb6dc7a527 Make main an int function, not void 1996-06-03 21:40:45 +00:00
Ian Lance Taylor
9d17519894 * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.
(sh_relax_delete_bytes): Correct handling of differently sized
	trailing alignment reloc.
1996-06-03 21:13:41 +00:00
Michael Meissner
fe098bf490 Abort if we find the program has an .interp section 1996-06-03 20:26:09 +00:00