Nick Clifton [Fri, 28 May 1999 13:24:33 +0000 (13:24 +0000)]
Initialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Add ability for backends to process program and section headers after they
have been created.
Ian Lance Taylor [Thu, 27 May 1999 22:48:53 +0000 (22:48 +0000)]
* configure.in: Check whether getuid and getgid exist.
* archive.c: Define getuid and getgid as macros if HAVE_GETUID or
HAVE_GETGID are not defined, respectively.
(bfd_write_armap): Don't special case on _WIN32 for getuid and
getgid.
* configure.host: Set ac_cv_func_get{ug}id for *-*-windows*.
* configure, config.in: Rebuild.
Ian Lance Taylor [Thu, 27 May 1999 22:31:03 +0000 (22:31 +0000)]
1999-05-28 Linus Nordberg <[email protected]>
* m68k.h: Document new formats `E', `G', `H' and new places `N',
`n', `o'.
* m68k.h: Define mcf5206e, mcf5307, mcf. Document new format `u'
and new places `m', `M', `h'.
Ian Lance Taylor [Thu, 27 May 1999 21:57:48 +0000 (21:57 +0000)]
1999-05-28 Martin Dorey <[email protected]>
* config/tc-i960.c: Several minor changes to add ELF and
BFD_ASSEMBLER support.
* config/tc-i960.h: Likewise.
* configure.in (i960-*-elf*): New target.
* aclocal.m4, configure: Rebuild.
Andreas Schwab [Thu, 27 May 1999 03:02:23 +0000 (03:02 +0000)]
* readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.
DJ Delorie [Tue, 25 May 1999 12:10:27 +0000 (12:10 +0000)]
* windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new. Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).
DJ Delorie [Tue, 25 May 1999 11:37:40 +0000 (11:37 +0000)]
* peicode.h (coff_swap_sym_in): When we create the actual section
to reflect the not-there section C_SECTION symbols refer to,
change the symbol class to C_STAT as the section is now really
there.
Jason Molenda [Sun, 23 May 1999 20:02:56 +0000 (20:02 +0000)]
Sync up with Cygnus CVS repository (cvs import doesn't handle these
automatically, alas. This cleanpu must be automated in the near future).
Tue Mar 9 19:25:11 1999 Stan Shebs <[email protected]>
* h8-cfg.texi: Remove, hasn't been used in years.
1999-05-10 Martin Hunt <[email protected]>
* debugify.c, debugify.h: Removed because they are no
longer used.
Tue Mar 16 15:29:04 1999 Stan Shebs <[email protected]>
* go32-xdep.c: Remove, no longer used by anything.
Alan Modra [Mon, 17 May 1999 08:35:42 +0000 (08:35 +0000)]
è
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
Alan Modra [Mon, 17 May 1999 08:35:41 +0000 (08:35 +0000)]
a
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
Alan Modra [Mon, 17 May 1999 08:35:40 +0000 (08:35 +0000)]
Ø
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
Alan Modra [Mon, 17 May 1999 03:21:52 +0000 (03:21 +0000)]
è
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Alan Modra [Mon, 17 May 1999 03:21:50 +0000 (03:21 +0000)]
n
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Alan Modra [Mon, 17 May 1999 03:21:46 +0000 (03:21 +0000)]
/
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Alan Modra [Mon, 17 May 1999 03:21:41 +0000 (03:21 +0000)]
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Joel Sherrill ([email protected])
* configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
(mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
Joel Sherrill ([email protected])
* config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to
list of target formats (targ_selvecs).
(i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets.
(powerpcle*-*rtems*, sh-*-rtemself*): New targets.
DJ Delorie [Wed, 12 May 1999 22:03:10 +0000 (22:03 +0000)]
* rclex.l: add code to suppress certain output from cpp, replace
all returns with MAYBE_RETURN
(MAYBE_RETURN): new, implement the suppression by returning
IGNORED_TOKEN as needed.
(cpp_line): remember which file we're in, mark data from included
*.h files for suppression.
* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
DJ Delorie [Tue, 11 May 1999 21:06:50 +0000 (21:06 +0000)]
1999-05-10 DJ Delorie <[email protected]>
* scripttempl/pe.sc: Specify the output arch, which Ian says is
the Right Thing to do.
* emultempl/pe.em: various changes to parameterize the
target-specific information.
(gld_i386pe_after_open): Detect and fix MS import libraries
by renaming the member objects (which are all named the same).
* pe-dll.c: various changes to parameterize the target-specific
information.
(generate_reloc): support relocs more generically to allow for
expansion.
(pe_exe_build_sections): new; used to add .relocs to .exes
(pe_exe_fill_sections): ditto
DJ Delorie [Tue, 11 May 1999 21:06:16 +0000 (21:06 +0000)]
1999-05-10 DJ Delorie <[email protected]>
* windres.c (quot): Quote shell metacharacters in a string
(main): quote parameters to cpp that might have metacharacters in
them. Allow -D as an alias for --define to allow for sharing make
macros with gcc.
* objdump.c (dump_reloc_set): don't core if howto->name is NULL
* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
the correct BFD.
* Makefile.in: ditto
* rescoff.c (write_coff_file): Set the correct BFD
DJ Delorie [Tue, 11 May 1999 21:05:44 +0000 (21:05 +0000)]
* ecoff.c (_bfd_ecoff_write_armap): give the symtab element a
reasonable mode until "ar x" is smart enough to skip it (fixes
gcc/libgcc.a builds on mips-ecoff targets
* coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed
to work. Hack to support MS import libraries, which use different
COMDAT types than GNU.
(coff_slurp_symbol_table): C_SECTION symbols are local; they refer
to implied zero-length sections (see peicode below)
* coffgen.c (coff_get_normalized_symtab): Properly read long MS
filename symbols, which use one *or more* auxents.
* coffswap.h (coff_swap_aux_in): ditto
* peicode.h (coff_swap_sym_in): Build the implied zero-length
sections
Jim Blandy [Tue, 11 May 1999 12:42:12 +0000 (12:42 +0000)]
* cplus-dem.c (main): Use table lookup to distinguish identifier
characters from non-identifier characters.
(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
* ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
output_section_callback, gc_section_callback): New functions for
generic section walks.
(wild, lang_gc_wild): Use walk_wild.
(wild_file, lang_gc_wild_file): Deleted. Common logic moved to
walk_wild_file.
(wild_section, lang_gc_wild_section): Deleted. Common logic moved
to walk_fild_section. Unique logic moved into callbacks
output_section_callback and gc_section_callback.
* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
are defined.