Commit graph

21 commits

Author SHA1 Message Date
wulf
80a01b3770 Added missing data type casts 2006-12-29 22:47:13 +00:00
kristerw
c0cc169182 Update cross-binutils to 2.17.0.0.
Changes in 2.17:
* Add "-x NAME" to readelf in addition to "-x NUMBER".
* Add -i and -t switches to cxxfilt.  -i disables the display of implementation
  specific extra demangling information (if any) and -t disables the demangling
  of types.
* Add support for the "@<file>" syntax to the command lines of all tools, so
  that extra switches can be read from <file>.
* Add "-W/--dwarf" to objdump to display the contents of the DWARF
  debug sections.
* Add "-t/--section-details" to readelf to display section details.
  "-N/--full-section-name" is deprecated.
* powerpc-linux ld now supports a variant form of PLT and GOT for the security
  conscious.  This form will automatically be chosen when ld detects that all
  code in regular object files was generated by gcc -msecure-plt.  The old PLT
  and GOT may be forced by a new ld option, --bss-plt.
* Add "-i/--inlines" to addr2line to print enclosing scope information
  for inlined function chains, back to first non-inlined function.
* Add "-N/--full-section-name" to readelf to display full section name.
* Add "-M entry:<addr>" switch to objdump to specify a function entry address
  when disassembling VAX binaries.
* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
  to objcopy to convert local symbols into global symbols.

Changes in 2.16:
* Add "-g/--section-groups" to readelf to display section groups.
* objcopy recognizes two new options --strip-unneeded-symbol and
  --strip-unneeded-symbols, namely for use together with the wildcard
  matching the original --strip-symbol/--strip-symbols provided, but
  retaining any symbols matching but needed by relocations.
* readelf can now display address ranges from .debug_range sections.  This
  happens automatically when a DW_AT_range attribute is encountered.  The
  command line switch --debug-dump=Ranges (or -wR) can also be used to display
  the contents of the .debug_range section.
* nm and objdump now have a switch "--special-syms" to enable the displaying of
  symbols which the target considers to be special.  By default these symbols
  are no longer displayed.  Currently the only special symbols are the Mapping
  symbols used by the ARM port to mark transitions between text and data and
  between ARM and THUMB code.
* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
  import and export symbols with <preifx> prepended to them.
2006-08-24 19:53:44 +00:00
kristerw
9173fca651 Update to binutils-2.15.
Changes since binutils-2.9 are not easy to summarize, since it
represent more than 6 years of active development...

Solves PR pkg/13442.
2004-07-09 20:43:47 +00:00
wiz
3057d0e514 Standardize patch file names, at least a bit. 2001-04-05 15:27:24 +00:00
wiz
e989dd6a57 add RCS Id 2001-01-24 12:13:27 +00:00
tsutsui
df2b9068d0 Add m68k-netbsdlef target. 2001-01-24 11:24:12 +00:00
tsutsui
eb1a4a49b6 Bring ELF BSS alignment fix from main trunk:
gnusrc/gnu/dist/bfd/elf.c 1.2->1.3
2001-01-24 11:18:18 +00:00
tsutsui
2f68108952 emulparams for mips should be elf32bmip, not elf32ebmip. 2001-01-06 06:38:20 +00:00
itojun
20f0d51c2b split sh*- and shel-*.
based on ftp://ftp.netbsd.org/pub/NetBSD/arch/sh3/crosskit/.

XXX due to /bin/sh restriction in ld/config.status,
we can accomodate no more archs.  we need to change ld/{Makefile,configure}.in
2001-01-04 01:18:07 +00:00
wiz
ce19bd233e Retire USE_PKGLIBTOOL in favour of USE_LIBTOOL.
Use LTCONFIG_OVERRIDE, and thus remove four patches.
Update PLIST for arm and mipse[bl] additions.
2000-08-14 14:57:52 +00:00
jun
7797f19934 On port-hpcmips-ja@jp.netbsd.org:
shin@sm.sony.co.jp <10007180619.AA00274@lachesis.sm.sony.co.jp>
tsutsui@ceres.dti.ne.jp <200008031537.e73Fb0S25554@mirage.ceres.dti.ne.jp>

the pkgsrc cross linker did not know -nostdlib option,and -nostdlib option
works such as -n option. -n is NMAGIC output option.
this misunderstanding makes bad alignment and bad address dynamic-linked
binary.

cf.
On ftp://ftp.netbsd.org/pub/NetBSD/arch/hpcmips/snapshot/20000620-1.5,
dynamic-linked binary is almost broken.
2000-08-09 10:33:22 +00:00
mycroft
8961672d5b Fix problems with uninitialized data, mostly on MIPS. 2000-06-11 23:42:13 +00:00
mycroft
3a7735cc54 Include directory name. 2000-06-11 18:40:26 +00:00
mycroft
41bc463d2a Import the NUL termination bug fix from -current. 2000-06-11 18:27:29 +00:00
rh
a7138b2ff8 defuzz 2000-05-04 09:01:09 +00:00
tsutsui
a90e17d580 Add mipse[bl]-netbsd to targets. 2000-02-19 00:48:57 +00:00
sakamoto
0b8c44eef3 Add arm-netbsd to bfd target. 1999-12-06 09:43:19 +00:00
tv
184c91873c Fix these patches: they work now on very -current. 1999-01-06 17:02:39 +00:00
tv
9f26e0511d Fix handling of sys_{errlist,nerr} in strerror.c. 1999-01-06 16:38:23 +00:00
tv
d290475a76 Add the first NetBSD-targeted cross compiler, cross-netbsd-powerpc.
Installs only the compiler, no headers or runtime link libraries.
1999-01-06 01:20:27 +00:00
tv
ccc8b40071 Major `cross' category overhaul. Clean up the shared Makefiles; move all
binutils stuff (except gas) to a shared, multiple-target binutils build;
reduce extract and compile times by being more specific with files and
targets; update to egcs 1.1.1 with a diffball from NetBSD's src/gnu/dist
tree; add 4.4BSD a.out archive support to binutils.
1999-01-04 22:37:29 +00:00