Binutils with MCST patches
Go to file
Ken Raeburn d9ad93bce5 More patches from Jeff Law, plus a little cleanup of my own.
These changes separate PA-SOM support from PA-ELF support.
A sun4-x-hppaosf assembler can now be built.

* elf32-hppa.c (elf_hppa_howto_table): Now static.
(symext_rootP, symext_lastP, global_value, GOT_value, global_symbol,
global_sym_defined, symextn_contents, symextn_contents_real_size,
elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely
on default initialization.
(hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon.
(hppa_look_for_stubs_in_section): Introduce temporaries to make code more
readable in 80 columns.

* libhppa.h (all functions): Now inline under GNU C.

* elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument
relocation.
(AR_UNIMP): Delete unused macro.
(hppa_elf_set_section_contents): Always return a value.
(elf32_hppa_backend_table_processing): Likewise.
(elf32_hppa_backend_section_processing: Likewise.

* som.c: New file containing SOM specific code extracted from hppa.c

* som.h: New file containing SOM specific code extracted from libhppa.h

* hppa.c: Deleted.

* libhppa.h: Delete SOM specific code.  Add generic PA code which can be shared
by both SOM and ELF backends.

* Makefile.in: Replace hppa.c with som.c.  elf32-hppa.o depends on libhppa.h
now.

* configure.in (hppa_vec): Needs som.o module instead of hppa.o.

* elf32-hppa.c: Include libhppa.h.  Do not define BYTES_IN_WORD.

* elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h.
(hppa_reloc_field_selector_type_alt): Likewise.

* elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables.
(elf_hppa_reloc_type_lookup): Likewise.
(elf_hppa_tc_make_sections): Likewise.
(hppa_elf_arg_reloc_needed_p): Likewise.
(hppa_elf_build_long_branch_stub): Likewise.
(elf_reloc_map): Delete, no longer used.
(elf_hppa_reloc_map): Likewise.
(elf32_hppa_symextn_map_max_size): Likewise.
(elf32_hppa_get_sym_extn): Abort if type is bogus.

* elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing
of the .hppa_unwind section.
1993-08-28 00:10:54 +00:00
bfd More patches from Jeff Law, plus a little cleanup of my own. 1993-08-28 00:10:54 +00:00
binutils nuke chill stuff from Makefile 1993-08-23 19:46:22 +00:00
config don't use -g in CXXFLAGS 1993-08-12 18:43:31 +00:00
gas recognize m88110 1993-08-25 23:16:39 +00:00
gdb * Rename files for 14-character limits: 1993-08-27 23:27:02 +00:00
gprof Use BFD to determine what a symbol prefix is, be better about determining 1993-08-13 21:38:41 +00:00
include * mips.h (M_ABSU): Removed (absolute value of unsigned number??). 1993-08-23 17:02:38 +00:00
ld * ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested by 1993-08-26 22:22:36 +00:00
mmalloc Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly 1993-08-02 23:29:32 +00:00
opcodes * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set 1993-08-27 14:55:22 +00:00
readline Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly 1993-08-02 23:29:32 +00:00
sim Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly 1993-08-02 23:29:32 +00:00
.Sanitize New directory 1993-08-18 01:24:15 +00:00
Build-A-Release.mk didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
ChangeLog * config.guess: Deal with OSF/1 1.3 on alpha. 1993-08-21 02:56:06 +00:00
DOC.Sanitize Initial revision 1991-10-31 00:08:52 +00:00
INSTALL Nearly complete. Still needs pointer to "more doc". 1991-04-13 07:41:11 +00:00
Install.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Makefile.in * Makefile.in: Add support for new libio. 1993-08-18 02:04:05 +00:00
Pack-A-Progressive Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
SUPPORTED Initial revision 1991-06-12 21:44:36 +00:00
build-all.mk remove univel from unixware build config name 1993-08-20 21:14:17 +00:00
config.guess * config.guess: Recognize BSD on hp300. 1993-08-16 01:50:58 +00:00
config.sub handle broken test (lynx) 1993-07-16 20:14:38 +00:00
configdos.bat Initial revision 1991-12-12 02:47:57 +00:00
configure add support for CONFIG_SHELL 1993-08-02 18:58:17 +00:00
configure.bat More dos scripts 1992-02-22 00:25:24 +00:00
configure.in fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio 1993-08-20 00:37:33 +00:00
install-texi.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
install.sh fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio 1993-08-20 00:37:33 +00:00
intro.texi Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
tape-labels-tex.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
test-build.mk add uniq to holes, ccross changes 1993-07-08 00:57:49 +00:00