John David Anglin e23cba69ec hppa64: Implement segment based relocations for local symbols
There is progress in implementing 64-bit shared library support.

Fixes link error compiling vdso64.so.  HP-UX dynamic linker no longer
complains that libgcc_s.4 linked with GNU ld is an invalid shared library.

Relocations are now generated for all slots in .rela.data, .rela.dlt
and .rela.opd.  Relocation counts for libgcc_s.4 linked using GNU and
HP ld are the same except .rela.plt.  That may be okay as GNU ld directs
pc-relative calls to stubs.

Glibc's ld.so.new appears to link okay.  However, libgcc_s.4 linked with
GNU ld is still broken on HP-UX.

There are six unexpected fails in the testsuite and three unexpected
passes.  There's at least one fail due to name munging in the .dynsym
table.

2025-11-02  John David Anglin  <danglin@gcc.gnu.org>

bfd/ChangeLog:

	* elf64-hppa.c (struct elf64_hppa_link_hash_entry): Remove
	sym_ind and owner fields.  Rename hash entries for __text_seg
	and __data_seg.  Adjust all users.
	(global_sym_index): Remove.
	(hppa64_elf_local_refcounts): Assert size is not 0.
	(elf64_hppa_check_relocs): Drop NEED_PLT from R_PARISC_FPTR64
	relocation.  Don't stash abfd and r_symndx in hh->owner and
	hh->sym_indx.  Add global symbols with hh->eh.dynindx equal
	-1 to dynamic table.  Don't record section symbols to the
	local dynamic symbol table.
	(allocate_global_data_dlt): Don't add symbol to local dynamic
	symbol table.
	(allocate_global_data_opd): Likewise.
	(elf64_hppa_late_size_sections): Rework code to add __text_seg
	and __data_seg symbols to the dynamic table.
	(elf64_hppa_finalize_dlt): Revise to use __text_seg and
	__data_seg symbols.
	(elf64_hppa_finalize_dynreloc): Likewise.
	(elf_hppa_final_link_relocate): When generating a shared
	library, ignore relocs in debugging sections.  Revise
	relocations needing DLT and OPD dynamic relocations to output
	dynamic relocatios for local symbols.  Move code to initialize
	segment base values back to SEGREL case.
2025-11-02 16:04:55 -05:00
2025-10-16 12:09:57 +02:00
2025-07-13 08:35:45 +01:00
2025-07-13 08:35:45 +01:00
2025-11-02 16:09:04 +00:00
2025-07-23 19:49:50 -04:00
2025-07-13 08:35:45 +01:00
2025-10-02 07:42:18 +08:00
2025-10-02 07:42:18 +08:00
2025-10-02 07:42:18 +08:00
2025-10-02 07:42:18 +08:00
2025-09-07 04:06:01 +01:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README, and so on. That'll give you
info about this package -- supported targets, how to use it, how to report
bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.
Description
Unofficial mirror of sourceware binutils-gdb repository. Updated daily.
Readme 892 MiB
Languages
C 50.5%
Makefile 22.7%
Assembly 13.2%
C++ 5.9%
Roff 1.5%
Other 5.6%