Commit graph

6 commits

Author SHA1 Message Date
David Lamparter 2e84c37460 build: hppa is weird
hppa (yes, HP PA-RISC) apparently creates relocations that refer to
".init+0x12345" for everything, referencing way past the end of the
.init section.  While this is only fallback code hit when XREF_SETUP()
is missing (i.e. the FRRouting.XREF ELF note is absent), try to make it
work anyway.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-05-02 23:03:08 +02:00
David Lamparter acddc0ed3c *: auto-convert to SPDX License IDs
Done with a combination of regex'ing and banging my head against a wall.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-02-09 14:09:11 +01:00
David Lamparter 638fc6d6e0 python: fix a bunch of pylint warnings in clippy
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-28 11:13:22 +01:00
David Lamparter 00f0c39903 python: apply black formatting
The python/ directory hasn't been shoved into black yet (unlike
topotests, where most FRR python code is.)  Run black over it.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-28 11:01:22 +01:00
David Lamparter b17f302b20 python: fix 32-bit pointers in xrelfo container_of
This was mistakenly using the host platform's pointer size rather than
the ELF file's.  Only noticeable when cross compiling...

Signed-off-by: David Lamparter <equinox@diac24.net>
2021-04-08 00:01:07 +02:00
David Lamparter 36a8fdfd74 python/xrelfo: the ELF xref extractor
This creates JSON dumps of all the xref structs littered around FRR.

Signed-off-by: David Lamparter <equinox@diac24.net>
2021-02-23 16:56:58 +01:00