kbuild: reference_discarded addition
authorDave Jones <davej@redhat.com>
Fri, 6 Jan 2006 07:40:19 +0000 (02:40 -0500)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 8 Jan 2006 17:56:51 +0000 (18:56 +0100)
commit442ce844e139c1e3c23e8b4df13468041ae35721
tree248a0daea2b70468befee646cbb926aaa9677089
parent50aa88e2877f1375ba79d1be7a0ff4aa563741c7
kbuild: reference_discarded addition

Error: ./fs/quota_v2.o .opd refers to 0000000000000020 R_PPC64_ADDR64    .exit.text

Been carrying this for some time in Red Hat trees.

Keith Ownes <kaos@sgi.com> commented:
For our future {in}sanity, add a comment that this is the ppc .opd
section, not the ia64 .opd section.  ia64 .opd should not point to
discarded sections.

Any idea why ppc .opd points to discarded sections when ia64 does not?
AFAICT no ia64 object has a useful .opd section, they are all empty or
(sometimes) a dummy entry which is 1 byte long.  ia64 .opd data is
built at link time, not compile time.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/reference_discarded.pl