Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317481 - sys-devel/binutils : patch "gold/ld: enable gnu hash by default" should also update the man page
Summary: sys-devel/binutils : patch "gold/ld: enable gnu hash by default" should also ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 14:06 UTC by Alexis Ballier
Modified: 2019-08-19 23:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2010-04-27 14:06:29 UTC
so far man ld says:
--hash-style=style
Set the type of linker's hash table(s).  style can be either "sysv" for classic ELF ".hash" section, "gnu" for new style GNU ".gnu.hash" section or "both" for both the classic ELF ".hash" and new style GNU ".gnu.hash" hash tables.  The default is "sysv".

which is rather confusing; I'd change that to:
The default is "both".

(maybe add the mips exception)
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-10-11 19:59:49 UTC
Newer patch, same problem
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2018-11-30 22:23:00 UTC
Not so easy, since

* the actual patch is trivial (surprise)
* but normally we dont run texinfo (less deps)
* and our patchset is against git, not against the tarball

So even if I patch it it will not get regenerated (unless USE=doc)

Alternatively, I could add a patch outside our patchset generation, which would be ... inelegant.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-27 11:11:58 UTC
Gentoo now uses upstream --enable-default-hash-style=gnu option. I suggest filing bug report there to reword the entry.