This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: xcoff64 bfd-bfd-in.h.patch
- To: trix at redhat dot com
- Subject: Re: xcoff64 bfd-bfd-in.h.patch
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Tue, 6 Feb 2001 12:52:26 -0800
- CC: binutils at sources dot redhat dot com
- References: <NEBBJAELJMCJCBEMLJLPEEGHCCAA.trix@redhat.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
The following patches are all OK, assuming you will add
properly-formatted ChangeLog entries; for instance, the first one
becomes:
2001-02-06 Tom Rix <trix@redhat.com>
* bfd-in.h (struct lineno_cache_entry): Promote element
"offset" to 64 bit.
Note the spacing, capital letter at start of sentence, period at end
of sentence, position of colon. If you're using emacs, C-x 4 a will
create template entries for you that are properly formatted.
bfd-in.h :
(struct lineno_cache_entry) promote element "offset" to 64 bit.
Makefile.am :
coff-pmac bfd now defined in coff-rs6000.c
xcoff-target.h not used to define rs6000 or ppc bfd
libxcoff.h new file
xcoff.h new file
libxcoff.h : new file
obj-coff.c : (add_lineno) disable checking for negative line numbers for
xcoff
Makefile.in :
coff-pmac bfd now defined in coff-rs6000.c
xcoff-target.h not used to define rs6000 or ppc bfd
libxcoff.h new file
xcoff.h new file
coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support
(coff_print_aux) same
(coff_write_object_contents) same
(coff_slurp_line_table) same
config.bfd : add powerpc64-*-aix* target
aix.em : Add xcoff64 support
Add -binitfini support
(gld${EMULATION_NAME}_before_parse) -binitfini
(gld${EMULATION_NAME}_parse_args) same
(gld${EMULATION_NAME}_before_allocation) format change for special
sections
rs6k64.h : xcoff64 specific structures and magic numbers moved rs6k64.h
(struct external_scnhdr) fix l_symndx
(struct external_lineno) remove useless union
configure.in : enable ld on aix.
libcoff-in.h : formatting
coffgen.c : (coff_fix_symbol_name) formatting
(coff_mangle_symbols) xcoff 64 bit support
(coff_write_symbol) same
(coff_write_alien_symbol) same
(coff_write_native_symbol) same
(coff_write_symbols) same
(coff_get_symbol_info) same
(bfd_coff_get_syment) same
(coff_print_symbol) same
coff-rs6000.c :
Many changes for 64 bit support.
Move common 32/64 code to xcofflink.c
Explictly define the rs6000coff_vec and pmac_xcoff_vec
internal.h : promote 32 bit structure elements to 64 bit for xcoff64 support
aix.sc : default text section offset to 0x10000000
default data section offset to 0x20000000
add .sv3264 and .sv64 pseudo sections
loader and debug sections use the currect section offset.
libcoff.h : move xcoff extern declarations to libxcoff.h
Makefile.am : add eaixppc64 emulation for xcoff64
configure.tgt : add eaixppc64 emulation for xcoff64
rs6000.h : xcoff32 specific structures and magic numbers moved rs6000.h
Makefile.in : add eaixppc64 emulation for xcoff64
coff64-rs6000.c :
Many changes for 64 bit support.
64 bit linker now supported
Explictly define the rs6000coff64_vec
xcofflink.c :
Many changes for xcoff64 support
Move common structures to include/coff/xcoff.h
Move specific structure to backends coff-rs6000.c and coff64-rs6000.c
Use new backend functions, defined in libxcoff.h, to isolate 32/64
dependencies.
(bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for
aix4.2+ -binitfini.
(xcoff_build_ldsyms) : handle special __rtinit symbol.
xcoff.h : new file
common structures and magic numbers for xcoff backends
The following change is not OK because they change generated files
without updating the source file:
bfd-in2.h :
move extern xcoff declarations to libxcoff.h
The following change is not OK because even though it fails for AIX,
it passes for SRV4-based targets, so it should be specific to AIX.
(It should probably also catch rs6000-*-aix*.)
macros.exp : expect to fail the strings test.
--
- Geoffrey Keating <geoffk@geoffk.org>