jmc
bb22d1e732
Instead of removing ARRAY_SIZE just #ifndef around it so patches can be
...
generated against the gcc-2.95.3 tag and this will compile. (as ARRAY_SIZE
isn't provided in libiberty included in gcc-2.95.3 itself
2002-03-27 04:09:03 +00:00
jmc
93fcfe16c5
Oops...don't check against &0x1 as the address is already even which is the
...
problem that was being solved in the first place
2002-03-27 00:00:16 +00:00
thorpej
ef51c9bc83
Back out DEFAULT_SHORT_ENUMS; it's actually causing some real problems,
...
and we need to come up with a better strategy.
Per discussion with Ben Harris.
2002-03-25 23:26:31 +00:00
bjh21
8c184bd586
This file is long obsolete. Remove it.
2002-03-24 22:56:59 +00:00
thorpej
3c7ffdc2a5
Add arm/xm-netbsd.h which defines ONLY_INT_FIELDS, and use it for
...
NetBSD ARM ELF targets. This is necessary in order for the compiler
to build with packed enums.
2002-03-24 18:05:57 +00:00
jmc
371e95a59a
Fix sparc64 so locals and args can be accessed correctly.
...
If one doesn't subtract the stack bias back off %fp before attempting
to access variables stored relative to %fp the wrong address is picked up for
all locals and args. So, calls to the FRAME_LOCALS_ADDRESS or
FRAME_ARGS_ADDRESS macros need a function for sparc64 specific cases.
Provide a function to check for bias's addresses and fix them up.
2002-03-22 03:33:08 +00:00
fredette
0e21b8d24d
Added a case for m680[01]0-*-netbsdelf.
2002-03-21 23:54:43 +00:00
fredette
7a6b4d460d
Pulled changes from binutils-current necessary for 68010
...
support. Specifically, got the changes to md_prepare_relax_scan
from binutils' revision 1.11 of this file. As a bonus also
now define DWARF2_LINE_MIN_INSN_LENGTH.
2002-03-21 23:53:14 +00:00
bjh21
878f329747
Redefine RETURN_IN_MEMORY to match the ATPCS structure-return rules, rather
...
than the APCS ones. As with VFP-format doubles, this should really be done
at run time.
2002-03-19 20:59:22 +00:00
eeh
db0c1e532e
Default to the medium any memory model.
2002-03-19 18:12:27 +00:00
bjh21
f9a48a09ad
Turn on DEFAULT_SHORT_ENUMS, since this will be required by the ARM EABI-2001,
...
which we'd like to comply with.
2002-03-18 20:36:51 +00:00
nathanw
66bd2c38da
Fix an off-by-one error in elfcore_netbsd_get_lwpid() which caused the
...
returned LWP ID to always be 0, causing problems for creating
note pseudosections in multi-LWP processes.
2002-03-15 19:01:39 +00:00
bjh21
dca4ae94d6
When checking that a potentially-unsigned enum is >= 0, assign it to an int
...
first. This is necessary to avoid warnings with -fshort-enums. Casting
to an int really should be enough, but turns out not to be.
This change will be documented in doc/HACKS.
2002-03-09 13:22:52 +00:00
jdolecek
ee0c88c936
Also supply the FOP_REGNUM value in supply_xmmregs().
...
This fixes problem with getting return value of functions
in debugged programs, as noted in toolchain/15715.
Fix provided by Love <lha@stacken.kth.se> in
http://mail-index.netbsd.org/tech-toolchain/2002/01/17/0000.html
Reviewed by Jason Thorpe.
2002-03-07 19:14:44 +00:00
mrg
60e3a276af
sync with FSF binutils:
...
- also accept "-maltivec"
- enable altivec by default
- add mtvrsave and mfvrsave
the latter two are required for an "altivec" GCC.
2002-03-04 13:35:42 +00:00
blymn
7ce69c568a
Fix botches in Equivalence Classes paragraph.
2002-03-01 04:20:37 +00:00
tv
ab30e43870
Add .MADE to prevent building in $srcdir. (They could have at least
...
referenced $(srcdir) explicitly for the targets, sigh....)
2002-02-27 17:34:48 +00:00
matt
9991b60633
Remove R_VAX_GOT32O and R_VAX_PLT32O relocs. VAX don't need 'em.
2002-02-27 07:43:34 +00:00
tv
6b83b4af8c
If doing a Canadian cross and the creation of auto-build.h fails, cause
...
the outer "configure" run to fail, too.
2002-02-26 19:17:51 +00:00
tv
a688a18a3f
Tack "nb1" onto VERSION here, too, to sync with "configure".
2002-02-26 18:38:38 +00:00
tv
13dd6cb726
Skip the "misc" directory on recursion. (This contains .el files that
...
will attempt to install into never-never land if emacs isn't installed.
GNU bogon.)
2002-02-26 18:05:20 +00:00
tv
e95d648871
Work with a mkinstalldirs that is not +x.
2002-02-26 18:00:29 +00:00
tv
853b3d3c1a
Workaround some *2netbsd script not preserving the execute bit on various
...
script files (and now that they are in cvs, they can't be fixed).
Future imports of any package should use "-ko" and do away with *2netbsd
altogether, as was the intent of gnu/dist in the first place.
2002-02-26 17:40:52 +00:00
matt
d8d7046773
Switch REAL_ARITHMETIC on (needed for DWARF support).
2002-02-25 17:33:02 +00:00
matt
796a42b608
Only ELF has S_IS_WEAK.
2002-02-24 19:50:14 +00:00
matt
cce4db07ab
Add a missing register prefix.
2002-02-24 01:11:40 +00:00
matt
4ce78967e6
Make some assembler warnings fatal errors. don't allow 4 char register
...
name in OBJ_AOUT mode.
2002-02-24 01:10:31 +00:00
matt
c7ce362189
Teach old (a.out) vax gas about register prefixes.
2002-02-23 21:16:41 +00:00
matt
9fe6d7dc5a
Dump a few comments that don't apply anymore. Remove dead code that is no
...
longer used. Add register prefix support. It's always on for ELF and
optional for a.out (it's recognize register names with or without the %
prefix).
2002-02-23 21:07:29 +00:00
matt
572f2bb969
Teach gcc to emit register prefixes (though unless its ELF, the register
...
prefix is NULL).
2002-02-23 21:02:49 +00:00
matt
bc49a6eede
Fix long time codegen bug. Only the COMPARE, ADD, MINUS operations actually
...
set the C(arry) bit appropriately. All other leave it in an indeterminate
(to GCC) state. Mark that by setting CC_NO_OVERFLOW. Change vax.md emission
of branches that use the C bit to use OUTPUT_JUMP so that if CC_NO_OVERFLOW is
set, branches that would normally use the C bit use opcodes that don't use the
C bit (jgtru -> jneq && jlssu -> jeql). Delete the cmpdi pattern.
2002-02-23 18:36:52 +00:00
matt
13828b4c70
Implement a cmpdi pattern so gcc won't try to help us. The good news is
...
that's it's smaller. Not sure about faster.
2002-02-22 06:03:36 +00:00
matt
6238aa6c4f
Back out change to NOTICE_CC_UPDATE. It has really bad side effects.
...
I'll fix this another way.
2002-02-22 06:02:33 +00:00
matt
eb2926091c
movl doesn't modify the C bit in the PSL so make sure to communicate that
...
fact to the gcc optimizer so it doesn't emit the wrong branch instructions.
2002-02-21 19:31:36 +00:00
matt
90b4581807
Ahhh! Use tc_fix_adjustable to make gas not resolve symbols into segment
...
based references for weak or external symbols.
2002-02-21 07:30:32 +00:00
matt
1b65728579
Gegneralize the PLT/GOT processing to properly emit relocs even for symbols
...
in the segment/file so that they linker can resolve them for shared libraries.
2002-02-21 06:59:16 +00:00
mrg
71bd5d8f3c
make this build cross by not splitting NATDEPFILES across a line with a
...
line continuation char (\)...
2002-02-21 03:24:50 +00:00
matt
ffefe31a4b
When calling weak or global symbols in the same segment, make sure to use
...
RELAX encoding what can be transmorgified into a PLT reloc.
2002-02-21 00:18:43 +00:00
matt
1bb7ff7e99
Don't emit GOT slots for local symbols since the VAX can always refer to
...
via PC relative addressing.
2002-02-20 18:52:23 +00:00
matt
e9ecffcaf2
When emitting a GOT reloc, use the frag symbol since we want the
...
external name, not where it lives in this object (which would happen
in the symbol was defined locally). All, don't use offset but addnumber.
2002-02-20 18:50:40 +00:00
matt
9fcb3b5a86
If the symbol is weak or external and this is a PCREL reference,
...
generate a fragment instead of fixup. This allows us to convert
to a GOT or PLT reference which can be resolved externally.
2002-02-20 08:12:43 +00:00
matt
1927769e7a
Don't use PCC_STATIC_STRUCT_RETURN.
...
Use movab/pushab when moving LABEL_REFs.
2002-02-20 03:06:37 +00:00
thorpej
7efea97070
Make sure that non-symbolic GOT references are converted back to
...
PC32 relocs for -Bstatic or -Bsymbolic links.
From Matt Thomas.
2002-02-19 06:16:35 +00:00
thorpej
b56d2fc557
Add support for ELF core files.
2002-02-19 05:05:09 +00:00
thorpej
a962d1ba86
Do not -Dunix or -Darm, as they are namespace-invasive, and cause
...
variants of those CPP symbols to be defined that are contrary to
NetBSD's conventions.
Fixes building Xaw on ARM ELF.
2002-02-12 16:32:39 +00:00
thorpej
1be69ad723
Fix typos in CC1_SPEC: -no-mindirect -> -mno-indirect
2002-02-11 00:02:12 +00:00
mrg
e694f74c6e
pull across kcore_fetch_registers() from gnu/dist/gdb/sparcnbsd-nat.c, and
...
add kcore-nbsd.c to NATDEPFILES in nbsd{,elf}.mh. regen defs.mk and init.c.
pity kcore-nbsd.c isn't in the FSF tree yet...
2002-02-10 01:32:56 +00:00
chs
dcee4d2ab2
bring forward a change from the old gdb:
...
Define IN_SIGTRAMP() as nbsd_in_sigtramp(), a new function which knows
how to find the address of the signal trampoline at runtime, thus allowing
one gdb binary to work on all NetBSD/m68k machines.
2002-02-09 19:37:38 +00:00
ross
cc9d651712
LP64 tweak
2002-02-03 05:53:07 +00:00
perry
9944f8fbe3
resolve conflicts
2002-02-03 03:27:17 +00:00